{"version":3,"sources":["webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/defineProperty.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/extends.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/interopRequireWildcard.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/typeof.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ArrowEndLeft.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ArrowEndRight.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ArrowLeft.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ArrowRight.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Calendar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/CheckFeedback.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ChevronDown.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ChevronLeft.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ChevronRight.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/ChevronUp.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Circle.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Close.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Edit.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Error.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/IconSprite/IconSprite.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/IconSprite/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Icon/Icon.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Icon/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Info.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/MoreVertical.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Search.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/Warning.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/es6/Icon/Icon.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/es6/Icon/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/ds-icons/lib/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Alert/Alert.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Backdrop/Backdrop.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Badge/Badge.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Badge/Badge.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Badge/NotificationBadge.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Button/Button.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Button/Button.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Button/ButtonGroup.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/CircularProgress/CircularProgress.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/CircularProgress/CircularProgress.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Dialog/Dialog.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dialog/internal/useEnforceFocusFlag.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dialog/Dialog.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/DialogActions/DialogActions.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dialog/DialogActions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/DialogContent/DialogContent.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dialog/DialogContent.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dialog/DialogContentText.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/DialogTitle/DialogTitle.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dialog/DialogTitle.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/EDSApplication/internal/CssBaseline.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/EDSApplication/internal/urls.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/EDSApplication/EDSApplication.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/EDSContext/EDSContext.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/ErrorPageAction.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/ErrorTemplateBody.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/MaintenancePage.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/BadRequest400Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/Unauthorized401Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/Forbidden403Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/PageNotFound404Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/MethodNotAllowed405Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/InternalServerError500Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/internal/ServiceUnavailable503Page.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ErrorPage/ErrorPage.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Footer/Footer.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Grid/Grid.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Grid/Grid.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/AppBar/AppBar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/HeaderBar/HeaderBar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/HeaderBar/HeaderBarItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/HeaderBar/HeaderBarLogo.js","webpack://@powercampus/self-service/./node_modules/react-popper/lib/Manager.js","webpack://@powercampus/self-service/./node_modules/react-popper/lib/Target.js","webpack://@powercampus/self-service/./node_modules/react-popper/lib/Popper.js","webpack://@powercampus/self-service/./node_modules/react-popper/lib/Arrow.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/HeaderBar/HeaderBarDropdown.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/HeaderBar/HeaderUtilityBar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/IconButton/IconButton.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Logo/Logo.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/PageHeader/PageHeader.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Paper/Paper.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Snackbar/Snackbar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/TextLink/TextLink.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Tooltip/Tooltip.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Tooltip/Tooltip.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Typography/Typography.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/globalSpacing/globalSpacing.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/globalSpacing/CssGlobalSpacing.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/globalSpacing/internal/useCustomSpacing.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/globalSpacing/useSpacing.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Card/Card.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Card/Card.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/CardActions/CardActions.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Card/internal/getLegacySpacingModeCss.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Card/CardActions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/CardContent/CardContent.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Card/CardContent.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/CardHeader/CardHeader.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Card/CardHeader.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/CardMedia/CardMedia.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Card/CardMedia.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/SwitchBase.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/CheckBoxOutlineBlank.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/CheckBox.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/IndeterminateCheckBox.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Checkbox/Checkbox.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Checkbox/Checkbox.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Drawer/Drawer.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Drawer/Drawer.js","webpack://@powercampus/self-service/./node_modules/rc-util/es/KeyCode.js","webpack://@powercampus/self-service/./node_modules/rmc-feedback/es/TouchFeedback.js","webpack://@powercampus/self-service/./node_modules/rc-input-number/es/InputHandler.js","webpack://@powercampus/self-service/./node_modules/rc-input-number/es/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/FormControl/FormControl.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/FormControl/FormHelperText.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/TextField/internal/InputNumber.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/TextField/TextField.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormControlLabel/FormControlLabel.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/FormControl/FormControlLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormGroup/FormGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/FormControl/FormGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/FormControl/FormLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonUnchecked.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonChecked.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Radio/RadioButtonIcon.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Radio/Radio.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/RadioGroup/useRadioGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Radio/Radio.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/RadioGroup/RadioGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Radio/RadioGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DatePicker/internal/datepickerDefaultStyles.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DatePicker/DatePicker.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/scrollLeft.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/animate.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Tabs/ScrollbarSize.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Tabs/TabIndicator.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowLeft.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowRight.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Tabs/Tabs.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Tabs/internal/TabScrollButton.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Tabs/Tabs.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Tab/Tab.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Tabs/Tab.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Popper/Popper.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ActionMenu/ActionMenuItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ActionMenu/ActionMenu.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ActionMenu/internal/createActionMenuItems.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Switch/Switch.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Switch/Switch.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Divider/Divider.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Divider/Divider.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanelContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanel.js","webpack://@powercampus/self-service/./node_modules/@babel/runtime/helpers/esm/toArray.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ExpansionPanel/internal/ExpansionPanelContext.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ExpansionPanel/ExpansionPanel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ExpansionPanelActions/ExpansionPanelActions.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ExpansionPanel/ExpansionPanelActions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ExpansionPanelDetails/ExpansionPanelDetails.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ExpansionPanel/ExpansionPanelDetails.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ExpansionPanelSummary/ExpansionPanelSummary.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ExpansionPanel/ExpansionPanelSummary.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Table/TableContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Table/Table.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/Table.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TableHead/TableHead.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableHead.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TableCell/TableCell.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableCell.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TableRow/TableRow.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableExpandableRow.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TableFooter/TableFooter.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableFooter.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableRow.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TableBody/TableBody.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableBody.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableSortLabel.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableToolbar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Table/TableEditableCell.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TablePagination/TablePaginationActions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TablePagination/TablePagination.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Pagination/Pagination.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/List.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/ListItem.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ListItemAvatar/ListItemAvatar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/ListItemAvatar.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/ListItemIcon.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ListItemSecondaryAction/ListItemSecondaryAction.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/ListItemSecondaryAction.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ListItemText/ListItemText.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/ListItemText.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ListSubheader/ListSubheader.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/List/ListSubheader.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/StepConnector/StepConnector.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Stepper/Stepper.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/internal/constants.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/internal/StepProgressContext.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/StepProgress.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/LinearProgress/LinearProgress.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/MobileStepper/MobileStepper.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/MobileStepperCounter.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/MobileStepper.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/MobileStepperStep.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/MobileStepperLabel.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/MobileStepperTitle.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Step/Step.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/Step.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/CheckCircle.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/Warning.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/StepIcon/StepIcon.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/StepLabel/StepLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/StepButton/StepButton.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/StepButton.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/StepContent/StepContent.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/StepContent.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StepProgress/StepLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Slider/ValueLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Slider/Slider.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Slider/Slider.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/Person.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Avatar/Avatar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Avatar/internal/AvatarUserIcon.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Avatar/Avatar.js","webpack://@powercampus/self-service/./node_modules/@material-ui/lab/esm/AvatarGroup/AvatarGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Avatar/AvatarGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/InputAdornment/InputAdornment.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Popover/Popover.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/Cancel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Chip/Chip.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Chip/Chip.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/StatusLabel/StatusLabel.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/ConfirmationDialog/ConfirmationDialog.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/IOSBodyScroll/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dropdown/Dropdown.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Dropdown/DropdownItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/SimpleDialog/SimpleDialog.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/MegaMenu/MegaMenu.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Search/internal/constants.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Search/internal/SearchStatus.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/SelectionMenu/SelectionMenu.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/SelectionMenu/SelectionMenuItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Search/Search.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Search/SearchItem.js","webpack://@powercampus/self-service/./node_modules/uncontrollable/lib/esm/utils.js","webpack://@powercampus/self-service/./node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js","webpack://@powercampus/self-service/./node_modules/date-arithmetic/index.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseSlice.js","webpack://@powercampus/self-service/./node_modules/lodash-es/eq.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_freeGlobal.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_root.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Symbol.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getRawTag.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_objectToString.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseGetTag.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isObject.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isFunction.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isLength.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isArrayLike.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isIndex.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isIterateeCall.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_trimmedEndIndex.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseTrim.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isObjectLike.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isSymbol.js","webpack://@powercampus/self-service/./node_modules/lodash-es/toNumber.js","webpack://@powercampus/self-service/./node_modules/lodash-es/toFinite.js","webpack://@powercampus/self-service/./node_modules/lodash-es/toInteger.js","webpack://@powercampus/self-service/./node_modules/lodash-es/chunk.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/ownerDocument.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/hyphenate.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/hyphenateStyle.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/isTransform.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/css.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/getComputedStyle.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/ownerWindow.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/contains.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/isWindow.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/isDocument.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/getScrollAccessor.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/scrollLeft.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/scrollTop.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/offset.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/position.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/offsetParent.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/canUseDOM.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/animationFrame.js","webpack://@powercampus/self-service/./node_modules/@restart/hooks/esm/useCallbackRef.js","webpack://@powercampus/self-service/./node_modules/@restart/hooks/esm/useMergedRefs.js","webpack://@powercampus/self-service/./node_modules/react-overlays/esm/usePopper.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/addEventListener.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/listen.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/removeEventListener.js","webpack://@powercampus/self-service/./node_modules/@restart/hooks/esm/useEventCallback.js","webpack://@powercampus/self-service/./node_modules/@restart/hooks/esm/useCommittedRef.js","webpack://@powercampus/self-service/./node_modules/react-overlays/esm/useRootClose.js","webpack://@powercampus/self-service/./node_modules/react-overlays/esm/utils/useWaitForDOMRef.js","webpack://@powercampus/self-service/./node_modules/react-overlays/esm/Overlay.js","webpack://@powercampus/self-service/./node_modules/react-overlays/esm/utils/ownerDocument.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/height.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/querySelectorAll.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/matches.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseFindIndex.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_assocIndexOf.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_listCacheDelete.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_ListCache.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_listCacheClear.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_listCacheGet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_listCacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_listCacheSet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_coreJsData.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isMasked.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_toSource.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsNative.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getNative.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getValue.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Map.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_nativeCreate.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_hashGet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_hashHas.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Hash.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_hashClear.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_hashDelete.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_hashSet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getMapData.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isKeyable.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_MapCache.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_mapCacheClear.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_mapCacheDelete.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_mapCacheGet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_mapCacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_mapCacheSet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Stack.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_stackClear.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_stackDelete.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_stackGet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_stackHas.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_stackSet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_SetCache.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_setCacheAdd.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_setCacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_arraySome.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_equalArrays.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Uint8Array.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_mapToArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_setToArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_equalByTag.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_arrayPush.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseGetAllKeys.js","webpack://@powercampus/self-service/./node_modules/lodash-es/stubArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getSymbols.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_arrayFilter.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsArguments.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isArguments.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isBuffer.js","webpack://@powercampus/self-service/./node_modules/lodash-es/stubFalse.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsTypedArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseUnary.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_nodeUtil.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isTypedArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_arrayLikeKeys.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseTimes.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isPrototype.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_overArg.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_nativeKeys.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseKeys.js","webpack://@powercampus/self-service/./node_modules/lodash-es/keys.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getAllKeys.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_equalObjects.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_DataView.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Promise.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_Set.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_WeakMap.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getTag.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsEqualDeep.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsEqual.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isStrictComparable.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_matchesStrictComparable.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseMatches.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getMatchData.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsMatch.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isKey.js","webpack://@powercampus/self-service/./node_modules/lodash-es/memoize.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_stringToPath.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_memoizeCapped.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_arrayMap.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseToString.js","webpack://@powercampus/self-service/./node_modules/lodash-es/toString.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_castPath.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_toKey.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseGet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseHasIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/hasIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_hasPath.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseMatchesProperty.js","webpack://@powercampus/self-service/./node_modules/lodash-es/get.js","webpack://@powercampus/self-service/./node_modules/lodash-es/identity.js","webpack://@powercampus/self-service/./node_modules/lodash-es/property.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseProperty.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_basePropertyDeep.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIteratee.js","webpack://@powercampus/self-service/./node_modules/lodash-es/findIndex.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseRange.js","webpack://@powercampus/self-service/./node_modules/lodash-es/range.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_createRange.js","webpack://@powercampus/self-service/./node_modules/memoize-one/dist/memoize-one.esm.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_isFlattenable.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseFlatten.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseFor.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_createBaseFor.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseForOwn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseEach.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_createBaseEach.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseMap.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_compareAscending.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseOrderBy.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseSortBy.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_compareMultiple.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_apply.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_overRest.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_defineProperty.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseSetToString.js","webpack://@powercampus/self-service/./node_modules/lodash-es/constant.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_shortOut.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_setToString.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseRest.js","webpack://@powercampus/self-service/./node_modules/lodash-es/sortBy.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/width.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/scrollbarSize.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/removeClass.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_arrayEach.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseAssignValue.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_assignValue.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_copyObject.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseKeysIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_nativeKeysIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/keysIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cloneBuffer.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getPrototype.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getSymbolsIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_getAllKeysIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_initCloneArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cloneArrayBuffer.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cloneRegExp.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cloneSymbol.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_initCloneByTag.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cloneDataView.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_cloneTypedArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseCreate.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isMap.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsMap.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isSet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseIsSet.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseClone.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_copyArray.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_initCloneObject.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_copySymbolsIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseAssignIn.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_copySymbols.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseAssign.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_baseUnset.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_parent.js","webpack://@powercampus/self-service/./node_modules/lodash-es/last.js","webpack://@powercampus/self-service/./node_modules/lodash-es/isPlainObject.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_customOmitClone.js","webpack://@powercampus/self-service/./node_modules/lodash-es/flatten.js","webpack://@powercampus/self-service/./node_modules/lodash-es/omit.js","webpack://@powercampus/self-service/./node_modules/lodash-es/_flatRest.js","webpack://@powercampus/self-service/./node_modules/lodash-es/defaults.js","webpack://@powercampus/self-service/./node_modules/lodash-es/transform.js","webpack://@powercampus/self-service/./node_modules/lodash-es/mapValues.js","webpack://@powercampus/self-service/./node_modules/react-big-calendar/dist/react-big-calendar.esm.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/closest.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/addClass.js","webpack://@powercampus/self-service/./node_modules/dom-helpers/esm/hasClass.js","webpack://@powercampus/self-service/./node_modules/uncontrollable/lib/esm/uncontrollable.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/CalendarToolbar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/EventWrapper.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/internal/ReactBigCalendarStyles.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/internal/CalendarEvent.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/Calendar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/CalendarLegend.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Calendar/CalendarLegendItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/Illustration.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/medium/Contact.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/medium/EmptyCalendar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/medium/NoComments.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/medium/NoMessages.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/medium/NoSearchResults.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/medium/UnderMaintenance.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Book.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Bookmark.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Calendar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/ChartBars.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Checkmark.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Crown.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/EmptySet.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Error.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/EyeHide.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/GraduationCap.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Heart.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/IdBadge.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Lightbulb.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Link.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/News.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/NoCourses.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/NoHistory.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/NoSearchResults.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/NoTasks.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Pencil.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Search.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Server.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/Tasks.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/Illustration/internal/small/UserGroup.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/TimePicker/TimePicker.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DateRangePicker/styles/styles.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DateRangePicker/internal/Navbar.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DateRangePicker/internal/Caption.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DateRangePicker/internal/DateUtils.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/DateRangePicker/DateRangePicker.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/FixedSidebarLayout/FixedSidebarLayout.js","webpack://@powercampus/self-service/./node_modules/@material-ui/lab/esm/TreeView/TreeViewContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/lab/esm/TreeView/TreeView.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/MasterDetail/internal/TreeView.js","webpack://@powercampus/self-service/./node_modules/@material-ui/lab/esm/TreeItem/TreeItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/MasterDetail/internal/TreeItem.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/MasterDetail/MasterDetail.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/makeStyles/makeStyles.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/styles/withStylesInternal.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/styles/classNameGenerator.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/styles/tokens.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/styles/withStyles.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/useTheme/useTheme.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/useMediaQuery/useMediaQuery.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/useWidth/useWidth.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/withWidth/withWidth.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/i18n/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/styles/classNameGenerator.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/styles/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/styles/tokens.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/styles/withStyles.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/styles/withStylesInternal.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/themes/common/palette.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/themes/createEDSTheme.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/themes/dark/dark-theme.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/themes/index.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/themes/light/light-theme.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/node_modules/classnames/index.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/flux/AppDispatcher.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/flux/actions/LayoutActions.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/LayoutEventStatus.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/TimeoutType.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/flux/stores/LayoutStore.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/Constants.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/Format.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/LogData.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/Redirect.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/ErrorPage/ErrorPage.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/Errors/Error.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/TextLink/TextLink.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/Errors/SpecificError.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/themes/common/palette.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/themes/light/light-theme.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/themes/dark/dark-theme.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/themes/createEDSTheme.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/themes/createEDSTheme.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Alert/Alert.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Application/Application.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Icon/Icon.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Grid/Grid.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Text/Text.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Button/Button.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Button/ButtonGroup.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/IconButton/IconButton.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Tooltip/Tooltip.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Modal/Modal.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/withMobileDialog/withMobileDialog.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/PageLoader/PageLoader.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Snackbar/Snackbar.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/Footer/Footer.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/PageHeader/PageHeader.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/ContentPage/ContentPage.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/storage/Storage.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/storage/StorageKeys.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/INotification.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/NavBar/NavBar.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/ResultType.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/Resolver.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/ThemeHelper.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/Layout/Layout.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/DSErrorBoundary/DSErrorBoundary.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/components/Layout/withLayout.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/styles/internalTokens.js","webpack://@powercampus/self-service/./node_modules/@ellucian/react-design-system/core/es/themes/common/ctaColors.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/react/core/styles/Tokens.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/helpers/Request.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/requests/LayoutRequests.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/LayoutStatus.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/LogType.js","webpack://@powercampus/self-service/./node_modules/@hedtech/powercampus-design-system/types/Student/ICartItem.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/blue.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/common.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/green.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/grey.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/indigo.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/orange.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/pink.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/colors/red.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Backdrop/Backdrop.js","webpack://@powercampus/self-service/./node_modules/react-transition-group/esm/utils/ChildMapping.js","webpack://@powercampus/self-service/./node_modules/react-transition-group/esm/TransitionGroup.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ButtonBase/Ripple.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ButtonBase/TouchRipple.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ButtonBase/ButtonBase.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Collapse/Collapse.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Fade/Fade.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FilledInput/FilledInput.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormControl/FormControl.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormControl/FormControlContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormControl/formControlState.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormControl/useFormControl.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/FormLabel/FormLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Grow/Grow.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/IconButton/IconButton.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/InputAdornment/InputAdornment.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/InputBase/InputBase.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/InputBase/utils.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/InputLabel/InputLabel.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Input/Input.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/ListItem/ListItem.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/List/List.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/List/ListContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/MenuItem/MenuItem.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/MenuList/MenuList.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Menu/Menu.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Modal/ModalManager.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Modal/TrapFocus.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Modal/SimpleBackdrop.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Modal/Modal.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Paper/Paper.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Popover/Popover.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Popper/Popper.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Portal/Portal.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Select/SelectInput.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Select/Select.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Slide/Slide.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Snackbar/Snackbar.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/TextField/TextField.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Toolbar/Toolbar.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Typography/Typography.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/colorManipulator.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createBreakpoints.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createMixins.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/common.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/grey.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/indigo.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/pink.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/red.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/orange.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/blue.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/colors/green.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createPalette.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createTypography.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/shadows.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/shape.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createSpacing.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createMuiTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/defaultTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/react-transition-group/lib/esm/config.js","webpack://@powercampus/self-service/./node_modules/@material-ui/react-transition-group/lib/esm/TransitionGroupContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/react-transition-group/lib/esm/Transition.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Collapse/StrictModeCollapse.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Fade/StrictModeFade.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Grow/StrictModeGrow.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Slide/StrictModeSlide.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Zoom/Zoom.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/Zoom/StrictModeZoom.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createMuiStrictModeTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/createStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/cssUtils.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/responsiveFontSizes.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/styled.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/withTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/makeStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/transitions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/useTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/withStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/styles/zIndex.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/transitions/utils.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/capitalize.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/createChainedFunction.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/createSvgIcon.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/debounce.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/getScrollbarSize.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/isMuiElement.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/ownerDocument.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/ownerWindow.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/setRef.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/unstable_useId.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/useControlled.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/useEventCallback.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/useForkRef.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/utils/useIsFocusVisible.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/esm/withWidth/withWidth.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/internal/svg-icons/CheckBox.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/internal/svg-icons/CheckBoxOutlineBlank.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/internal/svg-icons/IndeterminateCheckBox.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/colorManipulator.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createBreakpoints.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createMixins.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createMuiTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createPalette.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createSpacing.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/createTypography.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/defaultTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/shadows.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/shape.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/transitions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/withTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/styles/zIndex.js","webpack://@powercampus/self-service/./node_modules/@material-ui/core/utils/createSvgIcon.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/ServerStyleSheets/ServerStyleSheets.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/ThemeProvider/nested.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/createGenerateClassName/createGenerateClassName.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/createStyles/createStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/getThemeProps/getThemeProps.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-global/dist/jss-plugin-global.esm.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js","webpack://@powercampus/self-service/./node_modules/hyphenate-style-name/index.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.esm.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.esm.js","webpack://@powercampus/self-service/./node_modules/css-vendor/dist/css-vendor.esm.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.esm.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/jssPreset/jssPreset.js","webpack://@powercampus/self-service/./node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/makeStyles/multiKeyStore.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/makeStyles/indexCounter.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/getStylesCreator/noopTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/makeStyles/makeStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/mergeClasses/mergeClasses.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/styled/styled.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/useTheme/ThemeContext.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/useTheme/useTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/withStyles/withStyles.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/esm/withTheme/withTheme.js","webpack://@powercampus/self-service/./node_modules/@material-ui/styles/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/breakpoints.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/style.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/compose.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/borders.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/css.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/display.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/flexbox.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/grid.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/palette.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/positions.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/shadows.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/sizing.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/typography.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/merge.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/memoize.js","webpack://@powercampus/self-service/./node_modules/@material-ui/system/esm/spacing.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/deepmerge.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/chainPropTypes.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/elementAcceptingRef.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/exactProp.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/formatMuiErrorMessage.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/getDisplayName.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/HTMLElementType.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/ponyfillGlobal.js","webpack://@powercampus/self-service/./node_modules/@material-ui/utils/esm/refType.js","webpack://@powercampus/self-service/./node_modules/@wojtekmaj/date-utils/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/Flux/index.js","webpack://@powercampus/self-service/./node_modules/Flux/lib/Dispatcher.js","webpack://@powercampus/self-service/./node_modules/airbnb-prop-types/build/mocks/index.js","webpack://@powercampus/self-service/./node_modules/airbnb-prop-types/index.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/implementation.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/index.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2020/IsArray.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ArrayCreate.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ArraySpeciesCreate.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/Call.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/CreateDataProperty.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/DefinePropertyOrThrow.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/FlattenIntoArray.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/FromPropertyDescriptor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/Get.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/HasProperty.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsAccessorDescriptor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsArray.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsCallable.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsConstructor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsDataDescriptor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsExtensible.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsIntegralNumber.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsPropertyKey.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/IsRegExp.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/LengthOfArrayLike.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/RequireObjectCoercible.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/SameValue.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToBoolean.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToIntegerOrInfinity.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToLength.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToNumber.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToObject.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToPrimitive.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToPropertyDescriptor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/ToString.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/Type.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/abs.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/2021/floor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/CheckObjectCoercible.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/ToInteger.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/ToNumber.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/ToPrimitive.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/Type.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/abs.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/5/floor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/GetIntrinsic.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/DefineOwnProperty.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/assertRecord.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/isFinite.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/isNaN.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/isPrimitive.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/isPropertyDescriptor.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/maxSafeInteger.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/regexTester.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/es-abstract/helpers/sign.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/is-callable/index.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/is-regex/index.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/node_modules/object-inspect/index.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/polyfill.js","webpack://@powercampus/self-service/./node_modules/array.prototype.flat/shim.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/core-js/object/assign.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/core-js/object/create.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/core-js/object/define-property.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/core-js/object/set-prototype-of.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/core-js/symbol.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/core-js/symbol/iterator.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/classCallCheck.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/createClass.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/extends.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/inherits.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/objectWithoutProperties.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/possibleConstructorReturn.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/helpers/typeof.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/fn/object/assign.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/fn/object/create.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/fn/object/define-property.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/fn/object/set-prototype-of.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/index.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/fn/symbol/iterator.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_a-function.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_add-to-unscopables.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_an-object.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_array-includes.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_cof.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_core.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_ctx.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_defined.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_descriptors.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_dom-create.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-bug-keys.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_enum-keys.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_export.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_fails.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_global.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_has.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_hide.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_html.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_ie8-dom-define.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_iobject.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-array.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_is-object.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-create.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-define.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_iter-step.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_iterators.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_library.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_meta.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-assign.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-create.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dp.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-dps.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopd.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopn-ext.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gopn.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gops.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-gpo.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-keys-internal.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-keys.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_object-pie.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_property-desc.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_redefine.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_set-proto.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_set-to-string-tag.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_shared-key.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_shared.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_string-at.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-absolute-index.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-integer.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-iobject.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-length.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-object.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_to-primitive.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_uid.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks-define.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks-ext.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/_wks.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.array.iterator.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.assign.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.create.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.define-property.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.object.set-prototype-of.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.string.iterator.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es6.symbol.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es7.symbol.async-iterator.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/es7.symbol.observable.js","webpack://@powercampus/self-service/./node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js","webpack://@powercampus/self-service/./node_modules/call-bind/callBound.js","webpack://@powercampus/self-service/./node_modules/call-bind/index.js","webpack://@powercampus/self-service/./node_modules/classnames/index.js","webpack://@powercampus/self-service/./node_modules/clsx/dist/clsx.m.js","webpack://@powercampus/self-service/./node_modules/consolidated-events/lib/index.esm.js","webpack://@powercampus/self-service/./node_modules/define-properties/index.js","webpack://@powercampus/self-service/./node_modules/document.contains/implementation.js","webpack://@powercampus/self-service/./node_modules/document.contains/index.js","webpack://@powercampus/self-service/./node_modules/document.contains/polyfill.js","webpack://@powercampus/self-service/./node_modules/document.contains/shim.js","webpack://@powercampus/self-service/./node_modules/es-abstract/2020/RequireObjectCoercible.js","webpack://@powercampus/self-service/./node_modules/es-abstract/5/CheckObjectCoercible.js","webpack://@powercampus/self-service/./node_modules/es-to-primitive/es2015.js","webpack://@powercampus/self-service/./node_modules/es-to-primitive/es5.js","webpack://@powercampus/self-service/./node_modules/es-to-primitive/helpers/isPrimitive.js","webpack://@powercampus/self-service/./node_modules/events/events.js","webpack://@powercampus/self-service/./node_modules/fbjs/lib/invariant.js","webpack://@powercampus/self-service/./node_modules/function-bind/implementation.js","webpack://@powercampus/self-service/./node_modules/function-bind/index.js","webpack://@powercampus/self-service/./node_modules/get-intrinsic/index.js","webpack://@powercampus/self-service/./node_modules/get-user-locale/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/global-cache/index.js","webpack://@powercampus/self-service/./node_modules/has-symbols/index.js","webpack://@powercampus/self-service/./node_modules/has-symbols/shams.js","webpack://@powercampus/self-service/./node_modules/has-tostringtag/shams.js","webpack://@powercampus/self-service/./node_modules/has/src/index.js","webpack://@powercampus/self-service/./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack://@powercampus/self-service/./node_modules/invariant/browser.js","webpack://@powercampus/self-service/./node_modules/is-callable/index.js","webpack://@powercampus/self-service/./node_modules/is-date-object/index.js","webpack://@powercampus/self-service/./node_modules/is-in-browser/dist/module.js","webpack://@powercampus/self-service/./node_modules/is-symbol/index.js","webpack://@powercampus/self-service/./node_modules/is-touch-device/build/index.js","webpack://@powercampus/self-service/./node_modules/jss-rtl/lib/main.js","webpack://@powercampus/self-service/./node_modules/jss/dist/jss.esm.js","webpack://@powercampus/self-service/./node_modules/lodash.once/index.js","webpack://@powercampus/self-service/./node_modules/lodash/_DataView.js","webpack://@powercampus/self-service/./node_modules/lodash/_Hash.js","webpack://@powercampus/self-service/./node_modules/lodash/_ListCache.js","webpack://@powercampus/self-service/./node_modules/lodash/_Map.js","webpack://@powercampus/self-service/./node_modules/lodash/_MapCache.js","webpack://@powercampus/self-service/./node_modules/lodash/_Promise.js","webpack://@powercampus/self-service/./node_modules/lodash/_Set.js","webpack://@powercampus/self-service/./node_modules/lodash/_SetCache.js","webpack://@powercampus/self-service/./node_modules/lodash/_Stack.js","webpack://@powercampus/self-service/./node_modules/lodash/_Symbol.js","webpack://@powercampus/self-service/./node_modules/lodash/_Uint8Array.js","webpack://@powercampus/self-service/./node_modules/lodash/_WeakMap.js","webpack://@powercampus/self-service/./node_modules/lodash/_apply.js","webpack://@powercampus/self-service/./node_modules/lodash/_arrayEach.js","webpack://@powercampus/self-service/./node_modules/lodash/_arrayFilter.js","webpack://@powercampus/self-service/./node_modules/lodash/_arrayLikeKeys.js","webpack://@powercampus/self-service/./node_modules/lodash/_arrayMap.js","webpack://@powercampus/self-service/./node_modules/lodash/_arrayPush.js","webpack://@powercampus/self-service/./node_modules/lodash/_arrayReduce.js","webpack://@powercampus/self-service/./node_modules/lodash/_arraySome.js","webpack://@powercampus/self-service/./node_modules/lodash/_asciiToArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_assignMergeValue.js","webpack://@powercampus/self-service/./node_modules/lodash/_assignValue.js","webpack://@powercampus/self-service/./node_modules/lodash/_assocIndexOf.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseAssign.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseAssignIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseAssignValue.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseClone.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseCreate.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseEach.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseFilter.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseFindIndex.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseFlatten.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseFor.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseForOwn.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseGet.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseGetAllKeys.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseGetTag.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseHasIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsArguments.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsEqual.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsEqualDeep.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsMap.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsMatch.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsNative.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsSet.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIsTypedArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseIteratee.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseKeys.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseKeysIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseMatches.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseMatchesProperty.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseMerge.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseMergeDeep.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseProperty.js","webpack://@powercampus/self-service/./node_modules/lodash/_basePropertyDeep.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseRange.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseReduce.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseRest.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseSetToString.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseSlice.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseTimes.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseToString.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseTrim.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseUnary.js","webpack://@powercampus/self-service/./node_modules/lodash/_baseUnset.js","webpack://@powercampus/self-service/./node_modules/lodash/_cacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash/_castFunction.js","webpack://@powercampus/self-service/./node_modules/lodash/_castPath.js","webpack://@powercampus/self-service/./node_modules/lodash/_castSlice.js","webpack://@powercampus/self-service/./node_modules/lodash/_cloneArrayBuffer.js","webpack://@powercampus/self-service/./node_modules/lodash/_cloneBuffer.js","webpack://@powercampus/self-service/./node_modules/lodash/_cloneDataView.js","webpack://@powercampus/self-service/./node_modules/lodash/_cloneRegExp.js","webpack://@powercampus/self-service/./node_modules/lodash/_cloneSymbol.js","webpack://@powercampus/self-service/./node_modules/lodash/_cloneTypedArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_copyArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_copyObject.js","webpack://@powercampus/self-service/./node_modules/lodash/_copySymbols.js","webpack://@powercampus/self-service/./node_modules/lodash/_copySymbolsIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_coreJsData.js","webpack://@powercampus/self-service/./node_modules/lodash/_createAssigner.js","webpack://@powercampus/self-service/./node_modules/lodash/_createBaseEach.js","webpack://@powercampus/self-service/./node_modules/lodash/_createBaseFor.js","webpack://@powercampus/self-service/./node_modules/lodash/_createCaseFirst.js","webpack://@powercampus/self-service/./node_modules/lodash/_createFind.js","webpack://@powercampus/self-service/./node_modules/lodash/_createRange.js","webpack://@powercampus/self-service/./node_modules/lodash/_customOmitClone.js","webpack://@powercampus/self-service/./node_modules/lodash/_defineProperty.js","webpack://@powercampus/self-service/./node_modules/lodash/_equalArrays.js","webpack://@powercampus/self-service/./node_modules/lodash/_equalByTag.js","webpack://@powercampus/self-service/./node_modules/lodash/_equalObjects.js","webpack://@powercampus/self-service/./node_modules/lodash/_flatRest.js","webpack://@powercampus/self-service/./node_modules/lodash/_freeGlobal.js","webpack://@powercampus/self-service/./node_modules/lodash/_getAllKeys.js","webpack://@powercampus/self-service/./node_modules/lodash/_getAllKeysIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_getMapData.js","webpack://@powercampus/self-service/./node_modules/lodash/_getMatchData.js","webpack://@powercampus/self-service/./node_modules/lodash/_getNative.js","webpack://@powercampus/self-service/./node_modules/lodash/_getPrototype.js","webpack://@powercampus/self-service/./node_modules/lodash/_getRawTag.js","webpack://@powercampus/self-service/./node_modules/lodash/_getSymbols.js","webpack://@powercampus/self-service/./node_modules/lodash/_getSymbolsIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_getTag.js","webpack://@powercampus/self-service/./node_modules/lodash/_getValue.js","webpack://@powercampus/self-service/./node_modules/lodash/_hasPath.js","webpack://@powercampus/self-service/./node_modules/lodash/_hasUnicode.js","webpack://@powercampus/self-service/./node_modules/lodash/_hashClear.js","webpack://@powercampus/self-service/./node_modules/lodash/_hashDelete.js","webpack://@powercampus/self-service/./node_modules/lodash/_hashGet.js","webpack://@powercampus/self-service/./node_modules/lodash/_hashHas.js","webpack://@powercampus/self-service/./node_modules/lodash/_hashSet.js","webpack://@powercampus/self-service/./node_modules/lodash/_initCloneArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_initCloneByTag.js","webpack://@powercampus/self-service/./node_modules/lodash/_initCloneObject.js","webpack://@powercampus/self-service/./node_modules/lodash/_isFlattenable.js","webpack://@powercampus/self-service/./node_modules/lodash/_isIndex.js","webpack://@powercampus/self-service/./node_modules/lodash/_isIterateeCall.js","webpack://@powercampus/self-service/./node_modules/lodash/_isKey.js","webpack://@powercampus/self-service/./node_modules/lodash/_isKeyable.js","webpack://@powercampus/self-service/./node_modules/lodash/_isMasked.js","webpack://@powercampus/self-service/./node_modules/lodash/_isPrototype.js","webpack://@powercampus/self-service/./node_modules/lodash/_isStrictComparable.js","webpack://@powercampus/self-service/./node_modules/lodash/_listCacheClear.js","webpack://@powercampus/self-service/./node_modules/lodash/_listCacheDelete.js","webpack://@powercampus/self-service/./node_modules/lodash/_listCacheGet.js","webpack://@powercampus/self-service/./node_modules/lodash/_listCacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash/_listCacheSet.js","webpack://@powercampus/self-service/./node_modules/lodash/_mapCacheClear.js","webpack://@powercampus/self-service/./node_modules/lodash/_mapCacheDelete.js","webpack://@powercampus/self-service/./node_modules/lodash/_mapCacheGet.js","webpack://@powercampus/self-service/./node_modules/lodash/_mapCacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash/_mapCacheSet.js","webpack://@powercampus/self-service/./node_modules/lodash/_mapToArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_matchesStrictComparable.js","webpack://@powercampus/self-service/./node_modules/lodash/_memoizeCapped.js","webpack://@powercampus/self-service/./node_modules/lodash/_nativeCreate.js","webpack://@powercampus/self-service/./node_modules/lodash/_nativeKeys.js","webpack://@powercampus/self-service/./node_modules/lodash/_nativeKeysIn.js","webpack://@powercampus/self-service/./node_modules/lodash/_nodeUtil.js","webpack://@powercampus/self-service/./node_modules/lodash/_objectToString.js","webpack://@powercampus/self-service/./node_modules/lodash/_overArg.js","webpack://@powercampus/self-service/./node_modules/lodash/_overRest.js","webpack://@powercampus/self-service/./node_modules/lodash/_parent.js","webpack://@powercampus/self-service/./node_modules/lodash/_root.js","webpack://@powercampus/self-service/./node_modules/lodash/_safeGet.js","webpack://@powercampus/self-service/./node_modules/lodash/_setCacheAdd.js","webpack://@powercampus/self-service/./node_modules/lodash/_setCacheHas.js","webpack://@powercampus/self-service/./node_modules/lodash/_setToArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_setToString.js","webpack://@powercampus/self-service/./node_modules/lodash/_shortOut.js","webpack://@powercampus/self-service/./node_modules/lodash/_stackClear.js","webpack://@powercampus/self-service/./node_modules/lodash/_stackDelete.js","webpack://@powercampus/self-service/./node_modules/lodash/_stackGet.js","webpack://@powercampus/self-service/./node_modules/lodash/_stackHas.js","webpack://@powercampus/self-service/./node_modules/lodash/_stackSet.js","webpack://@powercampus/self-service/./node_modules/lodash/_stringToArray.js","webpack://@powercampus/self-service/./node_modules/lodash/_stringToPath.js","webpack://@powercampus/self-service/./node_modules/lodash/_toKey.js","webpack://@powercampus/self-service/./node_modules/lodash/_toSource.js","webpack://@powercampus/self-service/./node_modules/lodash/_trimmedEndIndex.js","webpack://@powercampus/self-service/./node_modules/lodash/_unicodeToArray.js","webpack://@powercampus/self-service/./node_modules/lodash/assign.js","webpack://@powercampus/self-service/./node_modules/lodash/capitalize.js","webpack://@powercampus/self-service/./node_modules/lodash/cloneDeep.js","webpack://@powercampus/self-service/./node_modules/lodash/constant.js","webpack://@powercampus/self-service/./node_modules/lodash/debounce.js","webpack://@powercampus/self-service/./node_modules/lodash/eq.js","webpack://@powercampus/self-service/./node_modules/lodash/filter.js","webpack://@powercampus/self-service/./node_modules/lodash/find.js","webpack://@powercampus/self-service/./node_modules/lodash/findIndex.js","webpack://@powercampus/self-service/./node_modules/lodash/flatten.js","webpack://@powercampus/self-service/./node_modules/lodash/flattenDeep.js","webpack://@powercampus/self-service/./node_modules/lodash/get.js","webpack://@powercampus/self-service/./node_modules/lodash/hasIn.js","webpack://@powercampus/self-service/./node_modules/lodash/head.js","webpack://@powercampus/self-service/./node_modules/lodash/identity.js","webpack://@powercampus/self-service/./node_modules/lodash/isArguments.js","webpack://@powercampus/self-service/./node_modules/lodash/isArray.js","webpack://@powercampus/self-service/./node_modules/lodash/isArrayLike.js","webpack://@powercampus/self-service/./node_modules/lodash/isArrayLikeObject.js","webpack://@powercampus/self-service/./node_modules/lodash/isBuffer.js","webpack://@powercampus/self-service/./node_modules/lodash/isEmpty.js","webpack://@powercampus/self-service/./node_modules/lodash/isEqual.js","webpack://@powercampus/self-service/./node_modules/lodash/isFunction.js","webpack://@powercampus/self-service/./node_modules/lodash/isLength.js","webpack://@powercampus/self-service/./node_modules/lodash/isMap.js","webpack://@powercampus/self-service/./node_modules/lodash/isNil.js","webpack://@powercampus/self-service/./node_modules/lodash/isNumber.js","webpack://@powercampus/self-service/./node_modules/lodash/isObject.js","webpack://@powercampus/self-service/./node_modules/lodash/isObjectLike.js","webpack://@powercampus/self-service/./node_modules/lodash/isPlainObject.js","webpack://@powercampus/self-service/./node_modules/lodash/isSet.js","webpack://@powercampus/self-service/./node_modules/lodash/isSymbol.js","webpack://@powercampus/self-service/./node_modules/lodash/isTypedArray.js","webpack://@powercampus/self-service/./node_modules/lodash/keys.js","webpack://@powercampus/self-service/./node_modules/lodash/keysIn.js","webpack://@powercampus/self-service/./node_modules/lodash/last.js","webpack://@powercampus/self-service/./node_modules/lodash/lodash.js","webpack://@powercampus/self-service/./node_modules/lodash/memoize.js","webpack://@powercampus/self-service/./node_modules/lodash/merge.js","webpack://@powercampus/self-service/./node_modules/lodash/now.js","webpack://@powercampus/self-service/./node_modules/lodash/omit.js","webpack://@powercampus/self-service/./node_modules/lodash/property.js","webpack://@powercampus/self-service/./node_modules/lodash/range.js","webpack://@powercampus/self-service/./node_modules/lodash/reduce.js","webpack://@powercampus/self-service/./node_modules/lodash/stubArray.js","webpack://@powercampus/self-service/./node_modules/lodash/stubFalse.js","webpack://@powercampus/self-service/./node_modules/lodash/throttle.js","webpack://@powercampus/self-service/./node_modules/lodash/times.js","webpack://@powercampus/self-service/./node_modules/lodash/toFinite.js","webpack://@powercampus/self-service/./node_modules/lodash/toInteger.js","webpack://@powercampus/self-service/./node_modules/lodash/toNumber.js","webpack://@powercampus/self-service/./node_modules/lodash/toPlainObject.js","webpack://@powercampus/self-service/./node_modules/lodash/toString.js","webpack://@powercampus/self-service/./node_modules/lodash/upperFirst.js","webpack://@powercampus/self-service/./node_modules/make-event-props/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/merge-class-names/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/moment/locale/af.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar-dz.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar-kw.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar-ly.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar-ma.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar-sa.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar-tn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ar.js","webpack://@powercampus/self-service/./node_modules/moment/locale/az.js","webpack://@powercampus/self-service/./node_modules/moment/locale/be.js","webpack://@powercampus/self-service/./node_modules/moment/locale/bg.js","webpack://@powercampus/self-service/./node_modules/moment/locale/bm.js","webpack://@powercampus/self-service/./node_modules/moment/locale/bn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/bo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/br.js","webpack://@powercampus/self-service/./node_modules/moment/locale/bs.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ca.js","webpack://@powercampus/self-service/./node_modules/moment/locale/cs.js","webpack://@powercampus/self-service/./node_modules/moment/locale/cv.js","webpack://@powercampus/self-service/./node_modules/moment/locale/cy.js","webpack://@powercampus/self-service/./node_modules/moment/locale/da.js","webpack://@powercampus/self-service/./node_modules/moment/locale/de-at.js","webpack://@powercampus/self-service/./node_modules/moment/locale/de-ch.js","webpack://@powercampus/self-service/./node_modules/moment/locale/de.js","webpack://@powercampus/self-service/./node_modules/moment/locale/dv.js","webpack://@powercampus/self-service/./node_modules/moment/locale/el.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-au.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-ca.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-gb.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-ie.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-il.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-in.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-nz.js","webpack://@powercampus/self-service/./node_modules/moment/locale/en-sg.js","webpack://@powercampus/self-service/./node_modules/moment/locale/eo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/es-do.js","webpack://@powercampus/self-service/./node_modules/moment/locale/es-us.js","webpack://@powercampus/self-service/./node_modules/moment/locale/es.js","webpack://@powercampus/self-service/./node_modules/moment/locale/et.js","webpack://@powercampus/self-service/./node_modules/moment/locale/eu.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fa.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fi.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fil.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fr-ca.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fr-ch.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fr.js","webpack://@powercampus/self-service/./node_modules/moment/locale/fy.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ga.js","webpack://@powercampus/self-service/./node_modules/moment/locale/gd.js","webpack://@powercampus/self-service/./node_modules/moment/locale/gl.js","webpack://@powercampus/self-service/./node_modules/moment/locale/gom-deva.js","webpack://@powercampus/self-service/./node_modules/moment/locale/gom-latn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/gu.js","webpack://@powercampus/self-service/./node_modules/moment/locale/he.js","webpack://@powercampus/self-service/./node_modules/moment/locale/hi.js","webpack://@powercampus/self-service/./node_modules/moment/locale/hr.js","webpack://@powercampus/self-service/./node_modules/moment/locale/hu.js","webpack://@powercampus/self-service/./node_modules/moment/locale/hy-am.js","webpack://@powercampus/self-service/./node_modules/moment/locale/id.js","webpack://@powercampus/self-service/./node_modules/moment/locale/is.js","webpack://@powercampus/self-service/./node_modules/moment/locale/it-ch.js","webpack://@powercampus/self-service/./node_modules/moment/locale/it.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ja.js","webpack://@powercampus/self-service/./node_modules/moment/locale/jv.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ka.js","webpack://@powercampus/self-service/./node_modules/moment/locale/kk.js","webpack://@powercampus/self-service/./node_modules/moment/locale/km.js","webpack://@powercampus/self-service/./node_modules/moment/locale/kn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ko.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ku.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ky.js","webpack://@powercampus/self-service/./node_modules/moment/locale/lb.js","webpack://@powercampus/self-service/./node_modules/moment/locale/lo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/lt.js","webpack://@powercampus/self-service/./node_modules/moment/locale/lv.js","webpack://@powercampus/self-service/./node_modules/moment/locale/me.js","webpack://@powercampus/self-service/./node_modules/moment/locale/mi.js","webpack://@powercampus/self-service/./node_modules/moment/locale/mk.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ml.js","webpack://@powercampus/self-service/./node_modules/moment/locale/mn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/mr.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ms-my.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ms.js","webpack://@powercampus/self-service/./node_modules/moment/locale/mt.js","webpack://@powercampus/self-service/./node_modules/moment/locale/my.js","webpack://@powercampus/self-service/./node_modules/moment/locale/nb.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ne.js","webpack://@powercampus/self-service/./node_modules/moment/locale/nl-be.js","webpack://@powercampus/self-service/./node_modules/moment/locale/nl.js","webpack://@powercampus/self-service/./node_modules/moment/locale/nn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/oc-lnc.js","webpack://@powercampus/self-service/./node_modules/moment/locale/pa-in.js","webpack://@powercampus/self-service/./node_modules/moment/locale/pl.js","webpack://@powercampus/self-service/./node_modules/moment/locale/pt-br.js","webpack://@powercampus/self-service/./node_modules/moment/locale/pt.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ro.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ru.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sd.js","webpack://@powercampus/self-service/./node_modules/moment/locale/se.js","webpack://@powercampus/self-service/./node_modules/moment/locale/si.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sk.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sl.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sq.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sr-cyrl.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sr.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ss.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sv.js","webpack://@powercampus/self-service/./node_modules/moment/locale/sw.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ta.js","webpack://@powercampus/self-service/./node_modules/moment/locale/te.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tet.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tg.js","webpack://@powercampus/self-service/./node_modules/moment/locale/th.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tl-ph.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tlh.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tr.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tzl.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tzm-latn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/tzm.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ug-cn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/uk.js","webpack://@powercampus/self-service/./node_modules/moment/locale/ur.js","webpack://@powercampus/self-service/./node_modules/moment/locale/uz-latn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/uz.js","webpack://@powercampus/self-service/./node_modules/moment/locale/vi.js","webpack://@powercampus/self-service/./node_modules/moment/locale/x-pseudo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/yo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/zh-cn.js","webpack://@powercampus/self-service/./node_modules/moment/locale/zh-hk.js","webpack://@powercampus/self-service/./node_modules/moment/locale/zh-mo.js","webpack://@powercampus/self-service/./node_modules/moment/locale/zh-tw.js","webpack://@powercampus/self-service/./node_modules/moment/moment.js","webpack://@powercampus/self-service/./node_modules/nanoid/url-alphabet/index.js","webpack://@powercampus/self-service/./node_modules/nanoid/index.prod.js","webpack://@powercampus/self-service/./node_modules/object-assign/index.js","webpack://@powercampus/self-service/./node_modules/object-keys/implementation.js","webpack://@powercampus/self-service/./node_modules/object-keys/index.js","webpack://@powercampus/self-service/./node_modules/object-keys/isArguments.js","webpack://@powercampus/self-service/./node_modules/object.assign/implementation.js","webpack://@powercampus/self-service/./node_modules/object.assign/index.js","webpack://@powercampus/self-service/./node_modules/object.assign/polyfill.js","webpack://@powercampus/self-service/./node_modules/object.assign/shim.js","webpack://@powercampus/self-service/./node_modules/object.values/implementation.js","webpack://@powercampus/self-service/./node_modules/object.values/index.js","webpack://@powercampus/self-service/./node_modules/object.values/polyfill.js","webpack://@powercampus/self-service/./node_modules/object.values/shim.js","webpack://@powercampus/self-service/./node_modules/popper.js/dist/esm/popper.js","webpack://@powercampus/self-service/./node_modules/process/browser.js","webpack://@powercampus/self-service/./node_modules/prop-types/factoryWithThrowingShims.js","webpack://@powercampus/self-service/./node_modules/prop-types/index.js","webpack://@powercampus/self-service/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://@powercampus/self-service/./node_modules/react-addons-shallow-compare/index.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/Clock.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/Hand.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/Mark.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/entry.nostyle.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/shared/dates.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/shared/propTypes.js","webpack://@powercampus/self-service/./node_modules/react-clock/dist/shared/utils.js","webpack://@powercampus/self-service/./node_modules/react-dates/index.js","webpack://@powercampus/self-service/./node_modules/react-dates/initialize.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CalendarDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CalendarIcon.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CalendarMonth.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CalendarMonthGrid.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CalendarWeek.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/ChevronDown.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/ChevronUp.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CloseButton.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/CustomizableCalendarDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DateInput.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DateRangePicker.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DateRangePickerInput.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DateRangePickerInputController.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DayPicker.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DayPickerKeyboardShortcuts.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DayPickerNavigation.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DayPickerRangeController.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/DayPickerSingleDateController.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/KeyboardShortcutRow.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/LeftArrow.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/RightArrow.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/SingleDatePicker.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/components/SingleDatePickerInput.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/constants.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/defaultPhrases.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/index.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/initialize.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/AnchorDirectionShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/CalendarInfoPositionShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/DateRangePickerShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/DayOfWeekShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/DisabledShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/FocusedInputShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/IconPositionShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/ModifiersShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/OpenDirectionShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/OrientationShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/ScrollableOrientationShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/shapes/SingleDatePickerShape.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/theme/DefaultTheme.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/baseClass.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/calculateDimension.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/disableScroll.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getActiveElement.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getCalendarDaySettings.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getCalendarMonthWeeks.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getCalendarMonthWidth.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getDetachedContainerStyles.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getInputHeight.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getNumberOfCalendarMonthWeeks.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getPhrase.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getPhrasePropTypes.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getResponsiveContainerStyles.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getSelectedDateOffset.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getTransformStyles.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/getVisibleDays.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isAfterDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isBeforeDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isDayVisible.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isInclusivelyAfterDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isInclusivelyBeforeDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isNextDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isNextMonth.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isPrevMonth.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isSameDay.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isSameMonth.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/isTransitionEndSupported.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/toISODateString.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/toISOMonthString.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/toLocalizedDateString.js","webpack://@powercampus/self-service/./node_modules/react-dates/lib/utils/toMomentObject.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/DayPicker.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Caption.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/DateUtils.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Day.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/DayPicker.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Helpers.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/LocaleUtils.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/ModifiersUtils.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Month.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Navbar.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/PropTypes.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Weekday.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/Weekdays.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/addons/MomentLocaleUtils.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/classNames.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/lib/src/keys.js","webpack://@powercampus/self-service/./node_modules/react-day-picker/moment.js","webpack://@powercampus/self-service/./node_modules/react-dom/cjs/react-dom.production.min.js","webpack://@powercampus/self-service/./node_modules/react-dom/index.js","webpack://@powercampus/self-service/./node_modules/detect-element-overflow/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/react-fit/dist/esm/shared/utils.js","webpack://@powercampus/self-service/./node_modules/react-fit/dist/esm/Fit.js","webpack://@powercampus/self-service/./node_modules/react-is/cjs/react-is.production.min.js","webpack://@powercampus/self-service/./node_modules/react-is/index.js","webpack://@powercampus/self-service/./node_modules/react-moment-proptypes/src/core.js","webpack://@powercampus/self-service/./node_modules/react-moment-proptypes/src/index.js","webpack://@powercampus/self-service/./node_modules/react-moment-proptypes/src/moment-validation-wrapper.js","webpack://@powercampus/self-service/./node_modules/react-outside-click-handler/build/OutsideClickHandler.js","webpack://@powercampus/self-service/./node_modules/react-outside-click-handler/index.js","webpack://@powercampus/self-service/./node_modules/react-portal/es/utils.js","webpack://@powercampus/self-service/./node_modules/react-portal/es/Portal.js","webpack://@powercampus/self-service/./node_modules/react-portal/es/LegacyPortal.js","webpack://@powercampus/self-service/./node_modules/react-portal/es/PortalCompat.js","webpack://@powercampus/self-service/./node_modules/react-portal/es/PortalWithState.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/Divider.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/AmPm.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/Hour12Input.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/Hour24Input.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/Input.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/MinuteInput.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/NativeInput.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimeInput/SecondInput.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/TimePicker.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/entry.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/shared/dateFormatter.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/shared/dates.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/shared/propTypes.js","webpack://@powercampus/self-service/./node_modules/react-time-picker/dist/shared/utils.js","webpack://@powercampus/self-service/./node_modules/react-transition-group/esm/Transition.js","webpack://@powercampus/self-service/./node_modules/react-transition-group/esm/TransitionGroupContext.js","webpack://@powercampus/self-service/./node_modules/react-with-direction/dist/constants.js","webpack://@powercampus/self-service/./node_modules/react-with-direction/dist/proptypes/brcast.js","webpack://@powercampus/self-service/./node_modules/react-with-styles-interface-css/dist/index.js","webpack://@powercampus/self-service/./node_modules/react-with-styles-interface-css/dist/utils/constants.js","webpack://@powercampus/self-service/./node_modules/react-with-styles-interface-css/dist/utils/getClassName.js","webpack://@powercampus/self-service/./node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js","webpack://@powercampus/self-service/./node_modules/react-with-styles-interface-css/index.js","webpack://@powercampus/self-service/./node_modules/react-with-styles/lib/ThemedStyleSheet.js","webpack://@powercampus/self-service/./node_modules/react-with-styles/lib/withStyles.js","webpack://@powercampus/self-service/./node_modules/react/cjs/react.production.min.js","webpack://@powercampus/self-service/./node_modules/react/index.js","webpack://@powercampus/self-service/./node_modules/rtl-css-js/dist/esm/convert-09159978.js","webpack://@powercampus/self-service/./node_modules/rtl-css-js/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/scheduler/cjs/scheduler.production.min.js","webpack://@powercampus/self-service/./node_modules/scheduler/index.js","webpack://@powercampus/self-service/./node_modules/setimmediate/setImmediate.js","webpack://@powercampus/self-service/./node_modules/timers-browserify/main.js","webpack://@powercampus/self-service/./node_modules/update-input-width/dist/esm/index.js","webpack://@powercampus/self-service/./node_modules/uuid/index.js","webpack://@powercampus/self-service/./node_modules/uuid/lib/bytesToUuid.js","webpack://@powercampus/self-service/./node_modules/uuid/lib/rng-browser.js","webpack://@powercampus/self-service/./node_modules/uuid/v1.js","webpack://@powercampus/self-service/./node_modules/uuid/v4.js","webpack://@powercampus/self-service/./node_modules/warning/warning.js"],"names":["module","exports","obj","key","value","Object","defineProperty","enumerable","configurable","writable","__esModule","_arrayLikeToArray","arr","len","length","i","arr2","Array","_arrayWithHoles","isArray","_assertThisInitialized","self","ReferenceError","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","descriptor","_createClass","protoProps","staticProps","prototype","_defineProperty","_extends","assign","arguments","source","hasOwnProperty","call","apply","this","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_inheritsLoose","subClass","superClass","create","constructor","_iterableToArray","iter","Symbol","iterator","from","_nonIterableRest","_objectWithoutProperties","excluded","getOwnPropertySymbols","sourceSymbolKeys","indexOf","propertyIsEnumerable","_objectWithoutPropertiesLoose","sourceKeys","keys","_slicedToArray","arrayWithHoles","_i","_s","_e","_arr","_n","_d","next","done","push","err","unsupportedIterableToArray","nonIterableRest","_toConsumableArray","arrayLikeToArray","iterableToArray","_typeof","_unsupportedIterableToArray","minLen","n","toString","slice","name","test","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","desc","set","objectWithoutPropertiesLoose","_react2","default","isRTL","dir","SvgArrowEndLeft","_ref","svgRef","createElement","viewBox","width","height","transform","ref","d","ForwardRef","forwardRef","SvgArrowEndRight","SvgArrowLeft","SvgArrowRight","SvgCalendar","SvgCheckFeedback","SvgChevronDown","SvgChevronLeft","SvgChevronRight","SvgChevronUp","SvgCircle","SvgClose","SvgEdit","SvgError","xmlns","style","display","id","stroke","strokeWidth","fillRule","_IconSprite","icons","undefined","_interopRequireDefault","_propTypes2","_classnames2","RTL_MIRRORABLE_ICONS","Icon","large","spin","nameProp","rest","iconClasses","includes","className","dangerouslySetInnerHTML","__html","propTypes","string","isRequired","bool","oneOf","defaultProps","_Icon","SvgInfo","SvgMoreVertical","SvgSearch","SvgWarning","alertTypeIcon","success","CheckFeedback","warning","Warning","error","Error","info","Info","PAGE_VARIANT","INLINE_VARIANT","Alert","_classNames","_classNames3","alertType","classes","userDismissable","ContentPropsProp","ContentProps","onClose","text","variant","edsContext","spacingOptionsLocal","spacingOptions","handleClose","event","reason","AlertIcon","variantClasses","inlineTop","pageTop","snackbarClassOverrides","anchorOriginTopCenter","root","none","spacing","message","messageWidth","contentRoot","action","close","alert","useEffect","console","warn","anchorOrigin","vertical","horizontal","alertIcon","iconSvg","inlineAlertMessageText","pageAlertMessageText","Tooltip","title","formatMessage","enterDelay","enterNextDelay","IconButton","closeIcon","color","disableRipple","onClick","Close","muiName","autoHideDuration","children","disableWindowBlurListener","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","enter","exit","TransitionProps","displayName","w","theme","_root","_pageAlertMessageText","padding","spacing40","widthFluid","breakpoints","up","spacing50","down","left","position","right","top","zIndex","inlineAlert","minHeight","boxShadow","boxShadowReset","maxWidth","sizingXxLarge1","pageAlert","fontSize","typography","body1","borderRadius","backgroundColor","palette","status","background","fill","neutral","successBorder","borderTop","borderWidthThick","errorBorder","infoBorder","warningBorder","marginRight","justifyContent","flexGrow","spacing60","spacing70","alignSelf","outline","borderWidthThin","sizingMedium","verticalAlign","Backdrop","invisible","disableScrollLock","classOverrides","hideBackdrop","appear","backdrop","fade","grey","Badge","_props$anchorOrigin","badgeContent","_props$color","_props$component","component","ComponentProp","invisibleProp","_props$max","max","_props$overlap","overlap","_props$showZero","showZero","_props$variant","other","displayValue","concat","badge","capitalize","dot","withStyles","flexShrink","flexDirection","flexWrap","alignContent","alignItems","boxSizing","fontFamily","fontWeight","fontWeightMedium","pxToRem","minWidth","RADIUS_STANDARD","lineHeight","transition","transitions","easing","easeInOut","duration","enteringScreen","colorPrimary","primary","main","contrastText","colorSecondary","secondary","colorError","RADIUS_DOT","anchorOriginTopRightRectangle","transformOrigin","anchorOriginBottomRightRectangle","bottom","anchorOriginTopLeftRectangle","anchorOriginBottomLeftRectangle","anchorOriginTopRightCircle","anchorOriginBottomRightCircle","anchorOriginTopLeftCircle","anchorOriginBottomLeftCircle","leavingScreen","useStyles","makeStyles","sizingXLarge","sizingLarge","body2","marginLeft","marginTop","spacing20","border","colorGlobalBorderDefault","borderRadiusLarge","maxvalue","NotificationBadge","noBadgeContent","caption","Button","_props$disabled","disabled","_props$disableElevati","disableElevation","_props$disableFocusRi","disableFocusRipple","endIconProp","endIcon","focusVisibleClassName","_props$fullWidth","fullWidth","_props$size","size","startIconProp","startIcon","_props$type","type","ButtonBase","colorInherit","focusRipple","focusVisible","label","button","shape","short","textDecoration","hoverOpacity","textPrimary","textSecondary","outlined","disabledBackground","outlinedPrimary","outlinedSecondary","contained","getContrastText","shadows","A100","containedPrimary","dark","containedSecondary","borderColor","textSizeSmall","textSizeLarge","outlinedSizeSmall","outlinedSizeLarge","containedSizeSmall","containedSizeLarge","sizeSmall","sizeLarge","iconSizeSmall","iconSizeMedium","iconSizeLarge","fluid","textVariantStyling","withDarkBackground","sizeDefault","textStandalone","textInline","textPrimaryDark","restClasses","textClass","propOverrides","href","white","borderRadiusSmall","flex","h3","sizingXxLarge","ctaColor","base","hover","active","boxShadowFocus","fontFamilyCondensed","fontSizeLarge","fontWeightBold","lineHeightDefault","wordSpacing","letterSpacing","textTransform","index","ButtonGroup","buttonGroupClasses","margin","spacing30","marginBottom","SIZE","CircularProgress","t","_props$disableShrink","disableShrink","_props$thickness","thickness","_props$value","circleStyle","rootStyle","rootProps","circumference","Math","PI","strokeDasharray","toFixed","round","strokeDashoffset","min","easeOut","indeterminate","static","role","svg","circle","circleDisableShrink","circleIndeterminate","circleStatic","cx","cy","r","animation","flip","defaultTransitionDuration","Dialog","BackdropProps","_props$disableBackdro","disableBackdropClick","_props$disableEscapeK","disableEscapeKeyDown","_props$fullScreen","fullScreen","_props$maxWidth","onBackdropClick","onEscapeKeyDown","_props$PaperComponent","PaperComponent","Paper","_props$PaperProps","PaperProps","_props$scroll","scroll","_props$TransitionComp","Fade","_props$transitionDura","ariaDescribedby","ariaLabelledby","mouseDownTarget","Modal","BackdropComponent","closeAfterTransition","in","timeout","container","currentTarget","current","onMouseDown","elevation","paper","String","paperFullScreen","paperFullWidth","scrollPaper","scrollBody","overflowY","overflowX","textAlign","content","paperScrollPaper","maxHeight","paperScrollBody","paperWidthFalse","paperWidthXs","values","xs","paperWidthSm","sm","paperWidthMd","md","paperWidthLg","lg","paperWidthXl","xl","_useState2","sliceIterator","useState","disableEnforceFocusFlag","setEnforceFocusFlag","e","querySelector","getAttribute","_useEnforceFocusFlag","_useEnforceFocusFlag2","onFocus","onBlur","refItem","classesProp","showTitleBarClose","PaperPropsProp","_useSpacing","_useSpacing2","spacingStyles","setSpacingOptions","internalPaperProps","internalDialog","PaperProps2","buttonClasses","dialogXButton","xButtonPositionStandard","useLayoutEffect","setTimeout","removeAttribute","propsOnFocus","propsOnBlur","disableEnforceFocus","responsive","outerSpacing","_internalDialog","spacing80","borderRadiusReset","gridTemplateRows","borderRadiusMedium","DialogActions","_props$disableSpacing","disableSpacing","_button","DialogContent","_props$dividers","dividers","WebkitOverflowScrolling","paddingTop","divider","borderBottom","DialogContentText","Typography","fontWeightRegular","DialogTitle","_props$disableTypogra","disableTypography","titleContents","h2","html","WebkitFontSmoothing","MozOsxFontSmoothing","body","common","CssBaseline","_props$children","cdnBaseUrlWithVersion","getLargeIllustrationsUrl","assetName","getFontsUrl","getBackgroundImageUrl","getFavIconUrl","EDSApplication","jss","plugins","jssPreset","enabled","locale","autosetMomentLocale","direction","EDSContext","labelOverrides","StylesProvider","generateClassName","withEDSContext","WrappedComponent","wrap","Consumer","language","replace","split","messages","substitutions","msg","forEach","getDisplayName","actionLink","TextLink","ErrorTemplateBody","largeIllustrationName","errorTitle","errorMessage","imageSrc","hasAction","illustrationUrl","illustration","src","alt","errorDetails","errorTemplate","noHeader","objectFit","MaintenancePage","narrow","BadRequest400Page","Unauthorized401Page","signInText","Forbidden403Page","goBackText","PageNotFound404Page","MethodNotAllowed405Page","InternalServerError500Page","ServiceUnavailable503Page","ERROR_PAGES","maintenance","badRequest","unauthorized","forbidden","pageNotFound","methodNotAllowed","internalServerError","serviceUnavailable","ErrorPage","logo","ErrorPageTemplate","errorType","isNarrow","HeaderBar","Logo","withWidth","Footer","footerText","more","firstLine","shift","square","align","map","_$responsive","spacingInset40","spacingInset30","SPACINGS","GRID_SIZES","getOffset","val","div","parse","parseFloat","Grid","_props$alignContent","_props$alignItems","classNameProp","Component","_props$container","_props$direction","_props$item","item","_props$justify","justify","_props$lg","_props$md","_props$sm","_props$spacing","_props$wrap","_props$xl","_props$xs","_props$zeroMinWidth","zeroMinWidth","breakpoint","styles","themeSpacing","generateGutter","reduce","accumulator","globalStyles","flexBasis","generateGrid","defineProperties","_possibleConstructorReturn","_Component","_temp","_this","_len","args","_key","getPrototypeOf","state","_inherits","setSpacing","prevProps","setState","_props","gridClassName","spacingClasses","accum","num","spacingXS1","spacingXS2","spacingXS3","spacingXS4","spacingXS5","spacingXS6","spacingXS7","spacingXS8","spacingXS9","spacingXS10","AppBar","_props$position","backgroundColorDefault","appBar","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorTransparent","colorBackgroundHeaderBarThemed","colorBrandNeutral100","colorBackgroundSearchThemed","colorBrandNeutral300","pageSectionId","megaMenuItemKey","searchItemKey","HeaderBarContext","createContext","lightTheme","HeaderBarProvider","_React$Component","_ref2","activeHeaderBarItem","isMegaMenuOpen","isDropDownOpen","isThemed","_this2","onActiveItemChanged","Provider","setActive","isActive","itemRef","setThemed","setOpen","_React$Component2","_this3","megaMenuOpen","searchOpen","onMenuItemClick","toggleMegaMenu","onItemSelected","itemSelected","toggleSearch","searchRef","focus","handleKeyPress","onSearch","updateThemeMode","context","tabIndex","menuDefinition","_this4","items","subItem","neuterTabIndex","definition","responsiveType","_this5","itemResponsiveType","itemKey","menuHeader","menuItems","dropdownMenuLabel","secondaryDropdownMenuLabel","contentLabel","selected","alwaysShow","onKeyUp","_this6","_props2","utilityDefinition","megaMenuDefinition","megaMenuBadge","megaMenuOnDemand","showSearch","UtilityBar","menuItemsLabel","toolbar","autoGenerateMenus","SearchItem","isUtility","searchBar","TextField","inputRef","InputProps","startAdornment","InputAdornment","searchAdornment","searchIconSize","onKeyDown","bind","disableUnderline","searchRoot","input","searchInput","themed","placeholder","logoClassDef","logoRoot","logoDisabled","menuBar","createItems","megaMenuIcon","megaMenuResponsiveType","megaMenuUtilityDefinition","utilityItems","utilityBarItems","filter","def","pageItems","finalItemList","pageItemsSectionDefinition","fullMegaMenuDefinition","convertItems","Toolbar","disableGutters","headerBarToolbar","parentElementRef","useFluidTransition","menuItemsHeader","utiltyBar","decoratedChildren","child","isHeaderBarItem","hasResponsiveType","overlay","HeaderBarConsumer","remainingProps","_searchInput","borderWidthThickest","headerBar","colorBrandPrimary","heightFluid","opacity","opacity2","utilityBar","sizingXxSmall","menuItem","colorBackgroundHeaderBarItemSelected","colorTextNeutral100","colorTextNeutral500","colorBrandNeutral500","paddingRight","pointerEvents","withTheme","colorBackgroundIconSelectedThemed","HeaderBarItemConsumer","focused","floor","random","prevState","snapshot","preventDefault","setItemActive","isItemDropdown","isChildDropdown","isSimpleText","responsiveClass","itemIcon","HeaderBarItem","fontFamilyHeader","fontSizeSmall","heightHeaderBar","whiteSpace","borderTopLeftRadius","borderTopRightRadius","boxShadowFocusInset","colorBackgroundHeaderBarItemHover","HeaderBarLogo","Manager","_setTargetNode","node","_targetNode","_getTargetNode","popperManager","setTargetNode","getTargetNode","tag","restProps","childContextTypes","Target","innerRef","targetRef","targetProps","componentProps","contextTypes","placements","Popper","_setArrowNode","_arrowNode","_getOffsets","data","offsets","_isDataDirty","JSON","stringify","_updateStateModifier","order","fn","_getPopperStyle","_popper","popper","_getPopperPlacement","placement","_getPopperHide","hide","_getArrowStyle","arrow","_this$state$data$offs","_handlePopperRef","_popperNode","_createPopper","_destroyPopper","_scheduleUpdate","scheduleUpdate","setArrowNode","getArrowStyle","lastProps","eventsEnabled","modifiers","applyStyle","updateState","element","destroy","popperStyle","popperPlacement","popperHide","popperProps","Element","getBoundingClientRect","clientWidth","clientHeight","Arrow","arrowRef","arrowStyle","arrowProps","colorBackgroundDropdownThemed","colorBackgroundDropdownHoverThemed","HeaderBarDropdownConsumer","handleOpen","nodeName","activeLink","document","classList","remove","anchor","click","dropdownMenuLabelLocal","labeledContent","onMouseOver","dropdownUtilityLabel","dropdownLabel","stopPropagation","onMouseUp","popperClose","popperOpen","ClickAwayListener","onClickAway","Grow","dropdownMenuHeader","MenuList","dropdownMenuUtility","dropdownMenu","hidden","MenuItem","dropdownMenuItemUtility","dropdownMenuItem","HeaderBarDropdown","cursor","colorCtaBlueBase","paddingLeft","fontSizeDefault","headerBarDropdown","colorBackgroundHeaderUtilityBarThemed","colorBrandNeutral200","HeaderUtilityBar","renderChildren","propName","componentName","prop","gray","disabledIconOnly","opacity4","logoPowerButtonClasses","logoAlternativeLogo","logoTextClasses","logoAlternativeText","svgId","logoContainer","colorFillLogoPreferred","colorFillLogoAlternativePowerButton","colorFillLogoAlternativeText","PageHeader","h1","commonStyles","commonMobileStyles","snackbarVariant","CustomMessage","onUndoClick","SnackbarIcon","undoAction","snackbarContent","icon","contentMessage","customAction","useWidth","shouldAddMobileCustomStyles","anchorOriginTopRight","anchorOriginTopLeft","anchorOriginBottomCenter","anchorOriginBottomRight","anchorOriginBottomLeft","contentProps","contentPropsStyles","ClickAwayListenerProps","zIndexSnackbar","between","additionalProps","stateStyle","link","standalone","spacing10","colorBorderGlobalFocus","fontFamilyDefault","hystersisOpen","hystersisTimer","_props$arrow","_props$disableFocusLi","disableFocusListener","_props$disableHoverLi","disableHoverListener","_props$disableTouchLi","disableTouchListener","_props$enterDelay","_props$enterNextDelay","_props$enterTouchDela","enterTouchDelay","idProp","_props$interactive","interactive","_props$leaveDelay","leaveDelay","_props$leaveTouchDela","leaveTouchDelay","onOpen","openProp","_props$placement","PopperProps","useTheme","_React$useState","childNode","setChildNode","_React$useState2","setArrowRef","ignoreNonTouchEvents","closeTimer","enterTimer","leaveTimer","touchTimer","_useControlled","useControlled","controlled","_useControlled2","openState","setOpenState","clearTimeout","handleEnter","forward","childrenProps","persist","_useIsFocusVisible","useIsFocusVisible","isFocusVisible","onBlurVisible","focusVisibleRef","_React$useState3","childIsFocusVisible","setChildIsFocusVisible","handleBlur","handleFocus","shortest","handleLeave","detectTouchStart","onTouchStart","handleUseRef","useForkRef","handleFocusRef","handleOwnRef","setRef","handleRef","shouldShowNativeTitle","interactiveWrapperListeners","onTouchEnd","mergedPopperProps","deepmerge","popperOptions","Boolean","popperInteractive","popperArrow","anchorEl","placementInner","TransitionPropsInner","shorter","tooltip","touch","tooltipArrow","borderWidth","wordWrap","borderStyle","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","onOpenProp","onCloseProp","popperPropOverrides","escapeDetector","useCallback","addEventListener","removeEventListener","classesLocal","body3","overline","currentVariant","currentComponent","gutterBottom","variantMapping","noWrap","paragraph","colorTextPrimary","colorTextSecondary","h4","h5","h6","srOnly","spacingVariant","STANDARD","NONE","spacingType","CONTAINER","LAYOUT","TEMPLATE","COMPONENT_RESET","spacingRow","spacingColumn","negateComponentSpacingOptions","negateSpacingRightLeft","negateSpacingAll","getSpacingCss","options","_classnames","optionsLocal","getResetComponentSpacingCss","_responsiveSpacingNon","gridGap","layout10","responsiveSpacingNoneStyles","gridRowGap","paddingBottom","gridColumnGap","_theme$breakpoints$up","_Object$assign2","_global","layout20","spacingInsetTall30","spacingInsetTall40","spacingInsetTall50","CssGlobalSpacing","_responsiveSpacingCss","commomCss","responsiveSpacingCss","responsiveCommonCss","getSpacingOptions","initialSpacingOptions","getSpacingStyles","_useState","setOptions","_useState3","_useState4","defaultSpacingSyles","setSpacingCss","_useCustomSpacing","_useCustomSpacing2","customSpacingStyles","setSpacingCustomCss","Card","_props$raised","raised","overflow","CardContext","accent","legacySpacingMode","spacingStylesLocal","accentPrimary","accentSecondary","gridTemplateColumns","borderTopWidth","sizingSmall","borderTopStyle","borderTopColor","CardActions","standard","classesOverrides","getLegacySpacingModeCss","useContext","dense","only","CardContent","borderRadiusStyles","borderBottomLeftRadius","borderBottomRightRadius","negateSpacingStyles","negateSpacing","_responsive","CardHeader","avatar","subheaderProp","subheader","subheaderTypographyProps","titleProp","titleTypographyProps","newSubheader","MEDIA_COMPONENTS","CardMedia","image","isMediaComponent","composedStyle","backgroundImage","media","img","backgroundSize","backgroundRepeat","backgroundPosition","SwitchBase","autoFocus","checkedProp","checked","checkedIcon","defaultChecked","disabledProp","inputProps","onChange","readOnly","required","setCheckedState","muiFormControl","useFormControl","hasLabelFor","newChecked","createSvgIcon","defaultCheckedIcon","CheckBox","defaultIcon","CheckBoxOutlineBlank","defaultIndeterminateIcon","IndeterminateCheckBox","Checkbox","_props$checkedIcon","_props$icon","_props$indeterminate","_props$indeterminateI","indeterminateIcon","isFocused","inputPropsTemp","colorBrandSecondary","oppositeDirection","Drawer","_props$anchor","anchorProp","_props$elevation","_props$ModalProps","ModalProps","BackdropPropsProp","_props$open","SlideProps","Slide","mounted","isHorizontal","getAnchor","drawer","docked","slidingDrawer","modal","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","borderRight","paperAnchorDockedTop","paperAnchorDockedRight","borderLeft","paperAnchorDockedBottom","fullScreenDrawer","fullScreenPaper","gutter","gridAutoRows","KeyCode","MAC_ENTER","BACKSPACE","TAB","NUM_CENTER","ENTER","SHIFT","CTRL","ALT","PAUSE","CAPS_LOCK","ESC","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT","UP","RIGHT","DOWN","PRINT_SCREEN","INSERT","DELETE","ZERO","ONE","TWO","THREE","FOUR","FIVE","SIX","SEVEN","EIGHT","NINE","QUESTION_MARK","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","META","WIN_KEY_RIGHT","CONTEXT_MENU","NUM_ZERO","NUM_ONE","NUM_TWO","NUM_THREE","NUM_FOUR","NUM_FIVE","NUM_SIX","NUM_SEVEN","NUM_EIGHT","NUM_NINE","NUM_MULTIPLY","NUM_PLUS","NUM_MINUS","NUM_PERIOD","NUM_DIVISION","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","NUMLOCK","SEMICOLON","DASH","EQUALS","COMMA","PERIOD","SLASH","APOSTROPHE","SINGLE_QUOTE","OPEN_SQUARE_BRACKET","BACKSLASH","CLOSE_SQUARE_BRACKET","WIN_KEY","MAC_FF_META","WIN_IME","isTextModifyingKeyEvent","keyCode","altKey","ctrlKey","metaKey","isCharacterKey","window","navigator","userAgent","TouchFeedback","triggerEvent","onTouchMove","onTouchCancel","ev","eventType","activeClassName","activeStyle","events","_child$props","InputHandler","render","prefixCls","otherProps","noop","MAX_SAFE_INTEGER","Number","pow","isValidProps","InputNumber","_initialiseProps","defaultValue","validValue","getValidValue","toNumber","inputValue","toPrecisionAsStep","componentDidMount","componentDidUpdate","nextInputValue","pressingUpOrDown","inputting","rawInput","nextValue","cursorStart","partRestoreByAfter","cursorAfter","currentValue","lastKeyCode","fixCaret","pos","focusOnUpDown","activeElement","componentWillUnmount","stop","getCurrentValidValue","isNotCompleteNumber","getRatio","ratio","shiftKey","getValueFromEvent","trim","decimalSeparator","isNaN","setValue","v","callback","precision","newValue","_state","_state$value","_state$inputValue","newValueInString","changed","getPrecision","valueString","parseInt","getMaxPrecision","step","ratioPrecision","stepPrecision","currentValuePrecision","getPrecisionFactor","start","end","currentStart","selectionStart","currentEnd","selectionEnd","setSelectionRange","recordCursorPosition","blur","formatWrapper","formatter","abs","numberIsTooLarge","upStep","rat","precisionFactor","result","downStep","recursive","outOfRange","autoStepTimer","useTouch","autoComplete","upHandler","downHandler","upDisabledClass","downDisabledClass","dataOrAriaAttributeProps","substr","editable","inputDisplayValue","getInputDisplayValue","upEvents","downEvents","isUpDisabled","isDownDisabled","onMouseOut","saveUp","unselectable","saveDown","maxLength","saveInput","pattern","onPressEnter","parser","_props3","_ratio","_len2","_key2","_props4","_len3","_key3","originValue","inputDisplayValueFormat","cursorEnd","cursorBefore","substring","restoreByAfter","str","fullStr","lastIndexOf","some","_","partStr","FormControl","adornedStart","filled","onEmpty","handleClean","onFilled","handleDirty","marginNormal","marginDense","shrink","shouldShrink","_cn","placeholderProp","FormControlProps","labelProp","InputLabelProps","helperText","FormHelperTextProps","small","noLabel","focusedError","InputLabel","htmlFor","inputLabelRoot","formControl","inputLabelFormControl","inputLabelShrink","widthInputFields","touchAction","userSelect","MozAppearance","heightInputFieldsSmall","zIndexTextFieldLabel","MUI_TEXTFIELD_PROPS","adornmentStyles","cloneAdornment","isButtonElement","cloneElement","adornment","adornmentButton","handleAdornmentClick","onAdornmentClick","handleChange","hasText","count","handleEnterPress","onEnterPress","handleClearClick","onClearClick","handleSearchAdornment","toggleVisibilityClick","isPasswordVisible","helperTextNode","_this$props","maxCharacters","charCounterNode","a11yCharCounterNode","a11yCharCounterText","total","countErrorState","nodeText","charCounterContainer","inputFormLabel","tooltipText","helperTextContainer","helperTextAlignment","counterTextAlignment","_classNames4","_classNames8","_classNames9","numberAriaLabel","numberAriaLabelledby","FormHelperTextPropsProp","InputLabelPropsProp","InputPropsProp","inputPropsProp","multiline","passwordToggle","cleanedId","rootClassName","constrainedWidth","adornmentDisabled","searchErrorAdornmentError","Search","svgSize","passwordAdornment","passwordAdornmentRoot","endAdornment","inputRoot","inputBorderDefault","inputBorderError","inputMultilineRoot","rowsMaxRoot","startInputAdornment","inputMultiline","inputTypeSearch","inputSearch","inputSearchWithLabel","onKeyPress","allowOverflow","inputLabel","inputLabelWrapForAdornment","formHelperTextRoot","rows","rowsMax","select","SelectProps","_inputSearch","boxShadowError","colorBorderAlertError","lineHeightHeader2Small","paddingTextField","textFieldLabel","textOverflow","FormControlLabel","control","_props$labelPlacement","labelPlacement","controlProps","WebkitTapHighlightColor","labelPlacementStart","labelPlacementTop","labelPlacementBottom","FormGroup","_props$row","row","muiFormLabel","asterisk","layer","easeIn","RadioButtonUnchecked","RadioButtonChecked","Radio","onChangeProp","radioGroup","createChainedFunction","actions","valueProp","rootRef","font","mozBoxSizing","webkitTransform","msTransform","visibility","listStyle","webkitUserSelect","mozUserSelect","msUserSelect","borderCollapse","borderSpacing","captionSide","webkitTransition","mozTransition","fontStyle","clip","MONTH_YEAR_CALENDAR_WIDTH","DEFAULT_PLACEHOLDER","globalStyleOverrides","zIndexDatePicker","heightInputFields","borderRightColor","borderRadiusCircle","sharp","tint","STANDALONE","STANDALONE_WEEK","WITH_TEXT_FIELD","INCREMENTAL_SELECTION","MONTH_YEAR_SELECTION","INCREMENTAL_NAVIGATION","INCREMENTAL_NAVIGATION_WITH_TOOLBAR","MONTH_YEAR_NAVIGATION","ANCHOR_LEFT","ANCHOR_RIGHT","OPEN_DOWN","ICON_AFTER_POSITION","DEFAULT_DISPLAY_FORMAT","LAST_WEEK_IN_MONTH","INPUT_SPECIFIC_PROPS","getDateRow","date","localDate","clone","dayOfMonth","daysInMonth","monthStartDay","startOf","day","monthEndDay","endOf","firstRowOffset","lastRowOffset","numRowsInMonth","ceil","activeMonthRow","DatePicker","currentWeekRow","platform","onFocusChange","switchMonth","month","onMonthSelect","onYearSelect","localMonth","monthCoefficient","subtract","add","year","onPrevMonthClick","onNextMonthClick","handleCalendarNavigation","isWeekCalendar","monthDateInfo","numWeeksInMonth","updatedWeek","handleNavigationButtonPress","selectorId","datePickerRef","singleDatePickerId","appendToBody","getOverflow","HACK_setConditionalSizeClass","setCurrentRow","activeRow","week","allCalendars","allCalendarViews","querySelectorAll","dateRows","visibleRow","td","headerArea","calenderDate","days","weekData","weekCalendarDayRange","textContent","headerText","format","innerText","monthSelectionVariant","headerVariant","setVisibleCalendarRows","setMonthCalendarHeader","useMonthYearHeader","headerType","headerVariantChanged","handleMonthPickerHack","HACK_handleZIndex","HACK_updateCalendarButtonA11yInfo","HACK_updateAriaLabel","curShrink","htmlInput","htmlInputValueLength","setWeekCalendarHeader","calendar","handleWeekCalendarKeyboardNav","htmlOverflowY","bodyOverflowY","datePickers","datePicker","contains","calendarButton","setAttribute","parentElement","dirString","Select","IconComponent","ChevronDown","MenuProps","MenuListProps","monthYearSelectMenu","monthYearSelectIcon","Input","monthYearSelectInput","monthYearSelectInputInput","_cn2","isRTLProp","startYear","endYear","autoPosition","screenReaderInputMessageProp","screenReaderInputMessage","isOutsideRange","daySize","highlightToday","hasLabel","helperTextId","dateFormat","displayFormat","incrementalNavHeader","previousTooltip","nextTooltip","headerControls","incrementalSelector","ChevronRight","ChevronLeft","header","alternateHeaderControls","toolbarItems","_ref3","monthYearSelector","buildSelector","monthLabel","monthYearSelectMenuItem","monthYearSelectMenuItemSelected","disableTouchRipple","today","DatePickerPropOverrides","inputIconPosition","orientation","customInputIcon","Calendar","numberOfMonths","weekDayFormat","anchorDirection","renderDayContents","dayClasses","isSame","getElementById","renderMonthElement","enableOutsideDays","hideKeyboardShortcutsPanel","autoPositionOverrides","rect","verticalFit","documentElement","bottomDelta","topDelta","openDirection","horizontalFit","rightDelta","leftDelta","_horizontalFit","_leftDelta","_rightDelta","isDateValid","isValid","currentDate","monthYearPickerFix","standaloneRTL","standaloneWeek","DayPickerSingleDateController","showPlaceholder","noLabelMedium","noLabelSmall","smallDatePicker","inputLabelSmall","disableScroll","firstDayOfWeek","isDayBlocked","isDayHighlighted","keepOpenOnDateSelect","phrases","SingleDatePickerPhrases","onDateChange","block","renderMonthText","initialVisibleMonth","monthFormat","getPhrasePropTypes","dayAriaLabelFormat","lineHeightParagraphMedium","cachedType","detectScrollType","dummy","appendChild","createTextNode","scrollLeft","removeChild","getNormalizedScrollLeft","scrollWidth","easeInOutSin","time","sin","ScrollbarSize","scrollbarHeight","nodeRef","setMeasurements","offsetHeight","handleResize","debounce","prevHeight","clear","TabIndicator","KeyboardArrowLeft","KeyboardArrowRight","TabScrollButton","Tabs","_props$centered","centered","childrenProp","_props$indicatorColor","indicatorColor","_props$orientation","_props$ScrollButtonCo","ScrollButtonComponent","_props$scrollButtons","scrollButtons","_props$TabIndicatorPr","TabIndicatorProps","TabScrollButtonProps","_props$textColor","textColor","scrollable","isRtl","scrollStart","clientSize","setMounted","indicatorStyle","setIndicatorStyle","displayScroll","setDisplayScroll","_React$useState4","scrollerStyle","setScrollerStyle","valueToIndex","Map","tabsRef","tabListRef","getTabsMeta","tabsMeta","tabMeta","tabsNode","scrollTop","scrollLeftNormalized","_children","tab","updateIndicatorState","useEventCallback","_newIndicatorStyle","_getTabsMeta","startValue","correction","newIndicatorStyle","dStart","dSize","scrollValue","property","to","cb","_options$ease","ease","_options$duration","cancelled","timestamp","requestAnimationFrame","animate","moveTabsScroll","delta","handleStartScrollClick","handleEndScrollClick","handleScrollbarSizeChange","scrollSelectedIntoView","_getTabsMeta2","nextScrollStart","_nextScrollStart","updateScrollButtonState","showStartScroll","showEndScroll","_tabsRef$current","scrollHeight","win","ownerWindow","handleTabsScroll","updateIndicator","updateScrollButtons","indicator","childIndex","childValue","conditionalElements","scrollbarSizeListener","scrollButtonsActive","showScrollButtons","scrollButtonStart","scrollButtonsDesktop","scrollButtonEnd","getConditionalElements","scroller","fixed","onScroll","flexContainer","flexContainerVertical","newFocusTarget","previousItemKey","nextItemKey","previousElementSibling","lastChild","nextElementSibling","firstChild","scrollbarWidth","scrollLeftIcon","scrollRightIcon","hideScrollButtons","_classNames2","visible","tabsContainer","updateScrollButtonsOnLoad","observer","MutationObserver","mutationsList","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","mutation","attributeName","showOrHideScrollButtons","return","observe","attributes","childList","subtree","buttons","disconnect","scrollButtonsOnMobile","widthVariant","_TabIndicatorProps","scrollButtonsProp","cardLevelFlexContainer","Tab","_props$wrapped","wrapped","labelIcon","wrapper","_extends2","textColorInherit","textColorPrimary","textColorSecondary","cardLevelTabRoot","tabRoot","cardLevel","_tabRoot","_cardLevelTabRoot","fontWeightNormal","modifiersProp","TextTypographyProps","TitleTypographyProps","transitionProps","offset","newData","PopperContent","paperRoot","popperTitle","popperText","Content","disablePortal","keepMounted","borderBottomColor","borderLeftColor","fontSizeHeader2Small","lineHeightHeader2","fontSizeHeader2","ActionMenuItem","localClasses","_onClick","ActionMenu","handleToggle","focusActionMenuButton","buttonRef","getChildren","initialOpenOverride","menuId","IconButtonProps","PopperPropsProps","menuList","autoFocusItem","MoreVertical","iconButton","borderRadiusXSmall","Switch","_props$edge","edge","thumb","edgeStart","edgeEnd","switchBase","track","colorAdjust","black","barFocused","bar","barBase","disabledOn","disabledOff","iconBase","iconOffDisabled","iconOff","iconOn","iconOnDisabled","Divider","_props$absolute","absolute","_props$flexItem","flexItem","_props$light","light","_props$role","inset","middle","ExpansionPanel","_props$defaultExpande","defaultExpanded","expandedProp","expanded","_props$square","Collapse","setExpandedState","_React$Children$toArr2","summary","contextValue","toggle","rounded","panelSpacingVariant","CollapseProps","nogap","separated","card","_separated","ExpansionPanelActions","ExpansionPanelDetails","ExpansionPanelSummary","expandIcon","onFocusVisible","focusedState","setFocusedState","_React$useContext","_React$useContext$dis","disabledOpacity","leftIconDisplay","expandIconProps","_useContext","colorBrandNeutral400","iconButtonRoot","spacingInsetShort30","defaultComponent","Table","_props$padding","_props$stickyHeader","stickyHeader","table","_expansionPanelStyles","defaultResponsiveStyles","wordBreak","colorBrandNeutral600","float","expansionPanelStyles","onExpand","layoutProp","layout","responsive_xs","responsive_sm","responsive_md","responsive_lg","responsive_xl","expansionPanels","targetClassList","_target","rowsExpanded","rowsNotExpanded","_styles","tablelvl2","TableHead","TableCell","_props$align","paddingProp","scopeProp","scope","sizeProp","sortDirection","variantProp","isHeadCell","ariaSort","head","footer","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","columnName","lineHeightHeader3","TableRow","_props$hover","_props$selected","selectedOpacity","TableExpandableRow","toggleExpand","expand","expandedRowClassName","expandedRowContent","TableRowProps","ExpandedTableRowProps","expandLabel","tableRowExpandedBackground","expandPadding","muiTableCellRoot","ChevronUp","iconSize","tableRowExpand","colSpan","TableFooter","TableBody","TableSortLabel","_props$active","_props$hideSortIcon","hideSortIcon","_props$IconComponent","ArrowDownward","iconDirectionDesc","iconDirectionAsc","TableToolbar","showExpandAllToggle","showEditToggle","onEdit","location","footerAlignItems","showFooterToolbarOnEdit","TypographyProps","showToolbar","footerLeft","toggleEdit","Edit","colorBackgroundAlertError","TableEditableCell","edit","editableComponent","_ref4","backIconButtonProps","nextIconButtonProps","onChangePage","page","rowsPerPage","defaultLabelDisplayedRows","defaultRowsPerPageOptions","TablePagination","_props$ActionsCompone","ActionsComponent","_props$backIconButton","backIconButtonText","colSpanProp","_props$labelDisplayed","labelDisplayedRows","_props$labelRowsPerPa","labelRowsPerPage","_props$nextIconButton","nextIconButtonText","onChangeRowsPerPage","_props$rowsPerPageOpt","rowsPerPageOptions","_props$SelectProps","MenuItemComponent","native","spacer","selectIcon","InputBase","selectRoot","rowsPerPageOption","textAlignLast","PaginationActions","pageNumberInput","handleFirstPageButtonClick","handleBackButtonClick","handleNextButtonClick","handleLastPageButtonClick","handleTextFieldOnChange","handleTextFieldOnBlur","paginationPageTextField","handlePageChange","handleTextFieldFocus","handleEnterKeyPress","totalNumberOfPages","disablePreviousButtons","disableNextButtons","paginationButtons","buttonSpacer","ArrowEndRight","ArrowEndLeft","textField","PaginationActionsWrapped","Pagination","rowsPerPageShowAll","_rowsPerPageOption","selectProps","menuPaper","disablePadding","menuListItem","ListContext","FOCUS_VISIBLE_CLASSNAME","_props$classes","restOfClasses","listButton","gutters","ContainerComponent","ContainerProps","ListItemAvatar","alignItemsFlexStart","ListItemIcon","ListItemSecondaryAction","ListItemText","_props$inset","primaryProp","primaryTypographyProps","secondaryProp","secondaryTypographyProps","ListSubheader","_props$disableGutters","_props$disableSticky","disableSticky","sticky","StepConnector","_props$alternativeLab","alternativeLabel","completed","line","lineHorizontal","lineVertical","borderLeftStyle","borderLeftWidth","defaultConnector","Stepper","_props$activeStep","activeStep","_props$connector","connector","connectorProp","_props$nonLinear","nonLinear","childrenArray","steps","last","STEP_LABEL_HAS_ERROR_CLASSNAME","ExpansionConnector","StepProgress","stepLabel","setStepLabel","hasStepError","setHasStepError","_useState5","_useState6","errorLabel","setErrorLabel","localRef","useRef","expansionless","stepLabels","localStepLabel","totalSteps","number","localErrorLabel","secondaryLabel","log","expansion","localConnector","isNil","StepProgressContext","errors","getErrorMessagesForAllSteps","LinearProgress","valueBuffer","inlineStyles","bar1","bar2","_transform","determinate","buffer","query","dashed","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer","getColor","backgroundPrimary","backgroundSecondary","dashedColorPrimary","dashedColorSecondary","barColorPrimary","barColorSecondary","MobileStepper","backButton","LinearProgressProps","nextButton","dots","dotActive","progress","positionBottom","mobileStepper","positionTop","MobileStepperCounter","setLabel","StepCounterContent","mobileStepperCounterClassName","mobileStepLabel","stepCounterBottom","stepCounterStatic","MobileStepperStep","currentStepContainer","currentStep","currentStepNumber","MobileStepperLabel","currentStepTitle","MobileStepperTitle","withDivider","Step","_props$completed","_props$expanded","StepIcon","_props$error","CheckCircle","SvgIcon","x","y","textAnchor","StepLabel","optional","StepIconComponentProp","StepIconComponent","StepIconProps","iconContainer","labelContainer","StepButton","childProps","isMuiElement","TouchRippleProps","touchRipple","StepContent","transitionDurationProp","muiSupportAuto","unmountOnExit","defaultOverrides","stepIconRoot","stepIconText","stepIconActive","stepIconError","expansionIcon","expansionIconOpen","stepLabelDisabled","expansionIconContainer","stepIconCustomRoot","labelError","stepIconDisabled","stepLabelActiveOrCompleted","labelRoot","labelErrorActive","stepIconEnable","stepIconCompleted","valueLabelDisplay","asc","a","b","clamp","findClosest","acc","distance","trackFinger","touchId","changedTouches","identifier","clientX","clientY","valueToPercent","roundValueToStep","nearest","parts","toExponential","matissaDecimalPart","decimalPart","getDecimalPrecision","setValueIndex","output","focusThumb","sliderRef","activeIndex","axisProps","percent","leap","Identity","Slider","ariaLabel","ariaValuetext","getAriaLabel","getAriaValueText","_props$marks","marks","marksProp","_props$min","onChangeCommitted","_props$scale","scale","_props$step","_props$ThumbComponent","ThumbComponent","_props$track","_props$ValueLabelComp","ValueLabelComponent","_props$valueLabelDisp","_props$valueLabelForm","valueLabelFormat","valueDerived","setValueState","range","instanceRef","sort","setFocusVisible","handleMouseOver","handleMouseLeave","handleKeyDown","tenPercents","marksValues","mark","marksIndex","increaseKey","decreaseKey","previousValue","previousIndex","axis","getFingerNewValue","finger","_ref3$move","move","values2","_slider$getBoundingCl","percentToValue","handleTouchMove","_getFingerNewValue","handleTouchEnd","doc","ownerDocument","handleTouchStart","_getFingerNewValue3","slider","handleMouseDown","_getFingerNewValue4","trackOffset","trackLeap","trackStyle","marked","trackFalse","trackInverted","rail","join","markActive","markLabel","markLabelActive","valueLabel","thumbColorPrimary","thumbColorSecondary","Circle","Avatar","imgProps","sizes","srcSet","loaded","setLoaded","Image","onload","onerror","useLoaded","hasImg","hasImgNotFailing","Person","fallback","system","textIndent","AVATAR_VARIANT_DEFAULT","AVATAR_VARIANT_INTERACTIVE","internalVariant","isInteractive","shouldBeTertiary","interactiveRoot","tertiary","purple","iris","fountain","meadow","kiwi","saffron","tangerine","medium","AvatarGroup","extraAvatars","positionStart","smallTextField","positionEnd","disablePointerEvents","anchorPosition","anchorReference","getContentAnchorEl","marginThreshold","isDeleteKeyboardEvent","keyboardEvent","Chip","avatarProp","clickableProp","clickable","deleteIconProp","deleteIcon","iconProp","onDelete","chipRef","handleDeleteIconClick","moreProps","customClasses","deleteIconSmall","Cancel","avatarSmall","iconSmall","deletable","labelSmall","deleteIconColor","clickableColorPrimary","clickableColorSecondary","deletableColorPrimary","deletableColorSecondary","avatarColorPrimary","avatarColorSecondary","iconColorPrimary","iconColorSecondary","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","activated","activatedRoot","labelWithIcon","StatusLabel","textProp","typeProp","toUpperCase","toLowerCase","draft","pending","ConfirmationDialog","contentText","DialogProps","DialogActionsProps","DialogContentProps","DialogContentTextProps","DialogTitleProps","primaryActionOnClick","primaryActionProps","primaryActionText","secondaryActionOnClick","secondaryActionProps","secondaryActionText","IOSBodyScroll","preventBodyScroll","closest","selector","isIOS","boundarySelector","passive","Dropdown","onDropDownOpen","onDropDownClose","selectAllValue","selectionState","allItems","multiple","newState","filteredDropdownItems","mapping","renderSingleValue","objectifyItems","showSelectAll","selectLabelId","selectValueId","newInputProps","localValue","formControlWidth","Fragment","nativeSelect","selectMenu","labelId","renderValue","renderMultipleValues","selectAll","ffErrorTextAdjuster","autoWidth","displayEmpty","SelectDisplayProps","dropdown","colorFillAlertError","DropdownItem","LeftIconComponent","RightIconComponent","multipleActive","singleSelected","multipleSelected","textRoot","overlayActionsMobileStyles","flexFlow","SimpleDialog","buttonConfig","rightAlignButtons","closeOnClickOut","actionClassOverrides","actionRoot","actionsRight","reverse","config","handleButtonClick","MegaMenu","selectedItemKey","previousBodyScroll","previousSelected","topOffset","menuStyles","megaMenu","menuHeight","sectionItem","shouldHandleSelection","selectItem","listItemClasses","smallMenuTopLevelItemText","smallListItemOverrides","listItemRoot","smallMenuItemSelected","topLevelMenuItem","getSmallListItemTypographyClass","smallMenuItemContents","megaMenuContent","smallMenuIcon","iconRoot","staticItems","dynamicItems","listItems","getSelectedItem","smallMenu","megaMenuHidden","getMenuStyles","smallMenuSubHeader","smallMenuList","renderSmallItem","smallMenuHeader","menuFooter","itemClasses","smallMenuItemDisabled","smallMenuItem","sectionData","largeMenuItemSelected","isFirstRow","isLastRow","isStaticAreaStart","sectionsPerRow","section","staticAreaStart","dynamic","buildSectionData","hasDynamicItems","numStaticRows","numRows","rowIndex","buildSection","colIndex","staticItemsIndex","footerArea","enable","toggleBodyScroll","_props5","renderSmallMenu","renderLargeMenu","_options$breakpoint","WithMobileMegaMenu","withMobileMegaMenu","willChange","colorTextDisabled","SEARCH_WIDTH_WITH_CATEGORY_MENU","SearchStatus","loading","noData","showCategoryMenu","listWidth","listRootFullWidth","listWidthWithCategory","listItemHover","listIcon","SelectionMenu","selectedIndex","ListProps","ListItemProps","ListItemTextProps","listItemTextPropClasses","ListItemTextPropsRest","listItemTextPropClassesRoot","overrideClasses","listItemTextRoot","handleMenuItemClick","selectedIndexLabel","ariaControlProp","NativeSelect","nativeSelectRoot","nativeIcon","nativeIconDisabled","List","ListItem","handleOpenMenu","listItemButton","listItemDisabled","Menu","menuRoot","ITEM_HEIGHT","getDerivedStateFromProps","listPadding","SelectionMenuItem","menuItemRoot","menuItemSelected","VARIANTS","COLORS","listRoot","resultListWidthWithCategoryMenu","inputBackground","inputBackgroundCategoryMenu","standaloneInput","standaloneInputExpanded","standaloneInputOpen","standaloneInputOpenFluid","searchInputWrapper","searchInputWrapperCategoryMenu","searchBackground","inputBackgroundWithoutLabel","iOSAlignmentWithLabel","iOSAlignmentWithoutLabel","searchContainer","searchContainerFullWidth","searchContainerFullWidthClosed","searchContainerFullWidthClosedHelperText","inputBackgroundFullWidth","inputError","standaloneFormControl","standaloneFormControlOpen","standaloneFormControlOpenFullWidth","WebkitTransition","standaloneLight","standaloneInputLight","standaloneSearchIconExpanded","searchIcon","searchIconExpanded","searchInputOpen","categoryMenuRoot","categoryListButton","categoryMenuRootDisabled","categoryListText","searchFieldRoot","searchWithCategory","searchWithCategoryWidthOverride","searchFieldContainer","searchResultsList","searchResultsListStandalone","_classNames6","_classNames10","_classNames11","onSearchInvokedProp","onSearchInvoked","typeaheadOptions","searchCategories","hideCategoryAllOption","hideCategoryMenuXs","_typeaheadOptions$sea","searchDelay","onFilterProp","onFilter","onItemSelectProp","onItemSelect","typeahead","resultListOpen","setResultListOpen","setStandaloneInputOpen","currentCategoryIndex","setCurrentCategoryIndex","suppressSearchClose","_useState7","_useState8","activeItemIndex","setActiveItemIndex","_useState9","_useState10","setTooltipText","searchIconButtonRef","standaloneRef","option","memoizedOnFilter","getFirstItemFromResult","exactResult","firstItem","firstItemRegex","RegExp","onClear","searchValue","onKeyDownHandler","searchString","onStandaloneBlurHandler","relatedTarget","selectedValue","handleTab","handleOnEnter","handleEscape","handleUpArrow","handleRightArrow","handleDownArrow","getIconColor","getFakeInput","hasCategoryMenu","spellCheck","getResultsList","widthClass","categorySearchList","unshift","_classNames5","categoryMenu","categoryListRootDisabled","category","tooltipProps","prev","getEndInputAdornment","regex","itemHover","isProp","defaultKey","charAt","componentWillMount","componentWillReceiveProps","nextProps","componentWillUpdate","nextState","__reactInternalSnapshotFlag","__reactInternalSnapshot","getSnapshotBeforeUpdate","__suppressDeprecationWarning","MILI","SECONDS","MINUTES","HOURS","DAY","WEEK","MONTH","YEAR","DECADE","CENTURY","multiplierMilli","multiplierMonth","daysInFeb","unit","Date","nextDate","currentOffset","getTimezoneOffset","nextOffset","solveDST","addMillis","getFullYear","getMonth","getDate","totalMonths","nextYear","trunc","nextMonth","nextDay","daysOf","setFullYear","setDate","setMonth","addMonths","firstOfWeek","hours","minutes","seconds","milliseconds","firstDay","weekday","setHours","eq","createComparer","gt","gte","lt","lte","inRange","createAccessor","method","hourLength","dateOut","getHours","operator","array","global","freeSelf","Function","objectProto","nativeObjectToString","symToStringTag","isOwn","unmasked","reIsUint","object","reWhitespace","reTrimStart","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","valueOf","isBinary","remainder","nativeCeil","nativeMax","rUpper","msPattern","hyphenateStyleName","hyphenate","supportedTransforms","css","transforms","getPropertyValue","psuedoElement","defaultView","getComputedStyle","isTransform","removeProperty","cssText","compareDocumentPosition","isWindow","nodeType","DOCUMENT_NODE","getscrollAccessor","scrollTo","box","docElem","clientTop","clientLeft","offsetParent","parentOffset","parent","getTime","cancelMethod","rafImpl","curr","ms","handle","getKey","vendor","k","canUseDOM","rafMethod","cancel","request","useCallbackRef","toFnRef","initialPopperStyles","initialArrowStyles","usePopper","referenceElement","popperElement","_ref$enabled","_ref$placement","_ref$positionFixed","_ref$eventsEnabled","_ref$modifiers","popperInstanceRef","hasArrow","outOfBoundaries","arrowStyles","enableEventListeners","disableEventListeners","updateStateModifier","optionsSupported","onceSupported","eventName","handler","once","capture","wrappedHandler","__once","onceHandler","resolveRef","useWaitForDOMRef","onResolved","resolvedRef","earlyRef","nextRef","Overlay","outerRef","refA","refB","containerPadding","_props$popperConfig","popperConfig","Transition","_useCallbackRef","rootElement","attachRef","_useCallbackRef2","arrowElement","attachArrowRef","mergedRef","useMemo","mergeRefs","show","exited","setExited","_popperConfig$modifie","_usePopper","enableEvents","preventOverflow","mountOverlay","onRootClose","_ref$clickTrigger","clickTrigger","preventMouseRootCloseRef","handleMouseCapture","isLeftClickEvent","handleMouse","handleKeyUp","componentOrElement","removeMouseCaptureListener","removeMouseListener","removeKeyupListener","mobileSafariHackListeners","el","onHide","rootClose","rootCloseDisabled","rootCloseEvent","propType","client","innerHeight","matchesImpl","toArray","qsa","matches","nativeMatch","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","s","splice","ListCache","entries","entry","__data__","pop","uid","maskSrcKey","exec","funcToString","func","reIsHostCtor","reIsNative","Hash","MapCache","Stack","pairs","LARGE_ARRAY_SIZE","SetCache","predicate","bitmask","customizer","equalFunc","stack","isPartial","arrLength","othLength","arrStacked","othStacked","seen","arrValue","othValue","compared","othIndex","symbolProto","symbolValueOf","keysFunc","symbolsFunc","nativeGetSymbols","resIndex","symbol","freeExports","freeModule","Buffer","isBuffer","typedArrayTags","freeProcess","require","types","binding","nodeIsTypedArray","inherited","isArr","isArg","isBuff","isType","skipIndexes","iteratee","Ctor","arg","promiseTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ArrayBuffer","ctorString","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","byteLength","byteOffset","convert","stacked","objIsWrapped","othIsWrapped","objUnwrapped","othUnwrapped","objProps","objLength","objStacked","skipCtor","objValue","objCtor","othCtor","baseIsEqual","srcValue","matchData","noCustomizer","reIsDeepProp","reIsPlainProp","memoize","resolver","memoized","Cache","rePropName","reEscapeChar","charCodeAt","match","quote","subString","symbolToString","baseToString","path","hasFunc","fromRight","safeIsNaN","areInputsEqual","newInputs","lastInputs","first","second","resultFn","isEqual","lastThis","lastResult","lastArgs","calledOnce","newArgs","spreadableSymbol","baseFlatten","depth","isStrict","iterable","eachFunc","collection","valIsDefined","valIsNull","valIsReflexive","valIsSymbol","othIsDefined","othIsNull","othIsReflexive","othIsSymbol","iteratees","orders","comparer","objCriteria","criteria","othCriteria","ordersLength","thisArg","otherArgs","nativeNow","now","lastCalled","stamp","remaining","getWidth","innerWidth","scrollbarSize","recalc","scrollDiv","offsetWidth","replaceClassName","origClass","classToRemove","isNew","isProto","allocUnsafe","arrayBuffer","reFlags","isDeep","dataView","typedArray","regexp","lastIndex","objectCreate","proto","nodeIsMap","nodeIsSet","cloneableTags","baseClone","isFlat","isFull","isFunc","copy","subValue","objectCtorString","paths","sources","guard","propsIndex","propsLength","isArrLike","NoopWrapper","views","WORK_WEEK","AGENDA","viewNames","notify","isBuiltinView","localePropType","_format","localizer","culture","DateLocalizer","spec","startOfWeek","formats","mergeWithDefaults","formatOverrides","_format2","defaultMessages","allDay","work_week","previous","yesterday","tomorrow","agenda","noEventsInRange","showMore","MILLI","firstVisibleDay","firstOfMonth","lastVisibleDay","endOfMonth","isJustDate","dateA","dateB","EventCell","isAllDay","onSelect","_onDoubleClick","onDoubleClick","continuesPrior","continuesAfter","accessors","getters","_this$props$component","components","Event","EventWrapper","eventWrapper","slotStart","slotEnd","showAsAllDay","userProps","eventProp","isSelected","slotWidth","rowBox","slots","getSlotAtX","rtl","cellWidth","Popup","_proto","leftOffset","_this$props$popupOffs","popupOffset","_getOffset","popperRef","viewBottom","viewRight","_this$props2","idx","Popup$1","isEvent","bounds","stopAt","nextNode","ELEMENT_NODE","elementFromPoint","getEventNodeFromPoint","getEventCoordinates","touches","pageX","pageY","Selection","_ref2$global","_ref2$longPressThresh","longPressThreshold","isDetached","globalMouse","_listeners","_handleInitialEvent","_handleMoveEvent","_handleTerminatingEvent","_keyListener","_dropFromOutsideListener","_dragOverFromOutsideListener","_removeTouchMoveWindowListener","_removeKeyDownListener","_removeKeyUpListener","_removeDropFromOutsideListener","_onDragOverfromOutisde","_addInitialEventListener","on","handlers","emit","teardown","listeners","_removeInitialEventListener","_removeEndListener","_onEscListener","_removeMoveListener","_selectRect","selecting","objectsCollide","getBoundsForNode","_addLongPressListener","initialEvent","timer","removeTouchMoveListener","removeTouchEndListener","cleanup","removeTouchStartListener","removeMouseDownListener","_getEventCoordinates","_getEventCoordinates2","offsetData","_getEventCoordinates3","which","_normalizeDistance","_initialEventData","isTouch","_getEventCoordinates4","inRoot","isClick","_handleClickEvent","_getEventCoordinates5","_lastClickData","_this$_initialEventDa","_getEventCoordinates6","h","old","ctrl","_this$_initialEventDa2","nodeA","nodeB","tolerance","_getBoundsForNode","aTop","aLeft","_getBoundsForNode$rig","aRight","_getBoundsForNode$bot","aBottom","_getBoundsForNode2","bTop","bLeft","_getBoundsForNode2$ri","bRight","_getBoundsForNode2$bo","pageOffset","pageXOffset","pageYOffset","BackgroundCells","selectable","_selectable","_teardownSelectable","UNSAFE_componentWillReceiveProps","getNow","Wrapper","dateCellWrapper","_this$state","startIdx","endIdx","_getters$dayProp","dayProp","findDOMNode","_selector","selectorClicksHandler","point","actionType","_this2$props","pointInBox","currentCell","_selectSlot","_initial","_this2$props2","onSelectStart","nodeBox","_dateCellSelection","lastSlotIdx","currentSlot","isCurrentRow","isStartRow","isAboveStart","isBelowStart","dateCellSelection","onSelectEnd","onSelectSlot","EventRowMixin","segments","slotMetrics","per","WebkitFlexBasis","EventRow","lastEnd","li","span","gap","endOfRange","dateRange","eventLevels","rowSegments","limit","Infinity","j","seg","levels","extra","segsOverlap","eStart","eEnd","startsBeforeEnd","endsAfterStart","otherSegs","otherSeg","sortEvents","evtA","evtB","startSort","durA","durB","isSegmentInSlot","slot","eventsInSlot","EventEndingRow","canRenderSlotEvent","renderShowMore","every","onShowMore","getSlotMetrics","maxRows","minRows","_endOfRange","evt","fromIndex","eventSegments","_eventLevels","metrics","getDateForSlot","slotNumber","getSlotForDate","find","getEventsForSlot","isSegmentInSlot$1","eventEnd","DateContentRow","handleSelectSlot","handleShowMore","cell","createHeadingRef","headingRow","createEventRef","eventRow","getContainer","renderHeadingCell","_this$props3","renderHeader","renderDummy","_this$props4","getRowLimit","eventHeight","headingHeight","eventSpace","_this$props5","renderForMeasure","resourceId","WeekWrapper","weekWrapper","eventRowProps","segs","Header","DateHeader","drilldownView","onDrillDown","eventsForWeek","evts","MonthView","_args","renderWeek","weekIdx","needLimitMeasure","rowLimit","slotRowRef","readerDateHeading","handleSelectEvent","handleDoubleClickEvent","getDrilldownView","isOffRange","isCurrent","DateHeaderComponent","dateHeader","handleHeadingClick","slotInfo","_pendingSelection","_selectTimer","selectDates","view","clearSelection","onSelectEvent","onDoubleClickEvent","popup","_bgRows","running","measureRowLimit","_resizeListener","weeks","visibleDays","_weekCount","renderHeaders","renderOverlay","HeaderComponent","_this$props6","navigate","_ref5","getDstOffset","getSlotMetrics$1","timeslots","daystart","daystartdstoffset","totalMin","minutesFromMidnight","numGroups","numSlots","groups","grp","slotIdx","minFromStart","lastSlotMinFromStart","positionFromDate","diff$1","update","dateIsInGroup","groupIndex","nextGroup","nextSlot","closestSlotToPosition","closestSlotFromPoint","boundaryRect","closestSlotFromDate","diffMins","startsBeforeDay","startsAfterDay","startsBefore","startsAfter","getRange","rangeStart","rangeEnd","ignoreMin","ignoreMax","rangeStartMin","rangeEndMin","startDate","endDate","getCurrentTimePosition","_slotMetrics$getRange","startMs","endMs","leaves","availableWidth","_width","noOverlap","_this$row","xOffset","onSameRow","minimumStartDifference","getStyledEvents","eventsInRenderOrder","sortedByTime","sorted","_event","sortByRender","containerEvents","_loop","c","getMaxIdxDFS","maxIdx","visited","friends","newIdx","DefaultAlgorithms","styledEvents","se1","y1","y2","se2","y3","y4","_i2","se","bitmap","_j","_j2","_i3","allFriends","_j3","_i4","_maxIdx","_j4","getStyledEvents$1","dayLayoutAlgorithm","algorithm","TimeSlotGroup","renderSlot","resource","group","_this$props$component2","timeSlotWrapper","groupProps","slotGroupProp","slotProps","slotProp","stringifyPercent","TimeGridEvent","continuesEarlier","continuesLater","_props$components","inner","DayColumn","timeIndicatorPosition","intervalTriggered","renderEvents","_select","_doubleClick","maybeSelect","onSelecting","_initialSlot","initialSlot","selectRange","_selectionState","isNow","setTimeIndicatorPositionUpdateInterval","clearTimeIndicatorInterval","getNowChanged","tail","positionTimeIndicator","_timeIndicatorTimeout","_this$props3$getters","_this$props3$componen","EventContainer","eventContainerWrapper","_dayProp","dragThroughEvents","TimeGutter","ResourceHeader","TimeGridHeader","handleHeaderClick","renderRow","eventsToDisplay","renderHeaderCells","_this$props2$componen","resources","scrollRef","isOverflowing","TimeGutterHeader","timeGutterHeader","_this$props3$componen2","resourceHeader","ResourceHeaderComponent","groupedEvents","groupEvents","resourceTitle","TimeGrid","handleScroll","rafHandle","checkOverflow","gutterRef","handleSelectAlldayEvent","handleSelectAllDaySlot","_updatingOverflow","contentRef","memoizedResources","eventsByResource","resourceEvents","Resources","gutterWidth","_scrollRatio","UNSAFE_componentWillMount","calculateScroll","measureGutter","applyScroll","measureGutterAnimationFrameRequest","cancelAnimationFrame","scrollToTime","jj","daysEvents","showMultiDayTimes","allDayEvents","rangeEvents","diffMillis","totalMillis","Day","eventOffset","Week","workWeekRange","getDay","_Week$range","WorkWeek","_workWeekRange","_VIEWS","Agenda","renderDay","dayKey","AgendaDate","dateLabel","rowSpan","timeRangeLabel","labelClass","TimeComponent","_adjustHeader","tbodyRef","headerRef","firstRow","widths","_widths","dateColRef","timeColRef","baseVal","hasClass","removeClass","range$1","_ref$length","_ref2$length","_ref3$length","VIEWS","moveDate","View","onNavigate","onView","viewNamesGroup","wrapAccessor","field","accessor$1","viewNames$1","_views","isValidView","getViews","getView","handleRangeChange","viewComponent","onRangeChange","handleNavigate","newDate","ViewComponent","handleViewChange","handleDrillDown","getContext","msgs","startAccessor","endAccessor","allDayAccessor","tooltipAccessor","titleAccessor","resourceAccessor","resourceIdAccessor","resourceTitleAccessor","eventPropGetter","slotPropGetter","slotGroupPropGetter","dayPropGetter","_ref2$messages","messages$1","_ref2$components","_ref2$formats","names","elementProps","_this$state$context","CalToolbar","Calendar$1","uncontrollable","controlledValues","methods","canAcceptRef","isReactComponent","controlledProps","PROPS_TO_OMIT","UncontrolledComponent","handlerName","_notifying","unmounted","shouldComponentUpdate","newProps","propValue","foundWillMountName","foundWillReceivePropsName","foundWillUpdateName","UNSAFE_componentWillUpdate","newApiName","maybeSnapshot","polyfill","_this$inner","__source","fileName","lineNumber","__self","ControlledComponent","deferControlTo","newComponent","additions","nextMethods","timeRangeFormat","local","dayFormat","weekdayFormat","selectRangeFormat","eventTimeRangeFormat","eventTimeRangeStartFormat","eventTimeRangeEndFormat","timeGutterFormat","monthHeaderFormat","dayHeaderFormat","dayRangeHeaderFormat","agendaHeaderFormat","agendaDateFormat","agendaTimeFormat","agendaTimeRangeFormat","CalendarToolbar","setAnchorEl","setFocused","CalendarContext","showViewNames","selectedView","setSelectedView","handleNavigation","dropdownControl","word","datePickerControl","gridMarginOverride","popperIndex","selectedDate","toDate","onOutsideClick","labelNavigation","iconButtonMargin","alignLabel","todayButton","datePickerPosition","eventColor","StyledEventWrapper","eventRef","localOpen","setLocalOpen","popperContent","dataset","CAL_EVENT_CLASS","boundariesElement","DEFAULT_LOCALIZER","moment","localeData","m","CalendarConsumer","CalendarProvider","compact","defaultDate","setPopper","dateProp","legend","showOnlyDay","overrideMessages","overrideFormats","calendarCulture","localCulture","Intl","DateTimeFormat","hour","formatToParts","part","localeUses24HourTime","compactGutterHeader","onSelectEventClick","eventData","dayWrapper","WebkitAppearance","WebkitFlexDirection","MsFlexDirection","WebkitAlignItems","MsFlexAlign","WebkitFlex","MsFlex","MozUserSelect","MsUserSelect","WebkitUserSelect","WebkitFlexWrap","MsFlexWrap","WebkitJustifyContent","MsFlexPack","WebkitFlexFlow","MsFlexFlow","MsFlexPreferredSize","colorTextAlertError","sizingXSmall","CalendarLegend","CalendarLegendItem","ILLUSTRATIONS","contact","rx","fillOpacity","id1","id2","x1","x2","stopColor","stopOpacity","xlinkHref","mask","book","points","bookmark","checkmark","crown","heart","lightbulb","news","pencil","search","server","tasks","RTL_MIRRORABLE_ILLUSTRATIONS","Illustration","SvgProps","IllustrationComponent","TimePicker","invalid","nativeTimePicker","timePicker","checkValuesAreInvalidOrEmpty","requiredError","isInvalid","emptyInputsCounter","hour24","hour12","minute","amPm","totalPiecesOfTime","checkValidity","hourAriaLabel","minuteAriaLabel","amPmAriaLabel","inputBoxError","labelledByObj","inputBox","rtlInputs","inputBoxEnabled","inputBoxDisabled","inputBoxFocused","inputContainer","disableClock","clearIcon","maxDetail","maxTime","isTime","minTime","colorGlobalBorderError","helperTextError","colorTextError","iconButtonAlignmentSpace","Navbar","onPreviousClick","onNextClick","labels","showPreviousButton","showNextButton","previousButton","previousMonth","classNames","navBar","navButtonPrev","navButtonNext","Caption","withMonthYearSelect","months","localeUtils","monthYearSelectOptions","captionMonths","getMonths","years","buildYearsOptions","yearOptions","currentYear","fromMonth","toMonth","_e$target$form","form","monthSelect","yearSelect","monthYearText","formatMonthTitle","Boundary","DateRangePicker","handleDayChange","handleDayMouseEnter","handleDayMouseLeave","handleInputFocus","openDateRangePicker","closeDateRangePicker","startInputContainerRef","startInputRef","endInputRef","daypicker","initialState","uuid","_getInitialRange","getInitialRange","_getInitialRange2","selectedStart","selectedEnd","isOpen","getInitialOpenState","startInputError","endInputError","errorHelperText","lastFocusedField","boundaryToModify","isStartInputFocused","isEndInputFocused","startInputString","endInputString","startHoverString","endHoverString","hoverTo","wasLastFocusChangeDueToHover","wasLastFocusChangeDueToSelectingDate","prevMinDate","minDate","prevMaxDate","maxDate","prevValue","shouldFocusStartInput","shouldFocusInputRef","shouldFocusEndInput","_getInitialRange3","_getInitialRange4","_state2","wasStartFieldFocused","wasEndFieldFocused","controlledSelectedStart","controlledSelectedEnd","DateUtils","isControlled","_state3","formatDate","boundary","_setState","_getStateKeysAndValue","getStateKeysAndValuesForBoundary","inputString","getFormattedDateString","isInputFocused","_nextState","_Object$assign","_getStateKeysAndValue2","otherBoundaryValues","getOtherBoundary","maybeNextDate","parseDate","isValueControlled","isInputEmpty","controlledValue","_Object$assign4","_Object$assign3","StartInputProps","EndInputProps","_Object$assign10","_Object$assign13","otherBoundary","_getStateKeysAndValue5","otherBoundaryKeys","baseState","getDateRangeForCallback","_Object$assign7","_baseState","hoverString","_Object$assign9","doBoundaryDatesOverlap","_Object$assign11","_Object$assign12","isDateValidAndInRange","drpDir","isTabPressed","isDownArrowPressed","isShiftPressed","dateString","parseDateProp","ignoreRange","initialMonth","viewportNumberOfMonths","_state4","_cn4","_cn8","_cn11","startInputLabelProp","startInputLabel","endInputLabelProp","endInputLabel","startInputPlaceholder","endInputPlaceholder","StartFormControlProps","EndFormControlProps","StartInputLabelProps","EndInputLabelProps","_state5","revMonths","reverseMonths","internalError","getDayPickerModifiers","getNumberOfMonths","selectedDays","buttonLabels","navbarElement","captionElement","localeCaptionProp","handleYearMonthChange","isToday","toLocaleDateString","shouldStartInputShrink","getInputDisplayString","shouldEndInputShrink","shouldStartInputFakeFocus","shouldEndInputFakeFocus","startInput","smallDateRangePickerInput","inputFocusedError","inputFocused","smallDateRangePickerInputRootinput","inputDisabled","handleInputClick","handleInputChange","handleInputBlur","handleOnKeyDown","handleInputMouseDown","endInput","inputArrowIcon","iconContainerDisabled","ArrowRight","ArrowLeft","inputContainerFullWidth","inputContainerDisabled","inputContainerError","smallDateRangePicker","handleContainerKeyDown","hideOutsideDays","showOutsideDays","dateRangePickerRoot","singleMonth","getDayPickerMonth","onDayClick","onDayMouseEnter","onDayMouseLeave","doesEndBoundaryOverlapStartBoundary","boundaryDate","currDate","currBoundary","otherDate","otherBoundaryDate","controlledRange","modifiersStyles","pagedNavigation","disabledDays","showWeekDays","showWeekNumbers","weekdayElement","weekdaysLong","weekdaysShort","onCaptionClick","onDayKeyDown","onDayFocus","onDayMouseDown","onDayMouseUp","onDayTouchStart","onDayTouchEnd","onMonthChange","onWeekClick","onTodayButtonClick","showMonth","showPreviousMonth","showNextMonth","showPreviousYear","showNextYear","getDefaultMaxDate","getDefaultMinDate","outlineColor","colorBrandNeutral250","isSelectingStartDay","spanAllColumns","_sidebar","gridColumn","hiddenSidebar","sidebar","fixedSidebar","sidebarTop","stickySidebar","sidebarFullWidthSm","sidebarFullWidthMd","FixedSidebarLayout","setRect","sidebarRef","hiddenSidebarRef","sidebarFullWidth","findNextFirstChar","firstChars","startIndex","char","defaultExpandedDefault","defaultSelectedDefault","TreeView","defaultCollapseIcon","defaultEndIcon","defaultExpandIcon","defaultParentIcon","_props$defaultSelecte","defaultSelected","_props$disableSelecti","disableSelection","_props$multiSelect","multiSelect","onNodeSelect","onNodeToggle","selectedProp","tabbable","setTabbable","nodeMap","firstCharMap","visibleNodes","_useControlled3","_useControlled4","setSelectedState","isExpanded","getNextNode","nodeIndex","getPreviousNode","getLastNode","getFirstNode","lastSelectedNode","lastSelectionWasRange","currentRangeSelection","handleRangeArrowSelect","nodes","handleRangeSelect","aIndex","bIndex","getNodesInRange","newSelected","handleMultipleSelect","handleSingleSelect","_nodes$start","getNodesToRemove","removeNodeFromNodeMap","newMap","parentMap","parentChildren","prevChildIds","childrenCalculated","setChildrenCalculated","childIds","nodeId","arr1","arrayDiff","buildVisible","list","childs","focusFirstNode","focusLastNode","focusNextNode","focusPreviousNode","focusByFirstCharacter","lowercaseChar","firstCharIds","firstChar","expandAllSiblings","diff","newExpanded","toggleExpansion","oldTabbable","selectNode","selectNextNode","selectPreviousNode","rangeSelectToFirst","rangeSelectToLast","selectAllNodes","isTabbable","selectionDisabled","getParent","mapFirstChar","addNodeToNodeMap","childrenIds","currentMap","childId","currentChildMap","isPrintableCharacter","TreeItem","collapseIcon","contextIcons","expandable","handleNextArrow","handlePreviousArrow","flag","ctrlPressed","printableCharacter","sideMenuRoot","sideTitle","sideMenuTreeViewContainer","sideMenuTreeView","MasterDetail","generateChildren","menu","itemRest","defaultOptions","_options$dangerouslyU","dangerouslyUseGlobalCSS","_options$productionPr","productionPrefix","_options$seed","seed","nanoid","ruleCounter","rule","styleSheet","classNamePrefix","colorCtaTaupeBase","colorCtaBlueTint","colorCtaIrisActive","colorCtaGreenHover","colorCtaPlumActive","colorCtaGreenBase","colorCtaTaupeTint","colorCtaTaupeHover","colorCtaBlueActive","colorBrandCtaHover","colorCtaIrisBase","colorCtaGreenTint","colorCtaPlumBase","colorBrandCtaActive","colorCtaBlueHover","colorCtaTaupeActive","colorCtaIrisTint","colorCtaPlumHover","colorCtaPlumTint","colorCtaGreenActive","colorCtaIrisHover","colorBrandCtaBase","fountain400","iris300","fountain500","iris400","kiwi100","iris500","kiwi200","fountain600","kiwi300","iris600","kiwi400","tangerine100","kiwi500","tangerine200","colorFillAlertWarning","kiwi600","tangerine300","tangerine400","colorBackgroundDivider","tangerine500","tangerine600","colorFillAlertSuccess","meadow100","saffron100","saffron200","meadow200","colorBackgroundDefault","saffron300","meadow300","colorBackgroundAlertWarning","saffron400","colorFillAlertNeutral","meadow400","saffron500","meadow500","saffron600","meadow600","purple100","purple200","colorBackgroundAlertDefault","purple300","colorBackgroundAlertSuccess","purple400","purple500","purple600","colorBackgroundAlertNeutral","fountain100","fountain200","iris100","fountain300","iris200","borderWidthThicker","colorGlobalBorderDisabled","colorBorderAlertSuccess","colorBorderAlertWarning","colorBorderAlertNeutral","durationNone","durationFast","durationFastAlt","durationMedium","durationSlow","fontFamilyMonospace","fontSizeHeader5Small","fontSizeHeader4Small","fontSizeHeader3Small","fontSizeHeader1Small","fontSizeHeader1","fontSizeHeader3","fontSizeHeader4","fontSizeHeader5","fontSizeHeader6","fontWeightLight","lineHeightParagraphLarge","lineHeightHeader1","lineHeightHeader4","lineHeightParagraphSmall","lineHeightReset","mqXSmall","mqSmallDown","mqSmall","mqMediumDown","mqMedium","mqLarge","opacity3","opacity7","opacity8","borderRadiusXLarge","spacing90","spacingInsetShort20","spacingInsetTall60","spacingInsetShort10","spacingInsetTall20","spacingInsetTall10","spacingInset70","spacingInset60","spacingInset50","spacingInset20","spacingInset10","spacingInsetShort60","spacingInsetShort50","spacingInsetShort40","layout30","layout40","layout50","layout60","layout70","colorTextAlertWarning","colorTextAlertDefault","colorTextNeutral250","colorTextAlertSuccess","colorTextAlertNeutral","colorTextNeutral200","colorTextNeutral300","colorTextNeutral400","colorTextNeutral600","zIndexDropdown","zIndexMegaMenu","zIndexDefault","zIndexDrawer","zIndexAppBar","zIndexTooltip","zIndexInlineAlert","zIndexActionMenu","zIndexHeaderBar","zIndexBackdrop","zIndexSmall","zIndexModal","zIndexPageAlert","zIndexMobileStepper","zIndexHeaderBarDropdown","_ar_SA2","_es2","_en_GB2","_en_AU2","_en_US2","_fr2","_fr_CA2","_pt2","ar_SA","en_US","en_GB","en_AU","es","fr","fr_CA","pt","_nanoid","classGenerator","_withStylesInternal","_withStyles","_tokens","100","200","300","400","500","600","_lightTheme","_lightTheme2","_darkTheme","_darkTheme2","_cloneDeep2","_merge2","baseTheme","overrides","themeOptions","lightThemeOptions","darkThemeOptions","createMuiTheme","MuiButtonBase","darkTheme","_createEDSTheme","_toolbar","_createBreakpoints2","_palette2","mixins","MuiFormLabel","MuiInput","MuiMenuItem","250","subtitle1","subtitle2","actionMenu","hasOwn","argType","AppDispatcher","Dispatcher","super","dispatch","promise","payload","failure","then","response","register","sessionTimeout","tokenTimeout","sessionTimeoutType","tokenTimeoutType","LayoutEventStatus","TimeoutType","LayoutStoreEmitter","EventEmitter","abortController","AbortController","authMode","countCart","cultures","hasProfile","isAuthenticated","layoutReady","loaders","logData","menuOptions","permissions","redirectCode","Refresh","Absolute","dateTimeout","signal","abort","_a","addListener","ChangeAlert","removeListener","ChangeCountCart","cartItems","culturesStorage","sessionStorage","getItem","getDefaultCutlure","amDesignator","currencyCulture","currencySymbol","dateTimeCulture","isRightToLeft","numberCulture","pmDesignator","shortDatePattern","shortTimePattern","uiCulture","setItem","removeItem","isAuthenticatedStorage","ChangeLogData","ChangeLayoutReady","ChangeLoading","menuStorage","ChangeRedirectCode","Layout","layoutResourcesStorage","ChangeReloadTheme","themeStorage","ChangeTimeout","minTimeout","pastTime","remainingTime","LayoutStore","LayoutStatus","cartItemList","getMenuOptions","registrationUrl","conEdRegistrationUrl","optionMenu","url","cartItem","overallCountCart","setCountCart","emitCountCart","setAlert","emitAlert","setLayoutReady","emitLayoutReady","setLoading","emitLoading","setLogData","emitLogData","setRedirectCode","emitRedirectCode","setTheme","emitReloadTheme","resetTimeout","emitTimeout","setError","hdnBaseAddress","webUrl","siteConfigurationMissing","defaultActionColor","faviconCDN","headersRequestsJson","imagesCDN","peoplePictureUrl","toJson","json","textFormat","character","formatChar","formattedNumber","iNumber","fChar","iRest","toShortDate","_match","rem","fromException","functionName","code","fromResponse","statusText","fromComponentException","componentStack","fromMessage","badJsonResult","layoutNoReady","noPermissions","noResources","refreshPage","toADFSLogin","username","toError","toError400","toError401","toError403","toError404","toError500","toError503","toHome","toLogin","toLogout","toLogoutWithReturnUrl","toSAMLLogin","createStyles","errorPageContainer","Format","Tokens","__rest","ErrorWithLayout","hdnTitle","hdnMessage","idModule","idPage","noPadding","noServer","SpecifcError","hideAllLoaders","isLoading","resolveLayoutReady","lblPageTitle","LayoutActions","logError","LogData","onLayoutReady","ready","redirectError","hdnIdPage","Redirect","getInitialState","homeButtonRequireAuth","contentPage","errorCode","redirectToHome","lblGoToHome","lblTitle","lblText","createBreakpoints","AlertFRC","overModal","defaultBg","errorBg","iconBackground","infoBg","marginBottom2Icon","marginBottomIcon","marginLeft2Icon","marginLeftIcon","marginRight2Icon","marginRightIcon","marginTop2Icon","marginTopIcon","neutralBg","successBg","warningBg","xLarge","xxLarge","xxLarge1","IconFRC","iconWithBackground","marginBottom2","marginLeft2","marginRight2","marginTop2","classIcon","classIconDiv","defaultPropsContainer","defaultPropsItem","defaultPropsGrid","baseline","inheritVerticalAlign","inline","inlineBlock","normal","sizeInherit","strong","TextFRC","IconProps","verticalAlignIcon","weight","customComponent","classText","typographyComponent","centerAlign","childrenContainer","inheritAlign","justifyAlign","leftAlign","rightAlign","ButtonFRC","TextProps","noTextCover","isXSmall","isTextInlineButton","isTextStandaloneButton","contentButton","ButtonGroupFRC","toggleGroup","notSelectedStatus","selectedStatus","IconButtonFRC","TooltipFRC","modalContent","disableHeaderTypography","noContentPadding","modalHeader","modalBody","modalFooter","customPageLoader","isDefault","ize","classFooter","pageHeaderWhite","minWidthSS","containerContentPage","containerMain","topMain","backgroundImageUrl","buildVersion","buildYear","headerTitle","navTabs","withBackgroundImage","withFooter","styleMain","backgroundDefaultUrl","Constants","gradient","layoutResources","formatText","stateFromStorage","localStorage","loadFromStorage","saveToStorage","removeFromStorage","clearStorage","NotificationType","NavBar","homeUrl","layoutPermissions","logoAlternateText","logoUrl","logOutUrl","notifications","profileUrl","showCart","showNotifications","valueSelected","getCartKey","cartKey","getCartLabel","cartLabel","description","utilityNav","cartMessages","lblContinuingEducation","getCartSingleLabel","lblCart","lstMenuOptions","lstUtilityOptions","lstMegaMenuOptions","enrollmentUrl","isVisible","optionSubMenu","isCustom","cartIcon","badgeCartContainer","badgeCart","badgeCartText","notification","iNotif","notificationText","notificationType","PermissionRequest","notificationMessages","formatPermissionRequest","personFrom","personIdFrom","lblNotifications","accountMenu","megaMenuAccount","lblProfile","hasProfileClaim","iconListMenu","profileMenu","lblLogOut","customLogoContainer","customLogo","edsLogo","lblMegaMenuTitle","ResultType","onCatch","messageType","getDefaultEmpty","actionColor","backgroundUrl","faviconUrl","primaryColor","secondaryColor","studyingCalendarColor","teachingCalendarColor","getDefaultValues","themeSettingsWithDefaults","defaultTheme","privacyLink","onCloseTimeoutNotification","openTimeoutNotification","onExtendTimeoutNotification","clearTimeoutSession","isLoadingTimeoutNotification","resolveGetIsAuthenticated","setMegaMenuSuffix","endsWith","setMegaMenuIds","megaMenuElementsFirstLevel","megaMenuElementsSecondLevel","setMegaMenuIdsMobile","megaMenuElementsMobileFirstLevel","megaMenuElementsMobileSecondLevel","setPrivacyPolicy","megamenuFooter","innerHTML","startsWith","callbackObserver","mutationRecord","mutationType","clearTimeoutSessionCounter","timeoutSessionCounter","unref","clearInterval","clearTimeoutNotification","timeoutNotification","timeoutSession","countTimeoutSessionCounter","sessionCount","displayNotificationTimeout","notificationTimeout","redirectToLogout","setInterval","isADFS","isSAML","resolveGetInitialLoadData","idMainModule","idMainPage","sessionTimeOut","lblPageTitleGeneral","moduleSelected","pageSelected","suboption","lblHeaderTitle","setHTMLAttributes","newUITheme","getUITheme","componentTranslations","componentKeys","elementKeys","componentKey","elementKey","themeEds","themeSettings","onAlertChange","showMessage","onCloseAlert","onCountCartChange","onError","onLoadingChange","onLogDataChange","LogType","lblError","userMessage","onRedirectCodeChange","onReloadThemeChange","onSetTimeout","getElementsByTagName","bodyStyleObserver","attributeFilter","attributeOldValue","onresize","oldMetaTheme","oldLinkFavicon","metaTheme","linkFavicon","rel","htmlTag","lang","hideHeader","openNotificationTimeout","timeoutSessionModal","snackbar","lblClose","btnExtendSession","lblNotificationTitle","formatNotificationMessage","lblLoading","DSErrorBoundary","showError","componentError","componentDidCatch","LayoutWrap","heightReset","important","nonBreakingSpace","spacing0","spacing05","spacing34","spacing35","spacing55","spacing85","spacingReset","widthReset","blue","green","plum","taupe","onRejectRequest","debug","onCatchRequest","ex","onResolveRequest","ok","redirected","catch","resolveError","fetch","credentials","headers","getCountCart","DOMException","encodeURI","getInitialLoadData","getIsAuthenticated","getResources","getPermissions","CartItemType","50","700","800","900","A200","A400","A700","_props$invisible","getChildMapping","mapFn","Children","isValidElement","mapper","getProp","getNextChildMapping","prevChildMapping","nextChildMapping","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","mergeChildMappings","hasPrev","hasNext","prevChild","isLeaving","TransitionGroup","handleExited","isMounting","firstRender","currentChildMapping","childFactory","TransitionGroupContext","useEnhancedEffect","_props$pulsate","pulsate","rippleX","rippleY","rippleSize","inProp","_props$onExited","leaving","setLeaving","rippleClassName","ripple","rippleVisible","ripplePulsate","rippleStyles","childClassName","childLeaving","childPulsate","timeoutId","TouchRipple","_props$center","center","centerProp","ripples","setRipples","rippleCallback","ignoringMouseDown","startTimer","startTimerCommit","startCommit","params","oldRipples","_options$pulsate","_options$center","_options$fakeElement","fakeElement","sqrt","sizeX","sizeY","animationDuration","buttonRefProp","_props$centerRipple","centerRipple","_props$disableRipple","_props$disableTouchRi","_props$focusRipple","onDragLeave","_props$tabIndex","rippleRef","useRippleHandler","rippleAction","eventCallback","skipRippleAction","handleDragLeave","handleMouseUp","isNonNativeButton","tagName","keydownRef","defaultPrevented","buttonProps","handleUserRef","mountedState","setMountedState","enableTouchRipple","mapEventPropToEvent","_props$disableReactTr","disableReactTree","_props$mouseEvent","mouseEvent","_props$touchEvent","touchEvent","movedRef","mountedRef","syntheticEventRef","handleClickAway","insideReactTree","clickedRootScrollbar","composedPath","createHandleSynthetic","childrenPropsHandler","mappedTouchEvent","mappedMouseEvent","_props$collapsedHeigh","collapsedHeight","collapsedHeightProp","_props$timeout","wrapperRef","autoTransitionDuration","isAppearing","wrapperHeight","mode","duration2","getAutoHeightDuration","addEndListener","entered","wrapperInner","entering","defaultTimeout","FilledInput","_props$inputComponent","inputComponent","_props$multiline","underline","bottomLineColor","borderBottomStyle","adornedEnd","WebkitBoxShadow","WebkitTextFillColor","caretColor","inputMarginDense","inputHiddenLabel","inputAdornedStart","inputAdornedEnd","visuallyFocused","_props$hiddenLabel","hiddenLabel","_props$margin","_props$required","initialAdornedStart","setAdornedStart","initialFilled","setFilled","_focused","childContext","registerEffect","FormControlContext","formControlState","states","FormHelperText","fcs","FormLabel","getScale","autoTimeout","_getTransitionProps","delay","_getTransitionProps2","_props$disablePointer","getStyleValue","computedStyle","_props$rowsMin","rowsMin","rowsMinProp","shadowRef","renders","syncHeight","inputShallow","singleRowHeight","outerHeight","outerHeightStyle","_props$inputProps","inputRefProp","renderSuffix","handleInputRefWarning","handleInputPropsRefProp","handleInputRefProp","handleInputRef","checkDirty","InputComponent","onAnimationStart","animationName","placeholderHidden","placeholderVisible","resize","hasValue","isFilled","SSR","isAdornedStart","_props$disableAnimati","disableAnimation","shrinkProp","animated","_props$autoFocus","_props$button","componentProp","_props$ContainerCompo","_props$ContainerProps","ContainerClassName","_props$dense","_props$divider","listItemRef","hasSecondaryAction","secondaryAction","backgroundClip","_props$disablePadding","ListItemClasses","tabIndexProp","nextItem","disableListWrap","previousItem","textCriteriaMatches","nextFocus","textCriteria","repeating","moveFocus","currentFocus","disabledItemsFocusable","traversalFunction","wrappedOnce","nextFocusDisabled","hasAttribute","_props$autoFocusItem","_props$disabledItemsF","_props$disableListWra","listRef","textCriteriaRef","previousKeyMatched","lastTime","adjustStyleForScrollbar","containerElement","noExplicitWidth","newChildProps","lowerKey","currTime","performance","keepFocusOnCurrent","RTL_ORIGIN","LTR_ORIGIN","_props$disableAutoFoc","disableAutoFocusItem","_props$MenuListProps","PopoverClasses","menuListActionsRef","contentAnchorRef","ariaHidden","getPaddingRight","ariaHiddenSiblings","mountNode","currentNode","nodesToExclude","blacklist","blacklistTagNames","findIndexOf","containerInfo","ModalManager","modals","containers","modalIndex","modalRef","hiddenSiblingNodes","hiddenSiblings","getHiddenSiblings","containerIndex","restore","fixedNodes","restoreStyle","restorePaddings","getScrollbarSize","scrollContainer","setProperty","handleContainer","nextTop","disableAutoFocus","_props$disableEnforce","_props$disableRestore","disableRestoreFocus","getDoc","isEnabled","ignoreNextEnforceFocus","sentinelStart","sentinelEnd","nodeToRestore","prevOpenRef","contain","hasFocus","loopFocus","interval","defaultManager","inProps","getThemeProps","_props$BackdropCompon","_props$closeAfterTran","_props$disablePortal","_props$disableScrollL","_props$hideBackdrop","_props$keepMounted","_props$manager","manager","onRendered","mountNodeRef","hasTransition","getHasTransition","getModal","handleMounted","mount","resolvedContainer","isTopModal","handlePortalRef","inlineStyle","Portal","iconOpen","iconFilled","iconOutlined","defaultInput","_props$input","NotchedOutline","labelWidthProp","labelWidth","notched","legendLabelled","legendNotched","OutlinedInput","_props$labelWidth","notchedOutline","elevations","shadow","getOffsetTop","getOffsetLeft","getTransformOriginValue","getAnchorEl","Popover","_props$anchorReferenc","containerProp","_props$marginThreshol","_props$transformOrigi","_props$TransitionProp","paperRef","getAnchorOffset","contentAnchorOffset","resolvedAnchorEl","anchorRect","anchorVertical","getContentAnchorOffset","contentAnchorEl","getScrollParent","offsetTop","getTransformOrigin","elemRect","getPositioningStyle","elemTransformOrigin","anchorOffset","containerWindow","heightThreshold","widthThreshold","_diff","_diff2","_diff3","setPositioningStyles","positioning","handlePaperRef","updatePosition","defaultPopperOptions","initialPlacement","_props$popperOptions","popperRefProp","_props$transition","tooltipRef","ownRef","handlePopperRef","handlePopperRefRef","rtlPlacement","flipPlacement","setPlacement","handlePopperUpdate","onCreate","onUpdate","setMountNode","areEqualValues","_props$MenuProps","_props$SelectDisplayP","displayNode","setDisplayNode","isOpenControlled","menuMinWidthState","setMenuMinWidthState","displaySingle","handleItemClick","itemIndex","displayMultiple","computeDisplay","menuMinWidth","buttonId","isEmpty","_props$autoWidth","_props$displayEmpty","ArrowDropDown","_props$multiple","_props$native","variantProps","NativeSelectInput","mergeClasses","baseClasses","newClasses","setTranslateValue","fakeTransform","offsetX","offsetY","transformValues","getTranslateValue","childrenRef","handleRefIntermediary","SnackbarContent","emphasis","Snackbar","_props$autoHideDurati","_props$disableWindowB","timerAutoHide","setAutoHideTimer","autoHideDurationParam","handlePause","handleResume","top1","bottom1","top3","bottom3","right3","left3","_props$fontSize","htmlColor","titleAccess","_props$viewBox","focusable","colorAction","colorDisabled","fontSizeInherit","variantComponent","_props$select","InputMore","_InputLabelProps$requ","displayRequired","inputLabelId","InputElement","regular","defaultVariantMapping","_props$display","_props$gutterBottom","_props$noWrap","_props$paragraph","_props$variantMapping","displayInline","displayBlock","hexToRgb","re","colors","rgbToHex","decomposeColor","hex","hslToRgb","l","f","rgb","recomposeColor","marker","getContrastRatio","foreground","lumA","getLuminance","lumB","emphasize","coefficient","darken","lighten","_breakpoints$values","_breakpoints$unit","_breakpoints$step","endIndex","upperbound","createMixins","hint","focusOpacity","activatedOpacity","addLightOrDark","intent","shade","tonalOffset","tonalOffsetLight","tonalOffsetDark","createPalette","_palette$primary","_palette$secondary","_palette$error","_palette$warning","_palette$info","_palette$success","_palette$type","_palette$contrastThre","contrastThreshold","_palette$tonalOffset","augmentColor","mainShade","lightShade","darkShade","caseAllCaps","defaultFontFamily","createTypography","_ref$fontFamily","_ref$fontSize","_ref$fontWeightLight","_ref$fontWeightRegula","_ref$fontWeightMedium","_ref$fontWeightBold","_ref$htmlFontSize","htmlFontSize","allVariants","pxToRem2","coef","buildVariant","casing","variants","createShadow","createSpacing","spacingInput","mui","argument","_options$breakpoints","breakpointsInput","_options$mixins","mixinsInput","_options$palette","paletteInput","_options$typography","typographyInput","muiTheme","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","initialStatus","appearStatus","mountOnEnter","nextCallback","updateStatus","nextStatus","cancelNextCallback","getTimeouts","mounting","performEnter","performExit","appearing","timeouts","enterTimeout","safeSetState","onTransitionEnd","setNextCallback","doesNotHaveTimeoutOrListener","contextType","forwardedRef","domRef","createMuiStrictModeTheme","MuiExpansionPanel","MuiStepContent","MuiBackdrop","MuiDialog","MuiPopover","MuiSnackbar","MuiTooltip","MuiDrawer","MuiSpeedDial","isUnitless","toUnitless","convertLength","baseFontSize","toUnit","fromUnit","pxLength","outputLength","alignProperty","grid","sizeBelow","sizeAbove","fontGrid","pixels","responsiveProperty","cssProperty","_ref3$unit","_ref3$breakpoints","_ref3$transform","factor","responsiveFontSizes","themeInput","_options$disableAlign","disableAlign","_options$factor","_options$variants","breakpointValues","remFontSize","maxFontSize","minFontSize","componentCreator","stylesOrCreator","complex","formatMs","durationOption","_options$easing","easingOption","_options$delay","animatedProp","constant","speedDial","reflow","getTransitionProps","_props$style","transitionDelay","useMediaQuery","queryInput","supportMatchMedia","matchMedia","_props$options","_props$options$defaul","defaultMatches","_props$options$matchM","_props$options$noSsr","noSsr","_props$options$ssrMat","ssrMatchMedia","setMatch","queryList","updateMatch","funcs","wait","debounced","that","later","muiNames","useId","idOverride","defaultId","setDefaultId","defaultProp","valueState","refValue","hadKeyboardEvent","hadFocusVisibleRecently","hadFocusVisibleRecentlyTimeout","inputTypesWhitelist","tel","email","password","datetime","handlePointerDown","handleVisibilityChange","visibilityState","isContentEditable","handleBlurVisible","isWidthDown","inclusive","_options$withTheme","withThemeOption","_options$noSSR","noSSR","initialWidthOption","initialWidth","WithWidth","contextTheme","_getThemeProps","widthComputed","_interopRequireWildcard","React","_default","reactIs","REACT_STATICS","getDefaultProps","getDerivedStateFromError","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","compare","TYPE_STATICS","getStatics","isMemo","Memo","getOwnPropertyNames","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","inheritedComponent","targetStatics","sourceStatics","_objectWithoutProperties2","_extends3","_defineProperty2","_utils","_createBreakpoints","_createMixins","_createPalette","_createTypography","_shadows","_shape","_createSpacing","_transitions","_zIndex","_indigo","_pink","_red","_orange","_blue","_green","_colorManipulator","_common","_grey","_system","createUnarySpacing","_defaultTheme","withThemeCreator","_react","memo","_SvgIcon","ServerStyleSheets","sheetsManager","sheetsRegistry","serverGenerateClassName","injectFirstNode","disableGeneration","sheetsCache","StylesContext","_props$injectFirst","injectFirst","_props$disableGenerat","localOptions","outerOptions","insertionPoint","createComment","insertBefore","localTheme","outerTheme","mergeOuterLocalTheme","for","pseudoClasses","createGenerateClassName","_options$disableGloba","disableGlobal","seedPrefix","getNextCounterId","prefix","fnValuesNs","fnRuleNs","at","atPrefix","GlobalContainerRule","rules","isProcessed","process","getRule","addRule","onProcessRule","GlobalPrefixedRule","createRule","separatorRegExp","addScope","scoped","parentRegExp","refRegExp","getReplaceRef","sheet","replaceParentRefs","nestedProp","parentProp","parentSelectors","nestedSelectors","nested","getOptions","prevOptions","nestingLevel","onProcessStyle","replaceRef","styleRule","isNested","isNestedConditional","uppercasePattern","toHyphenLower","hName","convertCase","converted","fallbacks","px","CSS","addCamelCasedVersion","regExp","units","motion","perspective","iterate","innerProp","_innerProp","camelCasedOptions","onChangeValue","js","browser","jsCssMap","Moz","Webkit","appearence","noPrefill","supportedProperty","toUpper","camelize","pascalize","longhand","textOrientation","writingMode","breakPropsOld","inlineLogicalOld","newProp","unprefixed","prefixed","pascalized","scrollSnap","overscrollBehavior","propMap","flex2012","propMap$1","propKeys","prefixCss","propertyDetectors","computed","key$1","el$1","cache$1","transitionProperties","transPropsRegExp","prefixTransitionCallback","p1","p2","supportedValue","prefixedValue","cacheKey","prefixStyle","changeProp","supportedProp","changeValue","supportedValue$1","atRule","supportedKeyframes","onCreateRule","decl","fnValues","fnRule","_prop","handleNestedGlobalContainerRule","handlePrefixedGlobalRule","hyphenatedProp","prop0","prop1","newStyle","key1","key2","subCache","delete","indexCounter","increment","getStylesCreator","themingEnabled","stylesWithOverrides","getClasses","stylesOptions","cacheClasses","lastProp","lastJSS","generate","attach","stylesCreator","sheetManager","refs","staticSheet","dynamicStyles","generateId","createStyleSheet","dynamicSheet","detach","removeStyleSheet","useSynchronousEffect","currentKey","classNamePrefixOption","_options$defaultTheme","stylesOptions2","meta","shouldUpdate","nextClasses","omit","fields","styled","filterProps","StyledComponent","spread","FinalComponent","WithStyles","WithTheme","defaultBreakpoints","handleBreakpoints","styleFromPropValue","themeBreakpoints","_themeBreakpoints","styleFunction","newStyleFunction","extended","getPath","_options$cssProperty","themeKey","themeMapping","propValueFinal","merge","getBorder","displayPrint","displayRaw","justifyItems","justifySelf","gridRow","gridAutoFlow","gridAutoColumns","gridTemplateAreas","gridArea","bgcolor","sizeWidth","sizeHeight","properties","directions","aliases","marginX","marginY","paddingX","paddingY","getCssProperties","_prop$split","_prop$split2","spacingKeys","transformer","cssProperties","transformed","getValue","getStyleFromPropValue","isPlainObject","chainPropTypes","propType1","propType2","elementAcceptingRef","exactProp","formatMuiErrorMessage","encodeURIComponent","fnNameMatchRegex","getFunctionName","getFunctionComponentName","getWrappedName","outerType","innerType","wrapperName","$$typeof","HTMLElementType","propFullName","makeGetEdgeOfNeighbor","getPeriod","getEdgeOfPeriod","defaultOffset","previousPeriod","makeGetEnd","getBeginOfNextPeriod","makeGetRange","functions","getYear","getMonthHuman","datePieces","hoursString","getMinutes","minutesString","getSeconds","secondsString","getCenturyStart","centuryStartYear","centuryStartDate","getPreviousCenturyStart","getNextCenturyStart","getCenturyEnd","getPreviousCenturyEnd","getNextCenturyEnd","getCenturyRange","getDecadeStart","decadeStartYear","decadeStartDate","getPreviousDecadeStart","getNextDecadeStart","getDecadeEnd","getPreviousDecadeEnd","getNextDecadeEnd","getDecadeRange","getYearStart","yearStartDate","getPreviousYearStart","getNextYearStart","getYearEnd","getPreviousYearEnd","getNextYearEnd","getYearRange","makeGetEdgeOfNeighborMonth","getMonthStart","monthStartDate","getPreviousMonthStart","getNextMonthStart","getMonthEnd","getPreviousMonthEnd","getNextMonthEnd","getMonthRange","makeGetEdgeOfNeighborDay","getDayStart","dayStartDate","getPreviousDayStart","getNextDayStart","getDayEnd","getPreviousDayEnd","getNextDayEnd","getDayRange","getDaysInMonth","padStart","numStr","getHoursMinutes","getHoursMinutesSeconds","getISOLocalMonth","getISOLocalDate","getISOLocalDateTime","invariant","_callbacks","_isDispatching","_isHandled","_isPending","_lastID","unregister","waitFor","ids","ii","_invokeCallback","_startDispatching","_stopDispatching","isDispatching","_pendingPayload","noopThunk","and","booleanSome","childrenHavePropXorChildren","childrenOf","childrenOfType","childrenSequenceOf","componentWithName","disallowedIf","elementType","empty","explicitNull","forbidExtraProps","integer","keysOf","mutuallyExclusiveProps","mutuallyExclusiveTrueProps","nChildren","nonNegativeInteger","nonNegativeNumber","numericString","or","requiredBy","restrictedProp","sequenceOf","stringEndsWith","stringStartsWith","uniqueArray","uniqueArrayOf","valuesOf","withShape","ArraySpeciesCreate","FlattenIntoArray","Get","ToIntegerOrInfinity","ToLength","ToObject","sourceLen","depthNum","define","callBind","implementation","getPolyfill","shim","boundFlat","$Array","GetIntrinsic","toStr","$ArrayPrototype","$RangeError","$SyntaxError","$TypeError","IsIntegralNumber","MAX_ARRAY_LENGTH","$setProto","$species","ArrayCreate","IsArray","IsConstructor","Type","originalArray","callBound","$apply","argumentsList","DefineOwnProperty","FromPropertyDescriptor","OrdinaryGetOwnProperty","IsDataDescriptor","IsExtensible","IsPropertyKey","SameValue","oldDesc","extensible","CreateDataProperty","isPropertyDescriptor","IsAccessorDescriptor","ToPropertyDescriptor","Desc","Call","CreateDataPropertyOrThrow","HasProperty","LengthOfArrayLike","ToString","mapperFunction","targetIndex","sourceIndex","exists","shouldFlatten","elementLen","assertRecord","inspect","$construct","DefinePropertyOrThrow","isConstructorMarker","badArrayLike","$Object","isPrimitive","$preventExtensions","preventExtensions","$isExtensible","isExtensible","$isNaN","$isFinite","absValue","$match","hasRegExpMatcher","ToBoolean","isRegExp","$gOPD","$isEnumerable","IsRegExp","arrayLength","regexLastIndex","ES5ToInteger","ToNumber","$Number","$RegExp","$parseInteger","regexTester","$strSlice","isOctal","isInvalidHexLiteral","hasNonWS","ws","trimRegex","$replace","ToPrimitive","NaN","trimmed","$trim","RequireObjectCoercible","toPrimitive","IsCallable","Obj","getter","setter","$String","ES5Type","$abs","$floor","optMessage","$sign","prim","$defineProperty","hasArrayLengthDefineBug","predicates","allowed","isData","IsAccessor","recordType","argumentName","isFinite","ES","$Math","$test","isCallableMarker","fnToStr","reflectApply","Reflect","constructorRegex","isES6ClassFn","fnStr","hasToStringTag","toStringTag","documentDotAll","all","tryFunctionObject","strClass","$exec","isRegexMarker","badStringifier","throwRegexMarker","$toString","gOPD","hasMap","mapSizeDescriptor","mapSize","mapForEach","hasSet","Set","setSizeDescriptor","setSize","setForEach","weakMapHas","weakSetHas","WeakSet","weakRefDeref","WeakRef","deref","booleanValueOf","objectToString","functionToString","bigIntValueOf","BigInt","gOPS","symToString","hasShammedSymbols","isEnumerable","gPO","inspectCustom","inspectSymbol","isSymbol","wrapQuotes","defaultStyle","opts","quoteChar","quoteStyle","inspect_","maxStringLength","customInspect","indent","inspectString","maxDepth","baseIndent","getIndent","noIndent","newOpts","nameOf","arrObjKeys","symString","markBoxed","HTMLElement","attrs","childNodes","singleLineValues","indentedJoin","isError","isMap","mapParts","collectionOf","isSet","setParts","isWeakMap","weakCollectionOf","isWeakSet","isWeakRef","isNumber","isBigInt","isBoolean","isString","isDate","ys","protoTag","stringTag","trailer","lowbyte","8","9","10","12","13","lineJoiner","symMap","syms","flat","_assign2","_setPrototypeOf2","_create2","_typeof3","_iterator2","_symbol2","it","isObject","toIObject","toLength","toAbsoluteIndex","IS_INCLUDES","$this","core","version","__e","aFunction","is","getKeys","pIE","getSymbols","symbols","isEnum","ctx","$export","own","out","IS_FORCED","IS_GLOBAL","IS_STATIC","IS_PROTO","IS_BIND","IS_WRAP","expProto","virtual","__g","dP","createDesc","cof","setToStringTag","IteratorPrototype","NAME","LIBRARY","redefine","Iterators","$iterCreate","ITERATOR","BUGGY","KEYS","VALUES","returnThis","Base","DEFAULT","IS_SET","FORCED","getMethod","kind","TAG","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","setDesc","FREEZE","setMeta","KEY","NEED","fastKey","getWeak","onFreeze","DESCRIPTORS","toObject","IObject","$assign","aLen","anObject","dPs","enumBugKeys","IE_PROTO","Empty","createDict","iframeDocument","iframe","contentWindow","write","Properties","IE8_DOM_DEFINE","Attributes","gOPN","windowNames","getWindowNames","$keys","hiddenKeys","ObjectProto","arrayIndexOf","check","buggy","stat","shared","SHARED","store","copyright","toInteger","defined","TO_STRING","wksExt","$Symbol","USE_SYMBOL","addToUnscopables","iterated","_t","_k","Arguments","$at","$fails","wks","wksDefine","enumKeys","_create","gOPNExt","$GOPD","$GOPS","$DP","$JSON","_stringify","HIDDEN","TO_PRIMITIVE","SymbolRegistry","AllSymbols","OPSymbols","USE_NATIVE","QObject","findChild","setSymbolDesc","protoDesc","sym","$defineProperties","$propertyIsEnumerable","$getOwnPropertyDescriptor","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","$set","es6Symbols","wellKnownSymbols","keyFor","useSetter","useSimple","FAILS_ON_PRIMITIVES","replacer","$replacer","TO_STRING_TAG","DOMIterables","Collection","$indexOf","allowMissing","intrinsic","$call","$reflectApply","$max","originalFunction","applyBind","toVal","mix","tmp","CAN_USE_DOM","ensureCanMutateNextEventHandlers","eventHandlers","nextHandlers","TargetEventHandlers","getEventHandlers","normalizedEventOptions","handleEvent","listener","isSubscribed","EVENT_HANDLERS_KEY","eventOptions","supportsPassiveOption","testPassiveEventListeners","normalizeEventOptions","hasSymbols","origDefineProperty","supportsDescriptors","arePropertyDescriptorsSupported","parentNode","boundContains","isCallable","ordinaryToPrimitive","methodNames","GetMethod","exoticToPrim","ES5internalSlots","actualHint","ReflectOwnKeys","ReflectApply","receiver","ownKeys","NumberIsNaN","init","emitter","Promise","resolve","reject","errorListener","eventTargetAgnosticAddListener","flags","addErrorHandlerIfEventEmitter","_events","_eventsCount","_maxListeners","defaultMaxListeners","checkListener","_getMaxListeners","_addListener","prepend","existing","newListener","warned","onceWrapper","fired","wrapFn","_onceWrap","unwrap","evlistener","ret","unwrapListeners","arrayClone","listenerCount","wrapListener","RangeError","setMaxListeners","getMaxListeners","doError","er","prependListener","prependOnceListener","originalListener","spliceOne","off","removeAllListeners","rawListeners","eventNames","condition","argIndex","framesToPop","ERROR_MESSAGE","funcType","bound","binder","boundLength","boundArgs","SyntaxError","$Function","getEvalledConstructor","expressionSyntax","throwTypeError","ThrowTypeError","calleeThrows","gOPDthrows","getProto","needsEval","TypedArray","Uint8Array","INTRINSICS","AggregateError","Atomics","DataView","decodeURI","decodeURIComponent","eval","EvalError","Float32Array","Float64Array","FinalizationRegistry","Int8Array","Int16Array","Int32Array","Proxy","SharedArrayBuffer","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","doEval","gen","LEGACY_ALIASES","$concat","$spliceApply","stringToPath","getBaseIntrinsic","alias","intrinsicName","intrinsicBaseName","intrinsicRealName","skipFurtherCaching","getUserLocales","languageList","languages","userLanguage","browserLanguage","systemLanguage","splitEl","getUserLocale","globalKey","trueThunk","ensureCache","g","getPrimitiveKey","requirePrimitiveKey","globalCache","primitiveKey","setIfMissingThenGet","valueThunk","origSymbol","hasSymbolSham","symObj","ReactIs","tryDateObject","symToStr","symStringRegex","isSymbolObject","DocumentTouch","maxTouchPoints","msMaxTouchPoints","_b","_c","opt","toJSON","plainObjectConstrurctor","cloneStyle","declCopy","by","toCssValue","ignoreImportant","cssValue","indentStr","toCss","_options$indent","_value","_prop2","_value2","allowEmpty","escapeRegex","nativeEscape","escape","BaseStyleRule","renderer","renderable","Renderer","force","isDefined","attached","StyleRule","_BaseStyleRule","selectorText","_proto2","applyTo","setSelector","replaceRule","pluginStyleRule","defaultToStringOptions","atRegExp","ConditionalRule","atMatch","RuleList","keyRegExp","pluginConditionalRule","defaultToStringOptions$1","nameRegExp","KeyframesRule","frames","nameMatch","keyRegExp$1","findReferencedKeyframe","keyframes","refKeyframe","plugin","KeyframeRule","pluginKeyframeRule","FontFaceRule","keyRegExp$2","pluginFontFaceRule","ViewportRule","pluginViewportRule","SimpleRule","keysMap","defaultUpdateOptions","forceUpdateOptions","raw","counter","ruleOptions","_this$options","updateOne","_this$options2","_nextValue","_prevValue","StyleSheet","deployed","queue","deploy","insertRule","addRules","added","deleteRule","_this$rules","PluginsRegistry","internal","external","registry","onProcessSheet","processedValue","use","newPlugin","SheetsRegistry","reset","globalThis$1","globalThis","ns","moduleId","createGenerateId","jssId","minify","cssRule","attributeStyleMap","getHead","getNonce","_insertRule","appendRule","cssRules","getValidRuleInsertionIndex","maxIndex","DomRenderer","hasInsertedRules","nonce","registry$1","findHigherSheet","findHighestSheet","nextSibling","comment","nodeValue","findCommentNode","findPrevNode","insertionPointElement","insertStyle","insertRules","nativeParent","latestNativeParent","_insertionIndex","refCssRule","ruleStr","insertionIndex","nativeRule","getRules","instanceCounter","Jss","setup","getDynamicStyles","extracted","hasCSSTOMSupport","reTrim","isObjectLike","toFinite","before","getNative","hashClear","hashDelete","hashGet","hashHas","hashSet","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","setCacheAdd","setCacheHas","stackClear","stackDelete","stackGet","stackHas","stackSet","baseTimes","isArguments","isIndex","isTypedArray","initAccum","baseAssignValue","copyObject","keysIn","arrayEach","assignValue","baseAssign","baseAssignIn","cloneBuffer","copyArray","copySymbols","copySymbolsIn","getAllKeys","getAllKeysIn","initCloneArray","initCloneByTag","initCloneObject","argsTag","funcTag","objectTag","baseCreate","baseForOwn","baseEach","createBaseEach","arrayPush","isFlattenable","baseFor","createBaseFor","castPath","toKey","getRawTag","baseGetTag","baseIsEqualDeep","equalArrays","equalByTag","equalObjects","arrayTag","COMPARE_PARTIAL_FLAG","isFunction","isMasked","toSource","funcProto","isLength","baseMatches","baseMatchesProperty","identity","isPrototype","nativeKeys","nativeKeysIn","baseIsMatch","getMatchData","matchesStrictComparable","hasIn","isKey","isStrictComparable","assignMergeValue","baseMergeDeep","safeGet","baseMerge","srcIndex","cloneTypedArray","isArrayLikeObject","toPlainObject","mergeFunc","isCommon","isTyped","baseGet","overRest","setToString","baseSetToString","arrayMap","trimmedEndIndex","baseSlice","cloneArrayBuffer","getSymbolsIn","coreJsData","baseRest","isIterateeCall","assigner","isArrayLike","castSlice","hasUnicode","stringToArray","methodName","strSymbols","chr","trailing","baseIteratee","findIndexFunc","baseRange","arraySome","cacheHas","mapToArray","setToArray","flatten","freeGlobal","baseGetAllKeys","isKeyable","baseIsNative","getPrototype","overArg","arrayFilter","stubArray","mapTag","setTag","weakMapTag","dataViewTag","reHasUnicode","nativeCreate","cloneDataView","cloneRegExp","cloneSymbol","isConcatSpreadable","assocIndexOf","getMapData","nodeUtil","shortOut","asciiToArray","unicodeToArray","memoizeCapped","rsCombo","rsFitz","rsNonAstral","rsRegional","rsSurrPair","reOptMod","rsModifier","rsOptVar","rsSeq","rsSymbol","reUnicode","createAssigner","upperFirst","CLONE_DEEP_FLAG","nativeMin","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","invokeFunc","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","isInvoking","flush","baseFilter","createFind","baseFindIndex","baseHasIn","hasPath","baseIsArguments","stubFalse","baseKeys","baseIsMap","baseUnary","baseIsSet","baseIsTypedArray","arrayLikeKeys","baseKeysIn","FUNC_ERROR_TEXT","HASH_UNDEFINED","PLACEHOLDER","WRAP_PARTIAL_FLAG","WRAP_ARY_FLAG","INFINITY","NAN","wrapFlags","boolTag","dateTag","errorTag","genTag","numberTag","regexpTag","symbolTag","arrayBufferTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","reEmptyStringLeading","reEmptyStringMiddle","reEmptyStringTrailing","reEscapedHtml","reUnescapedHtml","reHasEscapedHtml","reHasUnescapedHtml","reEscape","reEvaluate","reInterpolate","reRegExpChar","reHasRegExpChar","reWrapComment","reWrapDetails","reSplitDetails","reAsciiWord","reForbiddenIdentifierChars","reEsTemplate","reLatin","reNoMatch","reUnescapedString","rsComboRange","rsComboMarksRange","rsLowerRange","rsUpperRange","rsBreakRange","rsMathOpRange","rsBreak","rsDigits","rsLower","rsMisc","rsUpper","rsMiscLower","rsMiscUpper","rsOptContrLower","rsOptContrUpper","rsEmoji","reApos","reComboMark","reUnicodeWord","reHasUnicodeWord","contextProps","templateCounter","stringEscapes","freeParseFloat","moduleExports","nodeIsArrayBuffer","isArrayBuffer","nodeIsDate","nodeIsRegExp","arrayAggregator","arrayEachRight","arrayEvery","arrayIncludes","baseIndexOf","arrayIncludesWith","comparator","arrayReduce","arrayReduceRight","asciiSize","baseProperty","baseFindKey","strictIndexOf","baseIsNaN","baseIndexOfWith","baseMean","baseSum","basePropertyOf","baseReduce","baseTrim","baseValues","charsStartIndex","chrSymbols","charsEndIndex","countHolders","deburrLetter","escapeHtmlChar","escapeStringChar","replaceHolders","setToPairs","stringSize","unicodeSize","unescapeHtmlChar","runInContext","defaults","pick","arrayProto","idCounter","oldDash","symIterator","ctxClearTimeout","ctxNow","ctxSetTimeout","nativeFloor","nativeIsBuffer","nativeIsFinite","nativeJoin","nativeParseInt","nativeRandom","nativeReverse","metaMap","realNames","lodash","LazyWrapper","LodashWrapper","wrapperClone","baseLodash","chainAll","__wrapped__","__actions__","__chain__","__index__","__values__","__dir__","__filtered__","__iteratees__","__takeCount__","__views__","arraySample","baseRandom","arraySampleSize","shuffleSelf","baseClamp","arrayShuffle","baseAggregator","baseAt","skip","lower","upper","baseConformsTo","baseDelay","baseDifference","valuesLength","outer","valuesIndex","templateSettings","baseEachRight","baseForOwnRight","baseEvery","baseExtremum","baseForRight","baseFunctions","baseGt","baseHas","baseIntersection","arrays","caches","baseInvoke","baseLt","baseMap","baseNth","baseOrderBy","getIteratee","compareAscending","compareMultiple","baseSortBy","basePickBy","baseSet","basePullAll","basePullAt","indexes","baseUnset","baseRepeat","baseSample","baseSampleSize","baseSetData","baseShuffle","baseSome","baseSortedIndex","retHighest","low","high","mid","baseSortedIndexBy","valIsNaN","valIsUndefined","setLow","baseSortedUniq","baseToNumber","baseUniq","createSet","seenIndex","baseUpdate","updater","baseWhile","isDrop","baseWrapperValue","baseXor","baseZipObject","assignFunc","valsLength","castArrayLikeObject","castFunction","castRest","composeArgs","partials","holders","isCurried","argsIndex","argsLength","holdersLength","leftIndex","leftLength","rangeLength","isUncurried","composeArgsRight","holdersIndex","rightIndex","rightLength","createAggregator","initializer","createCaseFirst","createCompounder","words","deburr","createCtor","thisBinding","createFlow","flatRest","prereq","thru","getFuncName","funcName","getData","isLaziable","plant","createHybrid","partialsRight","holdersRight","argPos","ary","isAry","isBind","isBindKey","isFlip","getHolder","holdersCount","newHolders","createRecurry","reorder","createInverter","toIteratee","baseInverter","createMathOperation","createOver","arrayFunc","createPadding","chars","charsLength","createRange","createRelationalOperation","wrapFunc","isCurry","setData","setWrapToString","createRound","pair","createToPairs","baseToPairs","createWrap","srcBitmask","newBitmask","isCombo","mergeData","createCurry","createPartial","createBind","customDefaultsAssignIn","customDefaultsMerge","customOmitClone","otherFunc","isMaskable","oldArray","reference","details","insertWrapDetails","updateWrapDetails","getWrapDetails","rand","difference","differenceBy","differenceWith","findIndex","findLastIndex","intersection","mapped","intersectionBy","intersectionWith","pull","pullAll","pullAt","union","unionBy","unionWith","unzip","unzipWith","without","xor","xorBy","xorWith","zip","zipWith","chain","interceptor","wrapperAt","countBy","findLast","forEachRight","groupBy","invokeMap","keyBy","partition","sortBy","bindKey","WRAP_BIND_FLAG","defer","negate","overArgs","funcsLength","partial","partialRight","rearg","isInteger","iteratorToArray","assignIn","assignInWith","assignWith","defaultsDeep","mergeWith","invert","invertBy","invoke","basePick","pickBy","toPairs","toPairsIn","camelCase","kebabCase","lowerCase","lowerFirst","snakeCase","startCase","upperCase","hasUnicodeWord","unicodeWords","asciiWords","attempt","bindAll","flow","flowRight","methodOf","mixin","over","overEvery","overSome","basePropertyDeep","rangeRight","augend","addend","divide","dividend","divisor","multiply","multiplier","multiplicand","minuend","subtrahend","after","castArray","chunk","cond","conforms","baseConforms","curry","curryRight","drop","dropRight","dropRightWhile","dropWhile","baseFill","flatMap","flatMapDeep","flatMapDepth","flattenDeep","flattenDepth","fromPairs","functionsIn","initial","mapKeys","mapValues","matchesProperty","nthArg","omitBy","orderBy","propertyOf","pullAllBy","pullAllWith","sampleSize","setWith","shuffle","sortedUniq","sortedUniqBy","separator","take","takeRight","takeRightWhile","takeWhile","tap","throttle","toPath","unary","uniq","uniqBy","uniqWith","unset","updateWith","valuesIn","zipObject","zipObjectDeep","entriesIn","extend","extendWith","cloneDeep","cloneDeepWith","cloneWith","conformsTo","defaultTo","escapeRegExp","findKey","findLastKey","forIn","forInRight","forOwn","forOwnRight","baseInRange","isElement","isEqualWith","isMatch","isMatchWith","isNative","isNull","isSafeInteger","isUndefined","strictLastIndexOf","maxBy","mean","meanBy","minBy","stubObject","stubString","stubTrue","nth","noConflict","pad","strLength","padEnd","radix","floating","temp","reduceRight","repeat","sample","sortedIndex","sortedIndexBy","sortedIndexOf","sortedLastIndex","sortedLastIndexBy","sortedLastIndexOf","sum","sumBy","template","settings","isEscaping","isEvaluating","imports","importsKeys","importsValues","interpolate","reDelimiters","evaluate","sourceURL","escapeValue","interpolateValue","esTemplateValue","evaluateValue","variable","times","toLower","toSafeInteger","trimEnd","trimStart","truncate","omission","newEnd","unescape","uniqueId","each","eachRight","VERSION","isFilter","takeName","dropName","checkIteratee","isTaker","lodashFunc","retUnwrapped","isLazy","useLazy","isHybrid","isUnwrapped","onlyLazy","chainName","isRight","iterLength","takeCount","iterIndex","commit","clipboardEvents","compositionEvents","keyboardEvents","focusEvents","formEvents","genericEvents","mouseEvents","selectionEvents","touchEvents","uiEvents","wheelEvents","mediaEvents","imageEvents","animationEvents","transitionEvents","otherEvents","allEvents","getArgs","eventProps","mergeClassNames","defineLocale","monthsShort","weekdays","weekdaysMin","meridiemParse","isPM","meridiem","isLower","longDateFormat","LT","LTS","LL","LLL","LLLL","sameDay","nextWeek","lastDay","lastWeek","sameElse","relativeTime","future","past","ss","mm","hh","dd","MM","yy","dayOfMonthOrdinalParse","ordinal","dow","doy","factory","weekdaysParseExact","symbolMap","pluralForm","plurals","pluralize","u","withoutSuffix","isFuture","preparse","postformat","numberMap","suffixes","1","5","70","80","2","7","20","3","4","6","30","60","90","relativeTimeWithPlural","forms","isFormat","period","lastDigit","last2Digits","meridiemHour","monthsShortRegex","monthsParseExact","relativeTimeWithMutation","mutationTable","softMutation","lastNumber","translate","ll","lll","llll","monthsParse","monthsRegex","plural","monthsStrictRegex","monthsShortStrictRegex","longMonthsParse","shortMonthsParse","processRelativeTime","monthsNominativeEl","monthsGenitiveEl","momentToFormat","_monthsGenitiveEl","_monthsNominativeEl","calendarEl","mom","_calendarEl","monthsShortDot","invalidDate","numbersPast","numbersFuture","verbalNumber","monthsShortWithDots","monthsShortWithoutDots","weekEndings","eras","since","abbr","until","eraYearOrdinalRegex","eraYearOrdinalParse","$0","$1","$2","0","40","token","isUpper","eifelerRegelAppliesToNumber","translateSingular","special","relativeTimeWithSingular","translator","correctGrammaticalCase","wordKey","relativeTimeMr","monthsNominative","monthsSubjective","numbersNouns","numberNoun","hundred","ten","one","numberAsNoun","hm","processHoursFunction","nominative","accusative","genitive","hookCallback","hooks","hasOwnProp","isObjectEmpty","res","createUTC","strict","createLocalOrUTC","utc","getParsingFlags","_pf","unusedTokens","unusedInput","charsLeftOver","nullInput","invalidEra","invalidMonth","invalidFormat","userInvalidated","iso","parsedDateParts","era","rfc2822","weekdayMismatch","_isValid","parsedParts","isNowValid","invalidWeekday","_strict","bigHour","isFrozen","createInvalid","fun","momentProperties","updateInProgress","copyConfig","_isAMomentObject","_f","_l","_tzm","_isUTC","_offset","_locale","Moment","updateOffset","isMoment","suppressDeprecationWarnings","deprecate","firstTime","deprecationHandler","deprecations","deprecateSimple","mergeConfigs","parentConfig","childConfig","Locale","zeroFill","targetLength","forceSign","absNumber","zerosToFill","formattingTokens","localFormattingTokens","formatFunctions","formatTokenFunctions","addFormatToken","padded","formatMoment","expandFormat","makeFormatFunction","replaceLongDateFormatTokens","addUnitAlias","shorthand","normalizeUnits","normalizeObjectUnits","inputObject","normalizedProp","normalizedInput","priorities","addUnitPriority","priority","isLeapYear","absFloor","toInt","argumentForCoercion","coercedNumber","makeGetSet","keepTime","set$1","regexes","match1","match2","match3","match4","match6","match1to2","match3to4","match5to6","match1to3","match1to4","match1to6","matchUnsigned","matchSigned","matchOffset","matchShortOffset","matchWord","addRegexToken","strictRegex","getParseRegexForToken","regexEscape","matched","p3","p4","tokens","addParseToken","addWeekParseToken","_w","addTimeToArrayFromToken","modMonth","defaultLocaleMonths","defaultLocaleMonthsShort","MONTHS_IN_FORMAT","defaultMonthsShortRegex","defaultMonthsRegex","handleStrictParse","monthName","llc","toLocaleLowerCase","_monthsParse","_longMonthsParse","_shortMonthsParse","getSetMonth","computeMonthsParse","cmpLenRev","shortPieces","longPieces","mixedPieces","_monthsRegex","_monthsShortRegex","_monthsStrictRegex","_monthsShortStrictRegex","daysInYear","parseTwoDigitYear","getSetYear","createDate","createUTCDate","UTC","getUTCFullYear","setUTCFullYear","firstWeekOffset","fwd","getUTCDay","dayOfYearFromWeeks","resYear","resDayOfYear","dayOfYear","weekOfYear","resWeek","weekOffset","weeksInYear","weekOffsetNext","shiftWeekdays","weekdaysMinRegex","weekdaysShortRegex","weekdaysRegex","weekdaysParse","defaultLocaleWeekdays","defaultLocaleWeekdaysShort","defaultLocaleWeekdaysMin","defaultWeekdaysRegex","defaultWeekdaysShortRegex","defaultWeekdaysMinRegex","handleStrictParse$1","weekdayName","_weekdaysParse","_shortWeekdaysParse","_minWeekdaysParse","computeWeekdaysParse","minp","shortp","longp","minPieces","_weekdaysRegex","_weekdaysShortRegex","_weekdaysMinRegex","_weekdaysStrictRegex","_weekdaysShortStrictRegex","_weekdaysMinStrictRegex","hFormat","lowercase","matchMeridiem","_meridiemParse","kInput","_isPm","_meridiem","pos1","pos2","getSetHour","globalLocale","baseConfig","ww","locales","localeFamilies","commonPrefix","minl","normalizeLocale","loadLocale","oldLocale","_abbr","getSetGlobalLocale","getLocale","_config","parentLocale","chooseLocale","_overflowDayOfYear","_overflowWeeks","_overflowWeekday","extendedIsoRegex","basicIsoRegex","tzRegex","isoDates","isoTimes","aspNetJsonRegex","obsOffsets","UT","GMT","EDT","EST","CDT","CST","MDT","MST","PDT","PST","configFromISO","allowTime","timeFormat","tzFormat","configFromStringAndFormat","untruncateYear","yearStr","configFromRFC2822","parsedArray","monthStr","dayStr","hourStr","minuteStr","secondStr","weekdayStr","parsedInput","checkWeekday","obsOffset","militaryOffset","numOffset","calculateOffset","setUTCMinutes","getUTCMinutes","configFromArray","expectedWeekday","yearToUse","nowValue","_useUTC","getUTCMonth","getUTCDate","currentDateArray","weekYear","weekdayOverflow","curWeek","GG","createLocal","_week","gg","_dayOfYear","dayOfYearFromWeekInfo","_nextDay","ISO_8601","RFC_2822","skipped","stringLength","totalParsedInputLength","isPm","meridiemFixWrap","erasConvertYear","prepareConfig","tempConfig","bestMoment","scoreToBeat","currentScore","validFormatFound","bestFormatIsValid","score","configFromStringAndArray","createFromInputFallback","configFromString","dayOrDate","millisecond","configFromObject","configFromInput","isUTC","prototypeMin","prototypeMax","moments","ordering","Duration","quarters","quarter","isoWeek","unitHasDecimal","isDurationValid","_milliseconds","_days","_months","_data","_bubble","isDuration","absRound","utcOffset","sign","offsetFromString","chunkOffset","matcher","cloneWithOffset","model","setTime","getDateOffset","isUtc","aspNetRegex","isoRegex","createDuration","diffRes","parseIso","isBefore","positiveMomentsDifference","inp","isAfter","createAdder","addSubtract","isAdding","isMomentInput","arrayTest","dataTypeTest","isNumberOrStringArray","objectTest","propertyTest","isMomentInputObject","isCalendarSpec","monthDiff","wholeMonthDiff","newLocaleData","defaultFormat","defaultFormatUtc","MS_PER_SECOND","MS_PER_MINUTE","MS_PER_HOUR","MS_PER_400_YEARS","mod$1","localStartOfDate","utcStartOfDate","matchEraAbbr","erasAbbrRegex","computeErasParse","abbrPieces","namePieces","narrowPieces","_erasRegex","_erasNameRegex","_erasAbbrRegex","_erasNarrowRegex","addWeekYearFormatToken","getSetWeekYearHelper","weeksTarget","setWeekAll","dayOfYearData","erasNameRegex","erasNarrowRegex","erasParse","_eraYearOrdinalRegex","isoWeekYear","_dayOfMonthOrdinalParse","_ordinalParse","_dayOfMonthOrdinalParseLenient","getSetDayOfMonth","getSetMinute","getSetMillisecond","getSetSecond","parseMs","preParsePostFormat","sod","calendarFormat","asFloat","zoneDelta","startOfDate","isoWeekday","humanize","fromNow","toNow","invalidAt","localInput","isBetween","inclusivity","localFrom","localTo","inputMs","isSameOrAfter","isSameOrBefore","parsingFlags","prioritized","unitsObj","getPrioritizedUnits","toISOString","keepOffset","suffix","zone","isLocal","unix","creationData","eraName","eraNarrow","eraAbbr","eraYear","isoWeeks","weekInfo","weeksInWeekYear","isoWeeksInYear","isoWeeksInISOWeekYear","parseWeekday","parseIsoWeekday","keepLocalTime","keepMinutes","localAdjust","_changeInProgress","parseZone","tZone","hasAlignedHourOffset","isDST","isUtcOffset","zoneAbbr","zoneName","dates","isDSTShifted","_isDSTShifted","array1","array2","dontConvert","lengthDiff","diffs","compareArrays","proto$1","get$1","listMonthsImpl","listWeekdaysImpl","localeSorted","_calendar","_longDateFormat","formatUpper","tok","_invalidDate","_ordinal","_relativeTime","pastFuture","_eras","_monthsShort","_monthsParseExact","firstDayOfYear","_weekdays","_weekdaysMin","_weekdaysShort","_weekdaysParseExact","_fullWeekdaysParse","langData","mathAbs","addSubtract$1","absCeil","daysToMonths","monthsToDays","makeAs","as","asMilliseconds","asSeconds","asMinutes","asHours","asDays","asWeeks","asMonths","asQuarters","asYears","makeGetter","thresholds","substituteTimeAgo","abs$1","toISOString$1","totalSign","ymSign","daysSign","hmsSign","proto$2","monthsFromDays","argWithSuffix","argThresholds","withSuffix","th","posNegDuration","relativeTime$1","toIsoString","updateLocale","tmpLocale","relativeTimeRounding","roundingFunction","relativeTimeThreshold","threshold","myMoment","HTML5_FMT","DATETIME_LOCAL","DATETIME_LOCAL_SECONDS","DATETIME_LOCAL_MS","DATE","TIME","TIME_SECONDS","TIME_MS","urlAlphabet","bytes","crypto","getRandomValues","customRandom","alphabet","getRandom","LN2","customAlphabet","byte","propIsEnumerable","test1","test2","fromCharCode","test3","letter","shouldUseNative","keysShim","isArgs","hasDontEnumBug","hasProtoEnumBug","dontEnums","equalsConstructorPrototype","ctor","excludedKeys","$applicationCache","$console","$external","$frame","$frameElement","$frames","$innerHeight","$innerWidth","$onmozfullscreenchange","$onmozfullscreenerror","$outerHeight","$outerWidth","$pageXOffset","$pageYOffset","$parent","$scrollLeft","$scrollTop","$scrollX","$scrollY","$self","$webkitIndexedDB","$webkitStorageInfo","$window","hasAutomationEqualityBug","theKeys","skipProto","skipConstructor","equalsConstructorPrototypeIfNotBuggy","origKeys","originalKeys","canBeObject","$push","$propIsEnumerable","originalGetSymbols","source1","objTarget","letters","actual","lacksProperEnumerationOrder","thrower","assignHasPendingExceptions","vals","isBrowser","timeoutDuration","longerTimeoutBrowsers","called","scheduled","functionToCheck","getStyleComputedProperty","getParentNode","host","_getStyleComputedProp","getReferenceNode","referenceNode","isIE11","MSInputMethodContext","documentMode","isIE10","isIE","getOffsetParent","noOffsetParent","getRoot","findCommonOffsetParent","element1","element2","Node","DOCUMENT_POSITION_FOLLOWING","setStart","setEnd","commonAncestorContainer","firstElementChild","element1root","getScroll","side","upperSide","scrollingElement","includeScroll","modifier","getBordersSize","sideA","sideB","getSize","getWindowSizes","classCallCheck","createClass","getClientRect","horizScrollbar","vertScrollbar","getOffsetRectRelativeToArbitraryNode","fixedPosition","isHTML","childrenRect","parentRect","scrollParent","getViewportOffsetRectRelativeToArtbitraryNode","excludeScroll","relativeOffset","isFixed","getFixedPositionOffsetParent","getBoundaries","boundaries","boundariesNode","_getWindowSizes","isPaddingNumber","getArea","computeAutoPlacement","refRect","rects","sortedAreas","area","filteredAreas","computedPlacement","variation","getReferenceOffsets","commonOffsetParent","getOuterSizes","getOppositePlacement","hash","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","runModifiers","ends","cur","isDestroyed","flipped","originalPlacement","isCreated","isModifierEnabled","modifierName","getSupportedPropertyName","prefixes","upperProp","toCheck","removeOnDestroy","getWindow","attachToScrollParents","scrollParents","isBody","setupEventListeners","updateBound","scrollElement","isNumeric","setStyles","isFirefox","isModifierRequired","requestingName","requestedName","requesting","_requesting","requested","validPlacements","clockwise","Defaults","basePlacement","shiftvariation","_data$offsets","isVertical","shiftOffsets","useHeight","fragments","frag","splitRegex","ops","op","mergeWithPrevious","toValue","index2","parseOffset","transformProp","popperStyles","escapeWithReference","keepTogether","opSide","_data$offsets$arrow","sideCapitalized","altSide","arrowElementSize","popperMarginSide","popperBorderSide","sideValue","placementOpposite","flipOrder","behavior","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariationByRef","flipVariations","flippedVariationByContent","flipVariationsByContent","flippedVariation","getOppositeVariation","subtractLength","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","shouldRound","noRound","referenceWidth","popperWidth","isVariation","horizontalToInteger","verticalToInteger","getRoundedOffsets","devicePixelRatio","prefixedProperty","invertTop","invertLeft","onLoad","modifierOptions","jquery","Utils","PopperUtils","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","run","runClearTimeout","Item","nextTick","env","argv","versions","cwd","chdir","umask","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","secret","getShim","ReactPropTypes","any","arrayOf","instanceOf","objectOf","oneOfType","exact","checkPropTypes","PropTypes","shallowEqual","objA","objB","keysA","keysB","Clock","_propTypes","_mergeClassNames","_Hand","_Mark","_dates","angle","hourHandLength","hourHandOppositeLength","hourHandWidth","hourMarksLength","hourMarksWidth","minuteHandLength","minuteHandOppositeLength","minuteHandWidth","minuteMarksLength","minuteMarksWidth","renderHourMarks","renderMinuteHand","renderMinuteMarks","renderNumbers","renderSecondHand","secondHandLength","secondHandOppositeLength","secondHandWidth","dateTime","minuteMarks","renderMinuteMarksFn","hourMarks","renderHourMarksFn","oppositeLength","renderMinuteHandFn","renderSecondHandFn","isHandLength","isOppositeHandLength","isHandWidth","isMarkLength","isMarkWidth","Hand","Mark","_Clock","hourOptionalSecondsRegExp","hourString","minuteString","hourRegExp","secondString","isNumberBetween","PureCalendarDay","_object2","_reactMomentProptypes2","_airbnbPropTypes","_reactWithStyles","_moment2","_defaultPhrases","_getPhrasePropTypes2","_getCalendarDaySettings2","_ModifiersShape2","_baseClass","_baseClass2","_constants","withStylesPropTypes","momentObj","isOutsideDay","ariaLabelFormat","CalendarDayPhrases","DAY_SIZE","CalendarDay","_BaseClass","setButtonRef","_getCalendarDaySettin","daySizeStyles","useDefaultCursor","hoveredSpan","CalendarDay__defaultCursor","CalendarDay__default","CalendarDay__outside","CalendarDay__today","CalendarDay__firstDayOfWeek","CalendarDay__lastDayOfWeek","CalendarDay__hovered_offset","CalendarDay__highlighted_calendar","CalendarDay__blocked_minimum_nights","CalendarDay__blocked_calendar","CalendarDay__hovered_span","CalendarDay__selected_span","CalendarDay__last_in_range","CalendarDay__selected_start","CalendarDay__selected_end","CalendarDay__selected","CalendarDay__blocked_out_of_range","_ref2$reactDates","reactDates","borderLight","borderBright","outside","minimumNights","backgroundColor_hover","color_active","backgroundColor_active","highlighted","selectedSpan","blocked_calendar","blocked_out_of_range","pureComponent","pureComponentAvailable","CalendarIcon","_CalendarWeek2","_CalendarDay2","_calculateDimension2","_getCalendarMonthWeeks2","_isSameDay2","_toISODateString2","_ScrollableOrientationShape2","_DayOfWeekShape2","horizontalMonthPadding","renderCalendarDay","setMonthTitleHeight","verticalBorderSpacing","focusedDate","HORIZONTAL_ORIENTATION","CalendarMonth","setCaptionRef","setMonthTitleHeightTimeout","prevMonth","prevEnableOutsideDays","prevFirstDayOfWeek","captionRef","monthTitle","verticalScrollable","VERTICAL_SCROLLABLE","CalendarMonth_caption","CalendarMonth_caption__verticalScrollable","CalendarMonth_table","CalendarMonth_verticalSpacing","dayOfWeek","_ref$reactDates","captionSize","captionPaddingTop","captionPaddingBottom","_consolidatedEvents","_CalendarMonth2","_isTransitionEndSupported2","_getTransformStyles2","_getCalendarMonthWidth2","_toISOMonthString2","_isPrevMonth2","_isNextMonth2","firstVisibleMonthIndex","isAnimating","onMonthTransitionEnd","onYearChange","translationValue","withoutTransitionMonths","CalendarMonthGrid","isTransitionEndSupported","setContainerRef","prevInitialMonth","hasNumberOfMonthsChanged","newMonths","momentLocale","currentMonth","newMonthVal","newMonth","initialMonthSubtraction","newYearVal","VERTICAL_ORIENTATION","isVerticalScrollable","calendarMonthWidth","transformValue","CalendarMonthGrid__horizontal","CalendarMonthGrid__vertical","CalendarMonthGrid__vertical_scrollable","CalendarMonthGrid__animating","hideForAnimation","showForAnimation","monthString","CalendarMonthGrid_month__horizontal","CalendarMonthGrid_month__hideForAnimation","CalendarMonthGrid_month__hidden","noScrollBarOnVerticalScrollable","dayPickerHorizontalPadding","CalendarWeek","CloseButton","PureCustomizableCalendarDay","selectedStyles","lastInRangeStyles","selectedSpanStyles","hoveredSpanStyles","blockedOutOfRangeStyles","blockedCalendarStyles","blockedMinNightsStyles","highlightedCalendarStyles","outsideStyles","defaultStyles","getStyles","stylesObj","isHovered","DayStyleShape","todayStyles","firstDayOfWeekStyles","lastDayOfWeekStyles","selectedStartStyles","selectedEndStyles","afterHoveredStartStyles","CustomizableCalendarDay","defaultStylesWithHover","outsideStylesWithHover","todayStylesWithHover","firstDayOfWeekStylesWithHover","lastDayOfWeekStylesWithHover","highlightedCalendarStylesWithHover","blockedMinNightsStylesWithHover","blockedCalendarStylesWithHover","blockedOutOfRangeStylesWithHover","hoveredSpanStylesWithHover","selectedSpanStylesWithHover","lastInRangeStylesWithHover","selectedStylesWithHover","selectedStartStylesWithHover","selectedEndStylesWithHover","afterHoveredStartStylesWithHover","_throttle2","_isTouchDevice2","_getInputHeight2","_OpenDirectionShape2","FANG_PATH_TOP","FANG_HEIGHT_PX","FANG_WIDTH_PX","FANG_STROKE_TOP","FANG_PATH_BOTTOM","FANG_STROKE_BOTTOM","screenReaderMessage","showCaret","verticalSpacing","onKeyDownShiftTab","onKeyDownTab","onKeyDownArrowDown","onKeyDownQuestionMark","DEFAULT_VERTICAL_SPACING","DateInput","isTouchDevice","setInputRef","throttledKeyDown","onFinalKeyDown","MODIFIER_KEY_NAMES","screenReaderMessageId","withFang","inputHeight","DateInput__small","DateInput__block","DateInput__withFang","DateInput__disabled","DateInput__openDown","OPEN_UP","DateInput__openUp","DateInput_input","DateInput_input__small","DateInput_input__regular","DateInput_input__readOnly","DateInput_input__focused","DateInput_input__disabled","DateInput_fang","DateInput_fangShape","DateInput_fangStroke","DateInput_screenReaderMessage","sizing","inputPadding","inputWidth","inputWidth_small","textDisabled","displayTextPaddingVertical","displayTextPaddingHorizontal","displayTextPaddingTop","displayTextPaddingBottom","displayTextPaddingLeft","displayTextPaddingRight","size_small","lineHeight_small","letterSpacing_small","displayTextPaddingVertical_small","displayTextPaddingHorizontal_small","displayTextPaddingTop_small","displayTextPaddingBottom_small","displayTextPaddingLeft_small","displayTextPaddingRight_small","outlineFocused","backgroundFocused","borderFocused","borderTopFocused","borderRightFocused","borderBottomFocused","borderLeftFocused","styleDisabled","PureDateRangePicker","_reactPortal","_reactOutsideClickHandler2","_DateRangePickerShape2","_getResponsiveContainerStyles2","_getDetachedContainerStyles2","_isInclusivelyAfterDay2","_disableScroll3","_DateRangePickerInputController2","_DayPickerRangeController2","_CloseButton2","focusedInput","startDatePlaceholderText","endDatePlaceholderText","showClearDates","showDefaultInputIcon","ICON_BEFORE_POSITION","customArrowIcon","customCloseIcon","noBorder","keepFocusOnInput","horizontalMargin","withPortal","withFullScreenPortal","reopenPickerOnClearDates","renderCalendarInfo","calendarInfoPosition","INFO_POSITION_BOTTOM","verticalHeight","navPrev","navNext","DateRangePickerPhrases","dayPickerContainerStyles","isDateRangePickerInputFocused","isDayPickerFocused","showKeyboardShortcuts","onDateRangePickerInputFocus","onDayPickerFocus","onDayPickerBlur","showKeyboardShortcutsPanel","responsivizePickerPosition","setDayPickerContainerRef","isOpened","enableScroll","dayPickerContainer","START_DATE","END_DATE","propDisableScroll","isAnchoredLeft","containerRect","containerEdge","_props6","renderDayPicker","_props7","onDatesChange","initialVisibleMonthThunk","DateRangePicker_closeButton_svg","withAnyPortal","DateRangePicker_picker","DateRangePicker_picker__directionLeft","DateRangePicker_picker__directionRight","DateRangePicker_picker__horizontal","DateRangePicker_picker__vertical","DateRangePicker_picker__portal","DateRangePicker_picker__fullScreenPortal","DateRangePicker_picker__rtl","DateRangePicker_closeButton","closeDatePicker","_props8","startDateId","endDateId","enableOutsideClick","hideFang","isStartDateFocused","isEndDateFocused","DateRangePicker__block","maybeRenderDayPickerWithPortal","grayLighter","_DateInput2","_RightArrow2","_LeftArrow2","_CalendarIcon2","onStartDateFocus","onEndDateFocus","onStartDateChange","onEndDateChange","onStartDateShiftTab","onEndDateTab","onClearDates","DateRangePickerInputPhrases","DateRangePickerInput","calendarIcon","DateRangePickerInput_calendarIcon_svg","arrowIcon","DateRangePickerInput_arrow_svg","DateRangePickerInput_clearDates_svg","DateRangePickerInput_clearDates_svg__small","screenReaderText","keyboardNavigationInstructions","inputIcon","DateRangePickerInput_calendarIcon","focusStartDate","startDateDisabled","endDateDisabled","DateRangePickerInput__disabled","DateRangePickerInput__rtl","DateRangePickerInput__withBorder","DateRangePickerInput__block","DateRangePickerInput__showClearDates","DateRangePickerInput_arrow","clearDates","DateRangePickerInput_clearDates","DateRangePickerInput_clearDates__small","DateRangePickerInput_clearDates_default","DateRangePickerInput_clearDates__hide","pickerInput","arrowWidth","grayLight","_DateRangePickerInput2","_IconPositionShape2","_DisabledShape2","_toMomentObject2","_toLocalizedDateString2","_isBeforeDay2","DateRangePickerInputController","onClearFocus","endDateString","getDisplayFormat","startDateString","isEndDateBeforeStartDate","getDateString","PureDayPicker","_CalendarMonthGrid2","_DayPickerNavigation2","_DayPickerKeyboardShortcuts","_DayPickerKeyboardShortcuts2","_getNumberOfCalendarMonthWeeks2","_getActiveElement2","_isDayVisible2","_CalendarInfoPositionShape2","PREV_TRANSITION","NEXT_TRANSITION","MONTH_SELECTION_TRANSITION","YEAR_SELECTION_TRANSITION","noNavButtons","onMultiplyScrollableMonths","getFirstFocusableDay","DayPickerPhrases","DayPicker","hasSetInitialVisibleMonth","monthTransition","scrollableMonthMultiple","nextFocusedDate","onKeyboardShortcutsPanelClose","withMouseInteractions","calendarInfoWidth","monthTitleHeight","hasSetHeight","setCalendarMonthWeeks","calendarMonthGridHeight","setCalendarInfoWidthTimeout","multiplyScrollableMonths","updateStateAfterMonthTransition","openKeyboardShortcutsPanel","closeKeyboardShortcutsPanel","setCalendarInfoRef","setTransitionContainerRef","calendarInfo","prevIsFocused","prevRenderMonthText","getFocusedDay","calendarInfoPanelWidth","visibleCalendarWeeks","calendarMonthWeeks","newMonthHeight","adjustDayPickerHeight","newFocusedDate","didTransitionMonth","maybeTransitionPrevMonth","maybeTransitionNextMonth","calculateAndSetDayPickerHeight","getFirstDayOfWeek","numberOfWeeks","transitionContainer","newFocusedDateMonth","focusedDateMonth","isNewFocusedDateVisible","_state6","_state7","newInvisibleMonth","_newInvisibleMonth","_numberOfWeeks","monthHeight","onCloseCallBack","_props9","_props10","horizontalStyle","verticalStyle","weekHeaderStyle","DayPicker_weekHeader_li","DayPicker_weekHeader","DayPicker_weekHeader__vertical","DayPicker_weekHeader__verticalScrollable","DayPicker_weekHeader_ul","_this7","_state8","_props11","numOfWeekHeaders","weekHeaders","renderWeekHeader","isCalendarMonthGridAnimating","shouldFocusDate","keyboardShortcutButtonLocation","BOTTOM_RIGHT","TOP_LEFT","TOP_RIGHT","shouldAnimateHeight","calendarInfoPositionTop","INFO_POSITION_TOP","calendarInfoPositionBottom","calendarInfoPositionBefore","INFO_POSITION_BEFORE","calendarInfoPositionAfter","INFO_POSITION_AFTER","calendarInfoIsInline","DayPicker_calendarInfo__horizontal","getFirstVisibleIndex","wrapperHorizontalWidth","fullHorizontalWidth","transitionContainerStyle","dayPickerWrapperStyle","dayPickerStyle","calendarLabel","DayPicker__horizontal","DayPicker__verticalScrollable","DayPicker_portal__horizontal","DayPicker_portal__vertical","DayPicker__hidden","DayPicker__withBorder","DayPicker_wrapper__horizontal","DayPicker_weekHeaders","DayPicker_weekHeaders__horizontal","DayPicker_focusRegion","renderNavigation","DayPicker_transitionContainer","DayPicker_transitionContainer__horizontal","DayPicker_transitionContainer__vertical","DayPicker_transitionContainer__verticalScrollable","buttonLocation","placeholderText","_KeyboardShortcutRow2","DayPickerKeyboardShortcutsPhrases","getKeyboardShortcuts","unicode","enterKey","selectFocusedDate","leftArrowRightArrow","moveFocusByOneDay","upArrowDownArrow","moveFocusByOneWeek","pageUpPageDown","moveFocusByOneMonth","homeEnd","moveFocustoStartAndEndOfWeek","returnFocusToInput","questionMark","openThisPanel","DayPickerKeyboardShortcuts","keyboardShortcuts","onShowKeyboardShortcutsButtonClick","setShowKeyboardShortcutsButtonRef","setHideKeyboardShortcutsButtonRef","showKeyboardShortcutsButton","hideKeyboardShortcutsButton","toggleButtonText","bottomRight","topRight","topLeft","DayPickerKeyboardShortcuts_buttonReset","DayPickerKeyboardShortcuts_show","DayPickerKeyboardShortcuts_show__bottomRight","DayPickerKeyboardShortcuts_show__topRight","DayPickerKeyboardShortcuts_show__topLeft","DayPickerKeyboardShortcuts_showSpan","DayPickerKeyboardShortcuts_showSpan__bottomRight","DayPickerKeyboardShortcuts_showSpan__topRight","DayPickerKeyboardShortcuts_showSpan__topLeft","DayPickerKeyboardShortcuts_panel","DayPickerKeyboardShortcuts_title","DayPickerKeyboardShortcuts_close","DayPickerKeyboardShortcuts_closeSvg","DayPickerKeyboardShortcuts_list","_ref3$reactDates","primary_dark","_ChevronUp2","_ChevronDown2","DayPickerNavigationPhrases","DayPickerNavigation","navPrevIcon","navNextIcon","isDefaultNavPrev","isDefaultNavNext","DayPickerNavigation_svg__horizontal","DayPickerNavigation_svg__vertical","isDefaultNav","DayPickerNavigation__horizontal","DayPickerNavigation__vertical","DayPickerNavigation__verticalDefault","DayPickerNavigation__verticalScrollable","DayPickerNavigation__verticalScrollableDefault","DayPickerNavigation_button","DayPickerNavigation_button__default","DayPickerNavigation_button__horizontal","DayPickerNavigation_button__horizontalDefault","DayPickerNavigation_leftButton__horizontalDefault","DayPickerNavigation_rightButton__horizontalDefault","DayPickerNavigation_button__vertical","DayPickerNavigation_button__verticalDefault","DayPickerNavigation_prevButton__verticalDefault","jumpToPrevMonth","DayPickerNavigation_nextButton__vertical","DayPickerNavigation_nextButton__verticalDefault","DayPickerNavigation_nextButton__verticalScrollableDefault","jumpToNextMonth","borderMedium","backgroundDark","_object4","_isNextDay2","_isAfterDay2","_getVisibleDays2","_getSelectedDateOffset2","_FocusedInputShape2","_DayPicker2","startDateOffset","endDateOffset","getChooseAvailableDatePhrase","chooseAvailableStartDate","chooseAvailableEndDate","chooseAvailableDate","DayPickerRangeController","blocked","isBlocked","valid","isStartDate","isEndDate","doesNotMeetMinimumNights","isInSelectedSpan","isLastInRange","hovered","isInHoveredSpan","isDayAfterHoveredStartDate","isFirstDayOfWeek","isLastDayOfWeek","_this$getStateForNewM","getStateForNewMonth","hoverDate","prevStartDate","prevEndDate","prevFocusedInput","prevMinimumNights","prevIsOutsideRange","prevIsDayBlocked","prevIsDayHighlighted","prevPhrases","prevInitialVisibleMonth","prevNumberOfMonths","recomputeOutsideRange","recomputeDayBlocked","recomputeDayHighlighted","recomputePropModifiers","didStartDateChange","didEndDateChange","didFocusChange","newMonthState","deleteModifier","addModifier","startSpan","endSpan","deleteModifierFromRange","addModifierToRange","_startSpan","_endSpan","_startSpan2","lastAllowedStartDate","isStartDateAfterEndDate","isEndDateDisabled","firstAllowedEndDate","dateOffset","hasOffset","rangeDay","_endSpan2","_endSpan3","newStartSpan","newEndSpan","_endSpan4","newVisibleDays","prevMonthVisibleDays","newCurrentMonth","getModifiers","nextMonthVisibleDays","numberOfVisibleMonths","currentDay","viableDays","getModifiersForDay","updatedDays","_props12","firstVisibleMonth","updatedDaysAfterAddition","monthKey","monthIso","spanStart","_props13","updatedDaysAfterDeletion","_props14","dayDiff","_props15","_props16","isForwardRange","isBackwardRange","isValidDayHovered","_props17","_props18","_props19","prevFocused","prevDate","_viableDays","KeyboardShortcutRow","KeyboardShortcutRow__block","KeyboardShortcutRow_keyContainer","KeyboardShortcutRow_keyContainer__block","KeyboardShortcutRow_key","KeyboardShortcutRow_action","grayLightest","LeftArrow","RightArrow","PureSingleDatePicker","_SingleDatePickerShape2","_SingleDatePickerInput2","_DayPickerSingleDateController2","showClearDate","reopenPickerOnClearDate","SingleDatePicker","clearDate","SingleDatePicker_picker","SingleDatePicker_picker__directionLeft","SingleDatePicker_picker__directionRight","SingleDatePicker_picker__openDown","SingleDatePicker_picker__openUp","SingleDatePicker_picker__horizontal","SingleDatePicker_picker__vertical","SingleDatePicker_picker__portal","SingleDatePicker_picker__fullScreenPortal","SingleDatePicker_picker__rtl","SingleDatePicker_closeButton","SingleDatePicker_closeButton_svg","onClearDate","SingleDatePicker__block","SingleDatePickerInputPhrases","SingleDatePickerInput","SingleDatePickerInput_calendarIcon_svg","SingleDatePickerInput_clearDate_svg","SingleDatePickerInput_clearDate_svg__small","SingleDatePickerInput_calendarIcon","SingleDatePickerInput__disabled","SingleDatePickerInput__rtl","SingleDatePickerInput__withBorder","SingleDatePickerInput__block","SingleDatePickerInput__showClearDate","SingleDatePickerInput_clearDate","SingleDatePickerInput_clearDate__small","SingleDatePickerInput_clearDate__default","SingleDatePickerInput_clearDate__hide","onClearDateMouseEnter","onClearDateMouseLeave","DISPLAY_FORMAT","ISO_FORMAT","ISO_MONTH_FORMAT","BLOCKED_MODIFIER","WEEKDAYS","dateIsUnavailable","dateIsSelected","_DayPickerSingleDateController","_SingleDatePicker","_OrientationShape2","_AnchorDirectionShape2","firstError","_PropTypes$string","fakePropName","borderLighter","primaryShade_1","primaryShade_2","primaryShade_3","primaryShade_4","yellow","yellow_dark","textFocused","color_hover","borderColor_active","borderColor_hover","_reactAddonsShallowCompare2","BaseClass","PureComponent","borderBox","withMargin","axisStart","axisEnd","getScrollAncestorsOverflowY","scrollAncestorsOverflowY","ancestor","getScrollingRoot","scrollingRoot","formattedDate","_getPhrase2","lastOfMonth","prevDays","nextDays","totalDays","weeksInMonth","calendarMonthPadding","referenceEl","referenceRect","getPadding","isTopDefined","isBottomDefined","isVerticalDefined","_ref$font$input","_ref$spacing","calcLineHeight","firstDayOfMonth","numBlankDays","getBlankDaysBeforeFirstDay","phrase","defaultPhrases","windowWidth","calculatedOffset","calculatedMargin","defaultModifier","MozTransform","WebkitTransform","visibleDaysByMonth","baseDate","prevDay","aYear","aMonth","bYear","bMonth","isSameYear","firstDayOfFirstMonth","lastDayOfLastMonth","_isSameMonth2","_registerInterfaceWithDefaultTheme2","_reactWithStylesInterfaceCss2","reactWithStylesInterface","_ThemedStyleSheet2","registerInterface","registerTheme","_DefaultTheme2","currentFormat","dateObj","customFormat","dateFormats","LocaleUtils","ModifiersUtils","Weekday","WeekdayPropTypes","NavbarPropTypes","_LocaleUtils2","_keys","isSameDay","d1","d2","isSameMonth","isDayBefore","isDayAfter","isPastDay","isFutureDay","isDayBetween","addDayToRange","isDayInRange","getWeekNumber","_DateUtils","_Helpers","propNames","nextPropNames","nextProp","nextModifiers","mod","ariaDisabled","ariaSelected","_Caption2","_Navbar2","_Month2","_Weekday2","Helpers","dayPicker","allowNextMonth","deltaMonths","allowPreviousMonth","cancelEvent","handleDayKeyDown","focusNextDay","focusPreviousDay","focusPreviousWeek","focusNextWeek","handleDayClick","enableOutsideDaysClick","handleOutsideDayClick","handleTodayButtonClick","getCurrentMonthFromProps","startOfMonth","diffInMonths","getMonthsDiff","allowMonth","canChangeMonth","allowYearChange","getDayNodes","dayNodes","dayNode","dayNodeIndex","nodeListToArray","focusLastDayOfMonth","focusFirstDayOfMonth","nextMonthDayNodeIndex","previousMonthDayNodes","getNextNavigableMonth","getPreviousNavigableMonth","getFirstDayOfWeekFromProps","renderTodayButton","interactionDisabled","containerProps","renderNavbar","renderMonths","renderFooter","formatWeekdayShort","formatWeekdayLong","fixedWeeks","weekNumber","getFirstDayOfMonth","getModifiersFromProps","_props$locale","_props$localeUtils","isRangeOfDates","getWeekArray","_LocaleUtils","dayArray","weekArray","firstWeek","outsideDate","_outsideDate","lastExtraWeek","extraWeek","_outsideDate2","outsideClassName","nodeList","resultDate","formatDay","WEEKDAYS_LONG","WEEKDAYS_SHORT","MONTHS","toDateString","dayMatchesModifier","daysOfWeek","modifiersObj","_Weekdays2","_Day2","Month","monthNumber","propModifiers","dayModifiers","isOutside","captionProps","handleNextClick","handlePreviousClick","handleNextKeyDown","handlePreviousKeyDown","previousClickHandler","nextClickHandler","previousKeyDownHandler","nextKeyDownHandler","shouldShowPrevious","shouldShowNext","previousClassName","navButtonInteractionDisabled","nextClassName","ModifierPropType","PrimitiveTypes","Weekdays","weekdaysRow","aa","q","ba","ca","da","ea","extractEvents","eventTypes","fa","phasedRegistrationNames","ha","registrationName","ia","ja","dependencies","ka","la","ma","na","oa","pa","qa","sa","ta","va","wa","ra","xa","ya","za","Aa","_dispatchListeners","_dispatchInstances","isPropagationStopped","isPersistent","release","Ba","Ca","injectEventPluginOrder","injectEventPluginsByName","Da","stateNode","Ea","Fa","Ga","Ha","Ia","Ja","Ka","La","Ma","dispatchConfig","Na","_targetInst","Oa","Pa","Qa","Ra","Sa","Ta","animationend","animationiteration","animationstart","transitionend","Ua","Va","Wa","Xa","Ya","Za","ab","bb","db","eb","fb","gb","hb","nativeEvent","Interface","isDefaultPrevented","returnValue","jb","eventPool","kb","destructor","ib","getPooled","cancelBubble","eventPhase","bubbles","cancelable","timeStamp","isTrusted","lb","mb","nb","ob","pb","qb","sb","tb","ub","beforeInput","bubbled","captured","compositionEnd","compositionStart","compositionUpdate","vb","wb","xb","detail","yb","Cb","Ab","Bb","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","Mb","Nb","Ob","Pb","Qb","Rb","srcElement","correspondingUseElement","Sb","Tb","Vb","_valueTracker","stopTracking","Ub","Wb","Xb","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentDispatcher","ReactCurrentBatchConfig","suspense","Yb","Zb","$b","ac","bc","cc","dc","ec","fc","gc","hc","ic","jc","kc","lc","mc","oc","_status","_result","pc","_debugOwner","_debugSource","qc","rc","sc","tc","acceptsBooleans","attributeNamespace","mustUseProperty","propertyName","sanitizeURL","xc","yc","zc","vc","wc","uc","setAttributeNS","Ac","Bc","_wrapperState","initialChecked","Cc","initialValue","Dc","Ec","Fc","Gc","Hc","change","Ic","Jc","Kc","Lc","Mc","Nc","Oc","Pc","detachEvent","Qc","Rc","attachEvent","Sc","Tc","Uc","Vc","_isInputEventSupported","Wc","Xc","Alt","Control","Meta","Shift","Yc","getModifierState","Zc","$c","ad","bd","cd","screenX","screenY","fromElement","toElement","movementX","movementY","ed","pointerId","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","fd","mouseEnter","mouseLeave","pointerEnter","pointerLeave","gd","parentWindow","alternate","hd","jd","kd","responder","ld","effectTag","od","qd","sibling","pd","rd","elapsedTime","pseudoElement","sd","clipboardData","ud","charCode","vd","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Apps","Scroll","MozPrintableKey","wd","16","17","18","19","27","32","33","34","35","36","37","38","39","45","46","112","113","114","115","116","117","118","119","120","121","122","123","144","145","224","xd","yd","dataTransfer","zd","targetTouches","Ad","Bd","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","Cd","Dd","Ed","Fd","Gd","Hd","Id","Jd","Kd","Ld","eventPriority","Md","getEventPriority","Nd","Od","Pd","targetInst","ancestors","topLevelType","Qd","Rd","Sd","Td","Ud","Vd","Wd","Xd","Yd","Zd","$d","ae","HTMLIFrameElement","be","contentEditable","ce","de","ee","fe","ge","he","ie","anchorNode","getSelection","focusNode","focusOffset","je","le","ke","me","ne","oe","pe","qe","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","te","ue","ve","namespaceURI","MSApp","execUnsafeLocalFunction","we","xe","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flexPositive","flexNegative","flexOrder","gridRowEnd","gridRowSpan","gridRowStart","gridColumnEnd","gridColumnSpan","gridColumnStart","lineClamp","orphans","tabSize","widows","zoom","floodOpacity","strokeMiterlimit","strokeOpacity","ye","ze","Ae","Ce","menuitem","br","col","embed","hr","keygen","param","wbr","De","Ee","Fe","Ge","He","Ie","Je","Ke","Le","Me","Ne","Oe","Pe","Qe","Re","Se","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","Te","Ue","Ve","We","getChildContext","Xe","__reactInternalMemoizedMergedChildContext","Ye","Ze","unstable_runWithPriority","$e","unstable_scheduleCallback","af","unstable_cancelCallback","bf","unstable_shouldYield","cf","unstable_requestPaint","df","unstable_now","ef","unstable_getCurrentPriorityLevel","ff","unstable_ImmediatePriority","hf","unstable_UserBlockingPriority","jf","unstable_NormalPriority","kf","unstable_LowPriority","lf","unstable_IdlePriority","mf","nf","of","pf","qf","rf","sf","tf","uf","vf","wf","xf","yf","zf","Af","Cf","Df","Ef","Ff","Gf","Hf","_context","_currentValue","If","Jf","childExpirationTime","Kf","firstContext","expirationTime","Lf","Mf","observedBits","responders","Nf","Of","firstUpdate","lastUpdate","firstCapturedUpdate","lastCapturedUpdate","firstEffect","lastEffect","firstCapturedEffect","lastCapturedEffect","Pf","Qf","suspenseConfig","nextEffect","Rf","Sf","updateQueue","memoizedState","Tf","Uf","Vf","Wf","Xf","z","Yf","Zf","$f","ag","bg","fg","isMounted","_reactInternalFiber","enqueueSetState","cg","dg","eg","enqueueReplaceState","enqueueForceUpdate","isPureReactComponent","hg","ig","jg","kg","_owner","_stringRef","mg","ng","og","pg","qg","rg","sg","rb","Be","tg","ug","vg","wg","xg","yg","zg","Ag","Bg","Cg","Dg","Hg","memoizedProps","revealOrder","Qg","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","ch","dh","eh","fh","ih","jh","kh","lh","mh","lastRenderedReducer","lastRenderedState","eagerReducer","eagerState","nh","deps","oh","ph","qh","rh","sh","readContext","useImperativeHandle","useReducer","useDebugValue","useResponder","Pg","Kg","uh","vh","wh","xh","yh","pendingProps","zh","Ah","Bh","Ch","Dh","ReactCurrentOwner","Eh","Fh","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","pendingContext","Th","Vh","Wh","Oh","Ph","unstable_avoidThisFallback","Qh","isBackwards","rendering","tailExpiration","tailMode","Rh","Sh","$h","ai","bi","onclick","ci","di","gi","fi","hi","ji","ei","ki","mi","ni","_reactRootContainer","oi","wasMultiple","pi","qi","ri","si","ti","ui","vi","wi","xi","yi","zi","Ai","Ji","Ki","Li","Mi","Ni","Pi","Qi","Ri","Si","Ti","Ui","Vi","Wi","timeoutMs","Xi","Yi","pingTime","Zi","firstPendingTime","lastPendingTime","callbackExpirationTime","callbackNode","$i","aj","bj","cj","ej","fj","gj","hj","finishedWork","finishedExpirationTime","timeoutHandle","ij","pingCache","kj","lj","firstBatch","_defer","_expirationTime","_onComplete","dj","busyMinDurationMs","busyDelayMs","mj","createElementNS","nj","rangeCount","zb","focusedElem","selectionRange","ua","gh","oj","__reactInternalSnapshotBeforeUpdate","removeAllRanges","addRange","$a","nc","Fj","Xh","Yh","Gj","nd","Zh","gf","pj","qj","rj","_ctor","Bf","sj","hydrate","_calculateChangedBits","unstable_observedBits","uj","pendingChildren","vj","wj","xj","yj","zj","Aj","Bj","_next","_hasChildren","_didComplete","Cj","_didCommit","_onCommit","Dj","_internalRoot","Ej","Hj","Jj","Ij","Kj","unmount","createBatch","Nj","createPortal","unstable_renderSubtreeIntoContainer","unmountComponentAtNode","unstable_createPortal","unstable_batchedUpdates","unstable_interactiveUpdates","unstable_discreteUpdates","unstable_flushDiscreteUpdates","flushSync","unstable_createRoot","unstable_createSyncRoot","unstable_flushControlled","Events","findFiberByHostInstance","__REACT_DEVTOOLS_GLOBAL_HOOK__","isDisabled","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","tj","overrideHookState","overrideProps","setSuspenseHandler","currentDispatcherRef","findHostInstanceByFiber","findHostInstancesForRefresh","scheduleRefresh","scheduleRoot","setRefreshHandler","getCurrentFiber","bundleType","rendererPackageName","Oj","Pj","checkDCE","getRect","consoleOnDev","warnOnDev","_excluded","_getPrototypeOf","enumerableOnly","_objectSpread","getOwnPropertyDescriptors","isDisplayContentsSupported","supports","isMutationObserverSupported","findScrollContainer","alignAxis","invertAxis","scrollContainerCollisions","documentCollisions","isX","startProperty","endProperty","sizeProperty","overflowStartProperty","overflowEndProperty","scrollProperty","uppercasedSizeProperty","offsetSizeProperty","clientSizeProperty","minSizeProperty","startSpacing","availableStartSpace","endSpacing","availableEndSpace","offsetSize","displayStart","displayEnd","displayIfFits","availableSpace","fits","displayStartIfFits","displayEndIfFits","moreSpaceStart","minSize","shrinkToSize","newSize","displayWhereverShrinkedFits","alignBothAxis","invertSecondaryAxis","commonArgs","alignMainAxis","alignSecondaryAxis","Fit","Derived","hasNativeReflectConstruct","_super","construct","sham","_isNativeReflectConstruct","Super","NewTarget","fit","onMutation","_assertThisInitialize","elementWidth","elementHeight","parentPosition","mainAxis","mutationObserver","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Lazy","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isForwardRef","isFragment","isPortal","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","invalidPredicate","invalidPropValidator","requiredCore","invalidTypeCore","predicateFailureCore","anonymousMessage","baseInvalidMessage","constructPropValidatorVariations","propValidator","requiredPropValidator","withPredicate","basePropValidator","createInvalidRequiredErrorMessage","createMomentChecker","typeValidator","validator","momentType","preValidationRequireCheckValue","isPropValueUndefined","isPropValueNull","preValidationRequireCheck","predicateName","momentValidationWrapper","isValidMoment","momentString","momentDurationObj","testMoment","_document2","DISPLAY","BLOCK","FLEX","INLINE","INLINE_BLOCK","CONTENTS","useCapture","OutsideClickHandler","setChildNodeRef","addMouseDownEventListener","prevDisabled","removeEventListeners","removeMouseUp","isDescendantOfRoot","removeMouseDown","defaultNode","renderPortal","portal","LegacyPortal","PortalWithState","portalNode","defaultOpen","openPortal","closePortal","wrapWithPortal","handleOutsideMouseClick","handleKeydown","closeOnEsc","closeOnOutsideClick","stopImmediatePropagation","_dateUtils","_Divider","_Hour12Input","_Hour24Input","_MinuteInput","_SecondInput","_NativeInput","_AmPm","_dateFormatter","allViews","isValidInput","findInput","nextElement","TimeInput","_PureComponent","_getPrototypeOf2","_event$target","convert12to24","onChangeExternal","formElements","hour12Input","hour24Input","minuteInput","secondInput","amPmInput","formElementsWithoutSelect","formElement","validity","proposedValue","getProcessedValue","currentMatch","renderHour12","renderHour24","hourPlaceholder","showLeadingZeros","commonInputProps","minutePlaceholder","_this$state2","secondAriaLabel","secondPlaceholder","_this$state3","onChangeAmPm","isClockOpen","date1","date2","_convert24to2","convert24to12","_iterableToArrayLimit","valueType","processFunction","elementFunctions","allowMultipleInstances","usedFunctions","_arrayWithoutHoles","_nonIterableSpread","renderFunction","elementFunction","_renderCustomInputs","renderHour","renderMinute","renderSecond","renderAmPm","nativeInputAriaLabel","onChangeNative","renderNativeInput","renderCustomInputs","level","getFormatter","useGrouping","_this$props7","formatTime","formatNumber","getAmPmLabels","_this$props8","AmPm","amDisabled","pmDisabled","_getAmPmLabels2","amLabel","pmLabel","Hour12Input","_Input","maxHourResult","_convert24to4","minHourResult","maxHour","safeMin","minHour","safeMax","value12","nameForClass","Hour24Input","_updateInputWidth","numberRegExp","makeOnKeyPress","selection","_onKeyUp","_ref$placeholder","hasLeadingZero","fonts","getFontShorthand","updateInputWidthOnFontLoad","MinuteInput","_ref$showLeadingZeros","isSameHour","maxMinute","minMinute","NativeInput","nativeValueParser","receivedValue","isValueType","SecondInput","isSameMinute","maxSecond","minSecond","_makeEventProps","_reactFit","_entry","_TimeInput","baseClassName","outsideActionEvents","closeClock","openClock","isOpenProps","handleOutsideActionListeners","onClockClose","onClockOpen","callIfDefined","shouldListen","fnName","onOutsideAction","clearAriaLabel","clockAriaLabel","clockIcon","valueFrom","ariaLabelProps","placeholderProps","resetValue","toggleClock","clockClassName","clockProps","maxDetailIndex","renderInputs","renderClock","iconProps","ClockIcon","ClearIcon","isValue","_TimePicker","toLocaleString","_getUserLocale","allValueTypes","amString","amPmFormatter","pmString","_amString$split2","ninesRegExp","am1","am2","_pmString$split2","pm1","pm2","isValidNumber","maybeNode","maybeAppearing","maybeNextCallback","CHANNEL","DIRECTIONS","LTR","RTL","getState","subscribe","_arrayPrototype2","_globalCache2","_getClassName2","_separateStyles3","stylesObject","stylesToClasses","styleNames","_sharedState$namespac","GLOBAL_CACHE_KEY","namespace","styleName","stylesArray","flattenedStyles","_separateStyles","hasInlineStyles","MAX_SPECIFICITY","styleInterface","styleTheme","makeFromTheme","createWithDirection","createLTR","resolveLTR","interfaceToRegister","createRTL","resolveRTL","styleFn","_ref$stylesPropName","stylesPropName","_ref$themePropName","themePropName","_ref$cssPropName","cssPropName","_ref$flushBefore","flushBefore","_ref$pureComponent","styleDefLTR","styleDefRTL","currentThemeLTR","currentThemeRTL","baseClass","getResolveMethod","getCurrentTheme","getStyleDef","wrappedComponentName","currentTheme","styleDef","registeredTheme","EMPTY_STYLES_FN","resolveMethod","defaultDirection","channelUnsubscribe","_hoistNonReactStatics2","_brcast2","EMPTY_STYLES","forceUpdate","keyPrefix","createRef","_currentValue2","_threadCount","lazy","unstable_SuspenseList","createFactory","unstable_withSuspenseConfig","IsSomeRendererActing","arrayToObject","prop2","inclusee","flipTransformSign","getValuesAsList","openParansCount","closedParansCount","parensDepth","handleQuartetValues","splitValues","propertyValueConverters","textShadow","negative","_value$split","radius1","radius2","valuesToConvert","bgImgDirectionRegex","bgPosDirectionRegex","backgroundPositionValue","_ref6","g1","group2","_ref7","calculateNewBackgroundPosition","backgroundPositionX","_ref8","_ref9","propertiesToConvert","transitionProperty","_ref10","_ref11","escapePattern","signedQuantPattern","translateXRegExp","translateRegExp","translate3dRegExp","rotateRegExp","objectPosition","webkitBoxShadow","mozBoxShadow","MozBoxShadow","mozTransform","webkitTransformOrigin","mozTransformOrigin","WebkitTransformOrigin","MozTransformOrigin","MozTransition","webkitTransitionProperty","mozTransitionProperty","WebkitTransitionProperty","MozTransitionProperty","propsToIgnore","originalKey","originalValue","_convertProperty","isNoFlip","isNum","importantlessValue","isImportant","valueConverter","getValueDoppelganger","convertProperty","unstable_forceFrameRate","MessageChannel","postMessage","port2","port1","onmessage","priorityLevel","startTime","unstable_next","unstable_wrapCallback","unstable_continueExecution","unstable_pauseExecution","unstable_getFirstCallbackNode","setImmediate","registerImmediate","channel","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","attachTo","runIfPresent","importScripts","postMessageIsAsynchronous","oldOnMessage","canUsePostMessage","script","onreadystatechange","task","clearImmediate","Timeout","clearFn","_id","_clearFn","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","allowedVariants","fontVariant","measureText","canvas","updateInputWidth","v1","v4","byteToHex","buf","bth","msCrypto","rnds8","rnds","_nodeId","_clockseq","rng","bytesToUuid","_lastMSecs","_lastNSecs","clockseq","seedBytes","nsecs","dt","tl","tmh"],"mappings":";mHAeAA,EAAOC,QAfP,SAAyBC,EAAKC,EAAKC,GAYjC,OAXID,KAAOD,EACTG,OAAOC,eAAeJ,EAAKC,EAAK,CAC9BC,MAAOA,EACPG,YAAY,EACZC,cAAc,EACdC,UAAU,IAGZP,EAAIC,GAAOC,EAGNF,GAITF,EAAOC,QAAP,QAA4BD,EAAOC,QAASD,EAAOC,QAAQS,YAAa,G,6BChBzD,SAASC,EAAkBC,EAAKC,IAClC,MAAPA,GAAeA,EAAMD,EAAIE,UAAQD,EAAMD,EAAIE,QAE/C,IAAK,IAAIC,EAAI,EAAGC,EAAO,IAAIC,MAAMJ,GAAME,EAAIF,EAAKE,IAC9CC,EAAKD,GAAKH,EAAIG,GAGhB,OAAOC,E,+CCPM,SAASE,EAAgBN,GACtC,GAAIK,MAAME,QAAQP,GAAM,OAAOA,E,+CCDlB,SAASQ,EAAuBC,GAC7C,QAAa,IAATA,EACF,MAAM,IAAIC,eAAe,6DAG3B,OAAOD,E,8CCLM,SAASE,EAAgBC,EAAUC,GAChD,KAAMD,aAAoBC,GACxB,MAAM,IAAIC,UAAU,qC,8CCFxB,SAASC,EAAkBC,EAAQC,GACjC,IAAK,IAAId,EAAI,EAAGA,EAAIc,EAAMf,OAAQC,IAAK,CACrC,IAAIe,EAAaD,EAAMd,GACvBe,EAAWvB,WAAauB,EAAWvB,aAAc,EACjDuB,EAAWtB,cAAe,EACtB,UAAWsB,IAAYA,EAAWrB,UAAW,GACjDJ,OAAOC,eAAesB,EAAQE,EAAW3B,IAAK2B,IAInC,SAASC,EAAaN,EAAaO,EAAYC,GAG5D,OAFID,GAAY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ACvBm8E,EAAE7gF,EAAI0E,GAAKo2B,EAAKp2B,GAGlB,OAAO6sV,GAAYQ,EAAYlxQ,K,gBCzGjC,IAAIixQ,EAAM,EAAQ,OACdC,EAAc,EAAQ,OA2B1B9yV,EAAOC,QAzBP,SAAYktC,EAASmlT,EAAKvqR,GACxB,IAAIhnE,EAAIuxV,GAAOvqR,GAAU,EAEF,iBAAb,IACRuqR,EAAkB,WAAZnlT,EAAuB,IAAIlsC,MAAM,IAAM,KAC7CksC,EAAU,MAIZ,IAAIulT,GAFJvlT,EAAUA,GAAW,IAEF5S,SAAW4S,EAAQ0lT,KAAOA,KAO7C,GAJAH,EAAK,GAAgB,GAAVA,EAAK,GAAa,GAC7BA,EAAK,GAAgB,GAAVA,EAAK,GAAa,IAGzBJ,EACF,IAAK,IAAI1mJ,EAAK,EAAGA,EAAK,KAAMA,EAC1B0mJ,EAAIvxV,EAAI6qM,GAAM8mJ,EAAK9mJ,GAIvB,OAAO0mJ,GAAOQ,EAAYJ,K,uBCoC5B1yV,EAAOC,QA3CO","file":"ErrorsVendors.js","sourcesContent":["function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","export default function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","export default function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}","export default function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]);\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var _typeof = require(\"@babel/runtime/helpers/typeof\")[\"default\"];\n\nfunction _getRequireWildcardCache(nodeInterop) {\n if (typeof WeakMap !== \"function\") return null;\n var cacheBabelInterop = new WeakMap();\n var cacheNodeInterop = new WeakMap();\n return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) {\n return nodeInterop ? cacheNodeInterop : cacheBabelInterop;\n })(nodeInterop);\n}\n\nfunction _interopRequireWildcard(obj, nodeInterop) {\n if (!nodeInterop && obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n\n var cache = _getRequireWildcardCache(nodeInterop);\n\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n\n newObj[\"default\"] = obj;\n\n if (cache) {\n cache.set(obj, newObj);\n }\n\n return newObj;\n}\n\nmodule.exports = _interopRequireWildcard;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n\n module.exports[\"default\"] = module.exports, module.exports.__esModule = true;\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return props.dir === \"rtl\";\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgArrowEndLeft = function SvgArrowEndLeft(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M76 480h24c6.6 0 12-5.4 12-12V285l219.5 187.6c20.6 17.2 52.5 2.8 52.5-24.6V64c0-27.4-31.9-41.8-52.5-24.6L112 228.1V44c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v424c0 6.6 5.4 12 12 12zM336 98.5v315.1L149.3 256.5 336 98.5z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgArrowEndLeft, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return props.dir === \"rtl\";\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgArrowEndRight = function SvgArrowEndRight(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M372 32h-24c-6.6 0-12 5.4-12 12v183L116.5 39.4C95.9 22.3 64 36.6 64 64v384c0 27.4 31.9 41.8 52.5 24.6L336 283.9V468c0 6.6 5.4 12 12 12h24c6.6 0 12-5.4 12-12V44c0-6.6-5.4-12-12-12zM112 413.5V98.4l186.7 157.1-186.7 158z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgArrowEndRight, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return props.dir === \"rtl\";\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgArrowLeft = function SvgArrowLeft(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M229.9 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L94.569 282H436c6.627 0 12-5.373 12-12v-28c0-6.627-5.373-12-12-12H94.569l155.13-155.13c4.686-4.686 4.686-12.284 0-16.971L229.9 38.101c-4.686-4.686-12.284-4.686-16.971 0L3.515 247.515c-4.686 4.686-4.686 12.284 0 16.971L212.929 473.9c4.686 4.686 12.284 4.686 16.971-.001z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgArrowLeft, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return props.dir === \"rtl\";\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgArrowRight = function SvgArrowRight(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M218.101 38.101L198.302 57.9c-4.686 4.686-4.686 12.284 0 16.971L353.432 230H12c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h341.432l-155.13 155.13c-4.686 4.686-4.686 12.284 0 16.971l19.799 19.799c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L235.071 38.101c-4.686-4.687-12.284-4.687-16.97 0z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgArrowRight, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgCalendar = function SvgCalendar(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgCalendar, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgCheckFeedback = function SvgCheckFeedback(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgCheckFeedback, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgChevronDown = function SvgChevronDown(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgChevronDown, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return props.dir === \"rtl\";\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgChevronLeft = function SvgChevronLeft(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 256 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgChevronLeft, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return props.dir === \"rtl\";\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgChevronRight = function SvgChevronRight(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 256 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgChevronRight, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgChevronUp = function SvgChevronUp(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 448 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M6.101 359.293L25.9 379.092c4.686 4.686 12.284 4.686 16.971 0L224 198.393l181.13 180.698c4.686 4.686 12.284 4.686 16.971 0l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L232.485 132.908c-4.686-4.686-12.284-4.686-16.971 0L6.101 342.322c-4.687 4.687-4.687 12.285 0 16.971z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgChevronUp, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgCircle = function SvgCircle(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgCircle, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgClose = function SvgClose(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 384 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgClose, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgEdit = function SvgEdit(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M491.609 73.625l-53.861-53.839c-26.378-26.379-69.076-26.383-95.46-.001L24.91 335.089.329 484.085c-2.675 16.215 11.368 30.261 27.587 27.587l148.995-24.582 315.326-317.378c26.33-26.331 26.581-68.879-.628-96.087zM120.644 302l170.259-169.155 88.251 88.251L210 391.355V350h-48v-48h-41.356zM82.132 458.132l-28.263-28.263 12.14-73.587L84.409 338H126v48h48v41.59l-18.282 18.401-73.586 12.141zm378.985-319.533l-.051.051-.051.051-48.03 48.344-88.03-88.03 48.344-48.03.05-.05.05-.05c9.147-9.146 23.978-9.259 33.236-.001l53.854 53.854c9.878 9.877 9.939 24.549.628 33.861z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgEdit, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgError = function SvgError(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm141.421 106.579c73.176 73.175 77.05 187.301 15.964 264.865L132.556 98.615c77.588-61.105 191.709-57.193 264.865 15.964zM114.579 397.421c-73.176-73.175-77.05-187.301-15.964-264.865l280.829 280.829c-77.588 61.105-191.709 57.193-264.865-15.964z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgError, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nvar IconSprite = function IconSprite() {\r\n return _react2.default.createElement(\r\n \"svg\",\r\n { xmlns: \"http://www.w3.org/2000/svg\", style: { display: \"none\" } },\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-add\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M436 228H252V44c0-6.6-5.4-12-12-12h-32c-6.6 0-12 5.4-12 12v184H12c-6.6 0-12 5.4-12 12v32c0 6.6 5.4 12 12 12h184v184c0 6.6 5.4 12 12 12h32c6.6 0 12-5.4 12-12V284h184c6.6 0 12-5.4 12-12v-32c0-6.6-5.4-12-12-12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-address-card\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-align-center\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M108.1 88h231.81A12.09 12.09 0 00352 75.9V52.09A12.09 12.09 0 00339.91 40H108.1A12.09 12.09 0 0096 52.09V75.9A12.1 12.1 0 00108.1 88zM432 424H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-256H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm-92.09 176A12.09 12.09 0 00352 331.9v-23.81A12.09 12.09 0 00339.91 296H108.1A12.09 12.09 0 0096 308.09v23.81a12.1 12.1 0 0012.1 12.1z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-align-justify\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M432 424H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-128H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-128H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-128H16A16 16 0 000 56v16a16 16 0 0016 16h416a16 16 0 0016-16V56a16 16 0 00-16-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-align-left\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M12.83 344h262.34A12.82 12.82 0 00288 331.17v-22.34A12.82 12.82 0 00275.17 296H12.83A12.82 12.82 0 000 308.83v22.34A12.82 12.82 0 0012.83 344zm0-256h262.34A12.82 12.82 0 00288 75.17V52.83A12.82 12.82 0 00275.17 40H12.83A12.82 12.82 0 000 52.83v22.34A12.82 12.82 0 0012.83 88zM432 168H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm0 256H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-align-right\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M16 216h416a16 16 0 0016-16v-16a16 16 0 00-16-16H16a16 16 0 00-16 16v16a16 16 0 0016 16zm416 208H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zm3.17-384H172.83A12.82 12.82 0 00160 52.83v22.34A12.82 12.82 0 00172.83 88h262.34A12.82 12.82 0 00448 75.17V52.83A12.82 12.82 0 00435.17 40zm0 256H172.83A12.82 12.82 0 00160 308.83v22.34A12.82 12.82 0 00172.83 344h262.34A12.82 12.82 0 00448 331.17v-22.34A12.82 12.82 0 00435.17 296z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-applications-alt\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48H48C21.49 32 0 53.49 0 80zm232 0v152H48V86a6 6 0 016-6h178zM48 280h184v152H54a6 6 0 01-6-6V280zm232 152V280h184v146a6 6 0 01-6 6H280zm184-200H280V80h178a6 6 0 016 6v146z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-applications\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 0H144c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v320c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-96 464H48V256h320v208zm96-96h-48V144c0-26.5-21.5-48-48-48H144V48h320v320z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-approve\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-double-left\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M390.3 473.9L180.9 264.5c-4.7-4.7-4.7-12.3 0-17L390.3 38.1c4.7-4.7 12.3-4.7 17 0l19.8 19.8c4.7 4.7 4.7 12.3 0 17L246.4 256l180.7 181.1c4.7 4.7 4.7 12.3 0 17l-19.8 19.8c-4.7 4.7-12.3 4.7-17 0zm-143 0l19.8-19.8c4.7-4.7 4.7-12.3 0-17L86.4 256 267.1 74.9c4.7-4.7 4.7-12.3 0-17l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L20.9 247.5c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-double-right\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M57.7 38.1l209.4 209.4c4.7 4.7 4.7 12.3 0 17L57.7 473.9c-4.7 4.7-12.3 4.7-17 0l-19.8-19.8c-4.7-4.7-4.7-12.3 0-17L201.6 256 20.9 74.9c-4.7-4.7-4.7-12.3 0-17l19.8-19.8c4.7-4.7 12.3-4.7 17 0zm143 0l-19.8 19.8c-4.7 4.7-4.7 12.3 0 17L361.6 256 180.9 437.1c-4.7 4.7-4.7 12.3 0 17l19.8 19.8c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17L217.7 38.1c-4.7-4.7-12.3-4.7-17 0z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-down\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M441.9 250.1l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L250 385.4V44c0-6.6-5.4-12-12-12h-28c-6.6 0-12 5.4-12 12v341.4L42.9 230.3c-4.7-4.7-12.3-4.7-17 0L6.1 250.1c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-end-left\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M76 480h24c6.6 0 12-5.4 12-12V285l219.5 187.6c20.6 17.2 52.5 2.8 52.5-24.6V64c0-27.4-31.9-41.8-52.5-24.6L112 228.1V44c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v424c0 6.6 5.4 12 12 12zM336 98.5v315.1L149.3 256.5 336 98.5z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-end-right\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M372 32h-24c-6.6 0-12 5.4-12 12v183L116.5 39.4C95.9 22.3 64 36.6 64 64v384c0 27.4 31.9 41.8 52.5 24.6L336 283.9V468c0 6.6 5.4 12 12 12h24c6.6 0 12-5.4 12-12V44c0-6.6-5.4-12-12-12zM112 413.5V98.4l186.7 157.1-186.7 158z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-left\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M229.9 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L94.569 282H436c6.627 0 12-5.373 12-12v-28c0-6.627-5.373-12-12-12H94.569l155.13-155.13c4.686-4.686 4.686-12.284 0-16.971L229.9 38.101c-4.686-4.686-12.284-4.686-16.971 0L3.515 247.515c-4.686 4.686-4.686 12.284 0 16.971L212.929 473.9c4.686 4.686 12.284 4.686 16.971-.001z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-right\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M218.101 38.101L198.302 57.9c-4.686 4.686-4.686 12.284 0 16.971L353.432 230H12c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h341.432l-155.13 155.13c-4.686 4.686-4.686 12.284 0 16.971l19.799 19.799c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L235.071 38.101c-4.686-4.687-12.284-4.687-16.97 0z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-arrow-up\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M6.101 261.899L25.9 281.698c4.686 4.686 12.284 4.686 16.971 0L198 126.568V468c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12V126.568l155.13 155.13c4.686 4.686 12.284 4.686 16.971 0l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L232.485 35.515c-4.686-4.686-12.284-4.686-16.971 0L6.101 244.929c-4.687 4.686-4.687 12.284 0 16.97z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-bar-chart\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M500 400c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v324h452zm-356-60v-72c0-6.6-5.4-12-12-12h-24c-6.6 0-12 5.4-12 12v72c0 6.6 5.4 12 12 12h24c6.6 0 12-5.4 12-12zm96 0V140c0-6.6-5.4-12-12-12h-24c-6.6 0-12 5.4-12 12v200c0 6.6 5.4 12 12 12h24c6.6 0 12-5.4 12-12zm96 0V204c0-6.6-5.4-12-12-12h-24c-6.6 0-12 5.4-12 12v136c0 6.6 5.4 12 12 12h24c6.6 0 12-5.4 12-12zm96 0V108c0-6.6-5.4-12-12-12h-24c-6.6 0-12 5.4-12 12v232c0 6.6 5.4 12 12 12h24c6.6 0 12-5.4 12-12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-bold\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M314.52 238.78A119.76 119.76 0 00232 32H48a16 16 0 00-16 16v16a16 16 0 0016 16h16v352H48a16 16 0 00-16 16v16a16 16 0 0016 16h208a128 128 0 00128-128c0-49.49-28.38-91.92-69.48-113.22zM128 80h88a72 72 0 010 144h-88zm112 352H128V272h112a80 80 0 010 160z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-bookmark-solid\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-bookmark\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 016-6h276c3.314 0 6 2.683 6 5.996V428.43z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calculator\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M400 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM54 48h340c3.3 0 6 2.7 6 6v114H48V54c0-3.3 2.7-6 6-6zm340 416H54c-3.3 0-6-2.7-6-6V216h352v242c0 3.3-2.7 6-6 6zM160 268v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12zm96 0v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12zm96 0v136c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12V268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12zm-192 96v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12zm96 0v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calendar-add\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calendar-check\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 01-6-6V160h352v298a6 6 0 01-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calendar-delete\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calendar-grid\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calendar-minus\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-calendar\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-caret-circle-right\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M216 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm0 48C145.5 56 56 145.5 56 256s89.5 200 200 200 200-89.5 200-200S366.5 56 256 56z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-cart\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M551.991 64H144.28l-8.726-44.608C133.35 8.128 123.478 0 112 0H12C5.373 0 0 5.373 0 12v24c0 6.627 5.373 12 12 12h80.24l69.594 355.701C150.796 415.201 144 430.802 144 448c0 35.346 28.654 64 64 64s64-28.654 64-64a63.681 63.681 0 00-8.583-32h145.167a63.681 63.681 0 00-8.583 32c0 35.346 28.654 64 64 64 35.346 0 64-28.654 64-64 0-18.136-7.556-34.496-19.676-46.142l1.035-4.757c3.254-14.96-8.142-29.101-23.452-29.101H203.76l-9.39-48h312.405c11.29 0 21.054-7.869 23.452-18.902l45.216-208C578.695 78.139 567.299 64 551.991 64zM208 472c-13.234 0-24-10.766-24-24s10.766-24 24-24 24 10.766 24 24-10.766 24-24 24zm256 0c-13.234 0-24-10.766-24-24s10.766-24 24-24 24 10.766 24 24-10.766 24-24 24zm23.438-200H184.98l-31.31-160h368.548l-34.78 160z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-check-circle\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-check-feedback\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-check\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M435.848 83.466L172.804 346.51l-96.652-96.652c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l133.421 133.421c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-28.284-28.284c-4.686-4.686-12.284-4.686-16.97 0z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-chevron-down\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-chevron-left\", viewBox: \"0 0 256 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-chevron-right\", viewBox: \"0 0 256 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-chevron-up\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M6.101 359.293L25.9 379.092c4.686 4.686 12.284 4.686 16.971 0L224 198.393l181.13 180.698c4.686 4.686 12.284 4.686 16.971 0l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L232.485 132.908c-4.686-4.686-12.284-4.686-16.971 0L6.101 342.322c-4.687 4.687-4.687 12.285 0 16.971z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-circle\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-clipboard-check\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M269.3 225.8c-3.9-3.9-10.2-3.9-14.1-.1l-88 87.3-38.1-38.5c-3.9-3.9-10.2-3.9-14.1-.1l-23.6 23.4c-3.9 3.9-3.9 10.2-.1 14.1l68.5 69.1c3.9 3.9 10.2 3.9 14.1.1l118.6-117.6c3.9-3.9 3.9-10.2.1-14.1l-23.3-23.6zM336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 48c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm144 408c0 4.4-3.6 8-8 8H56c-4.4 0-8-3.6-8-8V120c0-4.4 3.6-8 8-8h40v32c0 8.8 7.2 16 16 16h160c8.8 0 16-7.2 16-16v-32h40c4.4 0 8 3.6 8 8v336z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-clipboard-list\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M280 240H168c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8zm0 96H168c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8zM112 232c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm0 96c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zM336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 48c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm144 408c0 4.4-3.6 8-8 8H56c-4.4 0-8-3.6-8-8V120c0-4.4 3.6-8 8-8h40v32c0 8.8 7.2 16 16 16h160c8.8 0 16-7.2 16-16v-32h40c4.4 0 8 3.6 8 8v336z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-clock\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-close\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M231.6 256l130.1-130.1c4.7-4.7 4.7-12.3 0-17l-22.6-22.6c-4.7-4.7-12.3-4.7-17 0L192 216.4 61.9 86.3c-4.7-4.7-12.3-4.7-17 0l-22.6 22.6c-4.7 4.7-4.7 12.3 0 17L152.4 256 22.3 386.1c-4.7 4.7-4.7 12.3 0 17l22.6 22.6c4.7 4.7 12.3 4.7 17 0L192 295.6l130.1 130.1c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17L231.6 256z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-cloud\", viewBox: \"0 0 640 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M272 80c53.473 0 99.279 32.794 118.426 79.363C401.611 149.793 416.125 144 432 144c35.346 0 64 28.654 64 64 0 11.829-3.222 22.9-8.817 32.407A96.998 96.998 0 01496 240c53.019 0 96 42.981 96 96s-42.981 96-96 96H160c-61.856 0-112-50.144-112-112 0-56.428 41.732-103.101 96.014-110.859-.003-.381-.014-.76-.014-1.141 0-70.692 57.308-128 128-128m0-48c-84.587 0-155.5 59.732-172.272 139.774C39.889 196.13 0 254.416 0 320c0 88.374 71.642 160 160 160h336c79.544 0 144-64.487 144-144 0-61.805-39.188-115.805-96.272-135.891C539.718 142.116 491.432 96 432 96c-7.558 0-15.051.767-22.369 2.262C377.723 58.272 328.091 32 272 32z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-code-branch\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.5 14-17.4 21.1-39.8 21.6-67.9 31.6-10.7 54.4-40.6 54.4-75.8zM80 48c17.6 0 32 14.4 32 32s-14.4 32-32 32-32-14.4-32-32 14.4-32 32-32zm0 416c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32zm224-288c-17.6 0-32-14.4-32-32s14.4-32 32-32 32 14.4 32 32-14.4 32-32 32z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-color\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M486.509 27.241C451.298-8.761 393.152-9.152 357.49 26.51l-94.863 94.863-23.515-23.515c-4.686-4.686-12.284-4.686-16.971 0l-28.284 28.284c-4.686 4.686-4.686 12.284 0 16.971l23.515 23.515L39.029 344.971A24 24 0 0032 361.941V432L0 488l24 24 56-32h70.059a24 24 0 0016.97-7.029l178.343-178.343 23.515 23.515c4.686 4.686 12.284 4.686 16.971 0l28.285-28.285c4.686-4.686 4.686-12.284 0-16.971l-23.515-23.515 94.342-94.046c35.197-35.198 36.344-92.498 1.539-128.085zM140.118 432H80v-60.118l171.314-171.314 60.118 60.118L140.118 432z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-compass\", viewBox: \"0 0 496 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M347.94 129.86L203.6 195.83a31.938 31.938 0 00-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0015.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-completion\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 168c-48.6 0-88 39.4-88 88s39.4 88 88 88 88-39.4 88-88-39.4-88-88-88zm0 128c-22.06 0-40-17.94-40-40s17.94-40 40-40 40 17.94 40 40-17.94 40-40 40zm240-64h-49.66C435.49 145.19 366.81 76.51 280 65.66V16c0-8.84-7.16-16-16-16h-16c-8.84 0-16 7.16-16 16v49.66C145.19 76.51 76.51 145.19 65.66 232H16c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h49.66C76.51 366.81 145.19 435.49 232 446.34V496c0 8.84 7.16 16 16 16h16c8.84 0 16-7.16 16-16v-49.66C366.81 435.49 435.49 366.8 446.34 280H496c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zM256 400c-79.4 0-144-64.6-144-144s64.6-144 144-144 144 64.6 144 144-64.6 144-144 144z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-configuration\", viewBox: \"0 0 640 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M217.1 478.1c-23.8 0-41.6-3.5-57.5-7.5-10.6-2.7-18.1-12.3-18.1-23.3v-31.7c-9.4-4.4-18.4-9.6-26.9-15.6l-26.7 15.4c-9.6 5.6-21.9 3.8-29.5-4.3-35.4-37.6-44.2-58.6-57.2-98.5-3.6-10.9 1.1-22.7 11-28.4l26.8-15c-.9-10.3-.9-20.7 0-31.1L12.2 223c-10-5.6-14.6-17.5-11-28.4 13.1-40 21.9-60.9 57.2-98.5 7.6-8.1 19.8-9.9 29.5-4.3l26.7 15.4c8.5-6 17.5-11.2 26.9-15.6V61.4c0-11.1 7.6-20.8 18.4-23.3 44.2-10.5 70-10.5 114.3 0 10.8 2.6 18.4 12.2 18.4 23.3v30.4c9.4 4.4 18.4 9.6 26.9 15.6L346.2 92c9.7-5.6 21.9-3.7 29.6 4.4 26.1 27.9 48.4 58.5 56.8 100.3 2 9.8-2.4 19.8-10.9 25.1l-26.6 16.5c.9 10.3.9 20.7 0 31.1l26.6 16.5c8.4 5.2 12.9 15.2 10.9 24.9-8.1 40.5-29.6 71.3-56.9 100.6-7.6 8.1-19.8 9.9-29.5 4.3l-26.7-15.4c-8.5 6-17.5 11.2-26.9 15.6v31.7c0 11-7.4 20.6-18.1 23.3-15.8 3.8-33.6 7.2-57.4 7.2zm-27.6-50.7c18.3 2.9 36.9 2.9 55.1 0v-44.8l16-5.7c15.2-5.4 29.1-13.4 41.3-23.9l12.9-11 38.8 22.4c11.7-14.4 21-30.5 27.6-47.7l-38.8-22.4 3.1-16.7c2.9-15.9 2.9-32 0-47.9l-3.1-16.7 38.8-22.4c-6.6-17.2-15.9-33.3-27.6-47.7l-38.8 22.4-12.9-11c-12.3-10.5-26.2-18.6-41.3-23.9l-16-5.7V80c-18.3-2.9-36.9-2.9-55.1 0v44.8l-16 5.7c-15.2 5.4-29.1 13.4-41.3 23.9l-12.9 11L80.5 143c-11.7 14.4-21 30.5-27.6 47.7l38.8 22.4-3.1 16.7c-2.9 15.9-2.9 32 0 47.9l3.1 16.7-38.8 22.4c6.6 17.2 15.9 33.4 27.6 47.7l38.8-22.4 12.9 11c12.3 10.5 26.2 18.6 41.3 23.9l16 5.7v44.7zm27.1-85.1c-22.6 0-45.2-8.6-62.4-25.8-34.4-34.4-34.4-90.4 0-124.8 34.4-34.4 90.4-34.4 124.8 0 34.4 34.4 34.4 90.4 0 124.8-17.3 17.2-39.9 25.8-62.4 25.8zm0-128.4c-10.3 0-20.6 3.9-28.5 11.8-15.7 15.7-15.7 41.2 0 56.9 15.7 15.7 41.2 15.7 56.9 0 15.7-15.7 15.7-41.2 0-56.9-7.8-7.9-18.1-11.8-28.4-11.8zM638.5 85c-1-5.8-6-10-11.9-10h-16.1c-3.5-9.9-8.8-19-15.5-26.8l8-13.9c2.9-5.1 1.8-11.6-2.7-15.3C591 11.3 580.5 5.1 569 .8c-5.5-2.1-11.8.1-14.7 5.3l-8 13.9c-10.2-1.9-20.7-1.9-30.9 0l-8-13.9c-3-5.1-9.2-7.3-14.7-5.3-11.5 4.3-22.1 10.5-31.4 18.2-4.5 3.7-5.7 10.2-2.7 15.3l8 13.9c-6.7 7.8-12 16.9-15.5 26.8H435c-5.9 0-11 4.3-11.9 10.2-2 12.2-1.9 24.5 0 36.2 1 5.8 6 10 11.9 10h16.1c3.5 9.9 8.8 19 15.5 26.8l-8 13.9c-2.9 5.1-1.8 11.6 2.7 15.3 9.3 7.7 19.9 13.9 31.4 18.2 5.5 2.1 11.8-.1 14.7-5.3l8-13.9c10.2 1.9 20.7 1.9 30.9 0l8 13.9c3 5.1 9.2 7.3 14.7 5.3 11.5-4.3 22.1-10.5 31.4-18.2 4.5-3.7 5.7-10.2 2.7-15.3l-8-13.9c6.7-7.8 12-16.9 15.5-26.8h16.1c5.9 0 11-4.3 11.9-10.2 1.9-12.2 1.9-24.4-.1-36.2zm-107.8 50.2c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm107.8 255.4c-1-5.8-6-10-11.9-10h-16.1c-3.5-9.9-8.8-19-15.5-26.8l8-13.9c2.9-5.1 1.8-11.6-2.7-15.3-9.3-7.7-19.9-13.9-31.4-18.2-5.5-2.1-11.8.1-14.7 5.3l-8 13.9c-10.2-1.9-20.7-1.9-30.9 0l-8-13.9c-3-5.1-9.2-7.3-14.7-5.3-11.5 4.3-22.1 10.5-31.4 18.2-4.5 3.7-5.7 10.2-2.7 15.3l8 13.9c-6.7 7.8-12 16.9-15.5 26.8h-16.1c-5.9 0-11 4.3-11.9 10.2-2 12.2-1.9 24.5 0 36.2 1 5.8 6 10 11.9 10H451c3.5 9.9 8.8 19 15.5 26.8l-8 13.9c-2.9 5.1-1.8 11.6 2.7 15.3 9.3 7.7 19.9 13.9 31.4 18.2 5.5 2.1 11.8-.1 14.7-5.3l8-13.9c10.2 1.9 20.7 1.9 30.9 0l8 13.9c3 5.1 9.2 7.3 14.7 5.3 11.5-4.3 22.1-10.5 31.4-18.2 4.5-3.7 5.7-10.2 2.7-15.3l-8-13.9c6.7-7.8 12-16.9 15.5-26.8h16.1c5.9 0 11-4.3 11.9-10.2 2-12.1 2-24.4 0-36.2zm-107.8 50.2c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-copy\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 01-6-6V150a6 6 0 016-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 01-6 6zm96-96H150a6 6 0 01-6-6V54a6 6 0 016-6h308a6 6 0 016 6v308a6 6 0 01-6 6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-course\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M128 152v-32c0-4.4 3.6-8 8-8h208c4.4 0 8 3.6 8 8v32c0 4.4-3.6 8-8 8H136c-4.4 0-8-3.6-8-8zm8 88h208c4.4 0 8-3.6 8-8v-32c0-4.4-3.6-8-8-8H136c-4.4 0-8 3.6-8 8v32c0 4.4 3.6 8 8 8zm299.1 159.7c-4.2 13-4.2 51.6 0 64.6 7.3 1.4 12.9 7.9 12.9 15.7v16c0 8.8-7.2 16-16 16H80c-44.2 0-80-35.8-80-80V80C0 35.8 35.8 0 80 0h352c8.8 0 16 7.2 16 16v368c0 7.8-5.5 14.2-12.9 15.7zm-41.1.3H80c-17.6 0-32 14.4-32 32 0 17.7 14.3 32 32 32h314c-2.7-17.3-2.7-46.7 0-64zm6-352H80c-17.7 0-32 14.3-32 32v278.7c9.8-4.3 20.6-6.7 32-6.7h320V48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-daily-work\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M336 64h-80c0-35.29-28.71-64-64-64s-64 28.71-64 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 01-6-6V118a6 6 0 016-6h42v36c0 6.627 5.373 12 12 12h168c6.627 0 12-5.373 12-12v-36h42a6 6 0 016 6v340a6 6 0 01-6 6zM192 40c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-dashboard\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M288 32.012C128.759 32.012 0 161.104 0 320c0 33.683 5.785 66.012 16.414 96.054C29.977 454.389 66.251 480 106.915 480h362.17c40.664 0 76.938-25.611 90.501-63.946C570.215 386.012 576 353.683 576 320c0-158.896-128.759-287.988-288-287.988zm226.335 368.031C507.572 419.158 489.387 432 469.085 432h-362.17c-20.302 0-38.487-12.842-45.25-31.957C6.889 245.223 121.206 80.012 288 80.012c167.016 0 281.032 165.433 226.335 320.031zM256 128c0-17.673 14.327-32 32-32s32 14.327 32 32c0 17.673-14.327 32-32 32s-32-14.327-32-32zm224 160c17.673 0 32 14.327 32 32 0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32zm-352 32c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32s32 14.327 32 32zm56-136c0 17.673-14.327 32-32 32s-32-14.327-32-32c0-17.673 14.327-32 32-32 17.673 0 32 14.327 32 32zm272 0c0 17.673-14.327 32-32 32-17.673 0-32-14.327-32-32 0-17.673 14.327-32 32-32 17.673 0 32 14.327 32 32zm-89.479 24.297l-35.489 96.328C343.913 316.333 352 333.222 352 352c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-34.67 27.572-62.881 61.983-63.949l35.497-96.348c4.582-12.437 18.379-18.807 30.817-14.223 12.437 4.582 18.806 18.379 14.224 30.817z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-deny\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-download\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M528 288h-92.1l46.1-46.1c30.1-30.1 8.8-81.9-33.9-81.9h-64V48c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v112h-64c-42.6 0-64.2 51.7-33.9 81.9l46.1 46.1H48c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V336c0-26.5-21.5-48-48-48zm-400-80h112V48h96v160h112L288 368 128 208zm400 256H48V336h140.1l65.9 65.9c18.8 18.8 49.1 18.7 67.9 0l65.9-65.9H528v128zm-88-64c0-13.3 10.7-24 24-24s24 10.7 24 24-10.7 24-24 24-24-10.7-24-24z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-drag\", viewBox: \"0 0 320 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-edit\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M491.609 73.625l-53.861-53.839c-26.378-26.379-69.076-26.383-95.46-.001L24.91 335.089.329 484.085c-2.675 16.215 11.368 30.261 27.587 27.587l148.995-24.582 315.326-317.378c26.33-26.331 26.581-68.879-.628-96.087zM120.644 302l170.259-169.155 88.251 88.251L210 391.355V350h-48v-48h-41.356zM82.132 458.132l-28.263-28.263 12.14-73.587L84.409 338H126v48h48v41.59l-18.282 18.401-73.586 12.141zm378.985-319.533l-.051.051-.051.051-48.03 48.344-88.03-88.03 48.344-48.03.05-.05.05-.05c9.147-9.146 23.978-9.259 33.236-.001l53.854 53.854c9.878 9.877 9.939 24.549.628 33.861z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-email\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-employment\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 96H352V80c0-26.51-21.49-48-48-48h-96c-26.51 0-48 21.49-48 48v16H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V144c0-26.51-21.49-48-48-48zM208 80h96v16h-96V80zM48 150a6 6 0 016-6h404a6 6 0 016 6v106H48V150zm416 276a6 6 0 01-6 6H54a6 6 0 01-6-6V304h144v36c0 6.627 5.373 12 12 12h104c6.627 0 12-5.373 12-12v-36h144v122z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-error\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm141.421 106.579c73.176 73.175 77.05 187.301 15.964 264.865L132.556 98.615c77.588-61.105 191.709-57.193 264.865 15.964zM114.579 397.421c-73.176-73.175-77.05-187.301-15.964-264.865l280.829 280.829c-77.588 61.105-191.709 57.193-264.865-15.964z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-external-link\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M576 14.4l-.174 163.2c0 7.953-6.447 14.4-14.4 14.4H528.12c-8.067 0-14.56-6.626-14.397-14.691l2.717-73.627-2.062-2.062-278.863 278.865c-4.686 4.686-12.284 4.686-16.971 0l-23.029-23.029c-4.686-4.686-4.686-12.284 0-16.971L474.379 61.621l-2.062-2.062-73.626 2.717C390.626 62.44 384 55.946 384 47.879V14.574c0-7.953 6.447-14.4 14.4-14.4L561.6 0c7.953 0 14.4 6.447 14.4 14.4zM427.515 233.74l-24 24a12.002 12.002 0 00-3.515 8.485V458a6 6 0 01-6 6H54a6 6 0 01-6-6V118a6 6 0 016-6h301.976c10.691 0 16.045-12.926 8.485-20.485l-24-24A12.002 12.002 0 00331.976 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V242.225c0-10.691-12.926-16.045-20.485-8.485z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-facebook\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-favorite\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M257.3 475.4L92.5 313.6C85.4 307 24 248.1 24 174.8 24 84.1 80.8 24 176 24c41.4 0 80.6 22.8 112 49.8 31.3-27 70.6-49.8 112-49.8 91.7 0 152 56.5 152 150.8 0 52-31.8 103.5-68.1 138.7l-.4.4-164.8 161.5a43.7 43.7 0 01-61.4 0zM125.9 279.1L288 438.3l161.8-158.7c27.3-27 54.2-66.3 54.2-104.8C504 107.9 465.8 72 400 72c-47.2 0-92.8 49.3-112 68.4-17-17-64-68.4-112-68.4-65.9 0-104 35.9-104 102.8 0 37.3 26.7 78.9 53.9 104.3z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-file-export\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M572.29 279.06l-71.77-72.31c-7.55-7.6-20.52-2.26-20.52 8.45v48.88h-96v-132.1c0-12.7-5.17-25-14.17-33.99L285.94 14.1c-9-9-21.2-14.1-33.89-14.1H47.99C21.5.1 0 21.6 0 48.09v415.92C0 490.5 21.5 512 47.99 512h287.94c26.5 0 48.07-21.5 48.07-47.99V360.07h-48v103.94H47.99V48.09h159.97v103.98c0 13.3 10.7 23.99 24 23.99H336v88.01H172c-6.63 0-12 5.37-12 12v24c0 6.63 5.37 12 12 12h308v48.88c0 10.71 12.97 16.05 20.52 8.45l71.77-72.31c4.95-4.99 4.95-13.04 0-18.03zM255.95 128.07V51.99l76.09 76.08h-76.09z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-file-image\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-file-text\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-filter\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M463.952 0H48.057C5.419 0-16.094 51.731 14.116 81.941L176 243.882V416c0 15.108 7.113 29.335 19.2 40l64 47.066c31.273 21.855 76.8 1.538 76.8-38.4V243.882L497.893 81.941C528.042 51.792 506.675 0 463.952 0zM288 224v240l-64-48V224L48 48h416L288 224z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-flask\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-flip\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M508.485 168.485l-100.375 100c-4.686 4.686-12.284 4.686-16.97 0l-19.626-19.626c-4.753-4.753-4.675-12.484.173-17.14L422.916 184H12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h410.916l-51.228-47.719c-4.849-4.656-4.927-12.387-.173-17.14l19.626-19.626c4.686-4.686 12.284-4.686 16.97 0l100.375 100c4.685 4.686 4.685 12.284-.001 16.97zm-504.97 192l100.375 100c4.686 4.686 12.284 4.686 16.97 0l19.626-19.626c4.753-4.753 4.675-12.484-.173-17.14L89.084 376H500c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12H89.084l51.228-47.719c4.849-4.656 4.927-12.387.173-17.14l-19.626-19.626c-4.686-4.686-12.284-4.686-16.97 0l-100.375 100c-4.686 4.686-4.686 12.284.001 16.97z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-folder-open\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M527.943 224H480v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h400a48.001 48.001 0 0040.704-22.56l79.942-128c19.948-31.917-3.038-73.44-40.703-73.44zM54 112h134.118l64 64H426a6 6 0 016 6v42H152a48 48 0 00-41.098 23.202L48 351.449V117.993A5.993 5.993 0 0154 112zm394 288H72l77.234-128H528l-80 128z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-folder\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm-6 272H54c-3.314 0-6-2.678-6-5.992V117.992A5.993 5.993 0 0154 112h134.118l64 64H458a6 6 0 016 6v212a6 6 0 01-6 6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-forward\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M561.938 190.06L385.94 14.107C355.79-16.043 304 5.327 304 48.047v80.703C166.04 132.9 0 159.68 0 330.05c0 73.75 38.02 134.719 97.63 173.949 37.12 24.43 85.84-10.9 72.19-54.46C145.47 371.859 157.41 330.2 304 321.66v78.28c0 42.64 51.73 64.15 81.94 33.94l175.997-175.94c18.751-18.74 18.751-49.14.001-67.88zM352 400V272.09c-164.521 1.79-277.44 33.821-227.98 191.61C88 440 48 397.01 48 330.05c0-142.242 160.819-153.39 304-154.02V48l176 176-176 176z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-gift\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 144h-26.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H48c-26.5 0-48 21.5-48 48v128c0 8.8 7.2 16 16 16h16v107.4c0 29 23.6 52.6 52.6 52.6h342.8c29 0 52.6-23.6 52.6-52.6V336h16c8.8 0 16-7.2 16-16V192c0-26.5-21.5-48-48-48zM232 448H84.6c-2.5 0-4.6-2-4.6-4.6V336h112v-48H48v-96h184v256zm-78.1-304c-22.1 0-40-17.9-40-40s17.9-40 40-40c22 0 37.5 7.6 84.1 77l2 3h-86.1zm122-3C322.5 71.6 338 64 360 64c22.1 0 40 17.9 40 40s-17.9 40-40 40h-86.1l2-3zM464 288H320v48h112v107.4c0 2.5-2 4.6-4.6 4.6H280V192h184v96z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-globe\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm179.698 160h-84.125c-7.333-37.407-19.309-72.323-35.338-102.801C369.502 81.947 412.301 120.325 435.698 168zm16.318 128h-93.713c2.191-25.905 2.339-52.521-.017-80h93.73c5.309 26.293 5.317 53.669 0 80zm-250.08 0c-2.561-26.498-2.588-53.143-.041-80h108.21c2.545 26.832 2.522 53.475-.041 80H201.936zm100.544 48c-9.351 42.053-25.298 79.912-46.48 109.243-21.183-29.332-37.129-67.19-46.48-109.243h92.96zM59.984 216h93.73c-2.201 25.679-2.361 52.28-.017 80H59.984c-5.309-26.292-5.317-53.669 0-80zm149.41-48c9.275-41.974 25.172-79.655 46.606-109.277 21.434 29.622 37.332 67.304 46.606 109.277h-93.212zm-13.63-102.801C179.736 95.677 167.759 130.593 160.427 168H76.302c23.378-47.636 66.155-86.04 119.462-102.801zM76.302 344h84.043c7.301 37.472 19.247 72.317 35.308 102.766C142.008 429.864 99.48 391.227 76.302 344zm240.045 102.766c16.061-30.449 28.007-65.294 35.308-102.766h84.043c-23.217 47.307-65.791 85.891-119.351 102.766z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-graduation\", viewBox: \"0 0 640 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M607.13 147.683L352.139 68.701l-.311-.094a112.25 112.25 0 00-63.656 0l-255.31 79.078C13.505 153.533 0 171.734 0 192s13.505 38.467 32.863 44.315l17.559 5.439c-1.009 5.804-1.619 11.865-1.957 18.27C38.646 265.489 32 275.966 32 288c0 11.952 6.557 22.366 16.265 27.861L32.068 438.956C31.438 443.747 35.172 448 40 448h48c4.832 0 8.562-4.257 7.932-9.044L79.735 315.861C89.443 310.366 96 299.952 96 288c0-11.645-6.222-21.835-15.521-27.433.191-3.236.453-6.305.827-9.245l50.665 15.695C126.234 305.318 120 347.276 120 348.8c0 65.722 134.242 80.32 200 80.32 65.75 0 200-14.593 200-80.32 0-2.037-6.224-43.583-11.983-81.78l99.113-30.703C626.491 230.472 640 212.269 640 192s-13.509-38.472-32.87-44.317zm-135.511 200.37C457.32 365.398 391.446 381.12 320 381.12c-47.192 0-132.44-9.806-151.62-33.067l9.999-66.659 109.482 33.915.312.095A112.432 112.432 0 00320 320.01a112.503 112.503 0 0031.827-4.606l109.793-34.011 9.999 66.66zm-133.512-78.648a64.368 64.368 0 01-36.208.002L48 192l253.89-77.404a64.325 64.325 0 0136.216-.001L592 192l-253.893 77.405z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-grid-view\", viewBox: \"0 0 1024 1024\" },\r\n _react2.default.createElement(\"path\", { d: \"M0 0h438.848v585.152H0V0z\" }),\r\n _react2.default.createElement(\"path\", { stroke: \"#151618\", strokeWidth: 64, d: \"M32 32h374.848v521.152H32V32z\" }),\r\n _react2.default.createElement(\"path\", { d: \"M585.152 0H1024v292.573H585.152V0z\" }),\r\n _react2.default.createElement(\"path\", {\r\n stroke: \"#151618\",\r\n strokeWidth: 64,\r\n d: \"M617.152 32H992v228.573H617.152V32z\"\r\n }),\r\n _react2.default.createElement(\"path\", { d: \"M585.152 438.848H1024V1024H585.152V438.848z\" }),\r\n _react2.default.createElement(\"path\", {\r\n stroke: \"#151618\",\r\n strokeWidth: 64,\r\n d: \"M617.152 470.848H992V992H617.152V470.848z\"\r\n }),\r\n _react2.default.createElement(\"path\", { d: \"M0 731.424h438.848v292.573H0V731.424z\" }),\r\n _react2.default.createElement(\"path\", {\r\n stroke: \"#151618\",\r\n strokeWidth: 64,\r\n d: \"M32 763.424h374.848v228.573H32V763.424z\"\r\n })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-help\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-hide\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M272.702 359.139c-80.483-9.011-136.212-86.886-116.93-167.042l116.93 167.042zM288 392c-102.556 0-192.092-54.701-240-136 21.755-36.917 52.1-68.342 88.344-91.658l-27.541-39.343C67.001 152.234 31.921 188.741 6.646 231.631a47.999 47.999 0 000 48.739C63.004 376.006 168.14 440 288 440a332.89 332.89 0 0039.648-2.367l-32.021-45.744A284.16 284.16 0 01288 392zm281.354-111.631c-33.232 56.394-83.421 101.742-143.554 129.492l48.116 68.74c3.801 5.429 2.48 12.912-2.949 16.712L450.23 509.83c-5.429 3.801-12.912 2.48-16.712-2.949L102.084 33.399c-3.801-5.429-2.48-12.912 2.949-16.712L125.77 2.17c5.429-3.801 12.912-2.48 16.712 2.949l55.526 79.325C226.612 76.343 256.808 72 288 72c119.86 0 224.996 63.994 281.354 159.631a48.002 48.002 0 010 48.738zM528 256c-44.157-74.933-123.677-127.27-216.162-135.007C302.042 131.078 296 144.83 296 160c0 30.928 25.072 56 56 56s56-25.072 56-56l-.001-.042c30.632 57.277 16.739 130.26-36.928 171.719l26.695 38.135C452.626 346.551 498.308 306.386 528 256z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-history\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M504 255.532c.252 136.64-111.182 248.372-247.822 248.468-64.014.045-122.373-24.163-166.394-63.942-5.097-4.606-5.3-12.543-.443-17.4l16.96-16.96c4.529-4.529 11.776-4.659 16.555-.395C158.208 436.843 204.848 456 256 456c110.549 0 200-89.468 200-200 0-110.549-89.468-200-200-200-55.52 0-105.708 22.574-141.923 59.043l49.091 48.413c7.641 7.535 2.305 20.544-8.426 20.544H26.412c-6.627 0-12-5.373-12-12V45.443c0-10.651 12.843-16.023 20.426-8.544l45.097 44.474C124.866 36.067 187.15 8 256 8c136.811 0 247.747 110.781 248 247.532zm-167.058 90.173l14.116-19.409c3.898-5.36 2.713-12.865-2.647-16.763L280 259.778V116c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v168.222l88.179 64.13c5.36 3.897 12.865 2.712 16.763-2.647z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-home\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M557.1 240.7L512 203.8V104c0-4.4-3.6-8-8-8h-32c-4.4 0-8 3.6-8 8v60.5L313.4 41.1c-14.7-12.1-36-12.1-50.7 0L18.9 240.7c-3.4 2.8-3.9 7.8-1.1 11.3l20.3 24.8c2.8 3.4 7.8 3.9 11.3 1.1l14.7-12V464c0 8.8 7.2 16 16 16h168c4.4 0 8-3.6 8-8V344h64v128c0 4.4 3.6 8 8 8h168c8.8 0 16-7.2 16-16V265.8l14.7 12c3.4 2.8 8.5 2.3 11.3-1.1l20.3-24.8c2.6-3.4 2.1-8.4-1.3-11.2zM464 432h-96V304c0-4.4-3.6-8-8-8H216c-4.4 0-8 3.6-8 8v128h-96V226.5l170.9-140c2.9-2.4 7.2-2.4 10.1 0l170.9 140V432z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-hour-glass\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M368 48h4c6.627 0 12-5.373 12-12V12c0-6.627-5.373-12-12-12H12C5.373 0 0 5.373 0 12v24c0 6.627 5.373 12 12 12h4c0 80.564 32.188 165.807 97.18 208C47.898 298.381 16 383.9 16 464h-4c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12h-4c0-80.564-32.188-165.807-97.18-208C336.102 213.619 368 128.1 368 48zm-48 0c0 28.672-4.564 55.81-12.701 80H76.701C68.564 103.81 64 76.672 64 48h256zm-12.701 336H76.701C97.405 322.453 141.253 280 192 280s94.595 42.453 115.299 104z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-id\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M404 256H300c-6.627 0-12-5.373-12-12v-16c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v16c0 6.627-5.373 12-12 12zm12 60v-16c0-6.627-5.373-12-12-12H300c-6.627 0-12 5.373-12 12v16c0 6.627 5.373 12 12 12h104c6.627 0 12-5.373 12-12zm96-204v288c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48zm-48 282V144H48v250a6 6 0 006 6h404a6 6 0 006-6zM176 192c27.614 0 50 22.386 50 50s-22.386 50-50 50-50-22.386-50-50 22.386-50 50-50zm57.276 104.319l-22.285-5.571c-23.413 16.841-51.793 13.083-69.981 0l-22.285 5.571C105.369 299.658 96 311.657 96 325.423V337c0 8.284 6.716 15 15 15h130c8.284 0 15-6.716 15-15v-11.577c0-13.766-9.369-25.765-22.724-29.104z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-image\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 01-6-6V118a6 6 0 016-6h404a6 6 0 016 6v276a6 6 0 01-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-indent\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M432 424H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16zM27.31 363.3l96-96a16 16 0 000-22.62l-96-96C17.27 138.66 0 145.78 0 160v192c0 14.31 17.33 21.3 27.31 11.3zM435.17 168H204.83A12.82 12.82 0 00192 180.83v22.34A12.82 12.82 0 00204.83 216h230.34A12.82 12.82 0 00448 203.17v-22.34A12.82 12.82 0 00435.17 168zM432 48H16A16 16 0 000 64v16a16 16 0 0016 16h416a16 16 0 0016-16V64a16 16 0 00-16-16zm3.17 248H204.83A12.82 12.82 0 00192 308.83v22.34A12.82 12.82 0 00204.83 344h230.34A12.82 12.82 0 00448 331.17v-22.34A12.82 12.82 0 00435.17 296z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-info\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm0-338c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-instagram\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-institution\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M472 440h-8v-56c0-13.255-10.745-24-24-24h-16V208h-48v152h-48V208h-48v152h-48V208h-48v152h-48V208H88v152H72c-13.255 0-24 10.745-24 24v56h-8c-13.255 0-24 10.745-24 24v16a8 8 0 008 8h464a8 8 0 008-8v-16c0-13.255-10.745-24-24-24zm-56 0H96v-32h320v32zm72.267-322.942L271.179 26.463a48.004 48.004 0 00-30.358 0L23.733 117.058A11.999 11.999 0 0016 128.274V156c0 6.627 5.373 12 12 12h20v12c0 6.627 5.373 12 12 12h392c6.627 0 12-5.373 12-12v-12h20c6.627 0 12-5.373 12-12v-27.726c0-4.982-3.077-9.445-7.733-11.216zM64 144l192-72 192 72H64z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-italic\", viewBox: \"0 0 320 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M320 48v16a16 16 0 01-16 16h-67l-88 352h59a16 16 0 0116 16v16a16 16 0 01-16 16H16a16 16 0 01-16-16v-16a16 16 0 0116-16h67l88-352h-59a16 16 0 01-16-16V48a16 16 0 0116-16h192a16 16 0 0116 16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-label\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M497.941 225.941L286.059 14.059A48 48 0 00252.118 0H48C21.49 0 0 21.49 0 48v204.118a47.998 47.998 0 0014.059 33.941l211.882 211.882c18.745 18.745 49.137 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM259.886 463.996L48 252.118V48h204.118L464 259.882 259.886 463.996zM192 144c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-laptop\", viewBox: \"0 0 640 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M628 352H358c-3.3 0-6 2.7-6 6v18c0 13.3-10.7 24-24 24h-16c-13.3 0-24-10.7-24-24v-18c0-3.3-2.7-6-6-6H12c-6.6 0-12 5.4-12 12v100c0 26.5 21.5 48 48 48h544c26.5 0 48-21.5 48-48V364c0-6.6-5.4-12-12-12zm-36 112H48v-64h208c0 13.3 10.7 32 24 32h80c13.3 0 24-18.7 24-32h208v64zM112 320h416c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48v224c0 26.5 21.5 48 48 48zm0-266c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v212c0 3.3-2.7 6-6 6H118c-3.3 0-6-2.7-6-6V54z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-lightbulb\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M272 428v28c0 10.449-6.68 19.334-16 22.629V488c0 13.255-10.745 24-24 24h-80c-13.255 0-24-10.745-24-24v-9.371c-9.32-3.295-16-12.18-16-22.629v-28c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12zM128 176c0-35.29 28.71-64 64-64 8.837 0 16-7.164 16-16s-7.163-16-16-16c-52.935 0-96 43.065-96 96 0 8.836 7.164 16 16 16s16-7.164 16-16zm64-128c70.734 0 128 57.254 128 128 0 77.602-37.383 60.477-80.98 160h-94.04C101.318 236.33 64 253.869 64 176c0-70.735 57.254-128 128-128m0-48C94.805 0 16 78.803 16 176c0 101.731 51.697 91.541 90.516 192.674 3.55 9.249 12.47 15.326 22.376 15.326h126.215c9.906 0 18.826-6.078 22.376-15.326C316.303 267.541 368 277.731 368 176 368 78.803 289.195 0 192 0z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-line-chart\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M500 400c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v324h452zM468 96H332c-10.7 0-16 12.9-8.5 20.5l52 52L288 256l-64-64L79 334.1l34 33.9 111-110.1 64 62.1 120.8-118.2 50.7 50.7c7.6 7.6 20.5 2.2 20.5-8.5V108c0-6.6-5.4-12-12-12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-line-columns\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M496 424H304a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-128H304a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-128H304a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-128H304a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16V56a16 16 0 00-16-16zM208 296H16a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16v-16a16 16 0 00-16-16zm0 128H16a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-384H16A16 16 0 000 56v16a16 16 0 0016 16h192a16 16 0 0016-16V56a16 16 0 00-16-16zm0 128H16a16 16 0 00-16 16v16a16 16 0 0016 16h192a16 16 0 0016-16v-16a16 16 0 00-16-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-link\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M314.222 197.78c51.091 51.091 54.377 132.287 9.75 187.16-6.242 7.73-2.784 3.865-84.94 86.02-54.696 54.696-143.266 54.745-197.99 0-54.711-54.69-54.734-143.255 0-197.99 32.773-32.773 51.835-51.899 63.409-63.457 7.463-7.452 20.331-2.354 20.486 8.192a173.31 173.31 0 004.746 37.828c.966 4.029-.272 8.269-3.202 11.198L80.632 312.57c-32.755 32.775-32.887 85.892 0 118.8 32.775 32.755 85.892 32.887 118.8 0l75.19-75.2c32.718-32.725 32.777-86.013 0-118.79a83.722 83.722 0 00-22.814-16.229c-4.623-2.233-7.182-7.25-6.561-12.346 1.356-11.122 6.296-21.885 14.815-30.405l4.375-4.375c3.625-3.626 9.177-4.594 13.76-2.294 12.999 6.524 25.187 15.211 36.025 26.049zM470.958 41.04c-54.724-54.745-143.294-54.696-197.99 0-82.156 82.156-78.698 78.29-84.94 86.02-44.627 54.873-41.341 136.069 9.75 187.16 10.838 10.838 23.026 19.525 36.025 26.049 4.582 2.3 10.134 1.331 13.76-2.294l4.375-4.375c8.52-8.519 13.459-19.283 14.815-30.405.621-5.096-1.938-10.113-6.561-12.346a83.706 83.706 0 01-22.814-16.229c-32.777-32.777-32.718-86.065 0-118.79l75.19-75.2c32.908-32.887 86.025-32.755 118.8 0 32.887 32.908 32.755 86.025 0 118.8l-45.848 45.84c-2.93 2.929-4.168 7.169-3.202 11.198a173.31 173.31 0 014.746 37.828c.155 10.546 13.023 15.644 20.486 8.192 11.574-11.558 30.636-30.684 63.409-63.457 54.733-54.735 54.71-143.3-.001-197.991z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-linkedin\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-list-ol\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M61.77 401l17.5-20.15a19.92 19.92 0 005.07-14.19v-3.31C84.34 356 80.5 352 73 352H16a8 8 0 00-8 8v16a8 8 0 008 8h22.84a154.82 154.82 0 00-11 12.31l-5.61 7c-4 5.07-5.25 10.13-2.8 14.88l1.05 1.93c3 5.76 6.3 7.88 12.25 7.88h4.73c10.33 0 15.94 2.44 15.94 9.09 0 4.72-4.2 8.22-14.36 8.22a41.54 41.54 0 01-15.47-3.12c-6.49-3.88-11.74-3.5-15.6 3.12l-5.59 9.31c-3.73 6.13-3.2 11.72 2.62 15.94 7.71 4.69 20.39 9.44 37 9.44 34.16 0 48.5-22.75 48.5-44.12-.03-14.38-9.12-29.76-28.73-34.88zM496 392H176a16 16 0 00-16 16v16a16 16 0 0016 16h320a16 16 0 0016-16v-16a16 16 0 00-16-16zm0-320H176a16 16 0 00-16 16v16a16 16 0 0016 16h320a16 16 0 0016-16V88a16 16 0 00-16-16zm0 160H176a16 16 0 00-16 16v16a16 16 0 0016 16h320a16 16 0 0016-16v-16a16 16 0 00-16-16zM16 160h64a8 8 0 008-8v-16a8 8 0 00-8-8H64V40a8 8 0 00-8-8H32a8 8 0 00-7.14 4.42l-8 16A8 8 0 0024 64h8v64H16a8 8 0 00-8 8v16a8 8 0 008 8zm-3.9 160H80a8 8 0 008-8v-16a8 8 0 00-8-8H41.33c3.28-10.29 48.33-18.68 48.33-56.44 0-29.06-25-39.56-44.47-39.56-21.36 0-33.8 10-40.45 18.75-4.38 5.59-3 10.84 2.79 15.37l8.58 6.88c5.61 4.56 11 2.47 16.13-2.44a13.4 13.4 0 019.45-3.84c3.33 0 9.28 1.56 9.28 8.75C51 248.19 0 257.31 0 304.59v4C0 316 5.08 320 12.1 320z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-list-view\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M96 96c0 26.51-21.49 48-48 48S0 122.51 0 96s21.49-48 48-48 48 21.49 48 48zM48 208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm0 160c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm464-256V80c0-6.627-5.373-12-12-12H140c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12zm0 160v-32c0-6.627-5.373-12-12-12H140c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12zm0 160v-32c0-6.627-5.373-12-12-12H140c-6.627 0-12 5.373-12 12v32c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-location\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M192 0C85.903 0 0 86.014 0 192c0 71.117 23.991 93.341 151.271 297.424 18.785 30.119 62.694 30.083 81.457 0C360.075 285.234 384 263.103 384 192 384 85.903 297.986 0 192 0zm0 464C64.576 259.686 48 246.788 48 192c0-79.529 64.471-144 144-144s144 64.471 144 144c0 54.553-15.166 65.425-144 272z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-lock\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M400 192h-32v-46.6C368 65.8 304 .2 224.4 0 144.8-.2 80 64.5 80 144v48H48c-26.5 0-48 21.5-48 48v224c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V240c0-26.5-21.5-48-48-48zm-272-48c0-52.9 43.1-96 96-96s96 43.1 96 96v48H128v-48zm272 320H48V240h352v224z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-menu\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-mobile\", viewBox: \"0 0 320 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M192 416c0 17.7-14.3 32-32 32s-32-14.3-32-32 14.3-32 32-32 32 14.3 32 32zM320 48v416c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h224c26.5 0 48 21.5 48 48zm-48 410V54c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v404c0 3.3 2.7 6 6 6h212c3.3 0 6-2.7 6-6z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-more-horizontal\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M304 256c0 26.5-21.5 48-48 48s-48-21.5-48-48 21.5-48 48-48 48 21.5 48 48zm120-48c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48zm-336 0c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-more-vertical\", viewBox: \"0 0 128 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M64 208c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zM16 104c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48zm0 304c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-mouse-pointer\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M356.683 255.576L115.915 18.636C77.055-21.086 8 6.909 8 62.87v349.112c0 55.241 67.457 83.887 107.414 44.727l23.927-23.449 17.535 40.669.121.281.125.274c13.903 31.145 50.295 45.894 82.155 32.648l41.903-17.395.254-.106.253-.109c15.618-6.697 27.662-19.038 33.912-34.749 6.184-15.545 5.927-32.568-.724-47.933l-18.71-43.423h16.527c55.848.002 85.165-68.485 43.991-107.841zm-43.872 59.843h-89.594l47.607 110.491c3.316 7.661-.474 16.249-8.053 19.499l-41.922 17.409c-7.816 3.25-16.58-.465-19.895-7.892l-45.238-104.92-73.898 72.423C72.038 432.012 56 424.734 56 411.982V62.868c0-13.309 16.978-19.829 25.817-10.445L323.47 290.117c9.79 9.091 2.553 25.302-10.659 25.302z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-move\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M360.549 412.216l-96.064 96.269c-4.686 4.686-12.284 4.686-16.971 0l-96.064-96.269c-4.686-4.686-4.686-12.284 0-16.971l19.626-19.626c4.753-4.753 12.484-4.675 17.14.173L230 420.78h2V280H91.22v2l44.986 41.783c4.849 4.656 4.927 12.387.173 17.14l-19.626 19.626c-4.686 4.686-12.284 4.686-16.971 0L3.515 264.485c-4.686-4.686-4.686-12.284 0-16.971l96.269-96.064c4.686-4.686 12.284-4.686 16.97 0l19.626 19.626c4.753 4.753 4.675 12.484-.173 17.14L91.22 230v2H232V91.22h-2l-41.783 44.986c-4.656 4.849-12.387 4.927-17.14.173l-19.626-19.626c-4.686-4.686-4.686-12.284 0-16.971l96.064-96.269c4.686-4.686 12.284-4.686 16.971 0l96.064 96.269c4.686 4.686 4.686 12.284 0 16.971l-19.626 19.626c-4.753 4.753-12.484 4.675-17.14-.173L282 91.22h-2V232h140.78v-2l-44.986-41.783c-4.849-4.656-4.927-12.387-.173-17.14l19.626-19.626c4.686-4.686 12.284-4.686 16.971 0l96.269 96.064c4.686 4.686 4.686 12.284 0 16.971l-96.269 96.064c-4.686 4.686-12.284 4.686-16.971 0l-19.626-19.626c-4.753-4.753-4.675-12.484.173-17.14L420.78 282v-2H280v140.78h2l41.783-44.986c4.656-4.849 12.387-4.927 17.14-.173l19.626 19.626c4.687 4.685 4.687 12.283 0 16.969z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-note\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M448 348.106V80c0-26.51-21.49-48-48-48H48C21.49 32 0 53.49 0 80v351.988c0 26.51 21.49 48 48 48h268.118a48 48 0 0033.941-14.059l83.882-83.882A48 48 0 00448 348.106zm-128 80v-76.118h76.118L320 428.106zM400 80v223.988H296c-13.255 0-24 10.745-24 24v104H48V80h352z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-notification\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M425.403 330.939c-16.989-16.785-34.546-34.143-34.546-116.083 0-83.026-60.958-152.074-140.467-164.762A31.843 31.843 0 00256 32c0-17.673-14.327-32-32-32s-32 14.327-32 32a31.848 31.848 0 005.609 18.095C118.101 62.783 57.143 131.831 57.143 214.857c0 81.933-17.551 99.292-34.543 116.078C-25.496 378.441 9.726 448 66.919 448H160c0 35.346 28.654 64 64 64 35.346 0 64-28.654 64-64h93.08c57.19 0 92.415-69.583 44.323-117.061zM224 472c-13.234 0-24-10.766-24-24h48c0 13.234-10.766 24-24 24zm157.092-72H66.9c-16.762 0-25.135-20.39-13.334-32.191 28.585-28.585 51.577-55.724 51.577-152.952C105.143 149.319 158.462 96 224 96s118.857 53.319 118.857 118.857c0 97.65 23.221 124.574 51.568 152.952C406.278 379.661 397.783 400 381.092 400z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-partial\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 56c110.549 0 200 89.468 200 200 0 110.549-89.468 200-200 200-110.549 0-200-89.468-200-200 0-110.549 89.468-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 96c-83.947 0-152 68.053-152 152s68.053 152 152 152V104z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-phone\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M476.536 22.921L382.288 1.18c-21.6-4.984-43.609 6.185-52.339 26.556l-43.5 101.492c-7.982 18.626-2.604 40.598 13.081 53.43l40.016 32.741c-28.537 52.375-71.771 95.609-124.147 124.147l-32.741-40.015c-12.832-15.685-34.804-21.063-53.43-13.081L27.736 329.949C7.365 338.68-3.804 360.691 1.18 382.287l21.742 94.25C27.74 497.417 46.072 512 67.5 512 312.347 512 512 313.731 512 67.5c0-21.429-14.583-39.761-35.464-44.579zM69.289 463.996l-20.921-90.669 98.212-42.091 55.716 68.094c98.805-46.353 150.588-98.036 197.036-197.035l-68.097-55.715 42.092-98.212 90.669 20.921c-.947 217.588-177.09 393.755-394.707 394.707z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-pie-chart\", viewBox: \"0 0 544 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M280 48c101.6 0 184 82.4 184 184H280V48m-48 48v184l130.1 130.1C328.8 443.4 282.8 464 232 464c-101.6 0-184-82.4-184-184S130.4 96 232 96m264 184c0 49.9-19 99.8-57.1 137.9L301 280h195M232 12v36C103.9 48 0 151.8 0 280c0 128.1 103.8 232 232 232 62.1 0 120.7-24.6 164.1-67.9l.6-.6 8.3 8.3 25.5 25.5c4.7 4.7 12.3 4.7 17 0l25.5-25.5c46-46 71.2-107.6 71.2-171.8v-36c0-6.6-5.4-12-12-12h-20c0-31.3-6.1-61.7-18.3-90.3C471 87.8 427.5 42.4 370.3 18.3 341.7 6.1 311.3 0 280 0h-36c-6.6 0-12 5.4-12 12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-pin\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M306.49 186.64L300.8 144H328c13.25 0 24-10.75 24-24V24c0-13.25-10.75-24-24-24H56C42.75 0 32 10.75 32 24v96c0 13.25 10.75 24 24 24h27.2l-5.69 42.64C29.582 219.397 0 270.66 0 328c0 13.25 10.75 24 24 24h144v104.014a8 8 0 00.411 2.53l16 48c2.423 7.269 12.752 7.281 15.179 0l16-48a8 8 0 00.411-2.53V352h144c13.25 0 24-10.75 24-24-.001-57.306-29.56-108.587-77.511-141.36zM50.54 304c8.253-38.45 35.63-70.048 71.46-87.83L138.02 96H80V48h224v48h-58.02L262 216.17c35.849 17.791 63.212 49.402 71.46 87.83H50.54z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-platform-components\", viewBox: \"0 0 928 1024\" },\r\n _react2.default.createElement(\"path\", { d: \"M845.64 736c-18.624 32.192-89.792 44.928-190.72 25.536 9.408-38.272 16.576-79.68 21.504-123.2 34.944-25.856 67.008-52.544 95.296-79.616 66.56 77.312 92.416 145.216 73.92 177.28zM457.672 960c-37.248 0-83.84-55.296-117.504-152.384 37.824-11.008 77.312-25.408 117.504-43.008 40.128 17.6 79.616 32 117.44 43.008C541.448 904.704 494.856 960 457.672 960zM69.64 736c-18.496-32.064 7.36-99.968 73.92-177.28 28.288 27.072 60.288 53.76 95.296 79.616 4.864 43.52 12.096 84.928 21.504 123.2C159.432 780.928 88.264 768.192 69.64 736zm0-448c18.624-32.192 89.792-44.928 190.72-25.536-9.408 38.272-16.64 79.68-21.504 123.2-34.944 25.792-67.008 52.544-95.296 79.616C77 388.032 51.144 320.064 69.64 288zM457.672 64c37.184 0 83.776 55.296 117.44 152.384-37.824 10.944-77.312 25.408-117.44 43.008-40.192-17.6-79.68-32.064-117.504-43.008C373.832 119.296 420.424 64 457.672 64zM682.76 471.744c16.256 13.568 30.528 26.88 44.416 40.256-13.888 13.376-28.16 26.688-44.416 40.192.448-13.312.896-26.624.896-40.192s-.448-26.88-.896-40.256zM535.048 296.768c19.968-7.36 39.296-13.76 57.92-19.136 4.608 18.816 8.768 38.72 12.352 59.712-11.392-7.104-22.784-14.208-34.688-21.056-11.84-6.848-23.744-13.184-35.584-19.52zM309.96 337.344c3.584-20.992 7.68-40.896 12.352-59.712 18.624 5.376 37.952 11.776 57.92 19.136-11.904 6.336-23.744 12.672-35.584 19.52-11.904 6.848-23.296 13.952-34.688 21.056zm-77.44 214.848c-16.256-13.504-30.528-26.816-44.416-40.192 13.888-13.376 28.16-26.688 44.416-40.256-.448 13.376-.896 26.688-.896 40.256s.448 26.88.896 40.192zm147.712 175.04c-19.968 7.424-39.296 13.76-57.92 19.136-4.672-18.816-8.768-38.72-12.352-59.712 11.392 7.104 22.784 14.208 34.688 21.12 11.84 6.784 23.68 13.184 35.584 19.456zm225.088-40.576c-3.584 20.992-7.744 40.896-12.352 59.712-18.624-5.376-37.952-11.712-57.92-19.136 11.84-6.272 23.744-12.672 35.584-19.456 11.904-6.912 23.296-14.016 34.688-21.12zm-66.688-34.368c-27.584 15.936-54.592 29.888-80.96 42.368-26.432-12.48-53.44-26.432-81.024-42.368-27.712-16-53.184-32.448-77.184-49.152-2.432-28.992-3.84-59.328-3.84-91.136s1.408-62.144 3.84-91.136c24-16.704 49.472-33.152 77.184-49.152 27.584-15.936 54.592-29.888 81.024-42.368 26.368 12.48 53.376 26.432 80.96 42.368 27.712 16 53.184 32.448 77.184 49.152 2.368 28.992 3.84 59.328 3.84 91.136s-1.472 62.144-3.84 91.136c-24 16.704-49.472 33.152-77.184 49.152zM845.64 288c18.496 32.064-7.36 100.032-73.92 177.28-28.288-27.072-60.352-53.824-95.296-79.616-4.928-43.52-12.096-84.928-21.504-123.2 100.928-19.392 172.096-6.656 190.72 25.536zM901 256c-36.544-63.36-137.536-80-264-54.656C595.72 79.168 530.824 0 457.672 0 384.456 0 319.56 79.168 278.28 201.344 151.816 176 50.824 192.64 14.216 256s-.448 159.104 84.736 256C13.768 608.896-22.392 704.64 14.216 768s137.6 80 264.064 54.656C319.56 944.896 384.456 1024 457.672 1024c73.152 0 138.048-79.104 179.328-201.344C763.464 848 864.456 831.36 901 768c36.608-63.36.512-159.104-84.672-256 85.184-96.896 121.28-192.64 84.672-256z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-plus-circle\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M384 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm120 16c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-48 0c0-110.5-89.5-200-200-200S56 145.5 56 256s89.5 200 200 200 200-89.5 200-200z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-print\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M416 192V81.9c0-6.4-2.5-12.5-7-17L351 7c-4.5-4.5-10.6-7-17-7H120c-13.3 0-24 10.7-24 24v168c-53 0-96 43-96 96v136c0 13.3 10.7 24 24 24h72v40c0 13.3 10.7 24 24 24h272c13.3 0 24-10.7 24-24v-40h72c13.3 0 24-10.7 24-24V288c0-53-43-96-96-96zM144 48h180.1L368 91.9V240H144V48zm224 416H144v-80h224v80zm96-64h-48v-40c0-13.2-10.8-24-24-24H120c-13.2 0-24 10.8-24 24v40H48V288c0-26.5 21.5-48 48-48v24c0 13.2 10.8 24 24 24h272c13.2 0 24-10.8 24-24v-24c26.5 0 48 21.5 48 48v112zm-8-96c0 13.3-10.7 24-24 24s-24-10.7-24-24 10.7-24 24-24 24 10.7 24 24z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-privacy\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M113.12 159.533L256 100v309.65c-77.73-47.559-134.486-133.931-142.88-250.117zM496 128c0 221.282-135.934 344.645-221.539 380.308a48 48 0 01-36.923 0C130.495 463.713 16 326.487 16 128a48 48 0 0129.539-44.308l192-80a48 48 0 0136.923 0l192 80A48 48 0 01496 128zm-48 0L255.999 48 64 128c0 169.278 94.451 295.361 191.998 335.999C349.602 425.017 448 301.804 448 128z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-rating\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-refresh\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M500 8h-27.711c-6.739 0-12.157 5.548-11.997 12.286l2.347 98.575C418.212 52.043 342.256 8 256 8 134.813 8 33.933 94.924 12.296 209.824 10.908 217.193 16.604 224 24.103 224h28.576c5.674 0 10.542-3.982 11.737-9.529C83.441 126.128 161.917 60 256 60c79.545 0 147.942 47.282 178.676 115.302l-126.39-3.009c-6.737-.16-12.286 5.257-12.286 11.997V212c0 6.627 5.373 12 12 12h192c6.627 0 12-5.373 12-12V20c0-6.627-5.373-12-12-12zm-12.103 280h-28.576c-5.674 0-10.542 3.982-11.737 9.529C428.559 385.872 350.083 452 256 452c-79.546 0-147.942-47.282-178.676-115.302l126.39 3.009c6.737.16 12.286-5.257 12.286-11.997V300c0-6.627-5.373-12-12-12H12c-6.627 0-12 5.373-12 12v192c0 6.627 5.373 12 12 12h27.711c6.739 0 12.157-5.548 11.997-12.286l-2.347-98.575C93.788 459.957 169.744 504 256 504c121.187 0 222.067-86.924 243.704-201.824 1.388-7.369-4.308-14.176-11.807-14.176z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-reply\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M14.062 257.94L190.06 433.88c30.21 30.21 81.94 8.7 81.94-33.94v-78.28c146.59 8.54 158.53 50.199 134.18 127.879-13.65 43.56 35.07 78.89 72.19 54.46C537.98 464.768 576 403.8 576 330.05c0-170.37-166.04-197.15-304-201.3V48.047c0-42.72-51.79-64.09-81.94-33.94L14.062 190.06c-18.75 18.74-18.75 49.14 0 67.88zM48 224L224 48v128.03c143.181.63 304 11.778 304 154.02 0 66.96-40 109.95-76.02 133.65C501.44 305.911 388.521 273.88 224 272.09V400L48 224z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-requirements\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M512 128V96c0-6.6-5.4-12-12-12H204c-6.6 0-12 5.5-12 12.2V128c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12zm0 160v-32c0-6.6-5.4-12-12-12H204c-6.6 0-12 5.4-12 12v32c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12zm0 160v-32c0-6.6-5.4-12-12-12H204c-6.6 0-12 5.4-12 12v32c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12zM162.1 64.8l-92 91.8c-4.7 4.7-12.3 4.7-17 0l-12.4-12.4-37.2-37.5c-4.7-4.7-4.7-12.3 0-17l12.4-12.4c4.7-4.7 12.3-4.7 17 0l28.8 29.2 71.1-71.1c4.7-4.7 12.3-4.7 17 0l12.4 12.4c4.6 4.8 4.6 12.4-.1 17zm0 159.9l-92 92c-4.7 4.7-12.3 4.7-17 0l-12.4-12.4-37.2-37.7c-4.7-4.7-4.7-12.3 0-17l12.4-12.4c4.7-4.7 12.3-4.7 17 0l28.8 29.2 71.1-71.1c4.7-4.7 12.3-4.7 17 0l12.4 12.4c4.6 4.7 4.6 12.3-.1 17zM64 384c-26.5 0-47.6 21.5-47.6 48s21.1 48 47.6 48 48-21.5 48-48-21.5-48-48-48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-save\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M433.941 129.941l-83.882-83.882A48 48 0 00316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 00-14.059-33.941zM272 80v80H144V80h128zm122 352H54a6 6 0 01-6-6V86a6 6 0 016-6h42v104c0 13.255 10.745 24 24 24h176c13.255 0 24-10.745 24-24V83.882l78.243 78.243a6 6 0 011.757 4.243V426a6 6 0 01-6 6zM224 232c-48.523 0-88 39.477-88 88s39.477 88 88 88 88-39.477 88-88-39.477-88-88-88zm0 128c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-search\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-send\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-settings\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M452.515 237l31.843-18.382c9.426-5.441 13.996-16.542 11.177-27.054-11.404-42.531-33.842-80.547-64.058-110.797-7.68-7.688-19.575-9.246-28.985-3.811l-31.785 18.358a196.276 196.276 0 00-32.899-19.02V39.541a24.016 24.016 0 00-17.842-23.206c-41.761-11.107-86.117-11.121-127.93-.001-10.519 2.798-17.844 12.321-17.844 23.206v36.753a196.276 196.276 0 00-32.899 19.02l-31.785-18.358c-9.41-5.435-21.305-3.877-28.985 3.811-30.216 30.25-52.654 68.265-64.058 110.797-2.819 10.512 1.751 21.613 11.177 27.054L59.485 237a197.715 197.715 0 000 37.999l-31.843 18.382c-9.426 5.441-13.996 16.542-11.177 27.054 11.404 42.531 33.842 80.547 64.058 110.797 7.68 7.688 19.575 9.246 28.985 3.811l31.785-18.358a196.202 196.202 0 0032.899 19.019v36.753a24.016 24.016 0 0017.842 23.206c41.761 11.107 86.117 11.122 127.93.001 10.519-2.798 17.844-12.321 17.844-23.206v-36.753a196.34 196.34 0 0032.899-19.019l31.785 18.358c9.41 5.435 21.305 3.877 28.985-3.811 30.216-30.25 52.654-68.266 64.058-110.797 2.819-10.512-1.751-21.613-11.177-27.054L452.515 275c1.22-12.65 1.22-25.35 0-38zm-52.679 63.019l43.819 25.289a200.138 200.138 0 01-33.849 58.528l-43.829-25.309c-31.984 27.397-36.659 30.077-76.168 44.029v50.599a200.917 200.917 0 01-67.618 0v-50.599c-39.504-13.95-44.196-16.642-76.168-44.029l-43.829 25.309a200.15 200.15 0 01-33.849-58.528l43.819-25.289c-7.63-41.299-7.634-46.719 0-88.038l-43.819-25.289c7.85-21.229 19.31-41.049 33.849-58.529l43.829 25.309c31.984-27.397 36.66-30.078 76.168-44.029V58.845a200.917 200.917 0 0167.618 0v50.599c39.504 13.95 44.196 16.642 76.168 44.029l43.829-25.309a200.143 200.143 0 0133.849 58.529l-43.819 25.289c7.631 41.3 7.634 46.718 0 88.037zM256 160c-52.935 0-96 43.065-96 96s43.065 96 96 96 96-43.065 96-96-43.065-96-96-96zm0 144c-26.468 0-48-21.532-48-48 0-26.467 21.532-48 48-48s48 21.533 48 48c0 26.468-21.532 48-48 48z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-share\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M448 416c0 53.019-42.981 96-96 96s-96-42.981-96-96a95.942 95.942 0 014.438-28.924l-98.337-61.46C144.887 341.966 121.616 352 96 352c-53.019 0-96-42.981-96-96s42.981-96 96-96c25.616 0 48.887 10.034 66.101 26.385l98.337-61.461A95.942 95.942 0 01256 96c0-53.019 42.981-96 96-96s96 42.981 96 96-42.981 96-96 96c-25.616 0-48.887-10.034-66.101-26.385l-98.337 61.461c5.917 18.75 5.922 39.083 0 57.848l98.337 61.461C303.113 330.034 326.384 320 352 320c53.019 0 96 42.981 96 96zM352 48c-26.467 0-48 21.533-48 48s21.533 48 48 48 48-21.533 48-48-21.533-48-48-48M96 208c-26.467 0-48 21.533-48 48s21.533 48 48 48 48-21.533 48-48-21.533-48-48-48m256 160c-26.467 0-48 21.533-48 48s21.533 48 48 48 48-21.533 48-48-21.533-48-48-48\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-show\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M569.354 231.631C512.97 135.949 407.81 72 288 72 168.14 72 63.004 135.994 6.646 231.631a47.999 47.999 0 000 48.739C63.031 376.051 168.19 440 288 440c119.86 0 224.996-63.994 281.354-159.631a47.997 47.997 0 000-48.738zM288 392c-102.556 0-192.091-54.701-240-136 44.157-74.933 123.677-127.27 216.162-135.007C273.958 131.078 280 144.83 280 160c0 30.928-25.072 56-56 56s-56-25.072-56-56l.001-.042C157.794 179.043 152 200.844 152 224c0 75.111 60.889 136 136 136s136-60.889 136-136c0-31.031-10.4-59.629-27.895-82.515C451.704 164.638 498.009 205.106 528 256c-47.908 81.299-137.444 136-240 136z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-sign-out\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M96 64h84c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H96c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h84c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H96c-53 0-96-43-96-96V160c0-53 43-96 96-96zm231.1 19.5l-19.6 19.6c-4.8 4.8-4.7 12.5.2 17.1L420.8 230H172c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h248.8L307.7 391.7c-4.8 4.7-4.9 12.4-.2 17.1l19.6 19.6c4.7 4.7 12.3 4.7 17 0l164.4-164c4.7-4.7 4.7-12.3 0-17l-164.4-164c-4.7-4.6-12.3-4.6-17 .1z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-sort\", viewBox: \"0 0 320 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M272 288H48.1c-42.6 0-64.2 51.7-33.9 81.9l111.9 112c18.7 18.7 49.1 18.7 67.9 0l112-112c30-30.1 8.7-81.9-34-81.9zM160 448L48 336h224L160 448zM48 224h223.9c42.6 0 64.2-51.7 33.9-81.9l-111.9-112c-18.7-18.7-49.1-18.7-67.9 0l-112 112C-16 172.2 5.3 224 48 224zM160 64l112 112H48L160 64z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-spinner\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M296 48c0 22.091-17.909 40-40 40s-40-17.909-40-40 17.909-40 40-40 40 17.909 40 40zm-40 376c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zm248-168c0-22.091-17.909-40-40-40s-40 17.909-40 40 17.909 40 40 40 40-17.909 40-40zm-416 0c0-22.091-17.909-40-40-40S8 233.909 8 256s17.909 40 40 40 40-17.909 40-40zm20.922-187.078c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40c0-22.092-17.909-40-40-40zm294.156 294.156c-22.091 0-40 17.909-40 40s17.909 40 40 40c22.092 0 40-17.909 40-40s-17.908-40-40-40zm-294.156 0c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-stopwatch\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M393.9 184l22.6-22.6c4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0l-20.7 20.7c-31.1-27.5-70.4-45.9-113.8-50.8V48h28c6.6 0 12-5.4 12-12V12c0-6.6-5.4-12-12-12H172c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12h28v49.4C96.4 109.3 16 197.2 16 304c0 114.9 93.1 208 208 208s208-93.1 208-208c0-44.7-14.1-86.1-38.1-120zM224 464c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160zm12-112h-24c-6.6 0-12-5.4-12-12V204c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v136c0 6.6-5.4 12-12 12z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-strikethrough\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M150.39 208h113.17l-46.31-23.16a45.65 45.65 0 010-81.68A67.93 67.93 0 01247.56 96H310a45.59 45.59 0 0136.49 18.25l15.09 20.13a16 16 0 0022.4 3.21l25.62-19.19a16 16 0 003.21-22.4L397.7 75.84A109.44 109.44 0 00310.1 32h-62.54a132.49 132.49 0 00-58.94 13.91c-40.35 20.17-64.19 62.31-60.18 108 1.76 20.09 10.02 38.37 21.95 54.09zM496 240H16a16 16 0 00-16 16v16a16 16 0 0016 16h480a16 16 0 0016-16v-16a16 16 0 00-16-16zm-92.5 80h-91.07l14.32 7.16a45.65 45.65 0 010 81.68 67.93 67.93 0 01-30.31 7.16H234a45.59 45.59 0 01-36.49-18.25l-15.09-20.13a16 16 0 00-22.4-3.21L134.4 393.6a16 16 0 00-3.21 22.4l15.11 20.17A109.44 109.44 0 00233.9 480h62.54a132.42 132.42 0 0058.93-13.91c40.36-20.17 64.2-62.31 60.19-108-1.19-13.69-5.89-26.27-12.06-38.09z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-subtract\", viewBox: \"0 0 384 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M368 224H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h352c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-text\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M432 32a16 16 0 0116 16v80a16 16 0 01-16 16h-16a16 16 0 01-16-16V96H256v336h48a16 16 0 0116 16v16a16 16 0 01-16 16H144a16 16 0 01-16-16v-16a16 16 0 0116-16h48V96H48v32a16 16 0 01-16 16H16a16 16 0 01-16-16V48a16 16 0 0116-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-trash\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M192 188v216c0 6.627-5.373 12-12 12h-24c-6.627 0-12-5.373-12-12V188c0-6.627 5.373-12 12-12h24c6.627 0 12 5.373 12 12zm100-12h-24c-6.627 0-12 5.373-12 12v216c0 6.627 5.373 12 12 12h24c6.627 0 12-5.373 12-12V188c0-6.627-5.373-12-12-12zm132-96c13.255 0 24 10.745 24 24v12c0 6.627-5.373 12-12 12h-20v336c0 26.51-21.49 48-48 48H80c-26.51 0-48-21.49-48-48V128H12c-6.627 0-12-5.373-12-12v-12c0-13.255 10.745-24 24-24h74.411l34.018-56.696A48 48 0 01173.589 0h100.823a48 48 0 0141.16 23.304L349.589 80H424zm-269.611 0h139.223L276.16 50.913A6 6 0 00271.015 48h-94.028a6 6 0 00-5.145 2.913L154.389 80zM368 128H80v330a6 6 0 006 6h276a6 6 0 006-6V128z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-twitter\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-underline\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M32 48h32v208c0 88.22 71.78 160 160 160s160-71.78 160-160V48h32a16 16 0 0016-16V16a16 16 0 00-16-16H288a16 16 0 00-16 16v16a16 16 0 0016 16h32v208a96 96 0 01-192 0V48h32a16 16 0 0016-16V16a16 16 0 00-16-16H32a16 16 0 00-16 16v16a16 16 0 0016 16zm400 416H16a16 16 0 00-16 16v16a16 16 0 0016 16h416a16 16 0 0016-16v-16a16 16 0 00-16-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-undo\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M12 8h27.711c6.739 0 12.157 5.548 11.997 12.286l-2.347 98.568C93.925 51.834 170.212 7.73 256.793 8.001 393.18 8.428 504.213 120.009 504 256.396 503.786 393.181 392.835 504 256 504c-63.926 0-122.202-24.187-166.178-63.908-5.113-4.618-5.354-12.561-.482-17.433l19.738-19.738c4.498-4.498 11.753-4.785 16.501-.552C160.213 433.246 205.895 452 256 452c108.322 0 196-87.662 196-196 0-108.322-87.662-196-196-196-79.545 0-147.941 47.282-178.675 115.302l126.389-3.009c6.737-.16 12.286 5.257 12.286 11.997V212c0 6.627-5.373 12-12 12H12c-6.627 0-12-5.373-12-12V20C0 13.373 5.373 8 12 8z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-unlock\", viewBox: \"0 0 448 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M400 240H128v-94.8c0-52.8 42.1-96.7 95-97.2 53.4-.6 97 42.7 97 96v24c0 13.3 10.7 24 24 24s24-10.7 24-24v-22.6C368 65.8 304 .2 224.3 0 144.8-.2 80 64.5 80 144v96H48c-26.5 0-48 21.5-48 48v176c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V288c0-26.5-21.5-48-48-48zm0 224H48V288h352v176z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-upload\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M528 288H384v-32h64c42.6 0 64.2-51.7 33.9-81.9l-160-160c-18.8-18.8-49.1-18.7-67.9 0l-160 160c-30.1 30.1-8.7 81.9 34 81.9h64v32H48c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V336c0-26.5-21.5-48-48-48zm-400-80L288 48l160 160H336v160h-96V208H128zm400 256H48V336h144v32c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48v-32h144v128zm-40-64c0 13.3-10.7 24-24 24s-24-10.7-24-24 10.7-24 24-24 24 10.7 24 24z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-user-plus\", viewBox: \"0 0 640 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96zm89.6 256c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zm224-248h-72v-72c0-8.8-7.2-16-16-16h-16c-8.8 0-16 7.2-16 16v72h-72c-8.8 0-16 7.2-16 16v16c0 8.8 7.2 16 16 16h72v72c0 8.8 7.2 16 16 16h16c8.8 0 16-7.2 16-16v-72h72c8.8 0 16-7.2 16-16v-16c0-8.8-7.2-16-16-16z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-user\", viewBox: \"0 0 24 24\" },\r\n _react2.default.createElement(\"path\", {\r\n d: \"M12 0c6.627 0 12 5.373 12 12s-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0zm0 2.323A9.672 9.672 0 002.323 12a9.648 9.648 0 002.89 6.901c2.826-2.126 4.239-3.336 4.239-3.633 0-.467 1.191-1.121 0-2.103-1.192-.983-3.623-8.35 2.686-8.35s4.106 7.031 3.009 8.35c-1.097 1.318.077 2.089.628 2.72.32.365 1.432 1.257 3.339 2.676A9.63 9.63 0 0021.677 12c0-5.35-4.329-9.677-9.677-9.677z\",\r\n fillRule: \"evenodd\"\r\n })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-warning\", viewBox: \"0 0 512 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm42-104c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42zm-81.37-211.401l6.8 136c.319 6.387 5.591 11.401 11.985 11.401h41.17c6.394 0 11.666-5.014 11.985-11.401l6.8-136c.343-6.854-5.122-12.599-11.985-12.599h-54.77c-6.863 0-12.328 5.745-11.985 12.599z\" })\r\n ),\r\n _react2.default.createElement(\r\n \"symbol\",\r\n { id: \"ds-icon-youtube\", viewBox: \"0 0 576 512\" },\r\n _react2.default.createElement(\"path\", { d: \"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z\" })\r\n )\r\n );\r\n};\r\n\r\nexports.default = IconSprite;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _IconSprite = require('./IconSprite');\r\n\r\nObject.defineProperty(exports, 'default', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_IconSprite).default;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.icons = undefined;\r\n\r\nvar _react = require('react');\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nvar _propTypes = require('prop-types');\r\n\r\nvar _propTypes2 = _interopRequireDefault(_propTypes);\r\n\r\nrequire('./Icon.css');\r\n\r\nvar _classnames = require('classnames');\r\n\r\nvar _classnames2 = _interopRequireDefault(_classnames);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar icons = exports.icons = ['add', 'address-card', 'align-center', 'align-justify', 'align-left', 'align-right', 'applications-alt', 'applications', 'approve', 'arrow-double-left', 'arrow-double-right', 'arrow-down', 'arrow-end-left', 'arrow-end-right', 'arrow-left', 'arrow-right', 'arrow-up', 'bar-chart', 'bold', 'bookmark-solid', 'bookmark', 'calculator', 'calendar-add', 'calendar-check', 'calendar-delete', 'calendar-grid', 'calendar-minus', 'calendar', 'caret-circle-right', 'cart', 'check-circle', 'check-feedback', 'check', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'circle', 'clipboard-check', 'clipboard-list', 'clock', 'close', 'cloud', 'code-branch', 'color', 'compass', 'completion', 'configuration', 'copy', 'course', 'daily-work', 'dashboard', 'deny', 'download', 'drag', 'edit', 'email', 'employment', 'error', 'external-link', 'facebook', 'favorite', 'file-export', 'file-image', 'file-text', 'filter', 'flask', 'flip', 'folder-open', 'folder', 'forward', 'gift', 'globe', 'graduation', 'grid-view', 'help', 'hide', 'history', 'home', 'hour-glass', 'id', 'image', 'indent', 'info', 'instagram', 'institution', 'italic', 'label', 'laptop', 'lightbulb', 'line-chart', 'line-columns', 'link', 'linkedin', 'list-ol', 'list-view', 'location', 'lock', 'menu', 'mobile', 'more-horizontal', 'more-vertical', 'mouse-pointer', 'move', 'note', 'notification', 'partial', 'phone', 'pie-chart', 'pin', 'platform-components', 'plus-circle', 'print', 'privacy', 'rating', 'refresh', 'reply', 'requirements', 'save', 'search', 'send', 'settings', 'share', 'show', 'sign-out', 'sort', 'spinner', 'stopwatch', 'strikethrough', 'subtract', 'text', 'trash', 'twitter', 'underline', 'undo', 'unlock', 'upload', 'user-plus', 'user', 'warning', 'youtube'];\r\n\r\nvar RTL_MIRRORABLE_ICONS = ['arrow-double-left', 'arrow-double-right', 'arrow-end-left', 'arrow-end-right', 'arrow-left', 'arrow-right', 'bar-chart', 'chevron-left', 'chevron-right', 'external-link', 'help', 'line-chart', 'sign-out'];\r\n\r\n/**\r\n * Display an icon by name.\r\n * @param {string} name\r\n */\r\nvar Icon = _react2.default.forwardRef(function (props, ref) {\r\n var large = props.large,\r\n spin = props.spin,\r\n nameProp = props.name,\r\n dir = props.dir,\r\n rest = _objectWithoutProperties(props, ['large', 'spin', 'name', 'dir']);\r\n\r\n var name = nameProp;\r\n var iconClasses = (0, _classnames2.default)('ds-icon', 'ds-' + name, {\r\n 'ds-icon--large': large,\r\n 'ds-icon--spin': spin,\r\n 'ds-icon--flipped': dir === 'rtl' && RTL_MIRRORABLE_ICONS.includes(name)\r\n }, props.className);\r\n\r\n if (nameProp === 'finances') {\r\n name = 'institution';\r\n };\r\n\r\n return _react2.default.createElement('svg', Object.assign({ ref: ref }, rest, { className: iconClasses,\r\n dangerouslySetInnerHTML: { __html: '' } }));\r\n});\r\n\r\nIcon.propTypes = {\r\n /**\r\n * The identifier for which icon to display.\r\n */\r\n name: _propTypes2.default.string.isRequired,\r\n /**\r\n * Increases to larger size if {true}.\r\n */\r\n large: _propTypes2.default.bool,\r\n /**\r\n * Direction of the icon. rtl is the mirror image of ltr.\r\n */\r\n dir: _propTypes2.default.oneOf(['ltr', 'rtl']),\r\n /**\r\n * Causes the icon to spin for loaders, gear, etc if {true}.\r\n */\r\n spin: _propTypes2.default.bool,\r\n /**\r\n * Add additional class name to style icon.\r\n */\r\n className: _propTypes2.default.string\r\n};\r\n\r\nIcon.defaultProps = {\r\n large: false,\r\n dir: 'ltr',\r\n spin: false\r\n};\r\n\r\nexports.default = Icon;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _Icon = require('./Icon');\r\n\r\nObject.defineProperty(exports, 'default', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_Icon).default;\r\n }\r\n});\r\nObject.defineProperty(exports, 'icons', {\r\n enumerable: true,\r\n get: function get() {\r\n return _Icon.icons;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgInfo = function SvgInfo(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm0-338c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgInfo, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgMoreVertical = function SvgMoreVertical(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 128 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M64 208c26.5 0 48 21.5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zM16 104c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48zm0 304c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgMoreVertical, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgSearch = function SvgSearch(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M508.5 468.9L387.1 347.5c-2.3-2.3-5.3-3.5-8.5-3.5h-13.2c31.5-36.5 50.6-84 50.6-136C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c52 0 99.5-19.1 136-50.6v13.2c0 3.2 1.3 6.2 3.5 8.5l121.4 121.4c4.7 4.7 12.3 4.7 17 0l22.6-22.6c4.7-4.7 4.7-12.3 0-17zM208 368c-88.4 0-160-71.6-160-160S119.6 48 208 48s160 71.6 160 160-71.6 160-160 160z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgSearch, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _react = require(\"react\");\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar isRTL = function isRTL(props) {\r\n return false;\r\n};\r\nvar reverseTransform = \"scale(-1, 1)\";\r\n\r\nvar SvgWarning = function SvgWarning(_ref) {\r\n var svgRef = _ref.svgRef,\r\n props = _objectWithoutProperties(_ref, [\"svgRef\"]);\r\n\r\n return _react2.default.createElement(\r\n \"svg\",\r\n Object.assign({\r\n viewBox: \"0 0 512 512\",\r\n width: \"1em\",\r\n height: \"1em\",\r\n transform: isRTL(props) ? reverseTransform : null,\r\n ref: svgRef\r\n }, props),\r\n _react2.default.createElement(\"path\", { d: \"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm42-104c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42zm-81.37-211.401l6.8 136c.319 6.387 5.591 11.401 11.985 11.401h41.17c6.394 0 11.666-5.014 11.985-11.401l6.8-136c.343-6.854-5.122-12.599-11.985-12.599h-54.77c-6.863 0-12.328 5.745-11.985 12.599z\" })\r\n );\r\n};\r\n\r\nvar ForwardRef = _react2.default.forwardRef(function (props, ref) {\r\n return _react2.default.createElement(SvgWarning, Object.assign({ svgRef: ref }, props));\r\n});\r\nexports.default = ForwardRef;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.icons = undefined;\r\n\r\nvar _react = require('react');\r\n\r\nvar _react2 = _interopRequireDefault(_react);\r\n\r\nvar _propTypes = require('prop-types');\r\n\r\nvar _propTypes2 = _interopRequireDefault(_propTypes);\r\n\r\nrequire('./Icon.css');\r\n\r\nvar _classnames = require('classnames');\r\n\r\nvar _classnames2 = _interopRequireDefault(_classnames);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nvar icons = exports.icons = ['add', 'address-card', 'align-center', 'align-justify', 'align-left', 'align-right', 'applications-alt', 'applications', 'approve', 'arrow-double-left', 'arrow-double-right', 'arrow-down', 'arrow-end-left', 'arrow-end-right', 'arrow-left', 'arrow-right', 'arrow-up', 'bar-chart', 'bold', 'bookmark-solid', 'bookmark', 'calculator', 'calendar-add', 'calendar-check', 'calendar-delete', 'calendar-grid', 'calendar-minus', 'calendar', 'caret-circle-right', 'cart', 'check-circle', 'check-feedback', 'check', 'chevron-down', 'chevron-left', 'chevron-right', 'chevron-up', 'circle', 'clipboard-check', 'clipboard-list', 'clock', 'close', 'cloud', 'code-branch', 'color', 'compass', 'completion', 'configuration', 'copy', 'course', 'daily-work', 'dashboard', 'deny', 'download', 'drag', 'edit', 'email', 'employment', 'error', 'external-link', 'facebook', 'favorite', 'file-export', 'file-image', 'file-text', 'filter', 'flask', 'flip', 'folder-open', 'folder', 'forward', 'gift', 'globe', 'graduation', 'grid-view', 'help', 'hide', 'history', 'home', 'hour-glass', 'id', 'image', 'indent', 'info', 'instagram', 'institution', 'italic', 'label', 'laptop', 'lightbulb', 'line-chart', 'line-columns', 'link', 'linkedin', 'list-ol', 'list-view', 'location', 'lock', 'menu', 'mobile', 'more-horizontal', 'more-vertical', 'mouse-pointer', 'move', 'note', 'notification', 'partial', 'phone', 'pie-chart', 'pin', 'platform-components', 'plus-circle', 'print', 'privacy', 'rating', 'refresh', 'reply', 'requirements', 'save', 'search', 'send', 'settings', 'share', 'show', 'sign-out', 'sort', 'spinner', 'stopwatch', 'strikethrough', 'subtract', 'text', 'trash', 'twitter', 'underline', 'undo', 'unlock', 'upload', 'user-plus', 'user', 'warning', 'youtube'];\r\n\r\nvar RTL_MIRRORABLE_ICONS = ['arrow-double-left', 'arrow-double-right', 'arrow-end-left', 'arrow-end-right', 'arrow-left', 'arrow-right', 'bar-chart', 'chevron-left', 'chevron-right', 'external-link', 'help', 'line-chart', 'sign-out'];\r\n\r\n/**\r\n * Display an icon by name.\r\n * @param {string} name\r\n */\r\nvar Icon = _react2.default.forwardRef(function (props, ref) {\r\n var large = props.large,\r\n spin = props.spin,\r\n nameProp = props.name,\r\n dir = props.dir,\r\n rest = _objectWithoutProperties(props, ['large', 'spin', 'name', 'dir']);\r\n\r\n var name = nameProp;\r\n var iconClasses = (0, _classnames2.default)('ds-icon', 'ds-' + name, {\r\n 'ds-icon--large': large,\r\n 'ds-icon--spin': spin,\r\n 'ds-icon--flipped': dir === 'rtl' && RTL_MIRRORABLE_ICONS.includes(name)\r\n }, props.className);\r\n\r\n if (nameProp === 'finances') {\r\n name = 'institution';\r\n };\r\n\r\n return _react2.default.createElement('svg', Object.assign({ ref: ref }, rest, { className: iconClasses,\r\n dangerouslySetInnerHTML: { __html: '' } }));\r\n});\r\n\r\nIcon.propTypes = {\r\n /**\r\n * The identifier for which icon to display.\r\n */\r\n name: _propTypes2.default.string.isRequired,\r\n /**\r\n * Increases to larger size if {true}.\r\n */\r\n large: _propTypes2.default.bool,\r\n /**\r\n * Direction of the icon. rtl is the mirror image of ltr.\r\n */\r\n dir: _propTypes2.default.oneOf(['ltr', 'rtl']),\r\n /**\r\n * Causes the icon to spin for loaders, gear, etc if {true}.\r\n */\r\n spin: _propTypes2.default.bool,\r\n /**\r\n * Add additional class name to style icon.\r\n */\r\n className: _propTypes2.default.string\r\n};\r\n\r\nIcon.defaultProps = {\r\n large: false,\r\n dir: 'ltr',\r\n spin: false\r\n};\r\n\r\nexports.default = Icon;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _Icon = require('./Icon');\r\n\r\nObject.defineProperty(exports, 'default', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_Icon).default;\r\n }\r\n});\r\nObject.defineProperty(exports, 'icons', {\r\n enumerable: true,\r\n get: function get() {\r\n return _Icon.icons;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _Icon = require(\"./Icon\");\r\n\r\nObject.defineProperty(exports, \"Icon\", {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_Icon).default;\r\n }\r\n});\r\nObject.defineProperty(exports, \"icons\", {\r\n enumerable: true,\r\n get: function get() {\r\n return _Icon.icons;\r\n }\r\n});\r\n\r\nvar _IconSprite = require(\"./IconSprite\");\r\n\r\nObject.defineProperty(exports, \"IconSprite\", {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_IconSprite).default;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { default as MuiSnackbar } from '@material-ui/core/Snackbar';\r\nimport IconButton from '@material-ui/core/IconButton';\r\nimport CheckFeedbackIcon from '@ellucian/ds-icons/lib/CheckFeedback';\r\nimport WarningIcon from '@ellucian/ds-icons/lib/Warning';\r\nimport ErrorIcon from '@ellucian/ds-icons/lib/Error';\r\nimport InfoIcon from '@ellucian/ds-icons/lib/Info';\r\nimport CloseIcon from '@ellucian/ds-icons/lib/Close';\r\nimport { spacingVariant } from '../globalSpacing';\r\nimport { getSpacingOptions } from './../globalSpacing';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\n\r\nimport { boxShadowReset, sizingXxLarge1, sizingMedium, borderWidthThick, borderWidthThin, widthFluid, spacing40, spacing50, spacing60, spacing70 } from '../styles/tokens';\r\n\r\n// Icon type object\r\nvar alertTypeIcon = {\r\n success: CheckFeedbackIcon,\r\n warning: WarningIcon,\r\n error: ErrorIcon,\r\n info: InfoIcon\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n var _root, _pageAlertMessageText;\r\n\r\n return {\r\n root: (_root = {\r\n padding: '' + spacing40,\r\n width: widthFluid\r\n }, _defineProperty(_root, theme.breakpoints.up('md'), {\r\n padding: '' + spacing50\r\n }), _defineProperty(_root, theme.breakpoints.down('sm'), {\r\n padding: '' + spacing40\r\n }), _root),\r\n inlineTop: {\r\n left: 'auto',\r\n position: 'relative',\r\n right: 'auto',\r\n top: 'auto',\r\n transform: 'none',\r\n zIndex: theme.zIndex.inlineAlert,\r\n width: widthFluid\r\n },\r\n inlineAlert: {\r\n minHeight: '4.5rem',\r\n display: 'flex',\r\n boxShadow: boxShadowReset,\r\n maxWidth: 'none'\r\n },\r\n pageTop: _defineProperty({\r\n top: sizingXxLarge1, // Push the page alerts down the height of the header bar\r\n width: widthFluid,\r\n zIndex: theme.zIndex.pageAlert\r\n }, theme.breakpoints.down('xs'), {\r\n left: '0px'\r\n }),\r\n pageAlert: {\r\n display: 'flex',\r\n boxShadow: boxShadowReset,\r\n maxWidth: 'none'\r\n },\r\n contentRoot: {\r\n fontSize: theme.typography.body1.fontSize,\r\n boxShadow: boxShadowReset,\r\n maxWidth: 'none',\r\n width: widthFluid,\r\n padding: 0,\r\n borderRadius: '0'\r\n },\r\n messageWidth: {\r\n width: widthFluid\r\n },\r\n none: {\r\n padding: 0\r\n },\r\n // Background and text colors for alert variants\r\n success: {\r\n backgroundColor: theme.palette.status.success.background,\r\n color: theme.palette.status.success.text,\r\n fill: theme.palette.status.success.text\r\n },\r\n error: {\r\n backgroundColor: theme.palette.status.error.background,\r\n color: theme.palette.status.error.text,\r\n fill: theme.palette.status.error.text\r\n },\r\n info: {\r\n backgroundColor: theme.palette.status.neutral.background,\r\n color: theme.palette.status.neutral.text,\r\n fill: theme.palette.status.neutral.text\r\n },\r\n warning: {\r\n backgroundColor: theme.palette.status.warning.background,\r\n color: theme.palette.status.warning.text,\r\n fill: theme.palette.status.warning.text\r\n },\r\n // Border colors for inline alert variants\r\n successBorder: {\r\n borderTop: borderWidthThick + ' solid ' + theme.palette.status.success.fill\r\n },\r\n errorBorder: {\r\n borderTop: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n },\r\n infoBorder: {\r\n borderTop: borderWidthThick + ' solid ' + theme.palette.status.neutral.fill\r\n },\r\n warningBorder: {\r\n borderTop: borderWidthThick + ' solid ' + theme.palette.status.warning.fill\r\n },\r\n // Page Alert Icon\r\n alertIcon: {\r\n marginRight: spacing40\r\n },\r\n // Parent container for message prop in Snackbar\r\n message: {\r\n display: 'flex',\r\n justifyContent: 'space-between'\r\n },\r\n // Target the text of the page alert\r\n inlineAlertMessageText: _defineProperty({\r\n flexGrow: 1,\r\n marginRight: spacing60\r\n }, theme.breakpoints.down('sm'), {\r\n marginRight: 4\r\n }),\r\n pageAlertMessageText: (_pageAlertMessageText = {\r\n flexGrow: 1,\r\n marginRight: spacing50\r\n }, _defineProperty(_pageAlertMessageText, theme.breakpoints.up('sm'), {\r\n marginRight: spacing40\r\n }), _defineProperty(_pageAlertMessageText, theme.breakpoints.up('md'), {\r\n marginRight: spacing70\r\n }), _defineProperty(_pageAlertMessageText, theme.breakpoints.up('lg'), {\r\n marginRight: spacing60\r\n }), _pageAlertMessageText),\r\n // Close Icon\r\n closeIcon: {\r\n alignSelf: 'flex-start',\r\n height: 'auto',\r\n width: 'auto',\r\n padding: 0,\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n },\r\n '&:focus': {\r\n outline: borderWidthThin + ' solid'\r\n }\r\n },\r\n iconSvg: {\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n verticalAlign: 'bottom'\r\n }\r\n };\r\n};\r\n\r\n// valid variant prop values\r\nexport var PAGE_VARIANT = 'page';\r\nexport var INLINE_VARIANT = 'inline';\r\n\r\n/**\r\n * Use `Alert` to provide feedback on an operation through a message.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.9\r\n * @examples\r\n * AlertInlineExample\r\n * AlertPageExample\r\n * AlertTypesInlineExample\r\n * AlertTypesPageExample\r\n * AlertTimeout\r\n */\r\nvar Alert = React.forwardRef(function (props, ref) {\r\n var _classNames, _classNames3;\r\n\r\n var alertType = props.alertType,\r\n classes = props.classes,\r\n userDismissable = props.userDismissable,\r\n ContentPropsProp = props.ContentProps,\r\n id = props.id,\r\n onClose = props.onClose,\r\n text = props.text,\r\n variant = props.variant,\r\n edsContext = props.edsContext,\r\n spacingOptionsLocal = props.spacingOptions,\r\n rest = _objectWithoutProperties(props, ['alertType', 'classes', 'userDismissable', 'ContentProps', 'id', 'onClose', 'text', 'variant', 'edsContext', 'spacingOptions']);\r\n\r\n var spacingOptions = getSpacingOptions(spacingOptionsLocal);\r\n var handleClose = function handleClose(event, reason) {\r\n if (reason === 'clickaway') {\r\n return;\r\n }\r\n onClose(event);\r\n };\r\n\r\n // Assign the Icon to render according to the type sent via props.\r\n var AlertIcon = alertTypeIcon[alertType];\r\n\r\n // Determine alert variant before assigning classes\r\n var variantClasses = void 0;\r\n\r\n switch (variant) {\r\n case INLINE_VARIANT:\r\n variantClasses = classes.inlineTop;\r\n break;\r\n\r\n case PAGE_VARIANT:\r\n variantClasses = classes.pageTop;\r\n break;\r\n\r\n default:\r\n variantClasses = classes.inlineTop;\r\n break;\r\n }\r\n\r\n var snackbarClassOverrides = {\r\n anchorOriginTopCenter: variantClasses,\r\n root: classNames(classes.root, classes[alertType], (_classNames = {}, _defineProperty(_classNames, classes.none, spacingOptions.spacing === spacingVariant.NONE), _defineProperty(_classNames, classes[alertType + 'Border'], variant === INLINE_VARIANT), _classNames))\r\n };\r\n\r\n /**\r\n * ContentProps will be passed to the SnackbarContent component that MUI internally calls when rendering the Snackbar component\r\n * We are sending in the stylistic changes and an aria tag for improved screen reader experience.\r\n */\r\n var ContentProps = Object.assign({}, ContentPropsProp);\r\n ContentProps.classes = {\r\n message: classNames(classes.messageWidth, _defineProperty({}, classes.none, spacingOptions.spacing === spacingVariant.NONE)),\r\n root: classNames(classes.contentRoot, classes[alertType]),\r\n action: classes.close\r\n };\r\n ContentProps['aria-describedby'] = id;\r\n ContentProps['className'] = classNames(classes.alert);\r\n\r\n // warn about invalid prop values\r\n useEffect(function () {\r\n\r\n if (!props.userDismissable && props.variant === PAGE_VARIANT) {\r\n console.warn('Page-level alerts must be user-dismissable. Ignoring userDismissable prop.');\r\n }\r\n\r\n if (!props.userDismissable && props.onClose) {\r\n console.warn('The onClose callback is never invoked for non-user-dismissable alerts. Ignoring onClose prop.');\r\n }\r\n }, [props.userDismissable, props.variant, props.onClose]);\r\n\r\n return React.createElement(MuiSnackbar, Object.assign({}, rest, {\r\n ref: ref,\r\n anchorOrigin: {\r\n vertical: 'top',\r\n horizontal: 'center'\r\n },\r\n classes: snackbarClassOverrides,\r\n ContentProps: ContentProps,\r\n key: id + '_' + alertType + '_' + text,\r\n message: React.createElement(\r\n 'div',\r\n { id: id, className: classes.message },\r\n React.createElement(\r\n 'div',\r\n { className: classes.alertIcon },\r\n React.createElement(AlertIcon, { className: classes.iconSvg })\r\n ),\r\n React.createElement(\r\n 'div',\r\n {\r\n className: classNames((_classNames3 = {}, _defineProperty(_classNames3, classes.inlineAlertMessageText, variant === INLINE_VARIANT), _defineProperty(_classNames3, classes.pageAlertMessageText, variant === PAGE_VARIANT), _classNames3))\r\n },\r\n text\r\n ),\r\n (userDismissable || variant === PAGE_VARIANT) && React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Alert.close'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n 'aria-label': edsContext.formatMessage('component.Alert.close'),\r\n className: classes.closeIcon,\r\n color: 'inherit',\r\n disableRipple: true,\r\n onClick: handleClose\r\n },\r\n React.createElement(CloseIcon, { className: classes.iconSvg })\r\n )\r\n )\r\n )\r\n\r\n // only invoke onClose handler for user-dismissable alerts\r\n , onClose: userDismissable ? handleClose : null\r\n }));\r\n});\r\n\r\nAlert.muiName = 'Alert';\r\n\r\nAlert.propTypes = {\r\n /**\r\n * Style type of the Alert to be displayed.\r\n */\r\n alertType: PropTypes.oneOf(['error', 'info', 'success', 'warning']).isRequired,\r\n /**\r\n * The number of milliseconds to wait before automatically calling the\r\n * `onClose` function. `onClose` should then set the state of the `open`\r\n * prop to hide the Alert. This behavior is disabled by default with\r\n * the `null` value.\r\n */\r\n autoHideDuration: PropTypes.number,\r\n /**\r\n * If you wish the take control over the children of the component you can use this property.\r\n * When used, you replace the `SnackbarContent` component with the children.\r\n */\r\n children: PropTypes.element,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to be applied to the Alert container.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Properties applied to the `SnackbarContent` element.\r\n */\r\n ContentProps: PropTypes.object,\r\n /**\r\n * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.\r\n */\r\n disableWindowBlurListener: PropTypes.bool,\r\n /**\r\n * id of the text on the Alert. aria-describedby=\"message-id\" is set automatically to link to this id.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * When displaying multiple consecutive `Snackbars` from a parent rendering a single\r\n * `Snackbar`, add the `key` property to ensure independent treatment of each message.\r\n * e.g. ``, otherwise, the message may update-in-place and\r\n * features such as `autoHideDuration` may be canceled.\r\n */\r\n key: PropTypes.any,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n * Typically `onClose` is used to set state in the parent component,\r\n * which is used to control the `Alert` `open` prop.\r\n *\r\n * The `reason` parameter can optionally be used to control the response to `onClose`.\r\n *\r\n * This prop is only pertinent for user-dismissable alerts.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {string} reason Can be:`\"timeout\"` (`autoHideDuration` expired)\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired before the transition is entering.\r\n */\r\n onEnter: PropTypes.func,\r\n /**\r\n * Callback fired when the transition has entered.\r\n */\r\n onEntered: PropTypes.func,\r\n /**\r\n * Callback fired when the transition is entering.\r\n */\r\n onEntering: PropTypes.func,\r\n /**\r\n * Callback fired before the transition is exiting.\r\n */\r\n onExit: PropTypes.func,\r\n /**\r\n * Callback fired when the transition has exited.\r\n */\r\n onExited: PropTypes.func,\r\n /**\r\n * Callback fired when the transition is exiting.\r\n */\r\n onExiting: PropTypes.func,\r\n /**\r\n * Callback fired when the mouse enters the component.\r\n */\r\n onMouseEnter: PropTypes.func,\r\n /**\r\n * Callback fired when the mouse leaves the component.\r\n */\r\n onMouseLeave: PropTypes.func,\r\n /**\r\n * If true, `Alert` is open.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * The number of milliseconds to wait before dismissing after user interaction.\r\n * If `autoHideDuration` property isn't specified, it does nothing.\r\n * If `autoHideDuration` property is specified but `resumeHideDuration` isn't,\r\n * we default to `autoHideDuration / 2` ms.\r\n */\r\n resumeHideDuration: PropTypes.number,\r\n /**\r\n * Text to be displayed on the Alert\r\n */\r\n text: PropTypes.string,\r\n /**\r\n * Transition component.\r\n */\r\n TransitionComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The duration for the transition, in milliseconds.\r\n * You may specify a single timeout for all transitions, or individually with an object.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number })]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object,\r\n /**\r\n * Whether the user can dismiss the Alert. If this is `false`, the close icon\r\n * will not appear in the alert, and the `onClose` handler will never be invoked.\r\n *\r\n * **Note**: Page alerts are _always_ user-dismissable. This prop is ignored for the `page` variant.\r\n */\r\n userDismissable: PropTypes.bool,\r\n /**\r\n * Style variant of the Alert to be displayed.\r\n */\r\n variant: PropTypes.oneOf(['inline', 'page']).isRequired,\r\n /**\r\n * Override global spacing options.\r\n * Available options are:\r\n * * `spacing: 'standard' | 'none'`\r\n * * Controls the padding around the `Alert`.\r\n */\r\n spacingOptions: PropTypes.exact({\r\n spacing: PropTypes.string\r\n })\r\n};\r\n\r\nAlert.displayName = 'Alert';\r\n\r\nAlert.defaultProps = {\r\n alertType: 'info',\r\n autoHideDuration: null,\r\n variant: INLINE_VARIANT,\r\n userDismissable: true,\r\n spacingOptions: { spacing: spacingVariant.STANDARD }\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Alert));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiBackdrop } from '@material-ui/core/Backdrop';\r\nimport { default as MuiModal } from '@material-ui/core/Modal';\r\nimport { fade } from '@material-ui/core/styles/colorManipulator';\r\nimport { withStyles } from '../styles';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n zIndex: theme.zIndex.backdrop,\r\n '&:focus': {\r\n outline: 'none'\r\n },\r\n backgroundColor: fade(theme.palette.grey[600], 0.3)\r\n },\r\n invisible: {\r\n backgroundColor: 'transparent'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Backdrop places a tinted, full-screen backdrop over the application.\r\n *\r\n * @done true\r\n * @updated true\r\n * @versionAdded v4.4.0\r\n * @examples\r\n * BackdropExample\r\n */\r\nvar Backdrop = function Backdrop(props) {\r\n var children = props.children,\r\n classes = props.classes,\r\n invisible = props.invisible,\r\n onClick = props.onClick,\r\n open = props.open,\r\n className = props.className,\r\n transitionDuration = props.transitionDuration,\r\n disableScrollLock = props.disableScrollLock;\r\n\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n invisible: classes.invisible\r\n };\r\n\r\n return React.createElement(\r\n MuiModal,\r\n {\r\n open: open,\r\n disableScrollLock: disableScrollLock,\r\n hideBackdrop: true\r\n },\r\n React.createElement(\r\n MuiBackdrop,\r\n {\r\n invisible: invisible,\r\n className: className,\r\n classes: classOverrides,\r\n open: open,\r\n 'in': open,\r\n onClick: onClick,\r\n transitionDuration: transitionDuration\r\n },\r\n children\r\n )\r\n );\r\n};\r\n\r\nBackdrop.muiName = 'Backdrop';\r\n\r\nBackdrop.propTypes = {\r\n\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n\r\n /**\r\n * If `true`, allows background scrolling while the Backdrop is visible.\r\n */\r\n disableScrollLock: PropTypes.bool,\r\n\r\n /**\r\n * If `true`, the backdrop is invisible.\r\n *\r\n * It can be used when rendering a popover or a custom select component.\r\n */\r\n invisible: PropTypes.bool,\r\n\r\n /**\r\n * Event handler that fires when the user clicks on an active backdrop.\r\n */\r\n onClick: PropTypes.func,\r\n\r\n /**\r\n * If `true`, the backdrop is open.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n\r\n /**\r\n * The duration for the transition, in milliseconds.\r\n *\r\n * You may specify a single timeout for all transitions, or individually with an object.\r\n *\r\n * Object format:\r\n *\r\n * ```\r\n * {\r\n * appear: number,\r\n * enter: number,\r\n * exit: number\r\n * }\r\n * ```\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\r\n appear: PropTypes.number,\r\n enter: PropTypes.number,\r\n exit: PropTypes.number\r\n })])\r\n\r\n};\r\n\r\nBackdrop.defaultProps = {\r\n invisible: false,\r\n disableScrollLock: false\r\n};\r\n\r\nexport default withStyles(styles)(Backdrop);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nvar RADIUS_STANDARD = 10;\nvar RADIUS_DOT = 4;\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'inline-flex',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n flexShrink: 0\n },\n\n /* Styles applied to the badge `span` element. */\n badge: {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n position: 'absolute',\n boxSizing: 'border-box',\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(12),\n minWidth: RADIUS_STANDARD * 2,\n lineHeight: 1,\n padding: '0 6px',\n height: RADIUS_STANDARD * 2,\n borderRadius: RADIUS_STANDARD,\n zIndex: 1,\n // Render the badge on top of potential ripples.\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.enteringScreen\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n backgroundColor: theme.palette.error.main,\n color: theme.palette.error.contrastText\n },\n\n /* Styles applied to the root element if `variant=\"dot\"`. */\n dot: {\n borderRadius: RADIUS_DOT,\n height: RADIUS_DOT * 2,\n minWidth: RADIUS_DOT * 2,\n padding: 0\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }} overlap=\"rectangle\"`. */\n anchorOriginTopRightRectangle: {\n top: 0,\n right: 0,\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }} overlap=\"rectangle\"`. */\n anchorOriginBottomRightRectangle: {\n bottom: 0,\n right: 0,\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }} overlap=\"rectangle\"`. */\n anchorOriginTopLeftRectangle: {\n top: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }} overlap=\"rectangle\"`. */\n anchorOriginBottomLeftRectangle: {\n bottom: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }} overlap=\"circle\"`. */\n anchorOriginTopRightCircle: {\n top: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }} overlap=\"circle\"`. */\n anchorOriginBottomRightCircle: {\n bottom: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }} overlap=\"circle\"`. */\n anchorOriginTopLeftCircle: {\n top: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }} overlap=\"circle\"`. */\n anchorOriginBottomLeftCircle: {\n bottom: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n },\n\n /* Pseudo-class to the badge `span` element if `invisible={true}`. */\n invisible: {\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.leavingScreen\n })\n }\n };\n};\nvar Badge = React.forwardRef(function Badge(props, ref) {\n var _props$anchorOrigin = props.anchorOrigin,\n anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'top',\n horizontal: 'right'\n } : _props$anchorOrigin,\n badgeContent = props.badgeContent,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$component = props.component,\n ComponentProp = _props$component === void 0 ? 'span' : _props$component,\n invisibleProp = props.invisible,\n _props$max = props.max,\n max = _props$max === void 0 ? 99 : _props$max,\n _props$overlap = props.overlap,\n overlap = _props$overlap === void 0 ? 'rectangle' : _props$overlap,\n _props$showZero = props.showZero,\n showZero = _props$showZero === void 0 ? false : _props$showZero,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"anchorOrigin\", \"badgeContent\", \"children\", \"classes\", \"className\", \"color\", \"component\", \"invisible\", \"max\", \"overlap\", \"showZero\", \"variant\"]);\n\n var invisible = invisibleProp;\n\n if (invisibleProp == null && (badgeContent === 0 && !showZero || badgeContent == null && variant !== 'dot')) {\n invisible = true;\n }\n\n var displayValue = '';\n\n if (variant !== 'dot') {\n displayValue = badgeContent > max ? \"\".concat(max, \"+\") : badgeContent;\n }\n\n return /*#__PURE__*/React.createElement(ComponentProp, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), children, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.badge, classes[\"\".concat(anchorOrigin.horizontal).concat(capitalize(anchorOrigin.vertical), \"}\")], classes[\"anchorOrigin\".concat(capitalize(anchorOrigin.vertical)).concat(capitalize(anchorOrigin.horizontal)).concat(capitalize(overlap))], color !== 'default' && classes[\"color\".concat(capitalize(color))], invisible && classes.invisible, variant === 'dot' && classes.dot)\n }, displayValue));\n});\nprocess.env.NODE_ENV !== \"production\" ? Badge.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The anchor of the badge.\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n\n /**\n * The content rendered within the badge.\n */\n badgeContent: PropTypes.node,\n\n /**\n * The badge will be added relative to this node.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'error', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the badge will be invisible.\n */\n invisible: PropTypes.bool,\n\n /**\n * Max count to show.\n */\n max: PropTypes.number,\n\n /**\n * Wrapped shape the badge should overlap.\n */\n overlap: PropTypes.oneOf(['circle', 'rectangle']),\n\n /**\n * Controls whether the badge is hidden when `badgeContent` is zero.\n */\n showZero: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['dot', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiBadge'\n})(Badge);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport { default as MuiBadge } from '@material-ui/core/Badge';\r\nimport makeStyles from '../makeStyles';\r\nimport PropTypes from 'prop-types';\r\nimport { spacing20, spacing40, sizingLarge, sizingXLarge, borderRadiusLarge, borderWidthThin, colorGlobalBorderDefault } from '../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n badge: {\r\n color: theme.palette.status.default.text,\r\n background: theme.palette.grey[100],\r\n minWidth: sizingXLarge,\r\n width: 'auto',\r\n height: sizingLarge,\r\n fontSize: theme.typography.body2.fontSize,\r\n position: 'initial',\r\n marginLeft: spacing40,\r\n marginTop: '-' + spacing20,\r\n padding: '0 0.75rem',\r\n border: borderWidthThin + ' solid ' + colorGlobalBorderDefault,\r\n borderRadius: borderRadiusLarge,\r\n transform: 'none'\r\n }\r\n };\r\n});\r\n\r\n/**\r\n * Use `Badge` to indicate a numerical value or count.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.6\r\n * @examples\r\n * BadgeExamples\r\n * NotificationBadgeExamples\r\n */\r\nvar Badge = React.forwardRef(function (props, ref) {\r\n var maxvalue = props.maxvalue,\r\n rest = _objectWithoutProperties(props, ['maxvalue']);\r\n\r\n var classes = useStyles(props);\r\n\r\n var classOverrides = {\r\n badge: classes.badge\r\n };\r\n\r\n return React.createElement(MuiBadge, Object.assign({}, rest, {\r\n max: maxvalue,\r\n classes: classOverrides,\r\n ref: ref\r\n\r\n // if a badge has no content, the invisible flag is automatically\r\n // set to 'true'; we never want a badge to be invisible, so make sure it's\r\n // always false\r\n , invisible: false\r\n }));\r\n});\r\n\r\nBadge.muiName = 'Badge';\r\n\r\nBadge.propTypes = {\r\n /**\r\n * The content rendered within the badge.\r\n */\r\n badgeContent: PropTypes.number.isRequired,\r\n /**\r\n * The badge will be added relative to this node.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOf(['string', 'func']),\r\n /**\r\n * Max value of content rendered within the badge.\r\n */\r\n maxvalue: PropTypes.number\r\n};\r\n\r\nBadge.displayName = 'Badge';\r\n\r\nBadge.defaultProps = {\r\n maxvalue: 999\r\n};\r\n\r\nexport default Badge;","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport classNames from 'classnames';\r\nimport { default as MuiBadge } from '@material-ui/core/Badge';\r\nimport { default as withStyles } from '../styles';\r\nimport PropTypes from 'prop-types';\r\nimport { borderWidthThin, spacing20, borderRadiusLarge } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n badge: {\r\n color: theme.palette.grey[200],\r\n background: theme.palette.status.error.fill,\r\n top: '-0.02rem',\r\n right: '0.05rem',\r\n width: 'auto',\r\n fontSize: theme.typography.caption.fontSize,\r\n borderRadius: borderRadiusLarge,\r\n padding: '0 ' + spacing20,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[200]\r\n },\r\n noBadgeContent: {\r\n '& $badge': {\r\n height: '0.625rem',\r\n width: '0.625rem',\r\n display: 'inline-block',\r\n minWidth: 'auto',\r\n padding: 0\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use a `NotificationBadge` to indicate a new notification, change, or update.\r\n */\r\nvar NotificationBadge = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n badgeContent = props.badgeContent,\r\n maxvalue = props.maxvalue,\r\n rest = _objectWithoutProperties(props, ['classes', 'badgeContent', 'maxvalue']);\r\n\r\n var classOverrides = {\r\n badge: classes.badge\r\n };\r\n\r\n return React.createElement(MuiBadge, Object.assign({}, rest, {\r\n badgeContent: badgeContent || ' ',\r\n classes: classOverrides,\r\n invisible: false,\r\n max: maxvalue,\r\n className: classNames(rest.className, _defineProperty({}, classes.noBadgeContent, !badgeContent)),\r\n ref: ref\r\n }));\r\n});\r\n\r\nNotificationBadge.muiName = 'NotificationBadge';\r\nNotificationBadge.displayName = 'NotificationBadge';\r\n\r\nNotificationBadge.propTypes = {\r\n /**\r\n * The content rendered within the badge.\r\n */\r\n badgeContent: PropTypes.number,\r\n /**\r\n * The badge will be added relative to this node.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Max value of content rendered within the badge.\r\n */\r\n maxvalue: PropTypes.number\r\n};\r\n\r\nNotificationBadge.defaultProps = {\r\n maxvalue: 999\r\n};\r\n\r\nexport default withStyles(styles)(NotificationBadge);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.button), {}, {\n boxSizing: 'border-box',\n minWidth: 64,\n padding: '6px 16px',\n borderRadius: theme.shape.borderRadius,\n color: theme.palette.text.primary,\n transition: theme.transitions.create(['background-color', 'box-shadow', 'border'], {\n duration: theme.transitions.duration.short\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: fade(theme.palette.text.primary, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n },\n '&$disabled': {\n backgroundColor: 'transparent'\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n }),\n\n /* Styles applied to the span element that wraps the children. */\n label: {\n width: '100%',\n // Ensure the correct width for iOS Safari\n display: 'inherit',\n alignItems: 'inherit',\n justifyContent: 'inherit'\n },\n\n /* Styles applied to the root element if `variant=\"text\"`. */\n text: {\n padding: '6px 8px'\n },\n\n /* Styles applied to the root element if `variant=\"text\"` and `color=\"primary\"`. */\n textPrimary: {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"text\"` and `color=\"secondary\"`. */\n textSecondary: {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n padding: '5px 15px',\n border: \"1px solid \".concat(theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'),\n '&$disabled': {\n border: \"1px solid \".concat(theme.palette.action.disabledBackground)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"primary\"`. */\n outlinedPrimary: {\n color: theme.palette.primary.main,\n border: \"1px solid \".concat(fade(theme.palette.primary.main, 0.5)),\n '&:hover': {\n border: \"1px solid \".concat(theme.palette.primary.main),\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"secondary\"`. */\n outlinedSecondary: {\n color: theme.palette.secondary.main,\n border: \"1px solid \".concat(fade(theme.palette.secondary.main, 0.5)),\n '&:hover': {\n border: \"1px solid \".concat(theme.palette.secondary.main),\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&$disabled': {\n border: \"1px solid \".concat(theme.palette.action.disabled)\n }\n },\n\n /* Styles applied to the root element if `variant=\"contained\"`. */\n contained: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n backgroundColor: theme.palette.grey[300],\n boxShadow: theme.shadows[2],\n '&:hover': {\n backgroundColor: theme.palette.grey.A100,\n boxShadow: theme.shadows[4],\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n boxShadow: theme.shadows[2],\n backgroundColor: theme.palette.grey[300]\n },\n '&$disabled': {\n backgroundColor: theme.palette.action.disabledBackground\n }\n },\n '&$focusVisible': {\n boxShadow: theme.shadows[6]\n },\n '&:active': {\n boxShadow: theme.shadows[8]\n },\n '&$disabled': {\n color: theme.palette.action.disabled,\n boxShadow: theme.shadows[0],\n backgroundColor: theme.palette.action.disabledBackground\n }\n },\n\n /* Styles applied to the root element if `variant=\"contained\"` and `color=\"primary\"`. */\n containedPrimary: {\n color: theme.palette.primary.contrastText,\n backgroundColor: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: theme.palette.primary.dark,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.palette.primary.main\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"contained\"` and `color=\"secondary\"`. */\n containedSecondary: {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: theme.palette.secondary.dark,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: theme.palette.secondary.main\n }\n }\n },\n\n /* Styles applied to the root element if `disableElevation={true}`. */\n disableElevation: {\n boxShadow: 'none',\n '&:hover': {\n boxShadow: 'none'\n },\n '&$focusVisible': {\n boxShadow: 'none'\n },\n '&:active': {\n boxShadow: 'none'\n },\n '&$disabled': {\n boxShadow: 'none'\n }\n },\n\n /* Pseudo-class applied to the ButtonBase root element if the button is keyboard focused. */\n focusVisible: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit',\n borderColor: 'currentColor'\n },\n\n /* Styles applied to the root element if `size=\"small\"` and `variant=\"text\"`. */\n textSizeSmall: {\n padding: '4px 5px',\n fontSize: theme.typography.pxToRem(13)\n },\n\n /* Styles applied to the root element if `size=\"large\"` and `variant=\"text\"`. */\n textSizeLarge: {\n padding: '8px 11px',\n fontSize: theme.typography.pxToRem(15)\n },\n\n /* Styles applied to the root element if `size=\"small\"` and `variant=\"outlined\"`. */\n outlinedSizeSmall: {\n padding: '3px 9px',\n fontSize: theme.typography.pxToRem(13)\n },\n\n /* Styles applied to the root element if `size=\"large\"` and `variant=\"outlined\"`. */\n outlinedSizeLarge: {\n padding: '7px 21px',\n fontSize: theme.typography.pxToRem(15)\n },\n\n /* Styles applied to the root element if `size=\"small\"` and `variant=\"contained\"`. */\n containedSizeSmall: {\n padding: '4px 10px',\n fontSize: theme.typography.pxToRem(13)\n },\n\n /* Styles applied to the root element if `size=\"large\"` and `variant=\"contained\"`. */\n containedSizeLarge: {\n padding: '8px 22px',\n fontSize: theme.typography.pxToRem(15)\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {},\n\n /* Styles applied to the root element if `size=\"large\"`. */\n sizeLarge: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n },\n\n /* Styles applied to the startIcon element if supplied. */\n startIcon: {\n display: 'inherit',\n marginRight: 8,\n marginLeft: -4,\n '&$iconSizeSmall': {\n marginLeft: -2\n }\n },\n\n /* Styles applied to the endIcon element if supplied. */\n endIcon: {\n display: 'inherit',\n marginRight: -4,\n marginLeft: 8,\n '&$iconSizeSmall': {\n marginRight: -2\n }\n },\n\n /* Styles applied to the icon element if supplied and `size=\"small\"`. */\n iconSizeSmall: {\n '& > *:first-child': {\n fontSize: 18\n }\n },\n\n /* Styles applied to the icon element if supplied and `size=\"medium\"`. */\n iconSizeMedium: {\n '& > *:first-child': {\n fontSize: 20\n }\n },\n\n /* Styles applied to the icon element if supplied and `size=\"large\"`. */\n iconSizeLarge: {\n '& > *:first-child': {\n fontSize: 22\n }\n }\n };\n};\nvar Button = React.forwardRef(function Button(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$component = props.component,\n component = _props$component === void 0 ? 'button' : _props$component,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableElevati = props.disableElevation,\n disableElevation = _props$disableElevati === void 0 ? false : _props$disableElevati,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n endIconProp = props.endIcon,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n startIconProp = props.startIcon,\n _props$type = props.type,\n type = _props$type === void 0 ? 'button' : _props$type,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'text' : _props$variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"disableElevation\", \"disableFocusRipple\", \"endIcon\", \"focusVisibleClassName\", \"fullWidth\", \"size\", \"startIcon\", \"type\", \"variant\"]);\n\n var startIcon = startIconProp && /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.startIcon, classes[\"iconSize\".concat(capitalize(size))])\n }, startIconProp);\n var endIcon = endIconProp && /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.endIcon, classes[\"iconSize\".concat(capitalize(size))])\n }, endIconProp);\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, classes[variant], className, color === 'inherit' ? classes.colorInherit : color !== 'default' && classes[\"\".concat(variant).concat(capitalize(color))], size !== 'medium' && [classes[\"\".concat(variant, \"Size\").concat(capitalize(size))], classes[\"size\".concat(capitalize(size))]], disableElevation && classes.disableElevation, disabled && classes.disabled, fullWidth && classes.fullWidth),\n component: component,\n disabled: disabled,\n focusRipple: !disableFocusRipple,\n focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n ref: ref,\n type: type\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, startIcon, children, endIcon));\n});\nprocess.env.NODE_ENV !== \"production\" ? Button.propTypes = {\n /**\n * The content of the button.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, no elevation is used.\n */\n disableElevation: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n * `disableRipple` must also be true.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `focusVisibleClassName`.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * Element placed after the children.\n */\n endIcon: PropTypes.node,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * If `true`, the button will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The URL to link to when the button is clicked.\n * If defined, an `a` element will be used as the root node.\n */\n href: PropTypes.string,\n\n /**\n * The size of the button.\n * `small` is equivalent to the dense button styling.\n */\n size: PropTypes.oneOf(['small', 'medium', 'large']),\n\n /**\n * Element placed before the children.\n */\n startIcon: PropTypes.node,\n\n /**\n * @ignore\n */\n type: PropTypes.string,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['text', 'outlined', 'contained'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiButton'\n})(Button);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiButton } from '@material-ui/core/Button';\r\nimport { borderRadiusSmall, borderWidthThin, fontFamilyCondensed, fontWeightBold, fontSizeLarge, lineHeightDefault, sizingXLarge, sizingXxLarge, spacing20, spacing40, boxShadowFocus } from '../styles/tokens';\r\n\r\n// text styling variants\r\nexport var TEXT_STYLING_STANDALONE = 'standalone';\r\nexport var TEXT_STYLING_INLINE = 'inline';\r\n\r\n/**\r\n * TODO: Need to implement the css for outlined buttons now that they are available.\r\n */\r\nexport var styles = function styles(theme) {\r\n return {\r\n // Shared Button styles\r\n root: {\r\n // fontFamily is being updated from theme object for fontFamilies: { button: ... }\r\n boxShadow: 'none',\r\n color: theme.palette.text.white,\r\n borderRadius: borderRadiusSmall,\r\n minHeight: sizingXLarge, // replace with token\r\n outline: 'none',\r\n padding: spacing20 + ' ' + spacing40,\r\n '&$disabled': {\r\n color: theme.palette.text.white\r\n },\r\n '& svg': {\r\n flex: '1 0 auto'\r\n }\r\n },\r\n // Sizes\r\n sizeDefault: {},\r\n sizeLarge: {\r\n fontSize: theme.typography.h3.fontSize,\r\n minHeight: sizingXxLarge,\r\n padding: spacing20 + ' ' + spacing40\r\n },\r\n // Shared Disabled Button styles\r\n disabled: {\r\n backgroundColor: theme.palette.disabled.background,\r\n color: theme.palette.grey[100]\r\n },\r\n // Primary Button\r\n contained: {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n borderColor: theme.palette.ctaColor.hover,\r\n boxShadow: 'none'\r\n },\r\n '&:active': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.ctaColor.active,\r\n borderColor: theme.palette.ctaColor.active\r\n },\r\n '&$disabled': {\r\n boxShadow: 'none',\r\n border: 'none',\r\n backgroundColor: theme.palette.disabled.background,\r\n color: theme.palette.text.white\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: boxShadowFocus\r\n },\r\n '&:focus:hover': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n borderColor: theme.palette.ctaColor.active,\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n text: {},\r\n // text Button\r\n textPrimary: {\r\n backgroundColor: 'transparent',\r\n color: theme.palette.action.base, // cta blue 600\r\n borderRadius: borderRadiusSmall,\r\n minWidth: 'inherit',\r\n minHeight: 'inherit',\r\n height: 'auto',\r\n padding: '0 ' + spacing20 + ' 0 ' + spacing20,\r\n '&$disabled': {\r\n boxShadow: 'none',\r\n border: 'none',\r\n color: theme.palette.action.disabled,\r\n backgroundColor: 'transparent'\r\n },\r\n '&:focus:active': {\r\n color: theme.palette.action.active, // cta blue 800\r\n boxShadow: 'none'\r\n },\r\n '&:hover': {\r\n backgroundColor: 'transparent',\r\n color: theme.palette.action.hover, // cta blue 700\r\n boxShadow: 'none'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: boxShadowFocus\r\n },\r\n '&:focus:hover': {\r\n boxShadow: 'none'\r\n }\r\n },\r\n textStandalone: {\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeLarge,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625em'\r\n },\r\n textInline: {\r\n fontFamily: 'inherit',\r\n fontSize: 'inherit',\r\n fontWeight: 'inherit',\r\n lineHeight: 'inherit',\r\n wordSpacing: 'inherit',\r\n letterSpacing: 'inherit',\r\n verticalAlign: 'inherit',\r\n textTransform: 'inherit',\r\n padding: 0\r\n },\r\n textPrimaryDark: {\r\n color: theme.palette.grey[100],\r\n '&:hover': {\r\n color: theme.palette.grey[200]\r\n },\r\n '&:focus:active': {\r\n color: theme.palette.grey[300]\r\n }\r\n },\r\n // Secondary Button\r\n containedSecondary: {\r\n backgroundColor: theme.palette.grey[100],\r\n color: theme.palette.ctaColor.base,\r\n border: borderWidthThin + ' solid',\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n borderColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:active': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.ctaColor.active,\r\n borderColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey[100]\r\n },\r\n '&$disabled': {\r\n boxShadow: 'none',\r\n border: 'none',\r\n backgroundColor: theme.palette.disabled.background,\r\n color: theme.palette.text.white\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: boxShadowFocus\r\n },\r\n '&:focus:hover': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n borderColor: theme.palette.ctaColor.active,\r\n boxShadow: boxShadowFocus,\r\n color: theme.palette.text.white\r\n }\r\n }\r\n // Outlined => Inverted Buttons\r\n // outlined: {\r\n // backgroundColor: \"transparent\",\r\n // color: \"#FFFFFF\",\r\n // border: \"1px solid #FFFFFF\",\r\n // \"&:hover\": {\r\n // backgroundColor: \"#FFFFFF\",\r\n // color: \"transparent\" // TODO: verify with UXD about color fo rtext on hover, pressed, focused\r\n // },\r\n // \"&:active\": {\r\n // boxShadow: \"none\",\r\n // backgroundColor: \"#0A4982\",\r\n // borderColor: \"#0A4982\",\r\n // color: \"#FFFFFF\"\r\n // },\r\n // \"&$disabled\": {\r\n // color: \"#FFFFFF\", // FIXME: not showing up properly, being overridden\r\n // boxShadow: \"none\",\r\n // backgroundColor: \"#B2B3B7\",\r\n // border: \"none\"\r\n // },\r\n // \"&:focus\": {\r\n // boxShadow: \"0 0 0 2px #FFFFFF\"\r\n // },\r\n // \"&:focus:hover\": {\r\n // backgroundColor: \"#FFFFFF\",\r\n // borderColor: \"#FFFFFF\",\r\n // boxShadow: \"0 0 0 2px #FFFFFF\",\r\n // color: \"transparent\"\r\n // }\r\n // },\r\n };\r\n};\r\n\r\n/**\r\n * Use `Button` to show a call to action.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * SimpleExample\r\n * SizesExample\r\n * FluidExample\r\n * TextWithIconExample\r\n * ButtonGroupExample\r\n * TextButtonExample\r\n * TextOverflowExample\r\n */\r\nvar Button = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n fluid = props.fluid,\r\n textVariantStyling = props.textVariantStyling,\r\n variant = props.variant,\r\n withDarkBackground = props.withDarkBackground,\r\n size = props.size,\r\n rest = _objectWithoutProperties(props, ['classes', 'fluid', 'textVariantStyling', 'variant', 'withDarkBackground', 'size']);\r\n\r\n // Extra our custom classes so they aren't passed to MUI\r\n\r\n\r\n var sizeDefault = classes.sizeDefault,\r\n textStandalone = classes.textStandalone,\r\n textInline = classes.textInline,\r\n textPrimaryDark = classes.textPrimaryDark,\r\n restClasses = _objectWithoutProperties(classes, ['sizeDefault', 'textStandalone', 'textInline', 'textPrimaryDark']);\r\n\r\n var textClass = classes.textPrimary + ' ' + classes.text + '\\n ' + (withDarkBackground ? textPrimaryDark : '') + '\\n ' + (textVariantStyling === TEXT_STYLING_INLINE ? textInline : textStandalone) + '\\n ';\r\n\r\n var propOverrides = {\r\n disableRipple: true, // disable the click ripple by default\r\n disableFocusRipple: true, // disable the default MUI focus ripple effect\r\n size: size\r\n };\r\n\r\n if (variant === 'text') {\r\n // Need to override these props to prevent styling issues\r\n propOverrides.color = 'primary';\r\n propOverrides.fullWidth = false;\r\n };\r\n\r\n switch (size) {\r\n case 'small' || 'medium':\r\n console.warn('Size=\"' + size + '\" has been removed. Size is set to \"default\".');\r\n propOverrides.size = 'medium'; // needs to be set to MUI size, \"medium\"\r\n break;\r\n case 'default':\r\n propOverrides.size = 'medium'; // needs to be set to MUI size, \"medium\"\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n var classOverrides = Object.assign({}, restClasses, { // pass down the rest of MUI supported classes\r\n root: cn(classes.root, _defineProperty({}, sizeDefault, propOverrides.size === 'medium')),\r\n contained: classes.contained,\r\n text: textClass,\r\n containedSecondary: classes.containedSecondary,\r\n sizeLarge: classes.sizeLarge,\r\n disabled: classes.disabled\r\n });\r\n\r\n return React.createElement(\r\n MuiButton,\r\n Object.assign({\r\n variant: variant,\r\n classes: classOverrides,\r\n fullWidth: fluid,\r\n size: propOverrides.size,\r\n ref: ref\r\n }, rest, propOverrides),\r\n props.children\r\n );\r\n});\r\n\r\nButton.propTypes = {\r\n /**\r\n * Class name to assign the component.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The content of the button.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * The color of the component.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary']),\r\n /**\r\n * If `true`, the button will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the button will take up the full width of its container.\r\n */\r\n fluid: PropTypes.bool,\r\n /**\r\n * The URL to link to when the button is clicked.\r\n * If defined, an `a` element will be used as the root node.\r\n */\r\n href: PropTypes.string,\r\n /**\r\n * The size of the button.\r\n */\r\n size: PropTypes.oneOf(['default', 'large']),\r\n /**\r\n * The font configuration of the `text` variant\r\n *\r\n * * `standalone` - Use standard text-button styling\r\n * * `inline` - Inherits styling from context. Used for text buttons placed inline with other text.\r\n */\r\n textVariantStyling: PropTypes.oneOf(['standalone', 'inline']),\r\n /**\r\n * The HTML button type.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The type of button.\r\n */\r\n variant: PropTypes.oneOf(['contained', 'text']),\r\n /**\r\n * With `variant=\"text\"`, use this if you want to render a button on Snackbar or any dark background.\r\n */\r\n withDarkBackground: PropTypes.bool\r\n // We should use \"flat\" for our \"text\" buttons, and \"outlined\" for our \"inverted\", and \"fab\" for our floating action button.\r\n};\r\n\r\nButton.defaultProps = {\r\n variant: 'contained',\r\n color: 'primary',\r\n size: 'default',\r\n textVariantStyling: 'standalone',\r\n fluid: false,\r\n withDarkBackground: false\r\n};\r\n\r\n// necessary to add an explicit display name, since docgen can't seem to\r\n// extract one from a forwardRef'd component\r\nButton.displayName = 'Button';\r\n\r\n/**\r\n * We order Button styles at index: 0 to avoid improper ordering\r\n * of Dropdown styles.\r\n */\r\nexport default withStyles(styles, { name: 'Button', index: 0 })(Button);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { spacing30 } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n '& button': {\r\n margin: '0 ' + spacing30,\r\n marginBottom: spacing30\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use a `ButtonGroup` for two or more buttons that are grouped together.\r\n */\r\nvar ButtonGroup = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n className = props.className,\r\n children = props.children,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'children']);\r\n\r\n // showcase all class overrides\r\n\r\n\r\n var buttonGroupClasses = classNames(classes.root, className);\r\n\r\n return React.createElement(\r\n 'div',\r\n Object.assign({ className: buttonGroupClasses }, rest, { ref: ref }),\r\n children\r\n );\r\n});\r\n\r\nButtonGroup.displayName = 'ButtonGroup';\r\n\r\nButtonGroup.propTypes = {\r\n /**\r\n * Class name to assign the component.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The buttons that are passed in as children within ButtonGroups.\r\n */\r\n children: PropTypes.node.isRequired\r\n};\r\n\r\nexport default withStyles(styles)(ButtonGroup);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nvar SIZE = 44;\n\nfunction getRelativeValue(value, min, max) {\n return (Math.min(Math.max(min, value), max) - min) / (max - min);\n}\n\nfunction easeOut(t) {\n t = getRelativeValue(t, 0, 1); // https://gist.github.com/gre/1650294\n\n t = (t -= 1) * t * t + 1;\n return t;\n}\n\nfunction easeIn(t) {\n return t * t;\n}\n\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-block'\n },\n\n /* Styles applied to the root element if `variant=\"static\"`. */\n static: {\n transition: theme.transitions.create('transform')\n },\n\n /* Styles applied to the root element if `variant=\"indeterminate\"`. */\n indeterminate: {\n animation: '$circular-rotate 1.4s linear infinite'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the `svg` element. */\n svg: {\n display: 'block' // Keeps the progress centered\n\n },\n\n /* Styles applied to the `circle` svg path. */\n circle: {\n stroke: 'currentColor' // Use butt to follow the specification, by chance, it's already the default CSS value.\n // strokeLinecap: 'butt',\n\n },\n\n /* Styles applied to the `circle` svg path if `variant=\"static\"`. */\n circleStatic: {\n transition: theme.transitions.create('stroke-dashoffset')\n },\n\n /* Styles applied to the `circle` svg path if `variant=\"indeterminate\"`. */\n circleIndeterminate: {\n animation: '$circular-dash 1.4s ease-in-out infinite',\n // Some default value that looks fine waiting for the animation to kicks in.\n strokeDasharray: '80px, 200px',\n strokeDashoffset: '0px' // Add the unit to fix a Edge 16 and below bug.\n\n },\n '@keyframes circular-rotate': {\n '100%': {\n transform: 'rotate(360deg)'\n }\n },\n '@keyframes circular-dash': {\n '0%': {\n strokeDasharray: '1px, 200px',\n strokeDashoffset: '0px'\n },\n '50%': {\n strokeDasharray: '100px, 200px',\n strokeDashoffset: '-15px'\n },\n '100%': {\n strokeDasharray: '100px, 200px',\n strokeDashoffset: '-125px'\n }\n },\n\n /* Styles applied to the `circle` svg path if `disableShrink={true}`. */\n circleDisableShrink: {\n animation: 'none'\n }\n };\n};\n/**\n * ## ARIA\n *\n * If the progress bar is describing the loading progress of a particular region of a page,\n * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`\n * attribute to `true` on that region until it has finished loading.\n */\n\nvar CircularProgress = React.forwardRef(function CircularProgress(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$disableShrink = props.disableShrink,\n disableShrink = _props$disableShrink === void 0 ? false : _props$disableShrink,\n _props$size = props.size,\n size = _props$size === void 0 ? 40 : _props$size,\n style = props.style,\n _props$thickness = props.thickness,\n thickness = _props$thickness === void 0 ? 3.6 : _props$thickness,\n _props$value = props.value,\n value = _props$value === void 0 ? 0 : _props$value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'indeterminate' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"disableShrink\", \"size\", \"style\", \"thickness\", \"value\", \"variant\"]);\n\n var circleStyle = {};\n var rootStyle = {};\n var rootProps = {};\n\n if (variant === 'determinate' || variant === 'static') {\n var circumference = 2 * Math.PI * ((SIZE - thickness) / 2);\n circleStyle.strokeDasharray = circumference.toFixed(3);\n rootProps['aria-valuenow'] = Math.round(value);\n\n if (variant === 'static') {\n circleStyle.strokeDashoffset = \"\".concat(((100 - value) / 100 * circumference).toFixed(3), \"px\");\n rootStyle.transform = 'rotate(-90deg)';\n } else {\n circleStyle.strokeDashoffset = \"\".concat((easeIn((100 - value) / 100) * circumference).toFixed(3), \"px\");\n rootStyle.transform = \"rotate(\".concat((easeOut(value / 70) * 270).toFixed(3), \"deg)\");\n }\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], {\n 'indeterminate': classes.indeterminate,\n 'static': classes.static\n }[variant]),\n style: _extends(_extends({\n width: size,\n height: size\n }, rootStyle), style),\n ref: ref,\n role: \"progressbar\"\n }, rootProps, other), /*#__PURE__*/React.createElement(\"svg\", {\n className: classes.svg,\n viewBox: \"\".concat(SIZE / 2, \" \").concat(SIZE / 2, \" \").concat(SIZE, \" \").concat(SIZE)\n }, /*#__PURE__*/React.createElement(\"circle\", {\n className: clsx(classes.circle, disableShrink && classes.circleDisableShrink, {\n 'indeterminate': classes.circleIndeterminate,\n 'static': classes.circleStatic\n }[variant]),\n style: circleStyle,\n cx: SIZE,\n cy: SIZE,\n r: (SIZE - thickness) / 2,\n fill: \"none\",\n strokeWidth: thickness\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? CircularProgress.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['inherit', 'primary', 'secondary']),\n\n /**\n * If `true`, the shrink animation is disabled.\n * This only works if variant is `indeterminate`.\n */\n disableShrink: chainPropTypes(PropTypes.bool, function (props) {\n if (props.disableShrink && props.variant && props.variant !== 'indeterminate') {\n return new Error('Material-UI: You have provided the `disableShrink` prop ' + 'with a variant other than `indeterminate`. This will have no effect.');\n }\n\n return null;\n }),\n\n /**\n * The size of the circle.\n * If using a number, the pixel unit is assumed.\n * If using a string, you need to provide the CSS unit, e.g '3rem'.\n */\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The thickness of the circle.\n */\n thickness: PropTypes.number,\n\n /**\n * The value of the progress indicator for the determinate and static variants.\n * Value between 0 and 100.\n */\n value: PropTypes.number,\n\n /**\n * The variant to use.\n * Use indeterminate when there is no progress value.\n */\n variant: PropTypes.oneOf(['determinate', 'indeterminate', 'static'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCircularProgress',\n flip: false\n})(CircularProgress);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiCircularProgress } from '@material-ui/core/CircularProgress';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * Use `CircularProgress` to indicate work is being done \"behind the scenes\" when a user initiates a call to action (loading, working, etc).\r\n * @done false\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * CircularProgressIndeterminate\r\n * CircularProgressDeterminate\r\n * CircularProgressStatic\r\n */\r\nvar CircularProgress = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiCircularProgress, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCircularProgress.muiName = 'CircularProgress';\r\nCircularProgress.displayName = 'CircularProgress';\r\n\r\nCircularProgress.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The color of the component. It supports those theme colors that make sense for this component.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary', 'inherit']),\r\n /**\r\n * If true, the shrink animation is disabled. This only works if variant is indeterminate.\r\n */\r\n disableShrink: PropTypes.bool,\r\n /**\r\n * The size of the circle.\r\n * If using a number, the pixel unit is assumed.\r\n * If using a string, you need to provide the CSS unit, e.g '3rem'.\r\n */\r\n size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n /**\r\n * @ignore\r\n */\r\n style: PropTypes.object,\r\n /**\r\n * The thickness of the circle.\r\n */\r\n thickness: PropTypes.number,\r\n /**\r\n * The value of the progress indicator for the determinate and static variants.\r\n * Value between 0 and 100.\r\n */\r\n value: PropTypes.number,\r\n /**\r\n * The variant to use.\r\n * Use indeterminate when there is no progress value.\r\n */\r\n variant: PropTypes.oneOf(['determinate', 'indeterminate', 'static'])\r\n};\r\n\r\nCircularProgress.defaultProps = {\r\n color: 'primary',\r\n disableShrink: false,\r\n size: 40,\r\n thickness: 3.6,\r\n value: 0,\r\n variant: 'indeterminate'\r\n};\r\n\r\nexport default withStyles(styles)(CircularProgress);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport Modal from '../Modal';\nimport Backdrop from '../Backdrop';\nimport Fade from '../Fade';\nimport { duration } from '../styles/transitions';\nimport Paper from '../Paper';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n '@media print': {\n // Use !important to override the Modal inline-style.\n position: 'absolute !important'\n }\n },\n\n /* Styles applied to the container element if `scroll=\"paper\"`. */\n scrollPaper: {\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n\n /* Styles applied to the container element if `scroll=\"body\"`. */\n scrollBody: {\n overflowY: 'auto',\n overflowX: 'hidden',\n textAlign: 'center',\n '&:after': {\n content: '\"\"',\n display: 'inline-block',\n verticalAlign: 'middle',\n height: '100%',\n width: '0'\n }\n },\n\n /* Styles applied to the container element. */\n container: {\n height: '100%',\n '@media print': {\n height: 'auto'\n },\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n },\n\n /* Styles applied to the `Paper` component. */\n paper: {\n margin: 32,\n position: 'relative',\n overflowY: 'auto',\n // Fix IE 11 issue, to remove at some point.\n '@media print': {\n overflowY: 'visible',\n boxShadow: 'none'\n }\n },\n\n /* Styles applied to the `Paper` component if `scroll=\"paper\"`. */\n paperScrollPaper: {\n display: 'flex',\n flexDirection: 'column',\n maxHeight: 'calc(100% - 64px)'\n },\n\n /* Styles applied to the `Paper` component if `scroll=\"body\"`. */\n paperScrollBody: {\n display: 'inline-block',\n verticalAlign: 'middle',\n textAlign: 'left' // 'initial' doesn't work on IE 11\n\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=false`. */\n paperWidthFalse: {\n maxWidth: 'calc(100% - 64px)'\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"xs\"`. */\n paperWidthXs: {\n maxWidth: Math.max(theme.breakpoints.values.xs, 444),\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(Math.max(theme.breakpoints.values.xs, 444) + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"sm\"`. */\n paperWidthSm: {\n maxWidth: theme.breakpoints.values.sm,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.sm + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"md\"`. */\n paperWidthMd: {\n maxWidth: theme.breakpoints.values.md,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.md + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"lg\"`. */\n paperWidthLg: {\n maxWidth: theme.breakpoints.values.lg,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.lg + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `maxWidth=\"xl\"`. */\n paperWidthXl: {\n maxWidth: theme.breakpoints.values.xl,\n '&$paperScrollBody': _defineProperty({}, theme.breakpoints.down(theme.breakpoints.values.xl + 32 * 2), {\n maxWidth: 'calc(100% - 64px)'\n })\n },\n\n /* Styles applied to the `Paper` component if `fullWidth={true}`. */\n paperFullWidth: {\n width: 'calc(100% - 64px)'\n },\n\n /* Styles applied to the `Paper` component if `fullScreen={true}`. */\n paperFullScreen: {\n margin: 0,\n width: '100%',\n maxWidth: '100%',\n height: '100%',\n maxHeight: 'none',\n borderRadius: 0,\n '&$paperScrollBody': {\n margin: 0,\n maxWidth: '100%'\n }\n }\n };\n};\nvar defaultTransitionDuration = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * Dialogs are overlaid modal paper based components with a backdrop.\n */\n\nvar Dialog = React.forwardRef(function Dialog(props, ref) {\n var BackdropProps = props.BackdropProps,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableBackdro = props.disableBackdropClick,\n disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro,\n _props$disableEscapeK = props.disableEscapeKeyDown,\n disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK,\n _props$fullScreen = props.fullScreen,\n fullScreen = _props$fullScreen === void 0 ? false : _props$fullScreen,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$maxWidth = props.maxWidth,\n maxWidth = _props$maxWidth === void 0 ? 'sm' : _props$maxWidth,\n onBackdropClick = props.onBackdropClick,\n onClose = props.onClose,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onEscapeKeyDown = props.onEscapeKeyDown,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n open = props.open,\n _props$PaperComponent = props.PaperComponent,\n PaperComponent = _props$PaperComponent === void 0 ? Paper : _props$PaperComponent,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n _props$scroll = props.scroll,\n scroll = _props$scroll === void 0 ? 'paper' : _props$scroll,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Fade : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n ariaDescribedby = props['aria-describedby'],\n ariaLabelledby = props['aria-labelledby'],\n other = _objectWithoutProperties(props, [\"BackdropProps\", \"children\", \"classes\", \"className\", \"disableBackdropClick\", \"disableEscapeKeyDown\", \"fullScreen\", \"fullWidth\", \"maxWidth\", \"onBackdropClick\", \"onClose\", \"onEnter\", \"onEntered\", \"onEntering\", \"onEscapeKeyDown\", \"onExit\", \"onExited\", \"onExiting\", \"open\", \"PaperComponent\", \"PaperProps\", \"scroll\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\", \"aria-describedby\", \"aria-labelledby\"]);\n\n var mouseDownTarget = React.useRef();\n\n var handleMouseDown = function handleMouseDown(event) {\n mouseDownTarget.current = event.target;\n };\n\n var handleBackdropClick = function handleBackdropClick(event) {\n // Ignore the events not coming from the \"backdrop\"\n // We don't want to close the dialog when clicking the dialog content.\n if (event.target !== event.currentTarget) {\n return;\n } // Make sure the event starts and ends on the same DOM element.\n\n\n if (event.target !== mouseDownTarget.current) {\n return;\n }\n\n mouseDownTarget.current = null;\n\n if (onBackdropClick) {\n onBackdropClick(event);\n }\n\n if (!disableBackdropClick && onClose) {\n onClose(event, 'backdropClick');\n }\n };\n\n return /*#__PURE__*/React.createElement(Modal, _extends({\n className: clsx(classes.root, className),\n BackdropComponent: Backdrop,\n BackdropProps: _extends({\n transitionDuration: transitionDuration\n }, BackdropProps),\n closeAfterTransition: true,\n disableBackdropClick: disableBackdropClick,\n disableEscapeKeyDown: disableEscapeKeyDown,\n onEscapeKeyDown: onEscapeKeyDown,\n onClose: onClose,\n open: open,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n timeout: transitionDuration,\n onEnter: onEnter,\n onEntering: onEntering,\n onEntered: onEntered,\n onExit: onExit,\n onExiting: onExiting,\n onExited: onExited,\n role: \"none presentation\"\n }, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.container, classes[\"scroll\".concat(capitalize(scroll))]),\n onClick: handleBackdropClick,\n onMouseDown: handleMouseDown\n }, /*#__PURE__*/React.createElement(PaperComponent, _extends({\n elevation: 24,\n role: \"dialog\",\n \"aria-describedby\": ariaDescribedby,\n \"aria-labelledby\": ariaLabelledby\n }, PaperProps, {\n className: clsx(classes.paper, classes[\"paperScroll\".concat(capitalize(scroll))], classes[\"paperWidth\".concat(capitalize(String(maxWidth)))], PaperProps.className, fullScreen && classes.paperFullScreen, fullWidth && classes.paperFullWidth)\n }), children))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Dialog.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The id(s) of the element(s) that describe the dialog.\n */\n 'aria-describedby': PropTypes.string,\n\n /**\n * The id(s) of the element(s) that label the dialog.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * @ignore\n */\n BackdropProps: PropTypes.object,\n\n /**\n * Dialog children, usually the included sub-components.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, clicking the backdrop will not fire the `onClose` callback.\n */\n disableBackdropClick: PropTypes.bool,\n\n /**\n * If `true`, hitting escape will not fire the `onClose` callback.\n */\n disableEscapeKeyDown: PropTypes.bool,\n\n /**\n * If `true`, the dialog will be full-screen\n */\n fullScreen: PropTypes.bool,\n\n /**\n * If `true`, the dialog stretches to `maxWidth`.\n *\n * Notice that the dialog width grow is limited by the default margin.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * Determine the max-width of the dialog.\n * The dialog width grows with the size of the screen.\n * Set to `false` to disable `maxWidth`.\n */\n maxWidth: PropTypes.oneOf(['lg', 'md', 'sm', 'xl', 'xs', false]),\n\n /**\n * Callback fired when the backdrop is clicked.\n */\n onBackdropClick: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the dialog enters.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the dialog has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the dialog is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired when the escape key is pressed,\n * `disableKeyboard` is false and the modal is in focus.\n */\n onEscapeKeyDown: PropTypes.func,\n\n /**\n * Callback fired before the dialog exits.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the dialog has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the dialog is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the Dialog is open.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The component used to render the body of the dialog.\n */\n PaperComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes.object,\n\n /**\n * Determine the container for scrolling the dialog.\n */\n scroll: PropTypes.oneOf(['body', 'paper']),\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialog'\n})(Dialog);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nimport { useState } from 'react';\r\n\r\n/**\r\n * This is a custom hook to determine if the dialog consists of a `Datepicker` component.\r\n * If so the `enforceFocusFlag` is set to `true` momentarily to allow the control to go out of a `Dialog`.\r\n * TODO: This is a dirty hack and get rid of this code once we switch the date picker with some other lib.\r\n */\r\nfunction useEnforceFocusFlag() {\r\n var _useState = useState(false),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n disableEnforceFocusFlag = _useState2[0],\r\n setEnforceFocusFlag = _useState2[1];\r\n\r\n var onFocus = function onFocus(e) {\r\n if (e.target.querySelector('.DateInput_input')) {\r\n setEnforceFocusFlag(true);\r\n }\r\n };\r\n\r\n var onBlur = function onBlur(e) {\r\n if (e.target.getAttribute && e.target.getAttribute('tabindex') === '0') {\r\n setEnforceFocusFlag(false);\r\n }\r\n };\r\n\r\n return [disableEnforceFocusFlag, onFocus, onBlur];\r\n}\r\n\r\nexport default useEnforceFocusFlag;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useEffect, useLayoutEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDialog } from '@material-ui/core/Dialog';\r\nimport CloseIcon from '@ellucian/ds-icons/lib/Close';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport classNames from 'classnames';\r\nimport { useSpacing, spacingVariant } from './../globalSpacing';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport useEnforceFocusFlag from './internal/useEnforceFocusFlag';\r\nimport { borderRadiusMedium, borderRadiusReset, spacing30, spacing20, spacing40, spacing50, spacing80, widthFluid } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _internalDialog;\r\n\r\n return {\r\n\r\n // Styles applied to the root element.\r\n root: {\r\n '&.fullScreen': {\r\n padding: 0,\r\n '& .dialog-close-button': {\r\n top: spacing30,\r\n right: spacing30\r\n }\r\n },\r\n '& $scrollBody': {\r\n display: 'inline-grid'\r\n }\r\n },\r\n\r\n // Styles applied to the Paper component if fullWidth=true.\r\n paperFullWidth: {\r\n width: widthFluid + ' !important'\r\n },\r\n\r\n // Styles applied to the Paper component.\r\n paper: {\r\n margin: spacing80\r\n },\r\n\r\n dialogXButton: _defineProperty({\r\n position: 'absolute',\r\n textAlign: 'center',\r\n marginTop: '-0.3rem',\r\n top: 0,\r\n right: 0,\r\n '&$xButtonPositionStandard': {\r\n top: spacing40,\r\n right: spacing20\r\n }\r\n }, theme.breakpoints.up('md'), {\r\n '&$xButtonPositionStandard': {\r\n top: spacing50,\r\n right: spacing40\r\n }\r\n }),\r\n\r\n xButtonPositionStandard: {},\r\n paperFullScreen: {\r\n // TODO: Find a better way to increase the opacity.\r\n // internalDialog classes are overriding this class for now,\r\n // hence !important.\r\n width: widthFluid + ' !important',\r\n borderRadius: borderRadiusReset + ' !important',\r\n margin: 0\r\n },\r\n\r\n internalDialog: (_internalDialog = {\r\n gridTemplateRows: 'min-content minmax(auto, 1fr) min-content',\r\n position: 'relative',\r\n minHeight: '12.5rem',\r\n width: '21.5rem',\r\n borderRadius: borderRadiusMedium,\r\n padding: 0\r\n }, _defineProperty(_internalDialog, theme.breakpoints.up('sm'), {\r\n width: '37.5rem'\r\n }), _defineProperty(_internalDialog, theme.breakpoints.up('md'), {\r\n width: '39.625rem'\r\n }), _defineProperty(_internalDialog, theme.breakpoints.up('lg'), {\r\n width: '53rem'\r\n }), _internalDialog),\r\n scrollBody: {}\r\n };\r\n};\r\n\r\nvar paperClassName = 'eds-dialog-paper';\r\n\r\n/**\r\n * Use `Dialog` to display information without losing the context of the page.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * BasicDialog\r\n * DialogActionConfiguration\r\n * CustomSpacingDialog\r\n * DialogCustomSpacingWithSpacingOptionsAPI\r\n * DialogA11y\r\n */\r\nvar Dialog = React.forwardRef(function (props, ref) {\r\n var _useEnforceFocusFlag = useEnforceFocusFlag(),\r\n _useEnforceFocusFlag2 = _slicedToArray(_useEnforceFocusFlag, 3),\r\n disableEnforceFocusFlag = _useEnforceFocusFlag2[0],\r\n onFocus = _useEnforceFocusFlag2[1],\r\n onBlur = _useEnforceFocusFlag2[2];\r\n\r\n var refItem = ref || React.useRef();\r\n\r\n var children = props.children,\r\n classesProp = props.classes,\r\n onClose = props.onClose,\r\n showTitleBarClose = props.showTitleBarClose,\r\n PaperPropsProp = props.PaperProps,\r\n edsContext = props.edsContext,\r\n open = props.open,\r\n fullScreen = props.fullScreen,\r\n spacingOptionsLocal = props.spacingOptions,\r\n className = props.className,\r\n rest = _objectWithoutProperties(props, ['children', 'classes', 'onClose', 'showTitleBarClose', 'PaperProps', 'edsContext', 'open', 'fullScreen', 'spacingOptions', 'className']);\r\n\r\n var _useSpacing = useSpacing(spacingOptionsLocal),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n spacingOptions = _useSpacing2[1],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var classes = {\r\n root: classesProp.root,\r\n paper: classesProp.paper,\r\n paperWidthXs: classesProp.paperWidthXs,\r\n paperWidthSm: classesProp.paperWidthSm,\r\n paperWidthMd: classesProp.paperWidthMd,\r\n paperFullWidth: classesProp.paperFullWidth,\r\n paperFullScreen: classesProp.paperFullScreen,\r\n paperScrollBody: classNames(_defineProperty({}, classesProp.scrollBody, props.scroll === 'body'))\r\n };\r\n\r\n // local overrides to the dialog's internal paper\r\n var internalPaperProps = {\r\n classes: {\r\n root: classesProp.internalDialog\r\n },\r\n className: classNames(paperClassName, spacingStyles),\r\n 'aria-modal': true\r\n };\r\n\r\n // incorporate consumer's paper overrides as well (if any)\r\n var PaperProps2 = Object.assign(internalPaperProps, PaperPropsProp);\r\n\r\n // style the close 'x' in the title\r\n var buttonClasses = classNames(undefined !== props.className ? props.className : '', 'dialog-close-button', classesProp.dialogXButton, _defineProperty({}, classesProp.xButtonPositionStandard, spacingOptions.spacing === spacingVariant.STANDARD));\r\n\r\n //TODO: Remove this section when following github is resolve.\r\n //https://github.com/mui-org/material-ui/pull/24500\r\n useLayoutEffect(function () {\r\n setTimeout(function () {\r\n if (refItem.current && open) {\r\n refItem.current.querySelector('[role=\"none presentation\"]').removeAttribute('role');\r\n }\r\n });\r\n }, [open]);\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptionsLocal);\r\n }, [spacingOptionsLocal]); // eslint-disable-line\r\n\r\n var onFocusCallback = function onFocusCallback(e) {\r\n var propsOnFocus = props.onFocus;\r\n\r\n onFocus(e);\r\n propsOnFocus && propsOnFocus(e);\r\n };\r\n\r\n var onBlurCallback = function onBlurCallback(e) {\r\n var propsOnBlur = props.onFocus;\r\n\r\n onBlur(e);\r\n propsOnBlur && propsOnBlur(e);\r\n };\r\n\r\n return React.createElement(\r\n MuiDialog,\r\n Object.assign({\r\n className: classNames('eds-dialog', className),\r\n dir: edsContext.dir,\r\n classes: classes,\r\n disableBackdropClick: true,\r\n disableEscapeKeyDown: true,\r\n PaperProps: PaperProps2,\r\n onClose: onClose,\r\n open: open,\r\n fullScreen: fullScreen,\r\n onFocus: onFocusCallback,\r\n onBlur: onBlurCallback\r\n }, rest, {\r\n ref: refItem,\r\n disableEnforceFocus: disableEnforceFocusFlag\r\n }),\r\n showTitleBarClose && React.createElement(\r\n Tooltip,\r\n {\r\n title: edsContext.formatMessage('component.Alert.close'),\r\n enterDelay: 1000,\r\n enterNextDelay: 1000\r\n },\r\n React.createElement(\r\n IconButton,\r\n {\r\n 'aria-label': edsContext.formatMessage('component.Dialog.close'),\r\n color: 'gray',\r\n className: buttonClasses,\r\n onClick: onClose\r\n },\r\n React.createElement(CloseIcon, { className: classes.iconSvg })\r\n )\r\n ),\r\n children\r\n );\r\n});\r\n\r\nDialog.muiName = 'Dialog';\r\nDialog.displayName = 'Dialog';\r\n\r\nDialog.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n BackdropProps: PropTypes.object,\r\n /**\r\n * Dialog children, usually the included sub-components.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, clicking the backdrop will not fire the `onClose` callback.\r\n */\r\n disableBackdropClick: PropTypes.bool,\r\n /**\r\n * If `true`, hitting escape will not fire the `onClose` callback.\r\n */\r\n disableEscapeKeyDown: PropTypes.bool,\r\n /**\r\n * If `true`, the dialog will be full-screen\r\n */\r\n fullScreen: PropTypes.bool,\r\n /**\r\n * If `true`, the dialog stretches to `maxWidth`.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Determine the max width of the dialog.\r\n *\r\n * The dialog width grows with the size of the screen, this property is useful\r\n * on the desktop where you might need some different widths across your\r\n * application.\r\n *\r\n * Valid values:\r\n *\r\n * * `xs`\r\n * * `sm`\r\n * * `md`\r\n * * `lg`\r\n * * `false` (disables max width)\r\n */\r\n maxWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', false]),\r\n /**\r\n * Callback fired when the backdrop is clicked.\r\n */\r\n onBackdropClick: PropTypes.func,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n *\r\n * @param {object} event The event source of the callback\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired before the dialog enters.\r\n */\r\n onEnter: PropTypes.func,\r\n /**\r\n * Callback fired when the dialog has entered.\r\n */\r\n onEntered: PropTypes.func,\r\n /**\r\n * Callback fired when the dialog is entering.\r\n */\r\n onEntering: PropTypes.func,\r\n /**\r\n * Callback fired when the escape key is pressed,\r\n * `disableKeyboard` is false and the modal is in focus.\r\n */\r\n onEscapeKeyDown: PropTypes.func,\r\n /**\r\n * Callback fired before the dialog exits.\r\n */\r\n onExit: PropTypes.func,\r\n /**\r\n * Callback fired when the dialog has exited.\r\n */\r\n onExited: PropTypes.func,\r\n /**\r\n * Callback fired when the dialog is exiting.\r\n */\r\n onExiting: PropTypes.func,\r\n /**\r\n * If `true`, the Dialog is open.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Properties applied to the dialog's internal Paper element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Determine the container for scrolling the dialog.\r\n */\r\n scroll: PropTypes.oneOf(['body', 'paper']),\r\n /**\r\n * Whether to show a close 'x' in the title bar. Clicking this invokes the\r\n * `onClose` handler.\r\n */\r\n showTitleBarClose: PropTypes.bool,\r\n /**\r\n * Transition component.\r\n */\r\n TransitionComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The duration for the transition, in milliseconds.\r\n * You may specify a single timeout for all transitions, or individually with an object.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number })]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object,\r\n /**\r\n * Provides several attributes to control `Dialog` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Dialog` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n * * `responsive` (bool): **true** | false\r\n * * By default, `Dialog` spacing adjusts responsively to its viewport. Set to `false` to disable responsiveness.\r\n * * `outerSpacing` (bool): **true** | false\r\n * * If set to `false`, removes the dialog's outer padding (but retains the space between its subcomponents)\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n responsive: PropTypes.bool,\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\nDialog.defaultProps = {\r\n disableBackdropClick: false,\r\n disableEscapeKeyDown: false,\r\n fullScreen: false,\r\n fullWidth: false,\r\n maxWidth: 'sm',\r\n scroll: 'paper',\r\n showTitleBarClose: true\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Dialog));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8,\n justifyContent: 'flex-end',\n flex: '0 0 auto'\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar DialogActions = React.forwardRef(function DialogActions(props, ref) {\n var _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"disableSpacing\", \"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogActions.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogActions'\n})(DialogActions);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDialogActions } from '@material-ui/core/DialogActions';\r\nimport { spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _button;\r\n\r\n return {\r\n root: _defineProperty({\r\n display: 'flex',\r\n flexDirection: 'column',\r\n margin: 0,\r\n padding: 0\r\n }, theme.breakpoints.up('sm'), {\r\n justifyContent: 'flex-end',\r\n flexDirection: 'row'\r\n }),\r\n spacing: {\r\n '& > button': (_button = {\r\n margin: spacing30 + ' 0',\r\n width: '100%'\r\n }, _defineProperty(_button, theme.breakpoints.up('sm'), {\r\n margin: '0 ' + spacing30,\r\n width: 'auto'\r\n }), _defineProperty(_button, theme.breakpoints.down('xs'), {\r\n '&:not(:first-child)': {\r\n marginLeft: 0 // since buttons are stacked in sm viewports, no need for margin\r\n }\r\n }), _button)\r\n }\r\n\r\n };\r\n};\r\n\r\n/**\r\n * DialogActions are controls that live within a Dialog.\r\n */\r\nvar DialogActions = React.forwardRef(function (props, ref) {\r\n var children = props.children,\r\n classesProp = props.classes,\r\n rest = _objectWithoutProperties(props, ['children', 'classes']);\r\n\r\n var classes = {\r\n root: classesProp.root,\r\n spacing: classesProp.spacing\r\n };\r\n\r\n return React.createElement(\r\n MuiDialogActions,\r\n Object.assign({ classes: classes }, rest, { ref: ref }),\r\n children\r\n );\r\n});\r\n\r\nDialogActions.muiName = 'DialogActions';\r\nDialogActions.displayName = 'DialogActions';\r\n\r\nDialogActions.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the dialog actions do not have additional margin.\r\n */\r\n disableSpacing: PropTypes.bool\r\n};\r\n\r\nDialogActions.defaultProps = {\r\n disableSpacing: false\r\n};\r\n\r\nexport default withStyles(styles, { index: 0 })(DialogActions);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto',\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n overflowY: 'auto',\n padding: '8px 24px',\n '&:first-child': {\n // dialog without title\n paddingTop: 20\n }\n },\n\n /* Styles applied to the root element if `dividers={true}`. */\n dividers: {\n padding: '16px 24px',\n borderTop: \"1px solid \".concat(theme.palette.divider),\n borderBottom: \"1px solid \".concat(theme.palette.divider)\n }\n };\n};\nvar DialogContent = React.forwardRef(function DialogContent(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$dividers = props.dividers,\n dividers = _props$dividers === void 0 ? false : _props$dividers,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"dividers\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, dividers && classes.dividers),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Display the top and bottom dividers.\n */\n dividers: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogContent'\n})(DialogContent);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDialogContent } from '@material-ui/core/DialogContent';\r\nimport { spacing20 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n padding: spacing20\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * DialogContent is the main content that lives within a Dialog.\r\n */\r\nvar DialogContent = React.forwardRef(function (props, ref) {\r\n var children = props.children,\r\n classesProp = props.classes,\r\n rest = _objectWithoutProperties(props, ['children', 'classes']);\r\n\r\n var classes = {\r\n root: classesProp.root\r\n };\r\n\r\n return React.createElement(\r\n MuiDialogContent,\r\n Object.assign({ classes: classes }, rest, { ref: ref }),\r\n children\r\n );\r\n});\r\n\r\nDialogContent.muiName = 'DialogContent';\r\nDialogContent.displayName = 'DialogContent';\r\n\r\nDialogContent.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string\r\n};\r\n\r\nexport default withStyles(styles)(DialogContent);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n marginBottom: 12\n }\n};\nvar DialogContentText = React.forwardRef(function DialogContentText(props, ref) {\n return /*#__PURE__*/React.createElement(Typography, _extends({\n component: \"p\",\n variant: \"body1\",\n color: \"textSecondary\",\n ref: ref\n }, props));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogContentText.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogContentText'\n})(DialogContentText);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDialogContentText } from '@material-ui/core/DialogContentText';\r\nimport { spacing40 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body2.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: theme.typography.body2.lineHeight,\r\n marginBottom: spacing40\r\n }, theme.breakpoints.up('sm'), {\r\n marginBottom: spacing40\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * DialogContentText is the text of the main content within a Dialog.\r\n */\r\nvar DialogContentText = React.forwardRef(function (props, ref) {\r\n var children = props.children,\r\n classesProp = props.classes,\r\n rest = _objectWithoutProperties(props, ['children', 'classes']);\r\n\r\n var classes = {\r\n root: classesProp.root\r\n };\r\n\r\n return React.createElement(\r\n MuiDialogContentText,\r\n Object.assign({ classes: classes }, rest, { ref: ref }),\r\n children\r\n );\r\n});\r\n\r\nDialogContentText.muiName = 'DialogContentText';\r\nDialogContentText.displayName = 'DialogContentText';\r\n\r\nDialogContentText.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string\r\n};\r\n\r\nexport default withStyles(styles)(DialogContentText);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n margin: 0,\n padding: '16px 24px',\n flex: '0 0 auto'\n }\n};\nvar DialogTitle = React.forwardRef(function DialogTitle(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"disableTypography\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), disableTypography ? children : /*#__PURE__*/React.createElement(Typography, {\n component: \"h2\",\n variant: \"h6\"\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? DialogTitle.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the children won't be wrapped by a typography component.\n * For instance, this can be useful to render an h4 instead of the default h2.\n */\n disableTypography: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDialogTitle'\n})(DialogTitle);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Typography } from '../';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDialogTitle } from '@material-ui/core/DialogTitle';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.h2.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: theme.typography.h2.lineHeight,\r\n margin: 0,\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * DialogTitle is the title within a Dialog.\r\n */\r\nvar DialogTitle = React.forwardRef(function (props, ref) {\r\n var children = props.children,\r\n disableTypography = props.disableTypography,\r\n classesProp = props.classes,\r\n rest = _objectWithoutProperties(props, ['children', 'disableTypography', 'classes']);\r\n\r\n var classes = {\r\n root: classesProp.root\r\n };\r\n\r\n // use our own typography element (if the user hasn't disabled typography for titles),\r\n // so that we can control the variant\r\n var titleContents = disableTypography ? children : React.createElement(\r\n Typography,\r\n { variant: 'h2' },\r\n children\r\n );\r\n\r\n return React.createElement(\r\n MuiDialogTitle,\r\n Object.assign({ disableTypography: true, classes: classes }, rest, { ref: ref }),\r\n titleContents\r\n );\r\n});\r\n\r\nDialogTitle.muiName = 'DialogTitle';\r\nDialogTitle.displayName = 'DialogTitle';\r\n\r\nDialogTitle.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the children won't be wrapped by a typography component.\r\n * For instance, this can be useful to render an h4 instead of the default h2.\r\n */\r\n disableTypography: PropTypes.bool\r\n};\r\n\r\nDialogTitle.defaultProps = {\r\n disableTypography: false\r\n};\r\n\r\nexport default withStyles(styles)(DialogTitle);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/styles';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n '@global': {\r\n html: {\r\n WebkitFontSmoothing: 'antialiased', // Antialiasing.\r\n MozOsxFontSmoothing: 'grayscale', // Antialiasing.\r\n // Change from `box-sizing: content-box` so that `width`\r\n // is not affected by `padding` or `border`.\r\n boxSizing: 'border-box'\r\n },\r\n '*, *::before, *::after': {\r\n boxSizing: 'inherit'\r\n },\r\n body: {\r\n margin: 0, // Remove the margin in all browsers.\r\n backgroundColor: theme.palette.background.default,\r\n '@media print': {\r\n // Save printer ink.\r\n backgroundColor: theme.palette.common.white\r\n }\r\n }\r\n }\r\n };\r\n}, { name: 'CssBaseline' });\r\n\r\nfunction CssBaseline(props) {\r\n var _props$children = props.children,\r\n children = _props$children === undefined ? null : _props$children;\r\n\r\n useStyles();\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n children\r\n );\r\n}\r\n\r\nCssBaseline.propTypes = {\r\n /**\r\n * You can wrap a node.\r\n */\r\n children: PropTypes.node\r\n};\r\n\r\nexport default CssBaseline;","import config from './edsconfig.js';\r\n\r\nvar cdnBaseUrlWithVersion = '' + config.cdnBaseUrl + config.appVersion;\r\nvar getLargeIllustrationsUrl = function getLargeIllustrationsUrl(assetName) {\r\n return cdnBaseUrlWithVersion + '/img/illustrations/large/' + assetName;\r\n};\r\n\r\nvar getFontsUrl = function getFontsUrl() {\r\n return cdnBaseUrlWithVersion + '/fonts/fonts.css';\r\n};\r\n\r\nvar getBackgroundImageUrl = function getBackgroundImageUrl(assetName) {\r\n return cdnBaseUrlWithVersion + '/img/bg/' + assetName;\r\n};\r\n\r\nvar getFavIconUrl = function getFavIconUrl(assetName) {\r\n return assetName ? cdnBaseUrlWithVersion + '/img/favicons/' + assetName : cdnBaseUrlWithVersion + '/img/favicons/favicon.svg';\r\n};\r\n\r\nvar cdn = {\r\n getLargeIllustrationsUrl: getLargeIllustrationsUrl,\r\n getFontsUrl: getFontsUrl,\r\n getBackgroundImageUrl: getBackgroundImageUrl,\r\n getFavIconUrl: getFavIconUrl\r\n};\r\n\r\nexport default cdn;","function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { ThemeProvider as MuiThemeProvider } from '@material-ui/core/styles/';\r\nimport { create } from 'jss';\r\nimport rtl from 'jss-rtl';\r\nimport { StylesProvider, jssPreset } from '@material-ui/styles';\r\nimport { createEDSTheme } from '@ellucian/react-design-system/core/themes';\r\nimport { classNameGenerator } from '../styles/';\r\nimport { EDSContext } from '../EDSContext/EDSContext';\r\nimport CssBaseline from './internal/CssBaseline';\r\nimport { CssGlobalSpacing } from './../globalSpacing';\r\nimport config from './internal/edsconfig.js';\r\nimport cdn from './internal/urls';\r\nimport moment from 'moment';\r\n\r\nvar DEFAULT_LOCALE = 'en_US';\r\nvar DEFAULT_DIR = 'ltr';\r\n\r\n/**\r\n * `EDSApplication` is the top-level component of an EDS application. All apps must be wrapped in this component.\r\n *\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.13\r\n * @examples\r\n * EDSApplicationExample\r\n */\r\nvar EDSApplication = function EDSApplication(props) {\r\n // Configure JSS\r\n var jss = create({ plugins: [].concat(_toConsumableArray(jssPreset().plugins), [rtl({ enabled: props.dir === 'rtl' })]) });\r\n\r\n useEffect(function () {\r\n // if the caller wants us to automatically set the global moment locale, do so\r\n if (props.locale && props.autosetMomentLocale) {\r\n moment.locale(props.locale);\r\n }\r\n }, [props.locale]); // eslint-disable-line react-hooks/exhaustive-deps\r\n\r\n // Set direction prop in the theme\r\n props.theme.direction = props.dir;\r\n\r\n return React.createElement(\r\n EDSContext.Provider,\r\n { value: {\r\n dir: props.dir,\r\n locale: props.locale,\r\n labelOverrides: props.labelOverrides\r\n } },\r\n React.createElement(\r\n StylesProvider,\r\n { generateClassName: classNameGenerator, jss: jss },\r\n React.createElement(\r\n MuiThemeProvider,\r\n { theme: props.theme },\r\n React.createElement(CssBaseline, null),\r\n React.createElement(CssGlobalSpacing, null),\r\n props.children\r\n )\r\n )\r\n );\r\n};\r\n\r\nEDSApplication.muiName = 'EDSApplication';\r\nEDSApplication.displayName = 'EDSApplication';\r\n\r\nEDSApplication.propTypes = {\r\n /**\r\n * Whether to set the global moment context to the locale specified by the `locale` prop.\r\n */\r\n autosetMomentLocale: PropTypes.bool,\r\n /**\r\n * The nodes comprising the wrapped application.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * **BETA** Several components are not yet RTL-compliant\r\n *\r\n * Directionality of the application.\r\n */\r\n dir: PropTypes.oneOf(['ltr', 'rtl']),\r\n /**\r\n * Overrides for the translated labels.\r\n */\r\n labelOverrides: PropTypes.object,\r\n /**\r\n * Locale to use for translations.\r\n */\r\n locale: PropTypes.string,\r\n /**\r\n * The application's theme.\r\n */\r\n theme: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nEDSApplication.defaultProps = {\r\n autosetMomentLocale: true,\r\n dir: DEFAULT_DIR,\r\n labelOverrides: {},\r\n locale: DEFAULT_LOCALE,\r\n theme: createEDSTheme('light')\r\n};\r\n\r\nexport { config, cdn };\r\nexport default EDSApplication;","import React from 'react';\r\nimport { i18n } from '@ellucian/react-design-system/core/i18n';\r\nimport hoistNonReactStatics from 'hoist-non-react-statics';\r\nimport isEmpty from 'lodash/isEmpty';\r\n// context that tracks translated strings\r\nvar EDSContext = React.createContext({});\r\n// Default locale\r\nvar DEFAULT_LOCALE = 'en_US';\r\n\r\nfunction getDisplayName(WrappedComponent) {\r\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\r\n}\r\n\r\n/**\r\n * Wraps the given component in an HOC that provides global information to all EDS components.\r\n *\r\n * It injects an edsContextInfo property, which contains the follow attributs:\r\n *\r\n * * formatMessage: (function) Returns the text corresponding to a given id. Accepts two arguments:\r\n * - id: The id of the message to include\r\n * - substitutions: (optional) An object that specifies substitutions for templated resources.\r\n * * locale: (string) The locale specified at the EDSApplication level.\r\n *\r\n * @param {Component} WrappedComponent The component to wrap\r\n */\r\nvar withEDSContext = function withEDSContext(WrappedComponent) {\r\n\r\n var getFormatMessageFunc = function getFormatMessageFunc(_ref) {\r\n var locale = _ref.locale,\r\n labelOverrides = _ref.labelOverrides;\r\n\r\n // Replace hyphen ('-') with underscore ('_') to support hyphens in locale value.\r\n\r\n locale = locale && locale.replace('-', '_');\r\n var language = locale && locale.split('_')[0];\r\n\r\n var messages = {};\r\n /**\r\n * Example with respect to locale = `fr_CA`\r\n * If `fr_CA` locale is available, then use it to display labels.\r\n * If `fr_CA` locale is not available, then use `fr` language to display labels.\r\n * If `fr` language is not available, then use `en_US` locale (i.e. Default locale) to display labels.\r\n */\r\n if (i18n[locale]) {\r\n messages = i18n[locale].messages;\r\n } else if (i18n[language]) {\r\n messages = i18n[language].messages;\r\n } else {\r\n messages = i18n[DEFAULT_LOCALE].messages;\r\n }\r\n\r\n if (!isEmpty(labelOverrides)) {\r\n messages = Object.assign({}, messages, labelOverrides);\r\n }\r\n\r\n var f = function f(id, substitutions) {\r\n var msg = messages[id];\r\n\r\n // if we found a resource for this id, handle substitutions\r\n if (msg) {\r\n if (substitutions) {\r\n Object.keys(substitutions).forEach(function (key) {\r\n msg = msg.replace('{' + key + '}', substitutions[key]);\r\n });\r\n }\r\n } else {\r\n // Display key as it is if value is not available in the locale file.\r\n msg = 'MISSING KEY: ' + id;\r\n console.error('MISSING KEY: ' + id);\r\n }\r\n\r\n return msg;\r\n };\r\n\r\n return f;\r\n };\r\n\r\n var wrap = React.forwardRef(function contextTranslation(props, ref) {\r\n return React.createElement(\r\n EDSContext.Consumer,\r\n null,\r\n function (value) {\r\n return React.createElement(WrappedComponent, Object.assign({\r\n ref: ref\r\n }, props, {\r\n edsContext: {\r\n dir: value.dir,\r\n formatMessage: getFormatMessageFunc(value),\r\n locale: value.locale && value.locale.replace('_', '-')\r\n }\r\n }));\r\n }\r\n );\r\n });\r\n\r\n wrap.displayName = 'EDSContext(' + getDisplayName(WrappedComponent) + ')';\r\n\r\n return hoistNonReactStatics(wrap, WrappedComponent);\r\n};\r\n\r\nexport { EDSContext, withEDSContext };","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\r\n\r\nimport React from 'react';\r\nimport TextLink from './../../TextLink';\r\n\r\nvar ErrorPageAction = function ErrorPageAction(_ref) {\r\n var action = _ref.action,\r\n text = _ref.text;\r\n\r\n var actionLink = React.createElement(\r\n TextLink,\r\n null,\r\n text\r\n );\r\n\r\n if (action && typeof action === 'string') {\r\n actionLink = React.createElement(\r\n TextLink,\r\n { href: action },\r\n text\r\n );\r\n } else if (action && (typeof action === 'undefined' ? 'undefined' : _typeof(action)) === 'object') {\r\n actionLink = action;\r\n }\r\n\r\n return actionLink;\r\n};\r\n\r\nexport default ErrorPageAction;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Typography from './../../Typography';\r\nimport { cdn } from './../../EDSApplication';\r\nimport { withStyles } from './../../styles';\r\n\r\nimport ErrorPageAction from './ErrorPageAction';\r\n\r\nimport { spacing40, spacing50 } from './../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n errorTemplate: {},\r\n noHeader: {},\r\n illustration: {\r\n width: '100%',\r\n objectFit: 'contain'\r\n },\r\n errorDetails: {\r\n textAlign: 'center',\r\n padding: spacing40,\r\n '& h2': {\r\n marginBottom: spacing50\r\n },\r\n '& a': {\r\n marginTop: spacing40,\r\n display: 'inline-block'\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar ErrorTemplateBody = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n largeIllustrationName = props.largeIllustrationName,\r\n errorTitle = props.errorTitle,\r\n errorMessage = props.errorMessage,\r\n message = props.message,\r\n imageSrc = props.imageSrc,\r\n hasAction = props.hasAction,\r\n action = props.action,\r\n text = props.text;\r\n\r\n var illustrationUrl = cdn.getLargeIllustrationsUrl(largeIllustrationName);\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: ref },\r\n React.createElement('img', { className: classes.illustration,\r\n src: imageSrc || illustrationUrl,\r\n alt: ''\r\n }),\r\n React.createElement(\r\n 'div',\r\n { className: classes.errorDetails },\r\n React.createElement(\r\n Typography,\r\n { variant: 'h2' },\r\n errorTitle\r\n ),\r\n React.createElement(\r\n Typography,\r\n null,\r\n message || errorMessage\r\n ),\r\n hasAction && React.createElement(ErrorPageAction, { action: action, text: text })\r\n )\r\n );\r\n});\r\n\r\nErrorTemplateBody.propTypes = {\r\n largeIllustrationName: PropTypes.string,\r\n classes: PropTypes.object,\r\n errorTitle: PropTypes.string,\r\n errorMessage: PropTypes.string,\r\n message: PropTypes.string,\r\n imageSrc: PropTypes.string,\r\n text: PropTypes.string,\r\n hasAction: PropTypes.bool,\r\n action: PropTypes.oneOfType([PropTypes.node, PropTypes.string])\r\n};\r\n\r\nexport default withStyles(styles)(ErrorTemplateBody);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar MaintenancePage = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.maintenance');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.maintenance.message');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '503Narrow.png' : '503.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nMaintenancePage.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default MaintenancePage;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar BadRequest400Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.400');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.400.message');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '400Narrow.png' : '400.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nBadRequest400Page.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default BadRequest400Page;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar Unauthorized401Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.401');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.401.message');\r\n var signInText = edsContext.formatMessage('component.ErrorPage.signInText');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '401Narrow.png' : '401.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage,\r\n text: signInText,\r\n hasAction: true\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nUnauthorized401Page.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default Unauthorized401Page;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar Forbidden403Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.403');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.403.message');\r\n var goBackText = edsContext.formatMessage('component.ErrorPage.goBackText');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '403Narrow.png' : '403.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage,\r\n text: goBackText,\r\n hasAction: true\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nForbidden403Page.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default Forbidden403Page;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar PageNotFound404Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.404');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.404.message');\r\n var goBackText = edsContext.formatMessage('component.ErrorPage.goBackText');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '404Narrow.png' : '404.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage,\r\n text: goBackText,\r\n hasAction: true\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nPageNotFound404Page.propTypes = {\r\n classes: PropTypes.object,\r\n edsContext: PropTypes.object,\r\n message: PropTypes.string,\r\n imageSrc: PropTypes.string,\r\n narrow: PropTypes.bool,\r\n action: PropTypes.oneOfType([PropTypes.node, PropTypes.string])\r\n};\r\n\r\nexport default PageNotFound404Page;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar MethodNotAllowed405Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.405');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.405.message');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '403Narrow.png' : '403.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nMethodNotAllowed405Page.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default MethodNotAllowed405Page;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar InternalServerError500Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.500');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.500.message');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '500Narrow.png' : '500.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nInternalServerError500Page.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default InternalServerError500Page;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport ErrorTemplateBody from './ErrorTemplateBody';\r\n\r\nvar ServiceUnavailable503Page = React.forwardRef(function (props, ref) {\r\n var edsContext = props.edsContext;\r\n\r\n var errorTitle = edsContext.formatMessage('component.ErrorPage.503');\r\n var errorMessage = edsContext.formatMessage('component.ErrorPage.503.message');\r\n\r\n return React.createElement(ErrorTemplateBody, Object.assign({\r\n largeIllustrationName: props.narrow ? '503Narrow.png' : '503.png',\r\n errorTitle: errorTitle,\r\n errorMessage: errorMessage\r\n }, props, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nServiceUnavailable503Page.propTypes = {\r\n edsContext: PropTypes.object,\r\n narrow: PropTypes.bool\r\n};\r\n\r\nexport default ServiceUnavailable503Page;","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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport HeaderBar from './../HeaderBar';\r\nimport Logo from './../Logo';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { withStyles } from '../styles';\r\n\r\nimport MaintenancePage from './internal/MaintenancePage';\r\nimport BadRequest400Page from './internal/BadRequest400Page';\r\nimport Unauthorized401Page from './internal/Unauthorized401Page';\r\nimport Forbidden403Page from './internal/Forbidden403Page';\r\nimport PageNotFound404Page from './internal/PageNotFound404Page';\r\nimport MethodNotAllowed405Page from './internal/MethodNotAllowed405Page';\r\nimport InternalServerError500Page from './internal/InternalServerError500Page';\r\nimport ServiceUnavailable503Page from './internal/ServiceUnavailable503Page';\r\n\r\nimport withWidth, { isWidthDown } from '../withWidth/withWidth';\r\n\r\nimport { spacing30, sizingXxLarge1 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n height: 'calc(100vh)',\r\n backgroundColor: theme.palette.grey[200],\r\n '& .headerbar-logo': {\r\n maxWidth: spacing30\r\n }\r\n },\r\n noHeader: {\r\n height: 'calc(100vh - ' + sizingXxLarge1 + ')'\r\n },\r\n errorTemplate: {\r\n display: 'flex',\r\n justifyContent: 'center'\r\n }\r\n };\r\n};\r\n\r\nexport var ERROR_PAGES = {\r\n maintenance: MaintenancePage,\r\n badRequest: BadRequest400Page,\r\n unauthorized: Unauthorized401Page,\r\n forbidden: Forbidden403Page,\r\n pageNotFound: PageNotFound404Page,\r\n methodNotAllowed: MethodNotAllowed405Page,\r\n internalServerError: InternalServerError500Page,\r\n serviceUnavailable: ServiceUnavailable503Page,\r\n '400': BadRequest400Page,\r\n '401': Unauthorized401Page,\r\n '403': Forbidden403Page,\r\n '404': PageNotFound404Page,\r\n '405': MethodNotAllowed405Page,\r\n '500': InternalServerError500Page,\r\n '503': ServiceUnavailable503Page\r\n};\r\n\r\n/**\r\n * A template for creating error/maintenance pages\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.0.0\r\n * @template true\r\n * @examples\r\n * ErrorPageExample\r\n * ErrorPageCustomizationExamples\r\n */\r\nvar ErrorPage = React.forwardRef(function (props, ref) {\r\n var className = props.className,\r\n classes = props.classes,\r\n noHeader = props.noHeader,\r\n logo = props.logo;\r\n\r\n var ErrorPageTemplate = ERROR_PAGES[props.errorType];\r\n var isNarrow = isWidthDown('sm', props.width);\r\n\r\n return ErrorPageTemplate ? React.createElement(\r\n 'div',\r\n { ref: ref, className: classNames(className, classes.root, _defineProperty({}, classes.noHeader, noHeader)) },\r\n !noHeader && React.createElement(HeaderBar, { logo: logo }),\r\n React.createElement(\r\n 'div',\r\n { className: classes.errorTemplate },\r\n React.createElement(ErrorPageTemplate, Object.assign({}, props, { narrow: isNarrow }))\r\n )\r\n ) : null;\r\n});\r\n\r\nErrorPage.muiName = 'ErrorPage';\r\nErrorPage.displayName = 'ErrorPage';\r\n\r\nErrorPage.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Custom error message\r\n */\r\n message: PropTypes.string,\r\n /**\r\n * Link for correction of action. It can just be a URL or a Link, NavLink or any other router component.\r\n * For example:\r\n * If error is 401, then provide URL to sign in if you just want redirect the page.\r\n * If you want to just use NavLink then pass the NavLink component.\r\n */\r\n action: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\r\n /**\r\n * Error codes. You pass error codes directly or use the meaningful names.\r\n * default - Maintenance page\r\n * 400 - Bad Request\r\n * 401 - Unauthorized\r\n * 403 - Forbidden\r\n * 404 - Page Not Found\r\n * 405 - Method Not Allowed\r\n * 500 - Internal Server Error\r\n * 503 - Service Unavailable\r\n */\r\n errorType: PropTypes.oneOf(['maintenance', // Maintenance page\r\n 'badRequest', // 400\r\n 'unauthorized', // 401\r\n 'forbidden', // 403\r\n 'pageNotFound', // 404\r\n 'methodNotAllowed', // 405\r\n 'internalServerError', // 500\r\n 'serviceUnavailable', //503\r\n '400', '401', '403', '404', '405', '500', '503']).isRequired,\r\n /**\r\n * Use this prop to pass cutom url to override the default image for error pages.\r\n */\r\n imageSrc: PropTypes.string,\r\n /**\r\n * Set this prop if you don't want to render the header.\r\n */\r\n noHeader: PropTypes.bool,\r\n /**\r\n * The cutom logo to use in the header bar.\r\n */\r\n logo: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n width: PropTypes.string.isRequired\r\n};\r\n\r\nErrorPage.defaultProps = {\r\n noHeader: false,\r\n logo: React.createElement(Logo, null)\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(withWidth()(ErrorPage)));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport uuid from 'uuid/v4';\r\nimport classNames from 'classnames';\r\n\r\nimport { default as withStyles } from '../styles';\r\nimport Paper from '../Paper';\r\nimport Typography from '../Typography';\r\nimport { spacingVariant } from '../globalSpacing';\r\nimport { spacing40, spacingInset30, spacingInset40 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _$responsive;\r\n\r\n return {\r\n more: {\r\n paddingTop: spacing40\r\n },\r\n root: {\r\n flexDirection: 'column',\r\n padding: spacingInset40,\r\n '&$none': {\r\n padding: 0\r\n },\r\n '&$responsive': (_$responsive = {}, _defineProperty(_$responsive, theme.breakpoints.up('md'), {\r\n padding: spacingInset40,\r\n '&$none': {\r\n padding: 0\r\n }\r\n }), _defineProperty(_$responsive, theme.breakpoints.down('sm'), {\r\n padding: spacingInset30,\r\n '&$none': {\r\n padding: 0\r\n }\r\n }), _$responsive)\r\n },\r\n none: {},\r\n responsive: {}\r\n };\r\n};\r\n\r\n/**\r\n * Use `Footer` to display copyright information.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.7\r\n * @examples\r\n * FooterExample\r\n */\r\nvar Footer = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n footerText = props.footerText,\r\n spacingOptions = props.spacingOptions,\r\n rest = _objectWithoutProperties(props, ['classes', 'footerText', 'spacingOptions']);\r\n\r\n var none = classes.none,\r\n responsive = classes.responsive,\r\n more = classes.more;\r\n\r\n var firstLine = Array.isArray(footerText) ? footerText.shift() : footerText;\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, none, spacingOptions.spacing === spacingVariant.NONE), _defineProperty(_classNames, responsive, spacingOptions.responsive), _classNames))\r\n };\r\n\r\n return React.createElement(\r\n Paper,\r\n Object.assign({\r\n square: true,\r\n component: 'footer',\r\n elevation: 0,\r\n classes: classOverrides\r\n }, rest, {\r\n ref: ref\r\n }),\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', align: 'center', color: 'textSecondary' },\r\n firstLine\r\n ),\r\n Array.isArray(footerText) && footerText.length > 0 && footerText.map(function (text) {\r\n return React.createElement(\r\n Typography,\r\n { classes: { root: more }, variant: 'body2', align: 'center', key: uuid(), color: 'textSecondary' },\r\n text\r\n );\r\n })\r\n );\r\n});\r\n\r\nFooter.displayName = 'Footer';\r\n\r\nFooter.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The text that the Footer will display. For an array of strings, each element will be displayed as a new paragraph.\r\n */\r\n footerText: PropTypes.oneOfType([PropTypes.string, PropTypes.array]).isRequired,\r\n /**\r\n * Override global spacing options.\r\n * Available options are:\r\n * * `spacing: 'standard' | 'none'`\r\n * * Controls the padding around the `Footer`.\r\n * * `responsive: boolean`\r\n * * Controls whether the spacing is responsive.\r\n */\r\n spacingOptions: PropTypes.exact({\r\n spacing: PropTypes.oneOf([spacingVariant.STANDARD, spacingVariant.NONE]),\r\n responsive: PropTypes.bool\r\n })\r\n};\r\n\r\nFooter.defaultProps = {\r\n spacingOptions: {\r\n spacing: spacingVariant.STANDARD,\r\n responsive: true\r\n }\r\n};\r\n\r\nexport default withStyles(styles)(Footer);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n// A grid component using the following libs as inspiration.\n//\n// For the implementation:\n// - https://getbootstrap.com/docs/4.3/layout/grid/\n// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css\n// - https://github.com/roylee0704/react-flexbox-grid\n// - https://material.angularjs.org/latest/layout/introduction\n//\n// Follow this flexbox Guide to better understand the underlying model:\n// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport requirePropFactory from '../utils/requirePropFactory';\nvar SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\nvar GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];\n\nfunction generateGrid(globalStyles, theme, breakpoint) {\n var styles = {};\n GRID_SIZES.forEach(function (size) {\n var key = \"grid-\".concat(breakpoint, \"-\").concat(size);\n\n if (size === true) {\n // For the auto layouting\n styles[key] = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n return;\n }\n\n if (size === 'auto') {\n styles[key] = {\n flexBasis: 'auto',\n flexGrow: 0,\n maxWidth: 'none'\n };\n return;\n } // Keep 7 significant numbers.\n\n\n var width = \"\".concat(Math.round(size / 12 * 10e7) / 10e5, \"%\"); // Close to the bootstrap implementation:\n // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41\n\n styles[key] = {\n flexBasis: width,\n flexGrow: 0,\n maxWidth: width\n };\n }); // No need for a media query for the first size.\n\n if (breakpoint === 'xs') {\n _extends(globalStyles, styles);\n } else {\n globalStyles[theme.breakpoints.up(breakpoint)] = styles;\n }\n}\n\nfunction getOffset(val) {\n var div = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var parse = parseFloat(val);\n return \"\".concat(parse / div).concat(String(val).replace(String(parse), '') || 'px');\n}\n\nfunction generateGutter(theme, breakpoint) {\n var styles = {};\n SPACINGS.forEach(function (spacing) {\n var themeSpacing = theme.spacing(spacing);\n\n if (themeSpacing === 0) {\n return;\n }\n\n styles[\"spacing-\".concat(breakpoint, \"-\").concat(spacing)] = {\n margin: \"-\".concat(getOffset(themeSpacing, 2)),\n width: \"calc(100% + \".concat(getOffset(themeSpacing), \")\"),\n '& > $item': {\n padding: getOffset(themeSpacing, 2)\n }\n };\n });\n return styles;\n} // Default CSS values\n// flex: '0 1 auto',\n// flexDirection: 'row',\n// alignItems: 'flex-start',\n// flexWrap: 'nowrap',\n// justifyContent: 'flex-start',\n\n\nexport var styles = function styles(theme) {\n return _extends(_extends({\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `container={true}`. */\n container: {\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%'\n },\n\n /* Styles applied to the root element if `item={true}`. */\n item: {\n boxSizing: 'border-box',\n margin: '0' // For instance, it's useful when used with a `figure` element.\n\n },\n\n /* Styles applied to the root element if `zeroMinWidth={true}`. */\n zeroMinWidth: {\n minWidth: 0\n },\n\n /* Styles applied to the root element if `direction=\"column\"`. */\n 'direction-xs-column': {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `direction=\"column-reverse\"`. */\n 'direction-xs-column-reverse': {\n flexDirection: 'column-reverse'\n },\n\n /* Styles applied to the root element if `direction=\"row-reverse\"`. */\n 'direction-xs-row-reverse': {\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `wrap=\"nowrap\"`. */\n 'wrap-xs-nowrap': {\n flexWrap: 'nowrap'\n },\n\n /* Styles applied to the root element if `wrap=\"reverse\"`. */\n 'wrap-xs-wrap-reverse': {\n flexWrap: 'wrap-reverse'\n },\n\n /* Styles applied to the root element if `alignItems=\"center\"`. */\n 'align-items-xs-center': {\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-start\"`. */\n 'align-items-xs-flex-start': {\n alignItems: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-end\"`. */\n 'align-items-xs-flex-end': {\n alignItems: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignItems=\"baseline\"`. */\n 'align-items-xs-baseline': {\n alignItems: 'baseline'\n },\n\n /* Styles applied to the root element if `alignContent=\"center\"`. */\n 'align-content-xs-center': {\n alignContent: 'center'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-start\"`. */\n 'align-content-xs-flex-start': {\n alignContent: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-end\"`. */\n 'align-content-xs-flex-end': {\n alignContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-between\"`. */\n 'align-content-xs-space-between': {\n alignContent: 'space-between'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-around\"`. */\n 'align-content-xs-space-around': {\n alignContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"center\"`. */\n 'justify-xs-center': {\n justifyContent: 'center'\n },\n\n /* Styles applied to the root element if `justify=\"flex-end\"`. */\n 'justify-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justify=\"space-between\"`. */\n 'justify-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justify=\"space-around\"`. */\n 'justify-xs-space-around': {\n justifyContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"space-evenly\"`. */\n 'justify-xs-space-evenly': {\n justifyContent: 'space-evenly'\n }\n }, generateGutter(theme, 'xs')), theme.breakpoints.keys.reduce(function (accumulator, key) {\n // Use side effect over immutability for better performance.\n generateGrid(accumulator, theme, key);\n return accumulator;\n }, {}));\n};\nvar Grid = React.forwardRef(function Grid(props, ref) {\n var _props$alignContent = props.alignContent,\n alignContent = _props$alignContent === void 0 ? 'stretch' : _props$alignContent,\n _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'stretch' : _props$alignItems,\n classes = props.classes,\n classNameProp = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$container = props.container,\n container = _props$container === void 0 ? false : _props$container,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'row' : _props$direction,\n _props$item = props.item,\n item = _props$item === void 0 ? false : _props$item,\n _props$justify = props.justify,\n justify = _props$justify === void 0 ? 'flex-start' : _props$justify,\n _props$lg = props.lg,\n lg = _props$lg === void 0 ? false : _props$lg,\n _props$md = props.md,\n md = _props$md === void 0 ? false : _props$md,\n _props$sm = props.sm,\n sm = _props$sm === void 0 ? false : _props$sm,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 0 : _props$spacing,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? 'wrap' : _props$wrap,\n _props$xl = props.xl,\n xl = _props$xl === void 0 ? false : _props$xl,\n _props$xs = props.xs,\n xs = _props$xs === void 0 ? false : _props$xs,\n _props$zeroMinWidth = props.zeroMinWidth,\n zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth,\n other = _objectWithoutProperties(props, [\"alignContent\", \"alignItems\", \"classes\", \"className\", \"component\", \"container\", \"direction\", \"item\", \"justify\", \"lg\", \"md\", \"sm\", \"spacing\", \"wrap\", \"xl\", \"xs\", \"zeroMinWidth\"]);\n\n var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes[\"spacing-xs-\".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== 'row' && classes[\"direction-xs-\".concat(String(direction))], wrap !== 'wrap' && classes[\"wrap-xs-\".concat(String(wrap))], alignItems !== 'stretch' && classes[\"align-items-xs-\".concat(String(alignItems))], alignContent !== 'stretch' && classes[\"align-content-xs-\".concat(String(alignContent))], justify !== 'flex-start' && classes[\"justify-xs-\".concat(String(justify))], xs !== false && classes[\"grid-xs-\".concat(String(xs))], sm !== false && classes[\"grid-sm-\".concat(String(sm))], md !== false && classes[\"grid-md-\".concat(String(md))], lg !== false && classes[\"grid-lg-\".concat(String(lg))], xl !== false && classes[\"grid-xl-\".concat(String(xl))]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: className,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Grid.propTypes = {\n /**\n * Defines the `align-content` style property.\n * It's applied for all screen sizes.\n */\n alignContent: PropTypes.oneOf(['stretch', 'center', 'flex-start', 'flex-end', 'space-between', 'space-around']),\n\n /**\n * Defines the `align-items` style property.\n * It's applied for all screen sizes.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'stretch', 'baseline']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the component will have the flex *container* behavior.\n * You should be wrapping *items* with a *container*.\n */\n container: PropTypes.bool,\n\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n */\n direction: PropTypes.oneOf(['row', 'row-reverse', 'column', 'column-reverse']),\n\n /**\n * If `true`, the component will have the flex *item* behavior.\n * You should be wrapping *items* with a *container*.\n */\n item: PropTypes.bool,\n\n /**\n * Defines the `justify-content` style property.\n * It is applied for all screen sizes.\n */\n justify: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly']),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `lg` breakpoint and wider screens if not overridden.\n */\n lg: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `md` breakpoint and wider screens if not overridden.\n */\n md: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `sm` breakpoint and wider screens if not overridden.\n */\n sm: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the space between the type `item` component.\n * It can only be used on a type `container` component.\n */\n spacing: PropTypes.oneOf(SPACINGS),\n\n /**\n * Defines the `flex-wrap` style property.\n * It's applied for all screen sizes.\n */\n wrap: PropTypes.oneOf(['nowrap', 'wrap', 'wrap-reverse']),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for the `xl` breakpoint and wider screens.\n */\n xl: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * Defines the number of grids the component is going to use.\n * It's applied for all the screen sizes with the lowest priority.\n */\n xs: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\n\n /**\n * If `true`, it sets `min-width: 0` on the item.\n * Refer to the limitations section of the documentation to better understand the use case.\n */\n zeroMinWidth: PropTypes.bool\n} : void 0;\nvar StyledGrid = withStyles(styles, {\n name: 'MuiGrid'\n})(Grid);\n\nif (process.env.NODE_ENV !== 'production') {\n var requireProp = requirePropFactory('Grid');\n StyledGrid.propTypes = _extends(_extends({}, StyledGrid.propTypes), {}, {\n alignContent: requireProp('container'),\n alignItems: requireProp('container'),\n direction: requireProp('container'),\n justify: requireProp('container'),\n lg: requireProp('item'),\n md: requireProp('item'),\n sm: requireProp('item'),\n spacing: requireProp('container'),\n wrap: requireProp('container'),\n xs: requireProp('item'),\n zeroMinWidth: requireProp('item')\n });\n}\n\nexport default StyledGrid;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Grid as MuiGrid } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport times from 'lodash/times';\r\nimport reduce from 'lodash/reduce';\r\nimport assign from 'lodash/assign';\r\n\r\nvar GRID_SPACING_COEFFICIENT = 8;\r\nvar GRID_SPACING_STANDARD = 4; //24px\r\n\r\nvar styles = function styles(theme) {\r\n\r\n // create a separate class for each available spacing class (spacing-xs-1 through\r\n // spacing-xs-10).\r\n\r\n // this is necessary because the each space increment uses\r\n // theme's \"spacing\" attribute as the multiplier for the value passed in; but we\r\n // want our general spacing multiplier to be a different value than our grid multipler\r\n\r\n // the following will produce class definitions that look like this (assuming a space\r\n // value of 4):\r\n //\r\n // // grid container class\r\n // .Grid-spacingXS4-863 {\r\n // width: calc(100% + 32px);\r\n // }\r\n //\r\n // // grid item class\r\n // .Grid-spacingXS4-863 > div.grid-item {\r\n // padding: 16px;\r\n // }\r\n var spacingClasses = reduce(times(10), function (accum, value) {\r\n var num = value + 1;\r\n assign(accum, _defineProperty({}, 'spacingXS' + num, {\r\n width: 'calc(100% + ' + GRID_SPACING_COEFFICIENT * num + 'px)',\r\n margin: '-' + GRID_SPACING_COEFFICIENT * num / 2 + 'px',\r\n '& > div.grid-item': {\r\n padding: GRID_SPACING_COEFFICIENT * num / 2 + 'px'\r\n }\r\n }));\r\n return accum;\r\n }, {});\r\n\r\n // we need to include entries for *all* classes that the underlying grid\r\n // component supports; otherwise we get console warnings when callers use\r\n // any of them\r\n\r\n // note that we're overriding the spacing-xs-* classes\r\n var gridClasses = {\r\n 'container': {},\r\n 'item': {},\r\n 'zeroMinWidth': {},\r\n 'direction-xs-column': {},\r\n 'direction-xs-column-reverse': {},\r\n 'direction-xs-row-reverse': {},\r\n 'wrap-xs-nowrap': {},\r\n 'wrap-xs-wrap-reverse': {},\r\n 'align-items-xs-center': {},\r\n 'align-items-xs-flex-start': {},\r\n 'align-items-xs-flex-end': {},\r\n 'align-items-xs-baseline': {},\r\n 'align-content-xs-center': {},\r\n 'align-content-xs-flex-start': {},\r\n 'align-content-xs-flex-end': {},\r\n 'align-content-xs-space-between': {},\r\n 'align-content-xs-space-around': {},\r\n 'justify-xs-center': {},\r\n 'justify-xs-flex-end': {},\r\n 'justify-xs-space-between': {},\r\n 'justify-xs-space-around': {},\r\n 'justify-xs-space-evenly': {},\r\n 'spacing-xs-1': spacingClasses.spacingXS1,\r\n 'spacing-xs-2': spacingClasses.spacingXS2,\r\n 'spacing-xs-3': spacingClasses.spacingXS3,\r\n 'spacing-xs-4': spacingClasses.spacingXS4,\r\n 'spacing-xs-5': spacingClasses.spacingXS5,\r\n 'spacing-xs-6': spacingClasses.spacingXS6,\r\n 'spacing-xs-7': spacingClasses.spacingXS7,\r\n 'spacing-xs-8': spacingClasses.spacingXS8,\r\n 'spacing-xs-9': spacingClasses.spacingXS9,\r\n 'spacing-xs-10': spacingClasses.spacingXS10,\r\n 'grid-xs-auto': {},\r\n 'grid-xs-true': {},\r\n 'grid-xs-1': {},\r\n 'grid-xs-2': {},\r\n 'grid-xs-3': {},\r\n 'grid-xs-4': {},\r\n 'grid-xs-5': {},\r\n 'grid-xs-6': {},\r\n 'grid-xs-7': {},\r\n 'grid-xs-8': {},\r\n 'grid-xs-9': {},\r\n 'grid-xs-10': {},\r\n 'grid-xs-11': {},\r\n 'grid-xs-12': {}\r\n };\r\n\r\n return gridClasses;\r\n};\r\n\r\n/**\r\n * Use `Grid` to create a responsive layout.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.1.2\r\n * @examples\r\n * GridExample\r\n * InteractiveFlexBoxExample\r\n */\r\n\r\nvar Grid = function (_Component) {\r\n _inherits(Grid, _Component);\r\n\r\n function Grid() {\r\n var _ref;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, Grid);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Grid.__proto__ || Object.getPrototypeOf(Grid)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\r\n spacing: 0\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(Grid, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n this.setSpacing();\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n if (prevProps.spacing !== this.props.spacing) {\r\n this.setSpacing();\r\n }\r\n }\r\n }, {\r\n key: 'setSpacing',\r\n value: function setSpacing() {\r\n var spacing = this.props.spacing;\r\n\r\n\r\n if (this.props.container) {\r\n switch (spacing) {\r\n case spacingVariant.STANDARD:\r\n this.setState({ spacing: GRID_SPACING_STANDARD });\r\n break;\r\n case spacingVariant.NONE:\r\n this.setState({ spacing: 0 });\r\n break;\r\n default:\r\n this.setState({ spacing: spacing });\r\n }\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n // eslint-disable-next-line no-unused-vars\r\n var _props = this.props,\r\n classes = _props.classes,\r\n className = _props.className,\r\n spacing = _props.spacing,\r\n rest = _objectWithoutProperties(_props, ['classes', 'className', 'spacing']);\r\n\r\n var propOverrides = this.props.container ? { spacing: this.state.spacing } : {};\r\n var gridClassName = this.props.container ? 'grid-container' : 'grid-item';\r\n\r\n return React.createElement(MuiGrid, Object.assign({}, rest, propOverrides, {\r\n classes: classes,\r\n className: className ? className + ' ' + gridClassName : gridClassName\r\n }));\r\n }\r\n }]);\r\n\r\n return Grid;\r\n}(Component);\r\n\r\nGrid.muiName = 'Grid';\r\n\r\nGrid.propTypes = {\r\n /**\r\n * Defines the `align-content` style property.\r\n * It's applied for all screen sizes.\r\n * Options include: \"stretch\", \"center\", \"flex-start\", \"flex-end\", \"space-between\", \"space-around\".\r\n */\r\n alignContent: PropTypes.oneOf(['stretch', 'center', 'flex-start', 'flex-end', 'space-between', 'space-around']),\r\n /**\r\n * Defines the `align-items` style property.\r\n * It's applied for all screen sizes.\r\n * Options include: \"flex-start\", \"center\", \"flex-end\", \"stretch\", and \"baseline\".\r\n */\r\n alignItems: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'stretch', 'baseline']),\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element, an component, or a function that returns a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the component will have the flex *container* behavior.\r\n * You should be wrapping *items* with a *container*.\r\n */\r\n container: PropTypes.bool,\r\n /**\r\n * Defines the `flex-direction` style property.\r\n * It is applied for all screen sizes.\r\n * Options include: \"row\", \"row-reverse\", \"column\", \"column-reverse\".\r\n */\r\n direction: PropTypes.oneOf(['row', 'row-reverse', 'column', 'column-reverse']),\r\n /**\r\n * If `true`, the component will have the flex *item* behavior.\r\n * You should be wrapping *items* with a *container*.\r\n */\r\n item: PropTypes.bool,\r\n /**\r\n * Defines the `justify-content` style property.\r\n * It is applied for all screen sizes.\r\n * Options include: \"flex-start\", \"center\", \"flex-end\", \"space-between\", \"space-around\", \"space-evenly\".\r\n */\r\n justify: PropTypes.oneOf(['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly']),\r\n /**\r\n * Defines the number of columns the component is going to use.\r\n * It's applied for the `lg` breakpoint and wider screens if not overridden.\r\n * Options include: false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.\r\n */\r\n lg: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\r\n /**\r\n * Defines the number of columns the component is going to use.\r\n * It's applied for the `md` breakpoint and wider screens if not overridden.\r\n * Options include: false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.\r\n */\r\n md: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\r\n /**\r\n * Defines the number of columns the component is going to use.\r\n * It's applied for the `sm` breakpoint and wider screens if not overridden.\r\n * Options include: false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.\r\n */\r\n sm: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\r\n\r\n /**\r\n * Defines the space between the type `item` component.\r\n * It can only be used on a type `container` component.\r\n * Options include: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.\r\n * Additional custom values include: `standard`, `none`.\r\n *\r\n * **NOTE:** Below are the value mappings for standard and none values:\r\n *\r\n * `standard` = 4\r\n *\r\n * `none` = 0\r\n */\r\n spacing: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 'standard', 'none']),\r\n /**\r\n * Defines the `flex-wrap` style property.\r\n * It's applied for all screen sizes.\r\n * Options include: \"nowrap\", \"wrap\", \"wrap-reverse\".\r\n */\r\n wrap: PropTypes.oneOf(['nowrap', 'wrap', 'wrap-reverse']),\r\n /**\r\n * Defines the number of columns the component is going to use.\r\n * It's applied for the `xl` breakpoint and wider screens.\r\n * Options include: false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.\r\n */\r\n xl: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\r\n /**\r\n * Defines the number of columns the component is going to use.\r\n * It's applied for all the screen sizes with the lowest priority.\r\n * Options include: false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.\r\n */\r\n xs: PropTypes.oneOf([false, 'auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),\r\n /**\r\n * If `true`, it sets `min-width: 0` on the item.\r\n * Refer to the limitations section of the documentation to better understand the use case.\r\n * https://material-ui.com/layout/grid/#limitations\r\n */\r\n zeroMinWidth: PropTypes.bool\r\n};\r\n\r\nGrid.defaultProps = {\r\n spacing: GRID_SPACING_STANDARD\r\n};\r\n\r\n// explicitly put grid at the back of the JSS style queue, so that the classes that consumers\r\n// provide (via the classes prop) override out own settings\r\nexport default withStyles(styles, { index: 0 })(Grid);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nexport var styles = function styles(theme) {\n var backgroundColorDefault = theme.palette.type === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n zIndex: theme.zIndex.appBar,\n flexShrink: 0\n },\n\n /* Styles applied to the root element if `position=\"fixed\"`. */\n positionFixed: {\n position: 'fixed',\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n },\n\n /* Styles applied to the root element if `position=\"absolute\"`. */\n positionAbsolute: {\n position: 'absolute',\n top: 0,\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the root element if `position=\"sticky\"`. */\n positionSticky: {\n // ⚠️ sticky is not supported by IE 11.\n position: 'sticky',\n top: 0,\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the root element if `position=\"static\"`. */\n positionStatic: {\n position: 'static',\n transform: 'translateZ(0)' // Make sure we can see the elevation.\n\n },\n\n /* Styles applied to the root element if `position=\"relative\"`. */\n positionRelative: {\n position: 'relative'\n },\n\n /* Styles applied to the root element if `color=\"default\"`. */\n colorDefault: {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"transparent\"`. */\n colorTransparent: {\n backgroundColor: 'transparent',\n color: 'inherit'\n }\n };\n};\nvar AppBar = React.forwardRef(function AppBar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$position = props.position,\n position = _props$position === void 0 ? 'fixed' : _props$position,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"position\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n component: \"header\",\n elevation: 4,\n className: clsx(classes.root, classes[\"position\".concat(capitalize(position))], classes[\"color\".concat(capitalize(color))], className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']),\n\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAppBar'\n})(AppBar);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport { createContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport uuid from 'uuid/v4';\r\nimport classNames from 'classnames';\r\nimport get from 'lodash/get';\r\nimport AppBar from '@material-ui/core/AppBar';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport TextField from '@material-ui/core/TextField';\r\nimport InputAdornment from '@material-ui/core/InputAdornment';\r\n\r\nimport { HeaderBarDropdown, HeaderBarLogo, HeaderBarItem, HeaderUtilityBar, Logo, MegaMenu, NotificationBadge } from '../';\r\n\r\nimport { sizingXxSmall, colorBackgroundHeaderBarItemSelected, colorBrandNeutral100, colorBrandNeutral300, colorBrandNeutral500, colorBrandPrimary, colorTextNeutral500, colorTextNeutral100, opacity2, spacing40, spacing50, sizingXxLarge1, borderWidthThickest, widthFluid, heightFluid } from '../styles/tokens';\r\n\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { default as withStyles } from '../styles';\r\nimport { createEDSTheme } from '@ellucian/react-design-system/core/themes';\r\nimport Icon from '@ellucian/ds-icons/lib/es6/Icon';\r\n\r\nvar colorBackgroundHeaderBarThemed = colorBrandNeutral100;\r\nvar colorBackgroundSearchThemed = colorBrandNeutral300;\r\n\r\n// unique id for the 'page links' section\r\nvar pageSectionId = uuid();\r\n\r\n// unique ids for standard utility items\r\nvar megaMenuItemKey = 'headerBarMegaMenuUtilityItem';\r\nvar searchItemKey = 'headerBarSearchUtilityItem';\r\n\r\nvar styles = function styles(theme) {\r\n var _searchInput;\r\n\r\n return _defineProperty({\r\n root: {\r\n borderBottom: borderWidthThickest + ' solid ' + theme.palette.secondary.main,\r\n boxShadow: 'none',\r\n height: sizingXxLarge1,\r\n zIndex: theme.zIndex.headerBar,\r\n backgroundColor: colorBrandPrimary,\r\n '&.themed': {\r\n backgroundColor: colorBackgroundHeaderBarThemed\r\n }\r\n },\r\n positionStatic: {\r\n\r\n // MUI translates the zIndex of the static version of header to 0; since\r\n // we want our menus to overlay content below the headerbar, we override this\r\n transform: 'none'\r\n\r\n },\r\n\r\n overlay: {\r\n position: 'fixed',\r\n width: widthFluid,\r\n height: heightFluid,\r\n opacity: opacity2,\r\n backgroundColor: theme.palette.grey[600],\r\n top: '4rem'\r\n },\r\n menuBar: {\r\n display: 'flex',\r\n flex: '1'\r\n },\r\n utilityBar: {\r\n display: 'flex',\r\n height: '4rem',\r\n borderBottom: sizingXxSmall + ' solid ' + theme.palette.secondary.main\r\n },\r\n menuItem: {\r\n display: 'block'\r\n },\r\n logoRoot: {\r\n backgroundColor: theme.palette.primary.main,\r\n borderBottom: sizingXxSmall + ' solid ' + theme.palette.secondary.main,\r\n height: '4rem'\r\n },\r\n logo: {\r\n // TODO make Logo more configurable so that these important markers are no longer necessary\r\n padding: '0 !important',\r\n minWidth: '0 !important',\r\n\r\n '& svg ': {\r\n width: '5.625rem'\r\n }\r\n },\r\n\r\n // fix the toolbar at a specific minimum height, regardless of size class (Toolbar wants to float, height-wise,\r\n // but that makes positioning things a pain\r\n headerBarToolbar: {\r\n minHeight: sizingXxLarge1\r\n },\r\n\r\n searchBar: {\r\n display: 'none',\r\n flex: '1'\r\n },\r\n searchRoot: {\r\n backgroundColor: '' + colorBackgroundHeaderBarItemSelected,\r\n transform: 'translateY(-2px)',\r\n height: '60px',\r\n\r\n '& input': {\r\n color: '' + colorTextNeutral100\r\n },\r\n\r\n '& .header-search-icon': {\r\n color: colorTextNeutral100\r\n },\r\n\r\n '&.themed': {\r\n backgroundColor: '' + colorBackgroundSearchThemed\r\n },\r\n '&.themed input': {\r\n color: colorTextNeutral500\r\n },\r\n '&.themed .header-search-icon': {\r\n color: colorBrandNeutral500\r\n }\r\n\r\n },\r\n searchInput: (_searchInput = {\r\n padding: '1.2rem 0'\r\n\r\n }, _defineProperty(_searchInput, '&[type=\"text\"]::-webkit-search-decoration,\\n &[type=\"text\"]::-webkit-search-cancel-button,\\n &[type=\"text\"]::-webkit-search-results-button,\\n &[type=\"text\"]::-webkit-search-results-decoration', {\r\n display: 'none'\r\n }), _defineProperty(_searchInput, '&[type=\"text\"]', {\r\n '-webkit-appearance': 'none'\r\n }), _defineProperty(_searchInput, '&[type=text]::-ms-clear', {\r\n display: 'none',\r\n width: 0,\r\n height: 0\r\n }), _searchInput),\r\n searchIconSize: {\r\n height: spacing50 + ' !important',\r\n width: spacing50 + ' !important'\r\n },\r\n searchAdornment: {\r\n backgroundColor: 'transparent',\r\n border: 'none',\r\n margin: 0,\r\n maxHeight: 'none',\r\n padding: spacing40\r\n },\r\n\r\n // determines which elements of the headerbar are visible when the search is open\r\n searchOpen: _defineProperty({\r\n '& .headerbar-search-bar': {\r\n display: 'flex'\r\n },\r\n '& .menu-bar': {\r\n display: 'none'\r\n },\r\n '& .headerbar-logo': {\r\n display: 'none'\r\n },\r\n '& .headerbar-utility-bar': {\r\n paddingRight: 0\r\n }\r\n }, '& .headerbar-utility-bar div[data-key=' + megaMenuItemKey + ']', {\r\n display: 'none !important'\r\n }),\r\n\r\n logoDisabled: {\r\n pointerEvents: 'none'\r\n }\r\n\r\n }, theme.breakpoints.up('md'), {\r\n searchOpen: _defineProperty({\r\n '& .headerbar-logo': {\r\n display: 'block'\r\n }\r\n }, '& .headerbar-utility-bar div[data-key=' + megaMenuItemKey + ']', {\r\n display: 'flex !important'\r\n })\r\n });\r\n};\r\n\r\nvar HeaderBarContext = createContext();\r\n\r\nvar lightTheme = createEDSTheme('light');\r\n\r\nvar HeaderBarProvider = function (_React$Component) {\r\n _inherits(HeaderBarProvider, _React$Component);\r\n\r\n function HeaderBarProvider() {\r\n var _ref2;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, HeaderBarProvider);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref2 = HeaderBarProvider.__proto__ || Object.getPrototypeOf(HeaderBarProvider)).call.apply(_ref2, [this].concat(args))), _this), _this.state = {\r\n activeHeaderBarItem: null,\r\n isMegaMenuOpen: false,\r\n isDropDownOpen: false,\r\n isThemed: false\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(HeaderBarProvider, [{\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n children = _props.children,\r\n onActiveItemChanged = _props.onActiveItemChanged;\r\n\r\n\r\n return React.createElement(\r\n HeaderBarContext.Provider,\r\n {\r\n value: {\r\n state: this.state,\r\n setActive: function setActive(item) {\r\n\r\n if (onActiveItemChanged) {\r\n onActiveItemChanged(item);\r\n }\r\n },\r\n isActive: function isActive(itemRef) {\r\n return _this2.state.activeHeaderBarItem === itemRef;\r\n },\r\n setThemed: function setThemed(isThemed) {\r\n return _this2.setState({ isThemed: isThemed });\r\n },\r\n isThemed: function isThemed() {\r\n return _this2.state.isThemed;\r\n },\r\n setOpen: function setOpen(open) {\r\n return _this2.setState({ isDropDownOpen: open });\r\n }\r\n }\r\n },\r\n children\r\n );\r\n }\r\n }]);\r\n\r\n return HeaderBarProvider;\r\n}(React.Component);\r\n\r\nHeaderBarProvider.propTypes = {\r\n onActiveItemChanged: PropTypes.func\r\n};\r\n\r\n/**\r\n * Use `HeaderBar` to display main navigation that enables the user to quickly access navigational items.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * ConsolidatedHeaderBarExample\r\n * SimpleHeaderBarExample\r\n */\r\n\r\nvar HeaderBar = function (_React$Component2) {\r\n _inherits(HeaderBar, _React$Component2);\r\n\r\n function HeaderBar(props) {\r\n _classCallCheck(this, HeaderBar);\r\n\r\n var _this3 = _possibleConstructorReturn(this, (HeaderBar.__proto__ || Object.getPrototypeOf(HeaderBar)).call(this, props));\r\n\r\n _this3.state = {\r\n megaMenuOpen: false,\r\n searchOpen: false\r\n };\r\n\r\n _this3.onMenuItemClick = function (event, item) {\r\n\r\n switch (item.key) {\r\n case megaMenuItemKey:\r\n _this3.toggleMegaMenu(!_this3.state.megaMenuOpen);\r\n break;\r\n case searchItemKey:\r\n // ignore the search click\r\n break;\r\n default:\r\n _this3.props.onItemSelected && _this3.props.onItemSelected(item);\r\n break;\r\n }\r\n };\r\n\r\n _this3.itemSelected = function (event, item) {\r\n // handle selection if it's a valid keypress, or a click\r\n if (event.type === 'keypress' && (event.key === 'Enter' || event.key === ' ') || event.type === 'click') {\r\n _this3.onMenuItemClick(event, item);\r\n };\r\n };\r\n\r\n _this3.toggleMegaMenu = function (open) {\r\n _this3.setState({ megaMenuOpen: open });\r\n if (_this3.state.searchOpen) {\r\n _this3.toggleSearch(false);\r\n }\r\n };\r\n\r\n _this3.toggleSearch = function (open) {\r\n\r\n _this3.setState({ searchOpen: open }, function () {\r\n\r\n if (open) {\r\n // focus the search field on open\r\n _this3.searchRef.current.focus();\r\n } else {\r\n // clear out search terms on close\r\n _this3.searchRef.current.value = '';\r\n }\r\n });\r\n\r\n if (_this3.state.megaMenuOpen) {\r\n _this3.toggleMegaMenu(false);\r\n }\r\n };\r\n\r\n _this3.handleKeyPress = function (event) {\r\n if (event.key === 'Enter') {\r\n if (_this3.props.onSearch) {\r\n _this3.props.onSearch(event.target.value);\r\n }\r\n _this3.toggleSearch(false);\r\n }\r\n\r\n if (event.key === 'Escape') {\r\n _this3.toggleSearch(false);\r\n }\r\n };\r\n\r\n _this3.updateThemeMode = function () {\r\n // if the primary color was changed, go into 'themed' mode\r\n _this3.props.context.setThemed(_this3.props.theme.palette.primary.main !== lightTheme.palette.primary.main);\r\n };\r\n\r\n _this3.searchRef = React.createRef();\r\n return _this3;\r\n }\r\n\r\n /**\r\n * Invoked whenever a menu item is selected - from the menu bar, utility bar, or mega menu.\r\n *\r\n * @param {Event} event The event\r\n * @param {object} item The selected item\r\n */\r\n\r\n\r\n /**\r\n * Handle header bar item selection.\r\n */\r\n\r\n\r\n _createClass(HeaderBar, [{\r\n key: 'neuterTabIndex',\r\n\r\n\r\n /**\r\n * Turn off tabbing to the given component.\r\n *\r\n * @param {Component} component Component to neuter\r\n * @return {Component} Component with a neutered tab index\r\n */\r\n value: function neuterTabIndex(component) {\r\n return React.cloneElement(component, { tabIndex: -1 });\r\n }\r\n\r\n /**\r\n * Massages menu items until they meet our rigorous standards.\r\n *\r\n * @param {Array.} menuDefinition The menu definition to convert\r\n * @return {Array.} The same menu definition, with converted items\r\n */\r\n\r\n }, {\r\n key: 'convertItems',\r\n value: function convertItems(menuDefinition) {\r\n var _this4 = this;\r\n\r\n // ... and then strip the content of its tab indexes (so that *we* can fully control tabbing)\r\n menuDefinition.forEach(function (item) {\r\n if (item.items) {\r\n item.items = item.items.map(function (subItem) {\r\n return Object.assign({}, subItem, {\r\n content: subItem.content.type ? _this4.neuterTabIndex(subItem.content) : subItem.content\r\n });\r\n });\r\n } else {\r\n item.content = item.content.type ? _this4.neuterTabIndex(item.content) : item.content;\r\n }\r\n });\r\n\r\n return menuDefinition;\r\n }\r\n }, {\r\n key: 'createItems',\r\n value: function createItems(definition, responsiveType) {\r\n var _this5 = this;\r\n\r\n // create the menu bar\r\n var menuBar = definition.map(function (item) {\r\n\r\n // if the item has an explicit responsiveType, use that; otherwise use the provided\r\n // type (if any)\r\n var itemResponsiveType = item.responsiveType || responsiveType;\r\n\r\n // if this is a dropdown\r\n if (item.items) {\r\n return React.createElement(\r\n HeaderBarItem,\r\n {\r\n itemKey: item.key,\r\n active: item.active,\r\n key: item.key,\r\n title: item.label,\r\n disabled: _this5.state.megaMenuOpen,\r\n responsiveType: itemResponsiveType\r\n },\r\n React.createElement(HeaderBarDropdown, {\r\n onMenuItemClick: _this5.onMenuItemClick,\r\n menuHeader: item.label,\r\n menuItems: item.items.map(function (i) {\r\n return Object.assign({\r\n value: i.key,\r\n label: i.content\r\n }, i);\r\n }),\r\n dropdownMenuLabel: item.content,\r\n secondaryDropdownMenuLabel: item.contentLabel,\r\n disabled: _this5.state.megaMenuOpen\r\n })\r\n );\r\n\r\n // otherwise it's a page link\r\n } else {\r\n return React.createElement(\r\n HeaderBarItem,\r\n {\r\n itemKey: item.key,\r\n active: item.active,\r\n key: item.key,\r\n disabled: _this5.state.megaMenuOpen || item.disabled,\r\n title: item.label,\r\n 'aria-label': item.label,\r\n selected: item.selected,\r\n responsiveType: itemResponsiveType,\r\n className: 'headerbar-page-link',\r\n alwaysShow: item.alwaysShow,\r\n onClick: function onClick(event) {\r\n _this5.onMenuItemClick(event, item);\r\n },\r\n onKeyUp: function onKeyUp(e) {\r\n if (e.key === 'Enter') {\r\n _this5.onMenuItemClick(e, item);\r\n }\r\n }\r\n },\r\n item.content\r\n );\r\n }\r\n });\r\n\r\n return menuBar;\r\n }\r\n\r\n /**\r\n * Opens/closes the mega menu.\r\n *\r\n * @param {boolean} open If true, opens the menu; otherwise closes it\r\n */\r\n\r\n\r\n /**\r\n * Opens/closes the search.\r\n *\r\n * @param {boolean} open If true, opens the search; otherwise closes it\r\n */\r\n\r\n\r\n /**\r\n * Handle key entry in the search field\r\n *\r\n * @param {Event} event The associated event\r\n */\r\n\r\n\r\n /**\r\n * Update the theme state of the HeaderBar.\r\n */\r\n\r\n }, {\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n this.updateThemeMode();\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n // update the theme mode if the primary theme color changed\r\n if (this.props.theme.palette.primary.main !== prevProps.theme.palette.primary.main) {\r\n this.updateThemeMode();\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this6 = this;\r\n\r\n var _props2 = this.props,\r\n classes = _props2.classes,\r\n children = _props2.children,\r\n edsContext = _props2.edsContext,\r\n position = _props2.position,\r\n menuDefinition = _props2.menuDefinition,\r\n utilityDefinition = _props2.utilityDefinition,\r\n megaMenuDefinition = _props2.megaMenuDefinition,\r\n onItemSelected = _props2.onItemSelected,\r\n megaMenuBadge = _props2.megaMenuBadge,\r\n megaMenuOnDemand = _props2.megaMenuOnDemand,\r\n responsiveType = _props2.responsiveType,\r\n showSearch = _props2.showSearch,\r\n UtilityBar = _props2.UtilityBar;\r\n var menuItemsLabel = this.props.menuItemsLabel;\r\n\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n positionStatic: classes.positionStatic\r\n };\r\n\r\n var toolbar = void 0;\r\n\r\n // --- validate properties\r\n\r\n if (!this.props.autoGenerateMenus && megaMenuOnDemand) {\r\n console.warn('megaMenuOnDemand is only relevant if autoGenerateMenus === true');\r\n }\r\n\r\n if (utilityDefinition.length > 4) {\r\n console.warn('You should not have more than 4 utility items');\r\n }\r\n\r\n // header bar search item\r\n var SearchItem = React.createElement(\r\n HeaderBarItem,\r\n {\r\n label: this.state.searchOpen ? edsContext.formatMessage('component.HeaderBar.closeSearch') : edsContext.formatMessage('component.HeaderBar.openSearch'),\r\n title: this.state.searchOpen ? edsContext.formatMessage('component.HeaderBar.closeSearch') : edsContext.formatMessage('component.HeaderBar.openSearch'),\r\n 'aria-label': this.state.searchOpen ? edsContext.formatMessage('component.HeaderBar.closeSearch') : edsContext.formatMessage('component.HeaderBar.openSearch'),\r\n isUtility: true,\r\n itemKey: searchItemKey,\r\n key: searchItemKey,\r\n alwaysShow: true,\r\n selected: this.state.searchOpen,\r\n onClick: function onClick() {\r\n return _this6.toggleSearch(!_this6.state.searchOpen);\r\n },\r\n role: 'button',\r\n onKeyUp: function onKeyUp(e) {\r\n if (e.key === 'Enter') {\r\n _this6.toggleSearch(!_this6.state.searchOpen);\r\n }\r\n }\r\n },\r\n React.createElement(Icon, {\r\n name: this.state.searchOpen ? 'close' : 'search',\r\n large: false\r\n })\r\n );\r\n\r\n // header bar search\r\n var searchBar = React.createElement(\r\n 'div',\r\n { className: classNames(classes.searchBar, 'headerbar-search-bar') },\r\n React.createElement(TextField, {\r\n fullWidth: true,\r\n type: 'search',\r\n inputRef: this.searchRef,\r\n InputProps: {\r\n startAdornment: React.createElement(\r\n InputAdornment,\r\n { className: 'header-search-icon', classes: { root: classes.searchAdornment } },\r\n React.createElement(Icon, { name: 'search', 'aria-hidden': 'true', role: 'img', className: classes.searchIconSize })\r\n ),\r\n onKeyDown: this.handleKeyPress.bind(this),\r\n disableUnderline: true,\r\n classes: {\r\n root: classes.searchRoot,\r\n input: classes.searchInput\r\n },\r\n className: classNames({ themed: this.props.context.isThemed() })\r\n },\r\n placeholder: edsContext.formatMessage('component.HeaderBar.search')\r\n })\r\n );\r\n\r\n var logoClassDef = classNames('headerbar-logo', classes.logoRoot, _defineProperty({}, classes.logoDisabled, this.state.megaMenuOpen));\r\n\r\n // if we've been told to auto-generate menus\r\n if (this.props.autoGenerateMenus) {\r\n\r\n // create the menu bar\r\n var menuBar = this.createItems(menuDefinition, responsiveType);\r\n\r\n var megaMenuIcon = React.createElement(Icon, {\r\n name: this.state.megaMenuOpen ? 'close' : 'menu',\r\n large: false\r\n });\r\n\r\n // add a badge to the megamenu item, if requested; simple notification if we\r\n // got a boolean, numeric if we got a number\r\n if (megaMenuBadge) {\r\n if (typeof megaMenuBadge === 'boolean') {\r\n megaMenuIcon = React.createElement(\r\n NotificationBadge,\r\n null,\r\n megaMenuIcon\r\n );\r\n } else {\r\n megaMenuIcon = React.createElement(\r\n NotificationBadge,\r\n { badgeContent: megaMenuBadge },\r\n megaMenuIcon\r\n );\r\n }\r\n }\r\n\r\n // determine at what breakpoint the megamenu icon appears:\r\n\r\n // 1. if the megamenu is open, it always appears (because we want users to be able to close it in all circumstances)\r\n // 2. if megaMenuOnDemand is false, it always appears\r\n // 3. if megaMenuOnDemand is true, it appears only when menu items are hidden\r\n\r\n var megaMenuResponsiveType = null;\r\n\r\n if (megaMenuOnDemand && !this.state.megaMenuOpen) {\r\n\r\n switch (responsiveType) {\r\n case 'large':\r\n megaMenuResponsiveType = 'medium-down';\r\n break;\r\n case 'medium':\r\n megaMenuResponsiveType = 'small-down';\r\n break;\r\n case 'small':\r\n megaMenuResponsiveType = 'xsmall-down';\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n }\r\n\r\n // always add megamenu to the utility bar\r\n var megaMenuUtilityDefinition = {\r\n label: this.state.megaMenuOpen ? edsContext.formatMessage('component.HeaderBar.close') : edsContext.formatMessage('component.HeaderBar.megaMenu'),\r\n key: megaMenuItemKey,\r\n selected: this.state.megaMenuOpen,\r\n alwaysShow: megaMenuResponsiveType === null,\r\n content: megaMenuIcon,\r\n responsiveType: megaMenuResponsiveType\r\n };\r\n\r\n var utilityItems = [].concat(_toConsumableArray(this.props.utilityDefinition));\r\n utilityItems.push(megaMenuUtilityDefinition);\r\n\r\n // create the utility bar (whose items hiden themselves at a specific responsiveType)\r\n var utilityBarItems = this.createItems(utilityItems, 'small');\r\n\r\n // grab all the menu items\r\n var menuItems = menuDefinition.filter(function (def) {\r\n return def.items;\r\n });\r\n\r\n // grab all the page items; we'll be organizing them into a single block\r\n var pageItems = menuDefinition.filter(function (def) {\r\n return !def.items;\r\n });\r\n\r\n var finalItemList = void 0;\r\n\r\n // if we need to add page items to the mega menu\r\n if (pageItems && pageItems.length > 0) {\r\n\r\n // render all page items in a single block\r\n var pageItemsSectionDefinition = [{\r\n key: pageSectionId,\r\n content: edsContext.formatMessage('component.HeaderBar.pageItems'),\r\n items: pageItems\r\n }];\r\n\r\n // prepend the page items\r\n finalItemList = menuItems.length > 0 ? pageItemsSectionDefinition.concat(menuItems) : pageItemsSectionDefinition;\r\n } else {\r\n finalItemList = menuItems;\r\n }\r\n\r\n // put together everything that goes in the mega memu\r\n var fullMegaMenuDefinition = megaMenuDefinition && megaMenuDefinition.length > 0 ? finalItemList.concat(megaMenuDefinition) : finalItemList;\r\n\r\n // ... and massage them for use in the megamenu\r\n fullMegaMenuDefinition = this.convertItems(fullMegaMenuDefinition);\r\n\r\n toolbar = React.createElement(\r\n Toolbar,\r\n {\r\n disableGutters: true,\r\n classes: { root: classes.headerBarToolbar },\r\n className: this.state.searchOpen ? classes.searchOpen : ''\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: logoClassDef },\r\n this.props.logo ? this.props.logo : React.createElement(\r\n HeaderBarLogo,\r\n null,\r\n React.createElement(Logo, { className: classes.logo })\r\n )\r\n ),\r\n showSearch && searchBar,\r\n React.createElement(\r\n 'div',\r\n { className: classNames(classes.menuBar, 'menu-bar') },\r\n menuBar\r\n ),\r\n React.createElement(\r\n HeaderUtilityBar,\r\n {\r\n className: 'headerbar-utility-bar',\r\n isThemed: this.props.context.isThemed(),\r\n SearchItem: this.props.showSearch ? SearchItem : null\r\n },\r\n utilityBarItems\r\n ),\r\n React.createElement(MegaMenu, {\r\n open: this.state.megaMenuOpen,\r\n onClose: function onClose() {\r\n return _this6.toggleMegaMenu(false);\r\n },\r\n menuDefinition: fullMegaMenuDefinition,\r\n utilityDefinition: utilityDefinition,\r\n onItemSelected: onItemSelected,\r\n parentElementRef: this.props.parentElementRef,\r\n useFluidTransition: true,\r\n menuItemsHeader: menuItemsLabel\r\n })\r\n );\r\n\r\n // no auto-build, just lay out the toolbar\r\n } else {\r\n\r\n // if a utility bar was provided, decorate it with internal props\r\n var utiltyBar = UtilityBar ? React.cloneElement(UtilityBar, {\r\n isThemed: this.props.context.isThemed(),\r\n className: 'headerbar-utility-bar',\r\n SearchItem: showSearch ? SearchItem : null\r\n }) : null;\r\n\r\n // tell the headerbar's direct children (ie, menu bar items) what kind of responsive\r\n // they need to be\r\n var decoratedChildren = React.Children.map(children, function (child) {\r\n\r\n // is this a headerbar item?\r\n var isHeaderBarItem = false;\r\n if (child && child.type.muiName) {\r\n isHeaderBarItem = child && child.type.muiName.indexOf('HeaderBarItem') > -1;\r\n }\r\n\r\n // is the responsiveType prop already set on this item?\r\n var hasResponsiveType = isHeaderBarItem && get(child, 'props.responsiveType', false);\r\n if (isHeaderBarItem && !hasResponsiveType) {\r\n return React.cloneElement(child, {\r\n responsiveType: responsiveType\r\n });\r\n } else {\r\n return child;\r\n }\r\n });\r\n\r\n toolbar = React.createElement(\r\n Toolbar,\r\n {\r\n classes: { root: classes.headerBarToolbar },\r\n className: this.state.searchOpen ? classes.searchOpen : '',\r\n disableGutters: true },\r\n this.props.logo && React.createElement(\r\n 'div',\r\n { className: logoClassDef },\r\n this.props.logo\r\n ),\r\n showSearch && searchBar,\r\n React.createElement(\r\n 'div',\r\n { className: classNames(classes.menuBar, 'menu-bar') },\r\n decoratedChildren\r\n ),\r\n utiltyBar\r\n );\r\n }\r\n\r\n return React.createElement(\r\n HeaderBarContext.Consumer,\r\n null,\r\n function (context) {\r\n return React.createElement(\r\n AppBar,\r\n {\r\n position: position,\r\n className: classNames({ 'themed': _this6.props.context.isThemed() }),\r\n classes: classOverrides\r\n },\r\n React.createElement(\r\n 'nav',\r\n null,\r\n toolbar,\r\n context.state.isDropDownOpen && React.createElement('div', { className: classes.overlay })\r\n )\r\n );\r\n }\r\n );\r\n }\r\n }]);\r\n\r\n return HeaderBar;\r\n}(React.Component);\r\n\r\n/**\r\n * Global Navigation Header Bar component foo.\r\n */\r\n\r\n\r\nvar HeaderBarConsumer = React.forwardRef(function (props, ref) {\r\n var onActiveItemChanged = props.onActiveItemChanged,\r\n remainingProps = _objectWithoutProperties(props, ['onActiveItemChanged']);\r\n\r\n return React.createElement(\r\n HeaderBarProvider,\r\n { onActiveItemChanged: onActiveItemChanged },\r\n React.createElement(\r\n HeaderBarContext.Consumer,\r\n null,\r\n function (context) {\r\n return React.createElement(HeaderBar, Object.assign({}, remainingProps, { context: context, ref: ref }));\r\n }\r\n )\r\n );\r\n});\r\n\r\nHeaderBarProvider.propTypes = {\r\n children: PropTypes.object\r\n};\r\n\r\nHeaderBar.propTypes = {\r\n\r\n /** Useful to extend the style applied to components. */\r\n classes: PropTypes.object,\r\n\r\n /** The content of the component. Common children are HeaderBarItem, HeaderBarLogo or HeaderBarDropdown. */\r\n children: PropTypes.node,\r\n\r\n /** The positioning type. Note: sticky is not universally supported and will fall back to static when unavailable. */\r\n position: PropTypes.string,\r\n\r\n /**\r\n * If the megamenu should appear within a DOM element (and be constrained within its borders), you must\r\n * provide a [ref](https://reactjs.org/docs/refs-and-the-dom.html) representing the containing element.\r\n */\r\n parentElementRef: PropTypes.object,\r\n\r\n /**\r\n * If true, the header bar will auto-generate menus, utility items, and the Mega Menu, based on the given set of\r\n * definitions.\r\n */\r\n autoGenerateMenus: PropTypes.bool,\r\n\r\n /**\r\n * Items that should appear in the headerbar menu. See class description for definition format.\r\n */\r\n menuDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Items that should appear in the mega menu (but **not** in the main menu). See class description\r\n * for definition format.\r\n */\r\n megaMenuDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Items that should appear in the headerbar's utility area. See class description for definition format.\r\n */\r\n utilityDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Invoked when an item is selected. The function is passed the selected item.\r\n *\r\n * **Note**: This function is not called if the item content is a link (eg, an anchor tag, or\r\n * a `` component).\r\n */\r\n onItemSelected: PropTypes.func,\r\n\r\n /**\r\n * Whether to display a badge on the megamenu. Accepts a boolean or a number.\r\n *\r\n * - `true` to display a simple notification badge;\r\n * - A number to show a numerical badge.\r\n */\r\n megaMenuBadge: PropTypes.oneOfType([PropTypes.bool, PropTypes.number]),\r\n\r\n /**\r\n * The header label for menu items. Used in the MegaMenu.\r\n */\r\n menuItemsLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\r\n\r\n /**\r\n * The logo to use in the header bar.\r\n */\r\n logo: PropTypes.node,\r\n\r\n /**\r\n * At what breakpoint to hide all menu bar items on the header bar.\r\n *\r\n * Note that this **excludes** utility nav items, which will always hide at the 'small' breakpoint, by default. For\r\n * manual header bars, this can be overridden in the `HeaderUtilityBar` component.\r\n *\r\n * Valid values are:\r\n *\r\n * - `none` - Never hide anything\r\n * - `small` - Hide items at the small breakpoint (and above)\r\n * - `medium` - Hide items at the medium breakpoint (and above)\r\n * - `large` - Hide items at the large breakpoint (and above)\r\n */\r\n responsiveType: PropTypes.oneOf(['none', 'small', 'medium', 'large']),\r\n\r\n /**\r\n * Whether to show the search utility (and associated search field) in the header bar\r\n */\r\n showSearch: PropTypes.bool,\r\n\r\n /**\r\n * Function to call when a search is submitted. Is passed a single argument, the search term.\r\n */\r\n onSearch: PropTypes.func,\r\n\r\n /**\r\n * A utility bar. Will be pinned to the right side of the `HeaderBar`.\r\n */\r\n UtilityBar: PropTypes.node,\r\n\r\n /**\r\n * Fires when the active item changes. The callback is provided with a single parameter, the currently-active item.\r\n */\r\n onActiveItemChanged: PropTypes.func,\r\n\r\n /**\r\n * If true, only shows the megaMenu icon when it's needed -- that is, when menu items are hidden.\r\n *\r\n * The breakpoint at which menu items are hidden is controlled by the `responsiveType` prop.\r\n *\r\n * **Note**: Only valid when `autoGenerateMenus` is `true`.\r\n */\r\n megaMenuOnDemand: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n * Provided through wrapper.\r\n */\r\n context: PropTypes.object.isRequired,\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n * Provided through wrapper.\r\n */\r\n theme: PropTypes.object.isRequired\r\n\r\n};\r\n\r\nHeaderBarConsumer.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n children: PropTypes.node,\r\n position: PropTypes.string,\r\n onActiveItemChanged: PropTypes.func\r\n};\r\n\r\nHeaderBarConsumer.defaultProps = {\r\n position: 'static'\r\n};\r\n\r\nHeaderBar.defaultProps = {\r\n autoGenerateMenus: false,\r\n menuItemsLabel: 'Ellucian',\r\n megaMenuBadge: false,\r\n responsiveType: 'large',\r\n showSearch: true,\r\n utilityDefinition: [],\r\n megaMenuOnDemand: false\r\n};\r\n\r\nexport { HeaderBarContext };\r\nexport default withEDSContext(withStyles(styles, { withTheme: true })(HeaderBarConsumer));","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\n\r\nimport { HeaderBarContext } from './HeaderBar';\r\nimport { HeaderBarDropdown } from './';\r\nimport Typography from '../Typography';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\n\r\nimport { colorBackgroundHeaderBarItemHover, colorBackgroundHeaderBarItemSelected, colorBrandNeutral300, boxShadowFocusInset, colorTextNeutral500, opacity2, spacing50, spacing40, spacing70, fontFamilyHeader, fontWeightBold, fontSizeSmall, heightHeaderBar } from '../styles/tokens';\r\n\r\nvar colorBackgroundIconSelectedThemed = colorBrandNeutral300;\r\nvar colorBackgroundIconHoverThemed = '#E9E9E9';\r\n\r\nvar styles = function styles(theme) {\r\n var _root;\r\n\r\n return {\r\n root: (_root = {\r\n display: 'none',\r\n '& *': {\r\n outline: 'none'\r\n },\r\n '&.themed, &.themed a': {\r\n color: colorTextNeutral500\r\n },\r\n\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeSmall,\r\n fontWeight: fontWeightBold,\r\n color: theme.palette.grey[100],\r\n textTransform: 'uppercase',\r\n textDecoration: 'none',\r\n position: 'relative',\r\n height: heightHeaderBar,\r\n justifyContent: 'center',\r\n outline: 'none',\r\n whiteSpace: 'nowrap',\r\n '& > *': {\r\n padding: spacing50 + ' ' + spacing40\r\n },\r\n '& > .ds-icon': {\r\n padding: spacing50 + ' ' + spacing40\r\n },\r\n '& a': {\r\n textDecoration: 'none',\r\n color: theme.palette.grey[100]\r\n }\r\n }, _defineProperty(_root, '&:focus:not(.utility-item):after,\\n &:hover:not(.utility-item):after,\\n &.active:not(.utility-item):not(.avoid-clicks):after,\\n &.focused:not(.utility-item):after,\\n & .activeLink:not(.utility-item):after', {\r\n width: '1.25rem',\r\n height: '.625rem',\r\n borderTopLeftRadius: spacing70,\r\n borderTopRightRadius: spacing70,\r\n backgroundColor: theme.palette.secondary.main,\r\n content: \"''\",\r\n position: 'absolute',\r\n left: 'calc(50% - 0.625rem)',\r\n bottom: '0',\r\n pointerEvents: 'none'\r\n }), _defineProperty(_root, '&.disabled:not(.always-show)', {\r\n opacity: opacity2,\r\n pointerEvents: 'none'\r\n }), _defineProperty(_root, '&:focus', {\r\n outline: 'none'\r\n }), _defineProperty(_root, '&.no-hide', {\r\n display: 'flex'\r\n }), _defineProperty(_root, '&.hide-small', _defineProperty({}, theme.breakpoints.up('sm'), {\r\n display: 'flex'\r\n })), _defineProperty(_root, '&.hide-medium', _defineProperty({}, theme.breakpoints.up('md'), {\r\n display: 'flex'\r\n })), _defineProperty(_root, '&.hide-large', _defineProperty({}, theme.breakpoints.up('lg'), {\r\n display: 'flex'\r\n })), _defineProperty(_root, '&.hide-xsmall-down', _defineProperty({}, theme.breakpoints.down('xs'), {\r\n display: 'flex'\r\n })), _defineProperty(_root, '&.hide-small-down', _defineProperty({}, theme.breakpoints.down('sm'), {\r\n display: 'flex'\r\n })), _defineProperty(_root, '&.hide-medium-down', _defineProperty({}, theme.breakpoints.down('md'), {\r\n display: 'flex'\r\n })), _defineProperty(_root, 'cursor', 'pointer'), _root),\r\n\r\n alwaysShow: {\r\n display: 'flex !important'\r\n },\r\n itemIcon: {\r\n textTransform: 'none !important',\r\n color: theme.palette.grey[100],\r\n zIndex: 1,\r\n '& svg': {\r\n width: '24px',\r\n height: '24px',\r\n transform: 'translateY(1px)'\r\n },\r\n '& > *': {\r\n padding: '0'\r\n },\r\n '& > div': {\r\n padding: '1rem 0'\r\n },\r\n '& > span': {\r\n padding: '1rem 1rem'\r\n },\r\n '&.focused': {\r\n boxShadow: boxShadowFocusInset,\r\n outline: 'none'\r\n },\r\n '&:hover': {\r\n backgroundColor: colorBackgroundHeaderBarItemHover\r\n },\r\n '&.themed:hover': {\r\n backgroundColor: colorBackgroundIconHoverThemed\r\n },\r\n '&.selected': {\r\n backgroundColor: colorBackgroundHeaderBarItemSelected\r\n },\r\n '&.themed.selected': {\r\n backgroundColor: colorBackgroundIconSelectedThemed\r\n },\r\n height: 'auto'\r\n }\r\n };\r\n};\r\n\r\nvar HeaderBarItemConsumer = function (_React$Component) {\r\n _inherits(HeaderBarItemConsumer, _React$Component);\r\n\r\n function HeaderBarItemConsumer(props) {\r\n _classCallCheck(this, HeaderBarItemConsumer);\r\n\r\n var _this = _possibleConstructorReturn(this, (HeaderBarItemConsumer.__proto__ || Object.getPrototypeOf(HeaderBarItemConsumer)).call(this, props));\r\n\r\n _this.state = { focused: false };\r\n\r\n _this.isActive = function () {\r\n var active = _this.props.active;\r\n\r\n return active;\r\n };\r\n\r\n _this.itemRef = Math.floor(Math.random() * Math.floor(1000));\r\n return _this;\r\n }\r\n\r\n _createClass(HeaderBarItemConsumer, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n var _props = this.props,\r\n context = _props.context,\r\n active = _props.active;\r\n\r\n\r\n if (active) {\r\n context.setActive(this);\r\n }\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState, snapshot) {\r\n\r\n // if the 'active' property was changed to true, update active component\r\n if (this.props.active !== prevProps.active && this.props.active) {\r\n this.props.context.setActive(this);\r\n }\r\n }\r\n\r\n /**\r\n * Set the current item to active\r\n */\r\n\r\n }, {\r\n key: 'setItemActive',\r\n value: function setItemActive() {\r\n this.props.context.setActive(this);\r\n }\r\n\r\n /**\r\n * Handle an event to set the item active.\r\n */\r\n\r\n }, {\r\n key: 'setActive',\r\n value: function setActive(event) {\r\n event.preventDefault();\r\n if (event.target !== event.currentTarget) {\r\n this.setItemActive();\r\n }\r\n }\r\n\r\n /**\r\n * Determine whether given item represents a single header bar dropdown.\r\n *\r\n * @param {*} children The children passed into this component\r\n * @return {boolean} True if it's a dropdown\r\n */\r\n\r\n }, {\r\n key: 'isChildDropdown',\r\n value: function isChildDropdown(children) {\r\n return children && children.type && children.type === HeaderBarDropdown;\r\n }\r\n\r\n /**\r\n * Deteremine whether the current header bar item is active.\r\n *\r\n * @return {boolean} True if the current menu item is active.\r\n */\r\n\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props2 = this.props,\r\n classes = _props2.classes,\r\n children = _props2.children,\r\n isUtility = _props2.isUtility,\r\n responsiveType = _props2.responsiveType,\r\n role = _props2.role,\r\n itemKey = _props2.itemKey,\r\n selected = _props2.selected;\r\n\r\n var isItemDropdown = this.isChildDropdown(children);\r\n\r\n var isSimpleText = typeof children === 'string';\r\n\r\n // if this is a dropdown, add a callback that allows it to inform us when one\r\n // of its items have been selected\r\n var decoratedChildren = isItemDropdown ? React.cloneElement(children, {\r\n itemSelected: this.setItemActive.bind(this),\r\n isUtility: this.props.isUtility\r\n }) : children;\r\n\r\n // unadorned text items and non-dropdown utility items need to be wrapped in a span, to make them tab stops\r\n if ((isSimpleText || isUtility) && !isItemDropdown) {\r\n decoratedChildren = React.createElement(\r\n 'span',\r\n { role: 'link', tabIndex: 0, 'aria-label': this.props['aria-label'] },\r\n decoratedChildren\r\n );\r\n }\r\n\r\n // determine at what size class (if any) the item should hide itself\r\n var responsiveClass = responsiveType === 'none' ? null : 'hide-' + responsiveType;\r\n return React.createElement(\r\n Tooltip,\r\n { title: this.props.title ? this.props.title : '', enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n Typography,\r\n {\r\n 'data-key': itemKey,\r\n variant: 'h2',\r\n color: 'inherit',\r\n className: classNames(classes.root, { 'selected': selected }, _defineProperty({}, classes.itemIcon, this.props.isUtility), responsiveClass, { 'no-hide': responsiveType === 'none' }, { 'utility-item': this.props.isUtility }, { 'active': this.isActive() }, { 'focused': this.state.focused }, { 'disabled': this.props.disabled }, _defineProperty({}, classes.alwaysShow, this.props.alwaysShow), { 'always-show': this.props.alwaysShow }, { 'themed': this.props.context.isThemed() }, this.props.className),\r\n role: role,\r\n component: 'div',\r\n onClick: function onClick(e) {\r\n if (!isItemDropdown && !isUtility) {\r\n _this2.setActive(e);\r\n }\r\n // eslint-disable-next-line\r\n if (_this2.props.onClick) {\r\n _this2.props.onClick(e);\r\n }\r\n },\r\n onKeyUp: function onKeyUp(e) {\r\n if (e.key === 'Enter' && !isItemDropdown) {\r\n _this2.setItemActive(_this2.itemRef);\r\n }\r\n // eslint-disable-next-line\r\n if (_this2.props.onKeyUp) {\r\n _this2.props.onKeyUp(e);\r\n }\r\n },\r\n onFocus: function onFocus(e) {\r\n return _this2.setState({ focused: true });\r\n },\r\n onMouseLeave: function onMouseLeave(e) {\r\n return _this2.setState({ focused: false });\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.setState({ focused: false });\r\n }\r\n },\r\n decoratedChildren\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return HeaderBarItemConsumer;\r\n}(React.Component);\r\n\r\nvar HeaderBarItem = function HeaderBarItem(props) {\r\n return React.createElement(\r\n HeaderBarContext.Consumer,\r\n null,\r\n function (context) {\r\n return React.createElement(HeaderBarItemConsumer, Object.assign({}, props, { context: context }));\r\n }\r\n );\r\n};\r\n\r\nHeaderBarItem.muiName = 'HeaderBarItem';\r\n\r\nHeaderBarItemConsumer.propTypes = {\r\n 'aria-label': PropTypes.string,\r\n children: PropTypes.node,\r\n classes: PropTypes.object,\r\n active: PropTypes.bool,\r\n context: PropTypes.object.isRequired,\r\n alwaysShow: PropTypes.bool,\r\n disabled: PropTypes.bool,\r\n role: PropTypes.string,\r\n className: PropTypes.string,\r\n title: PropTypes.string,\r\n responsiveType: PropTypes.string,\r\n isUtility: PropTypes.bool,\r\n itemKey: PropTypes.string,\r\n selected: PropTypes.bool\r\n};\r\n\r\nHeaderBarItem.propTypes = {\r\n\r\n /** The content of the component. Common children are links to send users to different pages within an application. */\r\n children: PropTypes.node.isRequired,\r\n\r\n /** Useful to extend the style applied to components. */\r\n classes: PropTypes.object,\r\n\r\n /** Set default active header item on load */\r\n active: PropTypes.bool,\r\n\r\n /** Whether to always show this item, regardless of the current size class */\r\n alwaysShow: PropTypes.bool,\r\n\r\n /** Whether this item is disabled */\r\n disabled: PropTypes.bool,\r\n\r\n /** Aria role if applicable */\r\n role: PropTypes.string,\r\n\r\n /** Additional class to apply to the item */\r\n className: PropTypes.string,\r\n\r\n /**\r\n * Whether the item should be responsive\r\n *\r\n * This property is no longer used.\r\n *\r\n * @deprecated\r\n *\r\n */\r\n responsive: PropTypes.bool,\r\n\r\n /**\r\n * HTML title to apply to the item\r\n */\r\n title: PropTypes.string,\r\n\r\n /**\r\n * Whether to render this menu as a utility item\r\n *\r\n * @ignore\r\n */\r\n isUtility: PropTypes.bool,\r\n\r\n /**\r\n * At what breakpoint to hide all non-essential items on the header bar. Valid values are:\r\n *\r\n * - `none` - Never hide anything\r\n * - `xsmall-down` - Hide items at x-small breapoint, and below\r\n * - `small-down` - Hide items at small breapoint, and below\r\n * - `small` - Hide items at the small breakpoint\r\n * - `medium` - Hide items at the medium breakpoint\r\n * - `large` - Hide items at the large breakpoint\r\n */\r\n responsiveType: PropTypes.string,\r\n\r\n /**\r\n * A key that uniquely identifies this header bar item\r\n */\r\n itemKey: PropTypes.string,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * If true, the item is also rendered selected\r\n */\r\n selected: PropTypes.bool\r\n\r\n};\r\n\r\nHeaderBarItem.defaultProps = {\r\n alwaysShow: false,\r\n disabled: false,\r\n isUtility: false,\r\n responsiveType: 'large'\r\n};\r\n\r\nexport default withStyles(styles)(HeaderBarItem);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\n\r\nimport { sizingXxLarge1, spacing40 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n padding: '0 ' + spacing40,\r\n alignItems: 'center',\r\n margin: 'inherit',\r\n height: sizingXxLarge1,\r\n '& svg': {\r\n height: sizingXxLarge1\r\n }\r\n }\r\n};\r\n\r\nvar HeaderBarLogo = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n children = props.children;\r\n\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.root, ref: ref },\r\n children\r\n );\r\n});\r\n\r\nHeaderBarLogo.displayName = 'HeaderBarLogo';\r\n\r\nHeaderBarLogo.propTypes = {\r\n /** The content of the component. This component's children might be an image or brand name. */\r\n children: PropTypes.node.isRequired,\r\n\r\n /** Useful to extend the style applied to components. */\r\n classes: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(HeaderBarLogo);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nimport { Component, createElement } from 'react';\nimport PropTypes from 'prop-types';\n\nvar Manager = function (_Component) {\n _inherits(Manager, _Component);\n\n function Manager() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Manager);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Manager.__proto__ || Object.getPrototypeOf(Manager)).call.apply(_ref, [this].concat(args))), _this), _this._setTargetNode = function (node) {\n _this._targetNode = node;\n }, _this._getTargetNode = function () {\n return _this._targetNode;\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Manager, [{\n key: 'getChildContext',\n value: function getChildContext() {\n return {\n popperManager: {\n setTargetNode: this._setTargetNode,\n getTargetNode: this._getTargetNode\n }\n };\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n tag = _props.tag,\n children = _props.children,\n restProps = _objectWithoutProperties(_props, ['tag', 'children']);\n\n if (tag !== false) {\n return createElement(tag, restProps, children);\n } else {\n return children;\n }\n }\n }]);\n\n return Manager;\n}(Component);\n\nManager.childContextTypes = {\n popperManager: PropTypes.object.isRequired\n};\nManager.propTypes = {\n tag: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])\n};\nManager.defaultProps = {\n tag: 'div'\n};\n\n\nexport default Manager;","var _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; };\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nimport { createElement } from 'react';\nimport PropTypes from 'prop-types';\n\nvar Target = function Target(props, context) {\n var _props$component = props.component,\n component = _props$component === undefined ? 'div' : _props$component,\n innerRef = props.innerRef,\n children = props.children,\n restProps = _objectWithoutProperties(props, ['component', 'innerRef', 'children']);\n\n var popperManager = context.popperManager;\n\n var targetRef = function targetRef(node) {\n popperManager.setTargetNode(node);\n if (typeof innerRef === 'function') {\n innerRef(node);\n }\n };\n\n if (typeof children === 'function') {\n var targetProps = { ref: targetRef };\n return children({ targetProps: targetProps, restProps: restProps });\n }\n\n var componentProps = _extends({}, restProps);\n\n if (typeof component === 'string') {\n componentProps.ref = targetRef;\n } else {\n componentProps.innerRef = targetRef;\n }\n\n return createElement(component, componentProps, children);\n};\n\nTarget.contextTypes = {\n popperManager: PropTypes.object.isRequired\n};\n\nTarget.propTypes = {\n component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n innerRef: PropTypes.func,\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])\n};\n\nexport default Target;","var _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; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nimport { Component, createElement } from 'react';\nimport PropTypes from 'prop-types';\nimport PopperJS from 'popper.js';\n\nexport var placements = PopperJS.placements;\n\nvar Popper = function (_Component) {\n _inherits(Popper, _Component);\n\n function Popper() {\n var _ref;\n\n var _temp, _this, _ret;\n\n _classCallCheck(this, Popper);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Popper.__proto__ || Object.getPrototypeOf(Popper)).call.apply(_ref, [this].concat(args))), _this), _this.state = {}, _this._setArrowNode = function (node) {\n _this._arrowNode = node;\n }, _this._getTargetNode = function () {\n if (_this.props.target) {\n return _this.props.target;\n } else if (!_this.context.popperManager || !_this.context.popperManager.getTargetNode()) {\n throw new Error('Target missing. Popper must be given a target from the Popper Manager, or as a prop.');\n }\n return _this.context.popperManager.getTargetNode();\n }, _this._getOffsets = function (data) {\n return Object.keys(data.offsets).map(function (key) {\n return data.offsets[key];\n });\n }, _this._isDataDirty = function (data) {\n if (_this.state.data) {\n return JSON.stringify(_this._getOffsets(_this.state.data)) !== JSON.stringify(_this._getOffsets(data));\n } else {\n return true;\n }\n }, _this._updateStateModifier = {\n enabled: true,\n order: 900,\n fn: function fn(data) {\n if (_this._isDataDirty(data)) {\n _this.setState({ data: data });\n }\n return data;\n }\n }, _this._getPopperStyle = function () {\n var data = _this.state.data;\n\n\n if (!_this._popper || !data) {\n return {\n position: 'absolute',\n pointerEvents: 'none',\n opacity: 0\n };\n }\n\n return _extends({\n position: data.offsets.popper.position\n }, data.styles);\n }, _this._getPopperPlacement = function () {\n return _this.state.data ? _this.state.data.placement : undefined;\n }, _this._getPopperHide = function () {\n return !!_this.state.data && _this.state.data.hide ? '' : undefined;\n }, _this._getArrowStyle = function () {\n if (!_this.state.data || !_this.state.data.offsets.arrow) {\n return {};\n } else {\n var _this$state$data$offs = _this.state.data.offsets.arrow,\n top = _this$state$data$offs.top,\n left = _this$state$data$offs.left;\n\n return { top: top, left: left };\n }\n }, _this._handlePopperRef = function (node) {\n _this._popperNode = node;\n if (node) {\n _this._createPopper();\n } else {\n _this._destroyPopper();\n }\n if (_this.props.innerRef) {\n _this.props.innerRef(node);\n }\n }, _this._scheduleUpdate = function () {\n _this._popper && _this._popper.scheduleUpdate();\n }, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(Popper, [{\n key: 'getChildContext',\n value: function getChildContext() {\n return {\n popper: {\n setArrowNode: this._setArrowNode,\n getArrowStyle: this._getArrowStyle\n }\n };\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(lastProps) {\n if (lastProps.placement !== this.props.placement || lastProps.eventsEnabled !== this.props.eventsEnabled || lastProps.target !== this.props.target) {\n this._destroyPopper();\n this._createPopper();\n }\n if (lastProps.children !== this.props.children) {\n this._scheduleUpdate();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this._destroyPopper();\n }\n }, {\n key: '_createPopper',\n value: function _createPopper() {\n var _this2 = this;\n\n var _props = this.props,\n placement = _props.placement,\n eventsEnabled = _props.eventsEnabled,\n positionFixed = _props.positionFixed;\n\n var modifiers = _extends({}, this.props.modifiers, {\n applyStyle: { enabled: false },\n updateState: this._updateStateModifier\n });\n if (this._arrowNode) {\n modifiers.arrow = _extends({}, this.props.modifiers.arrow || {}, {\n element: this._arrowNode\n });\n }\n this._popper = new PopperJS(this._getTargetNode(), this._popperNode, {\n placement: placement,\n positionFixed: positionFixed,\n eventsEnabled: eventsEnabled,\n modifiers: modifiers\n });\n\n // TODO: look into setTimeout scheduleUpdate call, without it, the popper will not position properly on creation\n setTimeout(function () {\n return _this2._scheduleUpdate();\n });\n }\n }, {\n key: '_destroyPopper',\n value: function _destroyPopper() {\n if (this._popper) {\n this._popper.destroy();\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props2 = this.props,\n component = _props2.component,\n innerRef = _props2.innerRef,\n placement = _props2.placement,\n eventsEnabled = _props2.eventsEnabled,\n positionFixed = _props2.positionFixed,\n modifiers = _props2.modifiers,\n children = _props2.children,\n restProps = _objectWithoutProperties(_props2, ['component', 'innerRef', 'placement', 'eventsEnabled', 'positionFixed', 'modifiers', 'children']);\n\n var popperStyle = this._getPopperStyle();\n var popperPlacement = this._getPopperPlacement();\n var popperHide = this._getPopperHide();\n\n if (typeof children === 'function') {\n var popperProps = {\n ref: this._handlePopperRef,\n style: popperStyle,\n 'data-placement': popperPlacement,\n 'data-x-out-of-boundaries': popperHide\n };\n return children({\n popperProps: popperProps,\n restProps: restProps,\n scheduleUpdate: this._scheduleUpdate\n });\n }\n\n var componentProps = _extends({}, restProps, {\n style: _extends({}, restProps.style, popperStyle),\n 'data-placement': popperPlacement,\n 'data-x-out-of-boundaries': popperHide\n });\n\n if (typeof component === 'string') {\n componentProps.ref = this._handlePopperRef;\n } else {\n componentProps.innerRef = this._handlePopperRef;\n }\n\n return createElement(component, componentProps, children);\n }\n }]);\n\n return Popper;\n}(Component);\n\nPopper.contextTypes = {\n popperManager: PropTypes.object\n};\nPopper.childContextTypes = {\n popper: PropTypes.object.isRequired\n};\nPopper.propTypes = {\n component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n innerRef: PropTypes.func,\n placement: PropTypes.oneOf(placements),\n eventsEnabled: PropTypes.bool,\n positionFixed: PropTypes.bool,\n modifiers: PropTypes.object,\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n target: PropTypes.oneOfType([\n // the following check is needed for SSR\n PropTypes.instanceOf(typeof Element !== 'undefined' ? Element : Object), PropTypes.shape({\n getBoundingClientRect: PropTypes.func.isRequired,\n clientWidth: PropTypes.number.isRequired,\n clientHeight: PropTypes.number.isRequired\n })])\n};\nPopper.defaultProps = {\n component: 'div',\n placement: 'bottom',\n eventsEnabled: true,\n positionFixed: false,\n modifiers: {}\n};\n\n\nexport default Popper;","var _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; };\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\nimport { createElement } from 'react';\nimport PropTypes from 'prop-types';\n\nvar Arrow = function Arrow(props, context) {\n var _props$component = props.component,\n component = _props$component === undefined ? 'span' : _props$component,\n innerRef = props.innerRef,\n children = props.children,\n restProps = _objectWithoutProperties(props, ['component', 'innerRef', 'children']);\n\n var popper = context.popper;\n\n var arrowRef = function arrowRef(node) {\n popper.setArrowNode(node);\n if (typeof innerRef === 'function') {\n innerRef(node);\n }\n };\n var arrowStyle = popper.getArrowStyle();\n\n if (typeof children === 'function') {\n var arrowProps = {\n ref: arrowRef,\n style: arrowStyle\n };\n return children({ arrowProps: arrowProps, restProps: restProps });\n }\n\n var componentProps = _extends({}, restProps, {\n style: _extends({}, arrowStyle, restProps.style)\n });\n\n if (typeof component === 'string') {\n componentProps.ref = arrowRef;\n } else {\n componentProps.innerRef = arrowRef;\n }\n\n return createElement(component, componentProps, children);\n};\n\nArrow.contextTypes = {\n popper: PropTypes.object.isRequired\n};\n\nArrow.propTypes = {\n component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n innerRef: PropTypes.func,\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])\n};\n\nexport default Arrow;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { Manager, Target, Popper } from 'react-popper';\r\nimport Paper from '@material-ui/core/Paper';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport Grow from '@material-ui/core/Grow';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport MenuList from '@material-ui/core/MenuList';\r\nimport { default as withStyles } from '../styles';\r\nimport { HeaderBarContext } from './HeaderBar';\r\nimport Typography from '../Typography';\r\n\r\nimport { borderWidthThick, borderWidthThin, colorBrandNeutral100, colorBrandNeutral300, colorBrandPrimary, colorCtaBlueBase, colorTextNeutral500, spacing40, spacing30, spacing50, fontSizeSmall, fontSizeDefault } from '../styles/tokens';\r\n\r\nvar colorBackgroundDropdownThemed = colorBrandNeutral100;\r\nvar colorBackgroundDropdownHoverThemed = colorBrandNeutral300;\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n cursor: 'pointer',\r\n \"& [class*='focusVisible']\": {\r\n backgroundColor: colorCtaBlueBase\r\n },\r\n \"& .utility [class*='focusVisible']\": {\r\n backgroundColor: 'transparent',\r\n color: colorCtaBlueBase\r\n }\r\n },\r\n dropdownLabel: {\r\n padding: spacing50 + ' 0'\r\n },\r\n dropdownUtilityLabel: {\r\n paddingLeft: spacing40,\r\n paddingRight: spacing40,\r\n fontSize: theme.typography.body2.fontSize,\r\n display: 'flex'\r\n },\r\n dropdownMenu: {\r\n width: '12.5rem',\r\n backgroundColor: colorBrandPrimary,\r\n '&.themed': {\r\n backgroundColor: colorBackgroundDropdownThemed\r\n },\r\n\r\n '&.themed .headerbar-dropdown-menu-item': {\r\n color: colorTextNeutral500\r\n },\r\n '&.themed :hover': {\r\n backgroundColor: colorBackgroundDropdownHoverThemed\r\n },\r\n '&.themed :focus': {\r\n backgroundColor: colorBackgroundDropdownHoverThemed\r\n }\r\n },\r\n dropdownMenuUtility: {\r\n width: '12.5rem',\r\n fontSize: fontSizeDefault,\r\n paddingTop: 0\r\n },\r\n dropdownMenuItem: {\r\n color: theme.palette.grey[100],\r\n whiteSpace: 'normal',\r\n height: 'auto',\r\n minHeight: 'auto',\r\n fontSize: fontSizeSmall,\r\n padding: spacing30 + ' ' + spacing40,\r\n '&:hover': {\r\n // TODO: We will need logic to figure this out\r\n // NOTE: This is a placeholder\r\n backgroundColor: theme.palette.primary.dark\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.action.base\r\n }\r\n },\r\n dropdownMenuItemUtility: {\r\n color: theme.palette.grey[600],\r\n whiteSpace: 'normal',\r\n height: 'auto',\r\n fontSize: fontSizeDefault,\r\n '&:not(:last-child)': {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n padding: spacing30 + ' 0.1rem',\r\n margin: '0 ' + spacing40,\r\n '&:hover': {\r\n backgroundColor: 'transparent',\r\n color: colorCtaBlueBase\r\n },\r\n '& a': {\r\n color: theme.palette.grey[600] + ' !important',\r\n '&:hover': {\r\n backgroundColor: 'transparent',\r\n color: colorCtaBlueBase + ' !important'\r\n }\r\n }\r\n },\r\n labeledContent: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n '& div': {\r\n paddingLeft: spacing30,\r\n paddingTop: spacing30\r\n }\r\n },\r\n popperOpen: {\r\n top: '1.35rem !important', // Popper adds inline style so had to use `!important`\r\n zIndex: theme.zIndex.headerBarDropdown,\r\n '&.utility': {\r\n top: '1.2rem !important' // Popper adds inline style so had to use `!important`\r\n },\r\n '&> div': {\r\n borderRadius: 0\r\n }\r\n },\r\n popperClose: {\r\n top: '1.35rem !important', // Popper adds inline style so had to use `!important`\r\n pointerEvents: 'none',\r\n '&.utility': {\r\n top: '1.2rem !important' // Popper adds inline style so had to use `!important`\r\n }\r\n },\r\n dropdownMenuHeader: {\r\n borderBottom: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n margin: '0 ' + spacing40,\r\n padding: spacing40 + ' 0'\r\n }\r\n };\r\n};\r\n\r\nvar HeaderBarDropdownConsumer = function (_React$Component) {\r\n _inherits(HeaderBarDropdownConsumer, _React$Component);\r\n\r\n function HeaderBarDropdownConsumer() {\r\n var _ref;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, HeaderBarDropdownConsumer);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = HeaderBarDropdownConsumer.__proto__ || Object.getPrototypeOf(HeaderBarDropdownConsumer)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\r\n open: false\r\n }, _this.handleOpen = function (event, context) {\r\n if (!_this.props.disabled) {\r\n _this.setState({ open: true }, function () {\r\n setTimeout(function () {\r\n return context.setOpen(true);\r\n });\r\n });\r\n }\r\n }, _this.handleClose = function (event, context, item) {\r\n\r\n // TODO: Use react's equivalent to check node name.\r\n if (event.type === 'click' && event.target.nodeName === 'LI') {\r\n var activeLink = document.querySelector('.activeLink');\r\n\r\n if (activeLink) {\r\n activeLink.classList.remove('activeLink');\r\n }\r\n }\r\n\r\n if (item) {\r\n // look for child anchors, click them if they're there\r\n var anchor = event.target && event.target.querySelector('a');\r\n\r\n if (anchor) {\r\n anchor.click();\r\n } else {\r\n _this.props.onMenuItemClick(event, item);\r\n\r\n // let our parent know that an item was selected\r\n if (_this.props.itemSelected) {\r\n _this.props.itemSelected();\r\n }\r\n }\r\n }\r\n\r\n _this.setState({ open: false });\r\n\r\n setTimeout(function () {\r\n return context.setOpen(false);\r\n });\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(HeaderBarDropdownConsumer, [{\r\n key: 'render',\r\n\r\n\r\n /* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n menuItems = _props.menuItems,\r\n dropdownMenuLabel = _props.dropdownMenuLabel,\r\n secondaryDropdownMenuLabel = _props.secondaryDropdownMenuLabel;\r\n var open = this.state.open;\r\n\r\n\r\n var dropdownMenuLabelLocal = dropdownMenuLabel;\r\n\r\n if (secondaryDropdownMenuLabel) {\r\n dropdownMenuLabelLocal = React.createElement(\r\n 'div',\r\n { className: this.props.classes.labeledContent },\r\n dropdownMenuLabel,\r\n React.createElement(\r\n 'div',\r\n { 'data-key': 'content-label' },\r\n secondaryDropdownMenuLabel\r\n )\r\n );\r\n }\r\n return React.createElement(\r\n HeaderBarContext.Consumer,\r\n null,\r\n function (context) {\r\n var _classNames;\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.root,\r\n onMouseOver: function onMouseOver(e) {\r\n return _this2.handleOpen(e, context);\r\n },\r\n onFocus: function onFocus(e) {\r\n return _this2.handleOpen(e, context);\r\n },\r\n onMouseLeave: function onMouseLeave(e) {\r\n return _this2.handleClose(e, context);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.handleClose(e, context);\r\n } },\r\n React.createElement(\r\n Manager,\r\n null,\r\n React.createElement(\r\n Target,\r\n null,\r\n React.createElement(\r\n 'div',\r\n { onClick: function onClick(e) {\r\n return _this2.handleOpen(e, context);\r\n },\r\n ref: function ref(node) {\r\n _this2.target = node;\r\n }\r\n },\r\n React.createElement(\r\n 'a',\r\n { tabIndex: 0, className: _this2.props.isUtility ? classes.dropdownUtilityLabel : classes.dropdownLabel,\r\n onMouseDown: function onMouseDown(e) {\r\n return e.stopPropagation();\r\n },\r\n onMouseUp: function onMouseUp(e) {\r\n return e.stopPropagation();\r\n }\r\n },\r\n dropdownMenuLabelLocal\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n Popper,\r\n {\r\n placement: _this2.props.isUtility ? 'bottom-end' : 'bottom',\r\n eventsEnabled: open,\r\n className: classNames((_classNames = {}, _defineProperty(_classNames, classes.popperClose, !open), _defineProperty(_classNames, classes.popperOpen, open), _defineProperty(_classNames, 'utility', _this2.props.isUtility), _classNames))\r\n },\r\n React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: function onClickAway(e) {\r\n return _this2.handleClose(e, context);\r\n } },\r\n React.createElement(\r\n Grow,\r\n { 'in': open, style: { transformOrigin: '0 0 0' } },\r\n React.createElement(\r\n Paper,\r\n null,\r\n _this2.props.menuHeader && React.createElement(\r\n 'div',\r\n { className: classes.dropdownMenuHeader },\r\n React.createElement(\r\n Typography,\r\n null,\r\n _this2.props.menuHeader\r\n )\r\n ),\r\n React.createElement(\r\n MenuList,\r\n { role: 'menu', className: classNames(_this2.props.isUtility ? classes.dropdownMenuUtility : classes.dropdownMenu, {\r\n 'themed': _this2.props.context.isThemed()\r\n }) },\r\n menuItems.filter(function (item) {\r\n return !item.hidden;\r\n }).map(function (item, index) {\r\n return React.createElement(\r\n MenuItem,\r\n {\r\n key: item.value,\r\n 'data-first': index === 0,\r\n tabIndex: index === 0 ? 0 : -1,\r\n className: classNames('headerbar-dropdown-menu-item', _this2.props.isUtility ? classes.dropdownMenuItemUtility : classes.dropdownMenuItem, { 'utility': _this2.props.isUtility }),\r\n role: 'menuitem',\r\n disabled: item.disabled,\r\n onClick: function onClick(e) {\r\n return _this2.handleClose(e, context, item);\r\n },\r\n onKeyUp: function onKeyUp(e) {\r\n if (e.key === 'Enter') {\r\n _this2.handleClose(e, context, item);\r\n }\r\n }\r\n },\r\n item.label\r\n );\r\n })\r\n )\r\n )\r\n )\r\n )\r\n )\r\n )\r\n );\r\n }\r\n );\r\n }\r\n }]);\r\n\r\n return HeaderBarDropdownConsumer;\r\n}(React.Component);\r\n\r\n// see below for prop descriptions\r\n\r\n\r\nHeaderBarDropdownConsumer.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n menuItems: PropTypes.arrayOf(PropTypes.object).isRequired,\r\n dropdownMenuLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n onMenuItemClick: PropTypes.func,\r\n isUtility: PropTypes.bool,\r\n secondaryDropdownMenuLabel: PropTypes.string,\r\n itemSelected: PropTypes.func,\r\n disabled: PropTypes.bool,\r\n menuHeader: PropTypes.string,\r\n context: PropTypes.object.isRequired // Provided through wrapper\r\n\r\n};\r\n\r\nHeaderBarDropdownConsumer.defaultProps = {\r\n disabled: false,\r\n isUtility: false\r\n};\r\n\r\nvar HeaderBarDropdown = function HeaderBarDropdown(props) {\r\n return React.createElement(\r\n HeaderBarContext.Consumer,\r\n null,\r\n function (context) {\r\n return React.createElement(HeaderBarDropdownConsumer, Object.assign({}, props, { context: context }));\r\n }\r\n );\r\n};\r\n\r\nHeaderBarDropdown.propTypes = {\r\n /** Useful to extend the style applied to components. */\r\n classes: PropTypes.object,\r\n\r\n /** List of menu items with label and callback. */\r\n menuItems: PropTypes.arrayOf(PropTypes.object).isRequired,\r\n\r\n /** A label (or icon) to be displayed for the dropdown */\r\n dropdownMenuLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\r\n\r\n /**\r\n * An additional label that augments the main label, and appers alongside it.\r\n */\r\n secondaryDropdownMenuLabel: PropTypes.string,\r\n\r\n /**\r\n * A callback when an item from dropdown is clicked.\r\n * This will send and `event` and selected `item` back to callback.\r\n */\r\n onMenuItemClick: PropTypes.func,\r\n\r\n /**\r\n * Whether this should be rendered as a utility menu. For internal use only.\r\n *\r\n * @ignore\r\n */\r\n isUtility: PropTypes.bool,\r\n\r\n /**\r\n * When provided, this will be called whenever an item is selected.\r\n *\r\n * This is used internally, to manage HeaderBar selection state.\r\n *\r\n * @ignore\r\n */\r\n itemSelected: PropTypes.func,\r\n\r\n /** Whether this item is disabled */\r\n disabled: PropTypes.bool,\r\n\r\n /**\r\n * The header for this dropdwn (optional)\r\n */\r\n menuHeader: PropTypes.string\r\n\r\n};\r\n\r\nHeaderBarDropdown.defaultProps = {\r\n disabled: false,\r\n isUtility: false\r\n};\r\n\r\nexport default withStyles(styles)(HeaderBarDropdown);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { default as withStyles } from '../styles';\r\n\r\nimport { spacing20, colorBrandNeutral200, sizingXxLarge1 } from '../styles/tokens';\r\n\r\nimport classNames from 'classnames';\r\n\r\nvar colorBackgroundHeaderUtilityBar = '#3939B8';\r\nvar colorBackgroundHeaderUtilityBarThemed = colorBrandNeutral200;\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n\r\n root: {\r\n\r\n display: 'flex',\r\n height: '' + sizingXxLarge1,\r\n borderBottom: spacing20 + ' solid ' + theme.palette.secondary.main,\r\n\r\n backgroundColor: colorBackgroundHeaderUtilityBar,\r\n\r\n '&.themed': {\r\n backgroundColor: colorBackgroundHeaderUtilityBarThemed\r\n }\r\n }\r\n\r\n };\r\n};\r\n\r\n/**\r\n * The utility area of a `HeaderBar`.\r\n *\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.2.4\r\n */\r\n\r\nvar HeaderUtilityBar = function (_React$Component) {\r\n _inherits(HeaderUtilityBar, _React$Component);\r\n\r\n function HeaderUtilityBar() {\r\n _classCallCheck(this, HeaderUtilityBar);\r\n\r\n return _possibleConstructorReturn(this, (HeaderUtilityBar.__proto__ || Object.getPrototypeOf(HeaderUtilityBar)).apply(this, arguments));\r\n }\r\n\r\n _createClass(HeaderUtilityBar, [{\r\n key: 'renderChildren',\r\n value: function renderChildren() {\r\n var _this2 = this;\r\n\r\n var children = [];\r\n\r\n if (this.props.SearchItem) {\r\n children.push(this.props.SearchItem);\r\n }\r\n\r\n children.push(React.Children.map(this.props.children, function (child) {\r\n return React.cloneElement(child, {\r\n isUtility: true,\r\n responsiveType: child.props.responsiveType || _this2.props.responsiveType\r\n });\r\n }));\r\n\r\n return children;\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _props = this.props,\r\n classes = _props.classes,\r\n className = _props.className,\r\n isThemed = _props.isThemed;\r\n\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classNames(classes.root, className, { 'themed': isThemed }) },\r\n this.renderChildren()\r\n );\r\n }\r\n }]);\r\n\r\n return HeaderUtilityBar;\r\n}(React.Component);\r\n\r\nHeaderUtilityBar.propTypes = {\r\n\r\n /**\r\n * At what breakpoint to hide all utility items on the header bar.\r\n *\r\n * Valid values are:\r\n *\r\n * - `none` - Never hide anything\r\n * - `small` - Hide items at the small breakpoint (and above)\r\n * - `medium` - Hide items at the medium breakpoint (and above)\r\n * - `large` - Hide items at the large breakpoint (and above)\r\n */\r\n responsiveType: PropTypes.string,\r\n\r\n /**\r\n * The items in the utility bar. Only accepts `HeaderBarItem`s.\r\n */\r\n children: function children(props, propName, componentName) {\r\n var error = void 0;\r\n var prop = props[propName];\r\n\r\n React.Children.forEach(prop, function (child) {\r\n if (child.type.displayName.indexOf('HeaderBarItem') === -1) {\r\n error = new Error(componentName + ' only accepts children of type HeaderBarItem');\r\n }\r\n });\r\n\r\n return error;\r\n },\r\n\r\n /** @ignore */\r\n isThemed: PropTypes.bool,\r\n\r\n /** @ignore */\r\n SearchItem: PropTypes.node,\r\n\r\n /** @ignore */\r\n classes: PropTypes.object.isRequired,\r\n\r\n /** @ignore */\r\n className: PropTypes.string\r\n\r\n};\r\n\r\nHeaderUtilityBar.defaultProps = {\r\n isThemed: false\r\n};\r\n\r\nexport default withStyles(styles)(HeaderUtilityBar);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiIconButton } from '@material-ui/core/IconButton';\r\nimport { borderRadiusSmall, sizingXLarge, opacity2, opacity4, boxShadowFocus, borderWidthThin } from '../styles/tokens';\r\nimport classNames from 'classnames';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n borderRadius: borderRadiusSmall,\r\n width: sizingXLarge,\r\n height: sizingXLarge,\r\n padding: 0\r\n },\r\n colorPrimary: {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white,\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white\r\n },\r\n '&:focus': {\r\n boxShadow: boxShadowFocus\r\n },\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n colorSecondary: {\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[300],\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[500],\r\n '&:hover': {\r\n border: 'none',\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white\r\n },\r\n '&:active': {\r\n border: 'none',\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white\r\n },\r\n '&:focus': {\r\n boxShadow: boxShadowFocus\r\n },\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n gray: {\r\n backgroundColor: 'transparent',\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[500],\r\n '&:hover': {\r\n backgroundColor: 'transparent',\r\n color: theme.palette.ctaColor.hover,\r\n fill: theme.palette.ctaColor.hover\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active,\r\n fill: theme.palette.ctaColor.active\r\n },\r\n '&:focus': {\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n white: {\r\n background: 'transparent',\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white,\r\n '&:hover': {\r\n background: 'rgb(21, 22, 24, ' + opacity2 + ')',\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white\r\n },\r\n '&:active': {\r\n background: 'rgb(21, 22, 24, ' + opacity4 + ')',\r\n color: theme.palette.text.white,\r\n fill: theme.palette.text.white\r\n },\r\n '&:focus': {\r\n boxShadow: boxShadowFocus\r\n },\r\n '&$disabled': {\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n disabled: {\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[300],\r\n fill: theme.palette.grey[400]\r\n },\r\n disabledIconOnly: {\r\n backgroundColor: 'transparent',\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400]\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `IconButton` to indicate a user action that can be conveyed with an icon.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.7\r\n * @examples\r\n * BasicExample\r\n * OnClickHandler\r\n */\r\nvar IconButton = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n color = props.color,\r\n children = props.children,\r\n rest = _objectWithoutProperties(props, ['classes', 'color', 'children']);\r\n\r\n var classOverrides = {\r\n colorPrimary: classes.colorPrimary,\r\n colorSecondary: classes.colorSecondary,\r\n disabled: classes.disabled\r\n };\r\n var propOverrides = {\r\n disableRipple: true\r\n };\r\n\r\n if (color === 'primary' || color === 'secondary') {\r\n propOverrides.color = color;\r\n classOverrides.root = classes.root;\r\n }\r\n if (color === 'gray' || color === 'white') {\r\n var _classNames;\r\n\r\n classOverrides.root = classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.white, color === 'white'), _defineProperty(_classNames, classes.gray, color === 'gray'), _classNames));\r\n classOverrides.disabled = classes.disabledIconOnly;\r\n }\r\n\r\n return React.createElement(\r\n MuiIconButton,\r\n Object.assign({\r\n classes: classOverrides\r\n }, rest, propOverrides, {\r\n ref: ref\r\n }),\r\n children\r\n );\r\n});\r\n\r\n// necessary to add an explicit display name, since docgen can't seem to\r\n// extract one from a forwardRef'd component\r\nIconButton.displayName = 'IconButton';\r\n\r\nIconButton.propTypes = {\r\n /**\r\n * Class name to assign the component.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The icon element. This is generally an [<Icon>](#/design-guidelines/iconography) component.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * The color of the component. 'primary' and 'secondary' will give an IconButton with a background. 'gray' and 'white' will give an IconButton with no background.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary', 'gray', 'white']),\r\n /**\r\n * If `true`, the icon button will be disabled.\r\n */\r\n disabled: PropTypes.bool\r\n};\r\n\r\nIconButton.defaultProps = {\r\n color: 'primary'\r\n};\r\n\r\nexport default withStyles(styles, { name: 'IconButton', index: 0 })(IconButton);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport uuid from 'uuid/v4';\r\n\r\nimport { colorFillLogoPreferred, colorFillLogoAlternativePowerButton, colorFillLogoAlternativeText, spacing40, sizingXxLarge1, heightFluid, widthFluid } from '../styles/tokens';\r\n\r\n// TODO: Account for custom logos\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n height: sizingXxLarge1,\r\n minWidth: '7.5rem',\r\n padding: spacing40\r\n },\r\n logoContainer: {\r\n height: heightFluid,\r\n width: widthFluid,\r\n display: 'inline-block',\r\n maxHeight: 'none',\r\n fill: colorFillLogoPreferred // by default assign to preferred fill color\r\n },\r\n logoAlternativeLogo: {\r\n fill: colorFillLogoAlternativePowerButton\r\n },\r\n logoAlternativeText: {\r\n fill: colorFillLogoAlternativeText\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Logo` to display the logo within the top header bar.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * SimpleExample\r\n * ClickExample\r\n * NavLinkExample\r\n * RedirectExample\r\n */\r\nvar Logo = React.forwardRef(function (props, ref) {\r\n var logo = props.logo,\r\n id = props.id,\r\n classes = props.classes,\r\n classNameProp = props.className,\r\n component = props.component,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['logo', 'id', 'classes', 'className', 'component', 'edsContext']);\r\n\r\n var logoPowerButtonClasses = classNames(_defineProperty({}, classes.logoAlternativeLogo, logo === 'alternative'));\r\n\r\n var logoTextClasses = classNames(_defineProperty({}, classes.logoAlternativeText, logo === 'alternative'));\r\n\r\n var ComponentProp = component;\r\n // Only id the logo if original id present.\r\n var svgId = id ? id + '_LogoSvg' : '' + uuid();\r\n\r\n return React.createElement(\r\n ComponentProp,\r\n Object.assign({\r\n id: id,\r\n className: classNames(classes.root, classNameProp)\r\n }, rest, {\r\n ref: ref\r\n }),\r\n React.createElement(\r\n 'svg',\r\n {\r\n className: classNames(classes.logoContainer),\r\n role: 'img',\r\n 'aria-labelledby': 'logo_description_' + svgId,\r\n id: svgId,\r\n xmlns: 'http://www.w3.org/2000/svg',\r\n viewBox: '0 0 431.49 88.05'\r\n },\r\n React.createElement(\r\n 'desc',\r\n { id: 'logo_description_' + svgId },\r\n edsContext.formatMessage('component.Logo.logo')\r\n ),\r\n React.createElement('path', {\r\n className: logoPowerButtonClasses,\r\n d: 'M135.2,124a44,44,0,1,0,24.33,57.3A44,44,0,0,0,135.2,124Zm14.1,53.17a33,33,0,1,1-23.69-44.59,31,31,0,0,1,10.54,4.26l-4.3,10.64-10.11,25-10.53-4.25,10.1-25A21.78,21.78,0,1,0,139,156.94l5.26-13A33,33,0,0,1,149.3,177.14Z',\r\n transform: 'translate(-74.69 -120.75)'\r\n }),\r\n React.createElement('path', {\r\n className: logoTextClasses,\r\n d: 'M506.18,191.09a4.38,4.38,0,1,1-4.37-4.26A4.29,4.29,0,0,1,506.18,191.09Zm-7.67,0a3.31,3.31,0,0,0,3.33,3.41,3.41,3.41,0,0,0,0-6.81A3.31,3.31,0,0,0,498.51,191.09Zm2.63,2.24h-1v-4.27a9.4,9.4,0,0,1,1.64-.13,2.58,2.58,0,0,1,1.48.32,1.19,1.19,0,0,1,.42.93,1.1,1.1,0,0,1-.89,1v.05a1.26,1.26,0,0,1,.78,1,3.47,3.47,0,0,0,.31,1.07h-1.06a3.73,3.73,0,0,1-.34-1c-.08-.47-.34-.68-.88-.68h-.47Zm0-2.42h.47c.55,0,1-.18,1-.62s-.29-.65-.91-.65a2.26,2.26,0,0,0-.55.05Z',\r\n transform: 'translate(-74.69 -120.75)'\r\n }),\r\n React.createElement('path', {\r\n className: logoTextClasses,\r\n d: 'M235,172.54H200.62a17.9,17.9,0,0,0,4.7,12.2,12.17,12.17,0,0,0,8.94,3.46c3.84,0,7-1.06,9-3.17a10.29,10.29,0,0,0,2.88-5.28h8a17.85,17.85,0,0,1-7.49,12,22.36,22.36,0,0,1-12.39,3.66,20.76,20.76,0,0,1-16.14-7.3c-4-4.71-6.05-11.14-6.05-18.06,0-5.86,1.05-11.05,3.75-15.57a20.81,20.81,0,0,1,18.34-10.18,19.61,19.61,0,0,1,14.8,6.25,25.1,25.1,0,0,1,6.15,17.09Zm-11.24-16.9a11.55,11.55,0,0,0-9.61-4.42c-8.84,0-13.16,7.2-13.35,14.31h25.94A17,17,0,0,0,223.77,155.64Zm93.59,38.52-.67-7.4c-2.5,5.57-8.74,8.55-14.41,8.55-11,0-16.62-6.63-16.62-17.87V145.55h8.17v30.74c0,7.3,2.69,11.63,10.37,11.63a11,11,0,0,0,8.07-3.65c3.07-3.17,4-8.46,4-13.45V145.55h8.16v48.61Zm51.73-4c-3.46,3.36-8.07,5.29-14,5.29-8.74,0-14.31-4-17.77-9.13-2.6-3.84-4-9.12-4-16.42s1.43-12.59,4-16.43c3.46-5.09,8.93-9.13,17.67-9.13a19.33,19.33,0,0,1,13.84,5.19A18.7,18.7,0,0,1,374.57,162h-8.26a12.18,12.18,0,0,0-3.46-7.59,11.37,11.37,0,0,0-7.88-3,12.25,12.25,0,0,0-8.45,3.17c-3.84,3.27-4.9,9.32-4.9,15.28s1.06,12,4.9,15.27a12.29,12.29,0,0,0,8.45,3.16,11.34,11.34,0,0,0,8.26-3.26,11.9,11.9,0,0,0,3.27-7.2h8.26A18.23,18.23,0,0,1,369.09,190.12Zm14.16-51.57V130.1h8.88v8.45Zm.26,55.61V145.55h8.36v48.61Zm56.25.67c-4.32,0-7-3.27-7-7.4h-.19c-2.78,4.9-8.83,8-15.66,8-11.14,0-16.71-7.49-16.71-15,0-6.25,4-14.41,17.29-15.17l14.8-.87v-3.56c0-2.4-.29-5.37-2.5-7.39-1.64-1.54-4-2.5-8-2.5-4.41,0-7.2,1.25-8.84,2.88a8,8,0,0,0-2.4,5.86h-8a14.39,14.39,0,0,1,4.23-10.18c3.27-3.46,9-5.19,15-5.19,9.42,0,14.8,4,17.1,9.32a18.63,18.63,0,0,1,1.44,7.49v23.54c0,2.59,1.06,3.27,2.69,3.27a11.79,11.79,0,0,0,2.12-.29v6.05A11.36,11.36,0,0,1,439.76,194.83Zm-7.49-24.11-13.07.77c-4.9.29-10.66,2.59-10.66,8.74,0,4.32,2.69,8.35,9.6,8.35a13.67,13.67,0,0,0,10-3.93,15.72,15.72,0,0,0,4.14-11.05Zm51.63,23.44V163.32c0-7.3-3-11.62-10.66-11.62-4.71,0-8.46,3.07-10.57,7.49-1.63,3.56-1.73,8.64-1.73,12.39v22.58h-8.16V145.55h7.1l.68,7.3c2.5-5.57,9.22-8.55,14.7-8.55,11,0,16.8,6.63,16.8,17.87v32Zm-231.45,0V124.8h-8.16v69.36Zm22.27,0V124.8h-8.17v69.36Z',\r\n transform: 'translate(-74.69 -120.75)'\r\n })\r\n )\r\n );\r\n});\r\n\r\nLogo.propTypes = {\r\n /** Class name prop for logo container. */\r\n className: PropTypes.string,\r\n /** Prop used to add additional styling to the component. */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /** HTML ID attribute for uniqueness. */\r\n id: PropTypes.string,\r\n /** Set the color style of the logo. */\r\n logo: PropTypes.oneOf(['preferred', 'alternative']),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nLogo.displayName = 'Logo';\r\n\r\nLogo.defaultProps = {\r\n logo: 'preferred',\r\n component: 'div'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Logo));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport Typography from '../Typography';\r\nimport { spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n h1: {\r\n marginTop: spacing60,\r\n marginBottom: spacing50\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `PageHeader` to display a page title at the top of a page.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * PageHeaderExample\r\n */\r\nvar PageHeader = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n text = props.text,\r\n rest = _objectWithoutProperties(props, ['classes', 'text']);\r\n\r\n var classOverrides = Object.assign({\r\n h1: classes.h1\r\n }, classes);\r\n\r\n return React.createElement(\r\n Typography,\r\n Object.assign({}, rest, { classes: classOverrides, variant: 'h1', ref: ref }),\r\n text\r\n );\r\n});\r\n\r\nPageHeader.muiName = 'PageHeader';\r\nPageHeader.displayName = 'PageHeader';\r\n\r\nPageHeader.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The content to be displayed as the page header.\r\n */\r\n text: PropTypes.oneOfType([PropTypes.string, PropTypes.node])\r\n};\r\n\r\nexport default withStyles(styles)(PageHeader);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiPaper } from '@material-ui/core/Paper';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A component that is the basis for many of other components.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.11\r\n */\r\nvar Paper = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiPaper, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nPaper.muiName = 'Paper';\r\nPaper.displayName = 'Paper';\r\n\r\nPaper.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Shadow depth, corresponds to `dp` in the spec.\r\n * It's accepting values between 0 and 24 inclusive.\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * If `true`, rounded corners are disabled.\r\n */\r\n square: PropTypes.bool\r\n};\r\n\r\nPaper.defaultProps = {\r\n component: 'div',\r\n elevation: 2,\r\n square: false\r\n};\r\n\r\nexport default withStyles(styles)(Paper);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiSnackbar } from '@material-ui/core/Snackbar';\r\nimport useWidth from './../useWidth';\r\nimport { Button } from '../';\r\nimport CheckFeedbackIcon from '@ellucian/ds-icons/lib/CheckFeedback';\r\nimport WarningIcon from '@ellucian/ds-icons/lib/Warning';\r\nimport ErrorIcon from '@ellucian/ds-icons/lib/Error';\r\nimport InfoIcon from '@ellucian/ds-icons/lib/Info';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport { sizingXxLarge1, zIndexSnackbar, spacing30, spacing40, spacing60, borderRadiusMedium, colorTextNeutral100, colorBrandNeutral500, fontSizeLarge, sizingMedium, widthFluid } from '../styles/tokens';\r\n\r\nvar commonStyles = {\r\n top: sizingXxLarge1,\r\n margin: spacing60\r\n};\r\n\r\nvar commonMobileStyles = {\r\n margin: spacing40\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n zIndex: zIndexSnackbar\r\n },\r\n anchorOriginTopRight: Object.assign({}, commonStyles, _defineProperty({\r\n right: 0\r\n }, theme.breakpoints.between('xs', 'sm'), Object.assign({}, commonMobileStyles))),\r\n anchorOriginTopCenter: Object.assign({}, commonStyles, _defineProperty({}, theme.breakpoints.between('xs', 'sm'), Object.assign({}, commonMobileStyles))),\r\n anchorOriginTopLeft: Object.assign({}, commonStyles, _defineProperty({}, theme.breakpoints.between('xs', 'sm'), Object.assign({}, commonMobileStyles))),\r\n anchorOriginBottomCenter: _defineProperty({\r\n margin: spacing60\r\n }, theme.breakpoints.between('xs', 'sm'), Object.assign({}, commonMobileStyles)),\r\n anchorOriginBottomLeft: _defineProperty({}, theme.breakpoints.between('xs', 'sm'), Object.assign({}, commonMobileStyles)),\r\n anchorOriginBottomRight: _defineProperty({}, theme.breakpoints.between('xs', 'sm'), Object.assign({}, commonMobileStyles)),\r\n contentPropsStyles: _defineProperty({\r\n minWidth: '21.5rem',\r\n backgroundColor: colorBrandNeutral500,\r\n color: colorTextNeutral100,\r\n fontSize: fontSizeLarge\r\n }, theme.breakpoints.between('xs', 'sm'), {\r\n borderRadius: borderRadiusMedium\r\n }),\r\n contentMessage: {\r\n marginRight: spacing60,\r\n flex: 1\r\n },\r\n message: {\r\n width: widthFluid\r\n },\r\n snackbarContent: {\r\n display: 'flex',\r\n alignItems: 'center'\r\n },\r\n undoAction: {\r\n '& a, a:hover': {\r\n color: colorTextNeutral100,\r\n textDecoration: 'underline'\r\n }\r\n },\r\n customAction: {\r\n marginRight: spacing30\r\n },\r\n icon: {\r\n marginRight: spacing30,\r\n height: sizingMedium,\r\n width: sizingMedium,\r\n fill: colorTextNeutral100\r\n }\r\n };\r\n};\r\n\r\nvar snackbarVariant = {\r\n success: CheckFeedbackIcon,\r\n warning: WarningIcon,\r\n error: ErrorIcon,\r\n info: InfoIcon\r\n};\r\n\r\nvar CustomMessage = React.forwardRef(function (props, ref) {\r\n var variant = props.variant,\r\n message = props.message,\r\n onUndoClick = props.onUndoClick,\r\n action = props.action,\r\n classes = props.classes,\r\n edsContext = props.edsContext;\r\n\r\n var SnackbarIcon = function SnackbarIcon() {\r\n return null;\r\n };\r\n var undoAction = null;\r\n\r\n if (variant) {\r\n SnackbarIcon = snackbarVariant[variant];\r\n }\r\n\r\n if (onUndoClick) {\r\n undoAction = React.createElement(\r\n Button,\r\n {\r\n variant: 'text',\r\n withDarkBackground: true,\r\n onClick: onUndoClick\r\n },\r\n edsContext.formatMessage('component.Snackbar.undo')\r\n );\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.snackbarContent },\r\n React.createElement(SnackbarIcon, { className: classes.icon, ref: ref }),\r\n React.createElement(\r\n 'span',\r\n { className: classes.contentMessage },\r\n message\r\n ),\r\n action && React.createElement(\r\n 'span',\r\n { className: classes.customAction },\r\n action\r\n ),\r\n undoAction && React.createElement(\r\n 'span',\r\n { className: classes.undoAction },\r\n undoAction\r\n )\r\n );\r\n});\r\n\r\nCustomMessage.propTypes = {\r\n /**\r\n * The action to display.\r\n */\r\n action: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * The message to display.\r\n */\r\n message: PropTypes.node,\r\n /**\r\n * Variants of the Snackbar. Choose from these ['success', 'error', 'warning', 'info'].\r\n */\r\n variant: PropTypes.oneOf(['success', 'error', 'warning', 'info']),\r\n /**\r\n * Callback fired when the undo action is clicked.\r\n * If this callback is present Snackbar will add Undo button automatically\r\n */\r\n onUndoClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nvar DEFAULT_DURATION = 5000;\r\nvar ACTIONABLE_DEFAULT_DURATION = 7000;\r\n\r\n/**\r\n * Use `Snackbar` to deliver low-urgency communication to the user.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * SnackbarExamples\r\n */\r\nvar Snackbar = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n ContentProps = props.ContentProps,\r\n action = props.action,\r\n onUndoClick = props.onUndoClick,\r\n anchorOrigin = props.anchorOrigin,\r\n bottom = props.bottom,\r\n edsContext = props.edsContext,\r\n autoHideDuration = props.autoHideDuration,\r\n rest = _objectWithoutProperties(props, ['classes', 'ContentProps', 'action', 'onUndoClick', 'anchorOrigin', 'bottom', 'edsContext', 'autoHideDuration']);\r\n\r\n var width = useWidth();\r\n var shouldAddMobileCustomStyles = function shouldAddMobileCustomStyles() {\r\n return (width === 'xs' || width === 'sm') && !anchorOrigin;\r\n };\r\n var getNewAutoHideDuration = function getNewAutoHideDuration() {\r\n var defatulDuration = onUndoClick || action ? ACTIONABLE_DEFAULT_DURATION : DEFAULT_DURATION;\r\n\r\n return autoHideDuration || defatulDuration;\r\n };\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n anchorOriginTopRight: classes.anchorOriginTopRight,\r\n anchorOriginTopCenter: classes.anchorOriginTopCenter,\r\n anchorOriginTopLeft: classes.anchorOriginTopLeft,\r\n anchorOriginBottomCenter: classes.anchorOriginBottomCenter,\r\n anchorOriginBottomRight: classes.anchorOriginBottomRight,\r\n anchorOriginBottomLeft: classes.anchorOriginBottomLeft\r\n };\r\n\r\n // This line will help screen read to read popper content.\r\n if (!ContentProps['aria-live']) {\r\n ContentProps['aria-live'] = 'assertive';\r\n }\r\n var contentProps = Object.assign({\r\n classes: {\r\n root: classes.contentPropsStyles,\r\n message: classes.message\r\n },\r\n style: shouldAddMobileCustomStyles() && bottom ? { marginBottom: bottom } : {}\r\n }, ContentProps);\r\n\r\n var propOverrides = {\r\n autoHideDuration: getNewAutoHideDuration(),\r\n // Custom actions need to be inserted in particular order which is done in ``.\r\n action: null,\r\n anchorOrigin: anchorOrigin || { vertical: 'top', horizontal: 'right' }\r\n };\r\n\r\n if (shouldAddMobileCustomStyles()) {\r\n propOverrides.anchorOrigin = { vertical: 'bottom', horizontal: 'center' };\r\n }\r\n\r\n return React.createElement(MuiSnackbar, Object.assign({}, rest, propOverrides, {\r\n classes: classOverrides,\r\n message: React.createElement(CustomMessage, Object.assign({ formatMessage: edsContext.formatMessage }, props, { ref: ref })),\r\n ContentProps: contentProps,\r\n ClickAwayListenerProps: {\r\n onClickAway: function onClickAway() {} // Prevent hiding on clickway\r\n },\r\n ref: ref\r\n }));\r\n});\r\n\r\nSnackbar.muiName = 'Snackbar';\r\nSnackbar.displayName = 'Snackbar';\r\n\r\nSnackbar.propTypes = {\r\n /**\r\n * The number of milliseconds to wait before `Snackbar` automatically closes.\r\n * Defaults to 5secs for nonactionable `Snackbar`s and 7secs for actionable `Snackbar`s.\r\n * This can be overridden by the users.\r\n */\r\n autoHideDuration: PropTypes.number,\r\n /**\r\n * The custom action for Snackbar to display.\r\n * Undo action is built in to Snackbar but if you need more actions to perform, you can use `action` prop.\r\n */\r\n action: PropTypes.node,\r\n /**\r\n * The anchor of the `Snackbar`. Defaults to displaying top right on md and above viewports and bottom center\r\n * on sm and below view ports.\r\n */\r\n anchorOrigin: PropTypes.shape({\r\n horizontal: PropTypes.oneOf(['left', 'center', 'right']).isRequired,\r\n vertical: PropTypes.oneOf(['top', 'bottom']).isRequired\r\n }),\r\n /**\r\n * If you wish the take control over the children of the component you can use this property.\r\n * When used, you replace the `SnackbarContent` component with the children.\r\n */\r\n children: PropTypes.element,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Properties applied to the `SnackbarContent` element.\r\n */\r\n ContentProps: PropTypes.object,\r\n /**\r\n * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.\r\n */\r\n disableWindowBlurListener: PropTypes.bool,\r\n /**\r\n * When displaying multiple consecutive Snackbars from a parent rendering a single\r\n * , add the key property to ensure independent treatment of each message.\r\n * e.g. , otherwise, the message may update-in-place and\r\n * features such as autoHideDuration may be canceled.\r\n */\r\n key: PropTypes.any,\r\n /**\r\n * The message to display.\r\n */\r\n message: PropTypes.node,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n * Typically `onClose` is used to set state in the parent component,\r\n * which is used to control the `Snackbar` `open` prop.\r\n * The `reason` parameter can optionally be used to control the response to `onClose`,\r\n * for example ignoring `clickaway`.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {string} reason Can be:`\"timeout\"` (`autoHideDuration` expired) or: `\"clickaway\"`\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired before the transition is entering.\r\n */\r\n onEnter: PropTypes.func,\r\n /**\r\n * Callback fired when the transition has entered.\r\n */\r\n onEntered: PropTypes.func,\r\n /**\r\n * Callback fired when the transition is entering.\r\n */\r\n onEntering: PropTypes.func,\r\n /**\r\n * Callback fired before the transition is exiting.\r\n */\r\n onExit: PropTypes.func,\r\n /**\r\n * Callback fired when the transition has exited.\r\n */\r\n onExited: PropTypes.func,\r\n /**\r\n * Callback fired when the transition is exiting.\r\n */\r\n onExiting: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onMouseEnter: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onMouseLeave: PropTypes.func,\r\n /**\r\n * If true, `Snackbar` is open.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * The number of milliseconds to wait before dismissing after user interaction.\r\n * If `autoHideDuration` property isn't specified, it does nothing.\r\n * If `autoHideDuration` property is specified but `resumeHideDuration` isn't,\r\n * we default to `autoHideDuration / 2` ms.\r\n */\r\n resumeHideDuration: PropTypes.number,\r\n /**\r\n * Transition component.\r\n */\r\n TransitionComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The duration for the transition, in milliseconds.\r\n * You may specify a single timeout for all transitions, or individually with an object.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number })]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object,\r\n /**\r\n * Variants of the Snackbar. Choose from these ['success', 'error', 'warning', 'info'].\r\n */\r\n variant: PropTypes.oneOf(['success', 'error', 'warning', 'info']),\r\n /**\r\n * Callback fired when the undo action is clicked.\r\n * If this callback is present Snackbar will add Undo button automatically\r\n */\r\n onUndoClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n * Width based on the viewport size like xs, sm, md etc\r\n */\r\n width: PropTypes.string,\r\n /**\r\n * Set the bottom in case of CTA bottom actions on mobile or floating button desktop.\r\n * Use the CSS units like `rem` or `px`\r\n */\r\n bottom: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nSnackbar.defaultProps = {\r\n ContentProps: {}\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Snackbar));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport { fontFamilyDefault, fontSizeDefault, lineHeightDefault, borderRadiusSmall, borderWidthThick, colorBorderGlobalFocus, spacing10 } from '../styles/tokens';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n link: {\r\n color: theme.palette.action.base, // cta blue 600\r\n textDecoration: 'underline',\r\n padding: '0 ' + spacing10,\r\n '&:hover': {\r\n color: theme.palette.action.hover, // cta blue 700\r\n textDecoration: 'underline',\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: theme.palette.action.active, // cta blue 800s\r\n textDecoration: 'underline'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n textDecoration: 'underline',\r\n borderRadius: borderRadiusSmall,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n }\r\n },\r\n disabled: {\r\n fontFamily: 'inherit',\r\n fontSize: 'inherit',\r\n fontWeight: 'inherit',\r\n textDecoration: 'underline',\r\n color: theme.palette.action.disabled\r\n },\r\n standalone: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeDefault,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: 'unset'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `TextLink` to take the user to a new page.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * TextLinkExample\r\n * CustomComponent\r\n * TextLinkTarget\r\n */\r\nvar TextLink = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n className = props.className,\r\n Component = props.component,\r\n disabled = props.disabled,\r\n href = props.href,\r\n variant = props.variant,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'component', 'disabled', 'href', 'variant']);\r\n\r\n var additionalProps = disabled ? { 'aria-disabled': 'true' } : { href: href, ref: ref };\r\n\r\n var classOverrides = {\r\n stateStyle: classNames((_classNames = {}, _defineProperty(_classNames, classes.disabled, disabled), _defineProperty(_classNames, classes.link, !disabled), _defineProperty(_classNames, classes.standalone, variant === 'standalone'), _classNames), className)\r\n };\r\n\r\n useEffect(function () {\r\n if (props.component === 'a' && isEmpty(href)) {\r\n console.warn('href prop is required for TextLink component.');\r\n }\r\n }, [props.component, href]);\r\n\r\n return React.createElement(Component, Object.assign({\r\n className: classOverrides.stateStyle\r\n }, rest, additionalProps));\r\n});\r\n\r\nTextLink.muiName = 'TextLink';\r\nTextLink.displayName = 'TextLink';\r\n\r\nTextLink.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Custom className for additional styling\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node. We recommend using a component or element\r\n * that supports the `href` prop.\r\n */\r\n component: PropTypes.elementType,\r\n /**\r\n * Set to `true` to disable the link\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * The content of the `TextLink`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * The redirect URL. This prop is required if replacement `component` prop is not specified.\r\n */\r\n href: PropTypes.string,\r\n /**\r\n * **DEPRECATED**\r\n *\r\n * Style variant of the TextLink to be displayed. **Only applicable for text nodes**.\r\n * * `inherit` will inherit font weight, font size, and font family from surrounding text.\r\n * * `standalone` is to be used for a `TextLink` that is not surrounded by other text.\r\n */\r\n variant: PropTypes.oneOf(['standalone', 'inherit']),\r\n /**\r\n * Where to display the linked URL, as the name for a browsing context (a tab, window, or ``).\r\n */\r\n target: PropTypes.string\r\n};\r\n\r\nTextLink.defaultProps = {\r\n component: 'a',\r\n disabled: false,\r\n variant: 'standalone'\r\n};\r\n\r\nexport default withStyles(styles)(TextLink);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { deepmerge, elementAcceptingRef } from '@material-ui/utils';\nimport { fade } from '../styles/colorManipulator';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport Grow from '../Grow';\nimport Popper from '../Popper';\nimport useForkRef from '../utils/useForkRef';\nimport useId from '../utils/unstable_useId';\nimport setRef from '../utils/setRef';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport useControlled from '../utils/useControlled';\nimport useTheme from '../styles/useTheme';\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nfunction arrowGenerator() {\n return {\n '&[x-placement*=\"bottom\"] $arrow': {\n top: 0,\n left: 0,\n marginTop: '-0.95em',\n marginLeft: 4,\n marginRight: 4,\n width: '2em',\n height: '1em',\n '&::before': {\n borderWidth: '0 1em 1em 1em',\n borderColor: 'transparent transparent currentcolor transparent'\n }\n },\n '&[x-placement*=\"top\"] $arrow': {\n bottom: 0,\n left: 0,\n marginBottom: '-0.95em',\n marginLeft: 4,\n marginRight: 4,\n width: '2em',\n height: '1em',\n '&::before': {\n borderWidth: '1em 1em 0 1em',\n borderColor: 'currentcolor transparent transparent transparent'\n }\n },\n '&[x-placement*=\"right\"] $arrow': {\n left: 0,\n marginLeft: '-0.95em',\n marginTop: 4,\n marginBottom: 4,\n height: '2em',\n width: '1em',\n '&::before': {\n borderWidth: '1em 1em 1em 0',\n borderColor: 'transparent currentcolor transparent transparent'\n }\n },\n '&[x-placement*=\"left\"] $arrow': {\n right: 0,\n marginRight: '-0.95em',\n marginTop: 4,\n marginBottom: 4,\n height: '2em',\n width: '1em',\n '&::before': {\n borderWidth: '1em 0 1em 1em',\n borderColor: 'transparent transparent transparent currentcolor'\n }\n }\n };\n}\n\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the Popper component. */\n popper: {\n zIndex: theme.zIndex.tooltip,\n pointerEvents: 'none' // disable jss-rtl plugin\n\n },\n\n /* Styles applied to the Popper component if `interactive={true}`. */\n popperInteractive: {\n pointerEvents: 'auto'\n },\n\n /* Styles applied to the Popper component if `arrow={true}`. */\n popperArrow: arrowGenerator(),\n\n /* Styles applied to the tooltip (label wrapper) element. */\n tooltip: {\n backgroundColor: fade(theme.palette.grey[700], 0.9),\n borderRadius: theme.shape.borderRadius,\n color: theme.palette.common.white,\n fontFamily: theme.typography.fontFamily,\n padding: '4px 8px',\n fontSize: theme.typography.pxToRem(10),\n lineHeight: \"\".concat(round(14 / 10), \"em\"),\n maxWidth: 300,\n wordWrap: 'break-word',\n fontWeight: theme.typography.fontWeightMedium\n },\n\n /* Styles applied to the tooltip (label wrapper) element if `arrow={true}`. */\n tooltipArrow: {\n position: 'relative',\n margin: '0'\n },\n\n /* Styles applied to the arrow element. */\n arrow: {\n position: 'absolute',\n fontSize: 6,\n color: fade(theme.palette.grey[700], 0.9),\n '&::before': {\n content: '\"\"',\n margin: 'auto',\n display: 'block',\n width: 0,\n height: 0,\n borderStyle: 'solid'\n }\n },\n\n /* Styles applied to the tooltip (label wrapper) element if the tooltip is opened by touch. */\n touch: {\n padding: '8px 16px',\n fontSize: theme.typography.pxToRem(14),\n lineHeight: \"\".concat(round(16 / 14), \"em\"),\n fontWeight: theme.typography.fontWeightRegular\n },\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"left\". */\n tooltipPlacementLeft: _defineProperty({\n transformOrigin: 'right center',\n margin: '0 24px '\n }, theme.breakpoints.up('sm'), {\n margin: '0 14px'\n }),\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"right\". */\n tooltipPlacementRight: _defineProperty({\n transformOrigin: 'left center',\n margin: '0 24px'\n }, theme.breakpoints.up('sm'), {\n margin: '0 14px'\n }),\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"top\". */\n tooltipPlacementTop: _defineProperty({\n transformOrigin: 'center bottom',\n margin: '24px 0'\n }, theme.breakpoints.up('sm'), {\n margin: '14px 0'\n }),\n\n /* Styles applied to the tooltip (label wrapper) element if `placement` contains \"bottom\". */\n tooltipPlacementBottom: _defineProperty({\n transformOrigin: 'center top',\n margin: '24px 0'\n }, theme.breakpoints.up('sm'), {\n margin: '14px 0'\n })\n };\n};\nvar hystersisOpen = false;\nvar hystersisTimer = null;\nexport function testReset() {\n hystersisOpen = false;\n clearTimeout(hystersisTimer);\n}\nvar Tooltip = React.forwardRef(function Tooltip(props, ref) {\n var _props$arrow = props.arrow,\n arrow = _props$arrow === void 0 ? false : _props$arrow,\n children = props.children,\n classes = props.classes,\n _props$disableFocusLi = props.disableFocusListener,\n disableFocusListener = _props$disableFocusLi === void 0 ? false : _props$disableFocusLi,\n _props$disableHoverLi = props.disableHoverListener,\n disableHoverListener = _props$disableHoverLi === void 0 ? false : _props$disableHoverLi,\n _props$disableTouchLi = props.disableTouchListener,\n disableTouchListener = _props$disableTouchLi === void 0 ? false : _props$disableTouchLi,\n _props$enterDelay = props.enterDelay,\n enterDelay = _props$enterDelay === void 0 ? 100 : _props$enterDelay,\n _props$enterNextDelay = props.enterNextDelay,\n enterNextDelay = _props$enterNextDelay === void 0 ? 0 : _props$enterNextDelay,\n _props$enterTouchDela = props.enterTouchDelay,\n enterTouchDelay = _props$enterTouchDela === void 0 ? 700 : _props$enterTouchDela,\n idProp = props.id,\n _props$interactive = props.interactive,\n interactive = _props$interactive === void 0 ? false : _props$interactive,\n _props$leaveDelay = props.leaveDelay,\n leaveDelay = _props$leaveDelay === void 0 ? 0 : _props$leaveDelay,\n _props$leaveTouchDela = props.leaveTouchDelay,\n leaveTouchDelay = _props$leaveTouchDela === void 0 ? 1500 : _props$leaveTouchDela,\n onClose = props.onClose,\n onOpen = props.onOpen,\n openProp = props.open,\n _props$placement = props.placement,\n placement = _props$placement === void 0 ? 'bottom' : _props$placement,\n PopperProps = props.PopperProps,\n title = props.title,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"arrow\", \"children\", \"classes\", \"disableFocusListener\", \"disableHoverListener\", \"disableTouchListener\", \"enterDelay\", \"enterNextDelay\", \"enterTouchDelay\", \"id\", \"interactive\", \"leaveDelay\", \"leaveTouchDelay\", \"onClose\", \"onOpen\", \"open\", \"placement\", \"PopperProps\", \"title\", \"TransitionComponent\", \"TransitionProps\"]);\n\n var theme = useTheme();\n\n var _React$useState = React.useState(),\n childNode = _React$useState[0],\n setChildNode = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n arrowRef = _React$useState2[0],\n setArrowRef = _React$useState2[1];\n\n var ignoreNonTouchEvents = React.useRef(false);\n var closeTimer = React.useRef();\n var enterTimer = React.useRef();\n var leaveTimer = React.useRef();\n var touchTimer = React.useRef();\n\n var _useControlled = useControlled({\n controlled: openProp,\n default: false,\n name: 'Tooltip',\n state: 'open'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n openState = _useControlled2[0],\n setOpenState = _useControlled2[1];\n\n var open = openState;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var _React$useRef = React.useRef(openProp !== undefined),\n isControlled = _React$useRef.current; // eslint-disable-next-line react-hooks/rules-of-hooks\n\n\n React.useEffect(function () {\n if (childNode && childNode.disabled && !isControlled && title !== '' && childNode.tagName.toLowerCase() === 'button') {\n console.error(['Material-UI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', \"Tooltip needs to listen to the child element's events to display the title.\", '', 'Add a simple wrapper element, such as a `span`.'].join('\\n'));\n }\n }, [title, childNode, isControlled]);\n }\n\n var id = useId(idProp);\n React.useEffect(function () {\n return function () {\n clearTimeout(closeTimer.current);\n clearTimeout(enterTimer.current);\n clearTimeout(leaveTimer.current);\n clearTimeout(touchTimer.current);\n };\n }, []);\n\n var handleOpen = function handleOpen(event) {\n clearTimeout(hystersisTimer);\n hystersisOpen = true; // The mouseover event will trigger for every nested element in the tooltip.\n // We can skip rerendering when the tooltip is already open.\n // We are using the mouseover event instead of the mouseenter event to fix a hide/show issue.\n\n setOpenState(true);\n\n if (onOpen) {\n onOpen(event);\n }\n };\n\n var handleEnter = function handleEnter() {\n var forward = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (event) {\n var childrenProps = children.props;\n\n if (event.type === 'mouseover' && childrenProps.onMouseOver && forward) {\n childrenProps.onMouseOver(event);\n }\n\n if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {\n return;\n } // Remove the title ahead of time.\n // We don't want to wait for the next render commit.\n // We would risk displaying two tooltips at the same time (native + this one).\n\n\n if (childNode) {\n childNode.removeAttribute('title');\n }\n\n clearTimeout(enterTimer.current);\n clearTimeout(leaveTimer.current);\n\n if (enterDelay || hystersisOpen && enterNextDelay) {\n event.persist();\n enterTimer.current = setTimeout(function () {\n handleOpen(event);\n }, hystersisOpen ? enterNextDelay : enterDelay);\n } else {\n handleOpen(event);\n }\n };\n };\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n var _React$useState3 = React.useState(false),\n childIsFocusVisible = _React$useState3[0],\n setChildIsFocusVisible = _React$useState3[1];\n\n var handleBlur = function handleBlur() {\n if (childIsFocusVisible) {\n setChildIsFocusVisible(false);\n onBlurVisible();\n }\n };\n\n var handleFocus = function handleFocus() {\n var forward = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (event) {\n // Workaround for https://github.com/facebook/react/issues/7769\n // The autoFocus of React might trigger the event before the componentDidMount.\n // We need to account for this eventuality.\n if (!childNode) {\n setChildNode(event.currentTarget);\n }\n\n if (isFocusVisible(event)) {\n setChildIsFocusVisible(true);\n handleEnter()(event);\n }\n\n var childrenProps = children.props;\n\n if (childrenProps.onFocus && forward) {\n childrenProps.onFocus(event);\n }\n };\n };\n\n var handleClose = function handleClose(event) {\n clearTimeout(hystersisTimer);\n hystersisTimer = setTimeout(function () {\n hystersisOpen = false;\n }, 800 + leaveDelay);\n setOpenState(false);\n\n if (onClose) {\n onClose(event);\n }\n\n clearTimeout(closeTimer.current);\n closeTimer.current = setTimeout(function () {\n ignoreNonTouchEvents.current = false;\n }, theme.transitions.duration.shortest);\n };\n\n var handleLeave = function handleLeave() {\n var forward = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n return function (event) {\n var childrenProps = children.props;\n\n if (event.type === 'blur') {\n if (childrenProps.onBlur && forward) {\n childrenProps.onBlur(event);\n }\n\n handleBlur();\n }\n\n if (event.type === 'mouseleave' && childrenProps.onMouseLeave && event.currentTarget === childNode) {\n childrenProps.onMouseLeave(event);\n }\n\n clearTimeout(enterTimer.current);\n clearTimeout(leaveTimer.current);\n event.persist();\n leaveTimer.current = setTimeout(function () {\n handleClose(event);\n }, leaveDelay);\n };\n };\n\n var detectTouchStart = function detectTouchStart(event) {\n ignoreNonTouchEvents.current = true;\n var childrenProps = children.props;\n\n if (childrenProps.onTouchStart) {\n childrenProps.onTouchStart(event);\n }\n };\n\n var handleTouchStart = function handleTouchStart(event) {\n detectTouchStart(event);\n clearTimeout(leaveTimer.current);\n clearTimeout(closeTimer.current);\n clearTimeout(touchTimer.current);\n event.persist();\n touchTimer.current = setTimeout(function () {\n handleEnter()(event);\n }, enterTouchDelay);\n };\n\n var handleTouchEnd = function handleTouchEnd(event) {\n if (children.props.onTouchEnd) {\n children.props.onTouchEnd(event);\n }\n\n clearTimeout(touchTimer.current);\n clearTimeout(leaveTimer.current);\n event.persist();\n leaveTimer.current = setTimeout(function () {\n handleClose(event);\n }, leaveTouchDelay);\n };\n\n var handleUseRef = useForkRef(setChildNode, ref);\n var handleFocusRef = useForkRef(focusVisibleRef, handleUseRef); // can be removed once we drop support for non ref forwarding class components\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n setRef(handleFocusRef, ReactDOM.findDOMNode(instance));\n }, [handleFocusRef]);\n var handleRef = useForkRef(children.ref, handleOwnRef); // There is no point in displaying an empty tooltip.\n\n if (title === '') {\n open = false;\n } // For accessibility and SEO concerns, we render the title to the DOM node when\n // the tooltip is hidden. However, we have made a tradeoff when\n // `disableHoverListener` is set. This title logic is disabled.\n // It's allowing us to keep the implementation size minimal.\n // We are open to change the tradeoff.\n\n\n var shouldShowNativeTitle = !open && !disableHoverListener;\n\n var childrenProps = _extends(_extends(_extends({\n 'aria-describedby': open ? id : null,\n title: shouldShowNativeTitle && typeof title === 'string' ? title : null\n }, other), children.props), {}, {\n className: clsx(other.className, children.props.className),\n onTouchStart: detectTouchStart,\n ref: handleRef\n });\n\n var interactiveWrapperListeners = {};\n\n if (!disableTouchListener) {\n childrenProps.onTouchStart = handleTouchStart;\n childrenProps.onTouchEnd = handleTouchEnd;\n }\n\n if (!disableHoverListener) {\n childrenProps.onMouseOver = handleEnter();\n childrenProps.onMouseLeave = handleLeave();\n\n if (interactive) {\n interactiveWrapperListeners.onMouseOver = handleEnter(false);\n interactiveWrapperListeners.onMouseLeave = handleLeave(false);\n }\n }\n\n if (!disableFocusListener) {\n childrenProps.onFocus = handleFocus();\n childrenProps.onBlur = handleLeave();\n\n if (interactive) {\n interactiveWrapperListeners.onFocus = handleFocus(false);\n interactiveWrapperListeners.onBlur = handleLeave(false);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (children.props.title) {\n console.error(['Material-UI: You have provided a `title` prop to the child of .', \"Remove this title prop `\".concat(children.props.title, \"` or the Tooltip component.\")].join('\\n'));\n }\n }\n\n var mergedPopperProps = React.useMemo(function () {\n return deepmerge({\n popperOptions: {\n modifiers: {\n arrow: {\n enabled: Boolean(arrowRef),\n element: arrowRef\n }\n }\n }\n }, PopperProps);\n }, [arrowRef, PopperProps]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, React.cloneElement(children, childrenProps), /*#__PURE__*/React.createElement(Popper, _extends({\n className: clsx(classes.popper, interactive && classes.popperInteractive, arrow && classes.popperArrow),\n placement: placement,\n anchorEl: childNode,\n open: childNode ? open : false,\n id: childrenProps['aria-describedby'],\n transition: true\n }, interactiveWrapperListeners, mergedPopperProps), function (_ref) {\n var placementInner = _ref.placement,\n TransitionPropsInner = _ref.TransitionProps;\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n timeout: theme.transitions.duration.shorter\n }, TransitionPropsInner, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.tooltip, classes[\"tooltipPlacement\".concat(capitalize(placementInner.split('-')[0]))], ignoreNonTouchEvents.current && classes.touch, arrow && classes.tooltipArrow)\n }, title, arrow ? /*#__PURE__*/React.createElement(\"span\", {\n className: classes.arrow,\n ref: setArrowRef\n }) : null));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Tooltip.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, adds an arrow to the tooltip.\n */\n arrow: PropTypes.bool,\n\n /**\n * Tooltip reference element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Do not respond to focus events.\n */\n disableFocusListener: PropTypes.bool,\n\n /**\n * Do not respond to hover events.\n */\n disableHoverListener: PropTypes.bool,\n\n /**\n * Do not respond to long press touch events.\n */\n disableTouchListener: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before showing the tooltip.\n * This prop won't impact the enter touch delay (`enterTouchDelay`).\n */\n enterDelay: PropTypes.number,\n\n /**\n * The number of milliseconds to wait before showing the tooltip when one was already recently opened.\n */\n enterNextDelay: PropTypes.number,\n\n /**\n * The number of milliseconds a user must touch the element before showing the tooltip.\n */\n enterTouchDelay: PropTypes.number,\n\n /**\n * This prop is used to help implement the accessibility logic.\n * If you don't provide this prop. It falls back to a randomly generated id.\n */\n id: PropTypes.string,\n\n /**\n * Makes a tooltip interactive, i.e. will not close when the user\n * hovers over the tooltip before the `leaveDelay` is expired.\n */\n interactive: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before hiding the tooltip.\n * This prop won't impact the leave touch delay (`leaveTouchDelay`).\n */\n leaveDelay: PropTypes.number,\n\n /**\n * The number of milliseconds after the user stops touching an element before hiding the tooltip.\n */\n leaveTouchDelay: PropTypes.number,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be open.\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * If `true`, the tooltip is shown.\n */\n open: PropTypes.bool,\n\n /**\n * Tooltip placement.\n */\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n\n /**\n * Props applied to the [`Popper`](/api/popper/) element.\n */\n PopperProps: PropTypes.object,\n\n /**\n * Tooltip title. Zero-length titles string are never displayed.\n */\n title: PropTypes\n /* @typescript-to-proptypes-ignore */\n .node.isRequired,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTooltip',\n flip: false\n})(Tooltip);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useCallback, useEffect, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTooltip } from '@material-ui/core/Tooltip';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport { spacing40, spacing20 } from '../styles/tokens';\r\n\r\nimport isNil from 'lodash/isNil';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n tooltip: _defineProperty({\r\n paddingLeft: spacing40,\r\n paddingRight: spacing40,\r\n fontSize: theme.typography.body2.fontSize,\r\n maxWidth: '18.750rem',\r\n lineHeight: theme.typography.caption.lineHeight,\r\n textAlign: 'center',\r\n backgroundColor: theme.palette.grey[500]\r\n }, theme.breakpoints.up('sm'), {\r\n fontSize: theme.typography.caption.fontSize,\r\n padding: spacing20\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * Use `Tooltip` to display a small amount of informative text.\r\n *\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.9\r\n * @examples\r\n * TooltipExample\r\n * TooltipPositionedExample\r\n * TooltipDisabledButton\r\n */\r\nvar Tooltip = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n PopperProps = props.PopperProps,\r\n openProp = props.open,\r\n onOpenProp = props.onOpen,\r\n onCloseProp = props.onClose,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext', 'PopperProps', 'open', 'onOpen', 'onClose']);\r\n\r\n var classOverrides = {\r\n tooltip: classes.tooltip\r\n };\r\n\r\n // maintain open state of tooltip (if tooltip is uncontrolled)\r\n\r\n var _useState = useState(false),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n open = _useState2[0],\r\n setOpen = _useState2[1];\r\n\r\n var popperPropOverrides = Object.assign({ dir: edsContext.dir }, PopperProps);\r\n\r\n // close tooltip when escape is pressed\r\n var escapeDetector = useCallback(function (e) {\r\n if (e.key === 'Escape' || e.key === 'Esc') {\r\n\r\n // controlled\r\n if (onCloseProp) {\r\n onCloseProp(e);\r\n\r\n // uncontrolled\r\n } else {\r\n setOpen(false);\r\n }\r\n }\r\n }, [onCloseProp, setOpen]);\r\n\r\n // register keyboard handler to detect escape key press when tooltip is opened\r\n useEffect(function () {\r\n\r\n if (open || openProp) {\r\n document.addEventListener('keydown', escapeDetector);\r\n }\r\n return function () {\r\n document.removeEventListener('keydown', escapeDetector);\r\n };\r\n }, [open, openProp, escapeDetector]);\r\n\r\n return React.createElement(MuiTooltip, Object.assign({\r\n PopperProps: popperPropOverrides,\r\n classes: classOverrides,\r\n ref: ref,\r\n onOpen: isNil(onOpenProp) ? function () {\r\n return setOpen(true);\r\n } : onOpenProp,\r\n onClose: isNil(onCloseProp) ? function () {\r\n return setOpen(false);\r\n } : onCloseProp,\r\n open: isNil(openProp) ? open : openProp\r\n }, rest));\r\n});\r\n\r\nTooltip.muiName = 'Tooltip';\r\nTooltip.displayName = 'Tooltip';\r\n\r\nTooltip.propTypes = {\r\n /**\r\n * Tooltip reference element.\r\n */\r\n children: PropTypes.element.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Do not respond to focus events.\r\n */\r\n disableFocusListener: PropTypes.bool,\r\n /**\r\n * Do not respond to hover events.\r\n */\r\n disableHoverListener: PropTypes.bool,\r\n /**\r\n * Do not respond to long press touch events.\r\n */\r\n disableTouchListener: PropTypes.bool,\r\n /**\r\n * The number of milliseconds to wait before showing the tooltip.\r\n * This property won't impact the enter touch delay (`enterTouchDelay`).\r\n */\r\n enterDelay: PropTypes.number,\r\n /**\r\n * The number of milliseconds to wait before showing the tooltip after one was already recently opened.\r\n */\r\n enterNextDelay: PropTypes.number,\r\n /**\r\n * The number of milliseconds a user must touch the element before showing the tooltip.\r\n */\r\n enterTouchDelay: PropTypes.number,\r\n /**\r\n * The relationship between the tooltip and the wrapper component is not clear from the DOM.\r\n * By providing this property, we can use aria-describedby to solve the accessibility issue.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * The number of milliseconds to wait before hiding the tooltip.\r\n * This property won't impact the leave touch delay (`leaveTouchDelay`).\r\n */\r\n leaveDelay: PropTypes.number,\r\n /**\r\n * The number of milliseconds after the user stops touching an element before hiding the tooltip.\r\n */\r\n leaveTouchDelay: PropTypes.number,\r\n /**\r\n * Callback fired when the tooltip requests to be closed.\r\n *\r\n * @param {object} event The event source of the callback\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired when the tooltip requests to be open.\r\n *\r\n * @param {object} event The event source of the callback\r\n */\r\n onOpen: PropTypes.func,\r\n /**\r\n * If `true`, the tooltip is shown.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * Tooltip placement.\r\n *\r\n * When using values besides \"top\" or \"bottom\", be sure to evaluate the Tooltip direction when your app is RTL.\r\n */\r\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\r\n /**\r\n * Properties applied to the `Popper` element.\r\n */\r\n PopperProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n theme: PropTypes.object,\r\n /**\r\n * Tooltip title. Zero-length titles string are never displayed.\r\n */\r\n title: PropTypes.node.isRequired\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTooltip.defaultProps = {\r\n enterDelay: 100,\r\n enterTouchDelay: 700,\r\n leaveDelay: 0,\r\n leaveTouchDelay: 1500,\r\n disableFocusListener: false,\r\n disableHoverListener: false,\r\n disableTouchListener: false,\r\n placement: 'bottom'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Tooltip));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '../styles';\r\nimport { default as MuiTypography } from '@material-ui/core/Typography';\r\n\r\nimport cn from 'classnames';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n colorError: {\r\n color: theme.palette.status.error.text\r\n },\r\n colorTextPrimary: {},\r\n colorTextSecondary: {},\r\n h1: {},\r\n h2: {},\r\n h3: {},\r\n h4: {},\r\n h5: {},\r\n h6: {},\r\n body1: {},\r\n body2: {},\r\n body3: {},\r\n overline: {\r\n fontFamily: theme.typography.body3.fontFamily,\r\n fontSize: theme.typography.body3.fontSize,\r\n fontWeight: theme.typography.body3.fontWeight,\r\n lineHeight: theme.typography.body3.lineHeight,\r\n wordSpacing: theme.typography.body3.wordSpacing,\r\n letterSpacing: theme.typography.body3.letterSpacing,\r\n textTransform: theme.typography.body3.textTransform\r\n },\r\n caption: {},\r\n srOnly: {}\r\n };\r\n};\r\n\r\n/**\r\n * Use `Typography` to create visual hierarchy, organize content, and guide users through interfaces.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.12\r\n * @examples\r\n * TypographyExample\r\n * srOnlyExample\r\n */\r\nvar Typography = React.forwardRef(function (props, ref) {\r\n var classesLocal = props.classes,\r\n children = props.children,\r\n color = props.color,\r\n variant = props.variant,\r\n component = props.component,\r\n rest = _objectWithoutProperties(props, ['classes', 'children', 'color', 'variant', 'component']);\r\n\r\n // if we're given body3 class overrides, translate them into overrides that'll\r\n // apply to the underlying implementation\r\n\r\n\r\n if (classesLocal.body3) {\r\n classesLocal.overline = cn(classesLocal.overline, classesLocal.body3);\r\n delete classesLocal.body3;\r\n }\r\n\r\n var classOverrides = Object.assign({\r\n colorError: classesLocal.colorError\r\n }, classesLocal);\r\n\r\n var currentVariant = variant;\r\n var currentComponent = component;\r\n\r\n if (variant === 'body3') {\r\n\r\n // translate \"body3\" to a variant that the underlying Typography component knows\r\n // about (and that we aren't using)\r\n currentVariant = 'overline';\r\n\r\n // render 'body3' as paragraphy text, by default\r\n currentComponent = currentComponent || 'p';\r\n }\r\n\r\n return React.createElement(\r\n MuiTypography,\r\n Object.assign({}, rest, {\r\n color: color,\r\n variant: currentVariant,\r\n component: currentComponent,\r\n classes: classOverrides,\r\n ref: ref\r\n }),\r\n children\r\n );\r\n});\r\n\r\nTypography.muiName = 'Typography';\r\nTypography.displayName = 'Typography';\r\n\r\nTypography.propTypes = {\r\n /**\r\n * Set the text-align on the component.\r\n */\r\n align: PropTypes.oneOf(['inherit', 'left', 'center', 'right', 'justify']),\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The color of the component. It supports those theme colors that make sense for this component.\r\n */\r\n color: PropTypes.oneOf(['error', 'inherit', 'initial', 'textPrimary', 'textSecondary']),\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n * Overrides the behavior of the `variantMapping` prop.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Controls the display type\r\n */\r\n display: PropTypes.oneOf(['block', 'initial', 'inline']),\r\n /**\r\n * If `true`, the text will have margin-bottom: 0.35em.\r\n */\r\n gutterBottom: PropTypes.bool,\r\n /**\r\n * We are empirically mapping the variant property to a range of different DOM element types.\r\n * If you wish to change that mapping, you can provide your own. Alternatively, you can use the `component` property.\r\n *\r\n * Default mapping: { h1: 'h1', h2: 'h2', h3: 'h3', h4: 'h4', h5: 'h5', h6: 'h6', body1: 'p', body2: 'p',}\r\n */\r\n variantMapping: PropTypes.object,\r\n /**\r\n * If `true`, the text will not wrap, but instead will truncate with an ellipsis.\r\n */\r\n noWrap: PropTypes.bool,\r\n /**\r\n * If `true`, the text will have margin-bottom: 16px.\r\n */\r\n paragraph: PropTypes.bool,\r\n /**\r\n * Applies the theme typography styles for the given variant.\r\n */\r\n variant: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'body1', 'body2', 'body3', 'inherit', 'caption', 'srOnly'])\r\n};\r\n\r\nTypography.defaultProps = {\r\n align: 'inherit',\r\n color: 'initial',\r\n display: 'block',\r\n gutterBottom: false,\r\n noWrap: false,\r\n paragraph: false,\r\n variant: 'body2'\r\n};\r\n\r\n// set local styles to be lower-precedence, so that overrides\r\n// styles will have an effect\r\nexport default withStyles(styles, { index: 0 })(Typography);","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; }\r\n\r\nimport classnames from 'classnames';\r\n\r\nexport var spacingClasses = {\r\n CONTAINER_CLASS_NAME: 'hedtech-container-spacing',\r\n LAYOUT_CLASS_NAME: 'hedtech-layout-spacing',\r\n TEMPLATE_CLASS_NAME: 'hedtech-template-spacing',\r\n\r\n SPACING_RESPONSIVE_CLASS_NAME: 'hedtech-spacing-responsive',\r\n SPACING_NON_RESPONSIVE_CLASS_NAME: 'hedtech-spacing-non-responsive',\r\n SPACING_STANDARD_CLASS_NAME: 'hedtech-spacing-standard',\r\n SPACING_ROW_NONE_CLASS_NAME: 'hedtech-spacing-row-none',\r\n SPACING_COLUMN_NONE_CLASS_NAME: 'hedtech-spacing-column-none',\r\n SPACING_NONE_CLASS_NAME: 'hedtech-spacing-none',\r\n OUTER_SPACING_NONE_CLASS_NAME: 'hedtech-outer-spacing-none',\r\n\r\n RESET_SPACING_CLASS_NAME: 'hedtech-reset-spacing',\r\n RESET_SPACING_RIGHT_LEFT_STANDARD_CLASS_NAME: 'hedtech-reset-spacing-right-left-standard',\r\n RESET_SPACING_ALL_STANDARD_CLASS_NAME: 'hedtech-reset-spacing-all-standard'\r\n};\r\n\r\nexport var spacingVariant = {\r\n STANDARD: 'standard',\r\n NONE: 'none'\r\n};\r\n\r\nexport var spacingType = {\r\n CONTAINER: 'container',\r\n LAYOUT: 'layout',\r\n TEMPLATE: 'template',\r\n COMPONENT_RESET: 'componentReset'\r\n};\r\n\r\nvar spacingOptions = {\r\n spacing: spacingVariant.STANDARD,\r\n spacingRow: spacingVariant.STANDARD,\r\n spacingColumn: spacingVariant.STANDARD,\r\n responsive: true,\r\n outerSpacing: true\r\n};\r\n\r\nvar negateComponentSpacingOptions = {\r\n negateSpacingRightLeft: false, // negative spacing left and right\r\n negateSpacingAll: false // adds negative margins on all dimensions\r\n};\r\n\r\nvar getSpacingCss = function getSpacingCss(options, type) {\r\n var _classnames;\r\n\r\n var optionsLocal = options || spacingOptions;\r\n var spacing = optionsLocal.spacing,\r\n spacingRow = optionsLocal.spacingRow,\r\n spacingColumn = optionsLocal.spacingColumn,\r\n responsive = optionsLocal.responsive,\r\n outerSpacing = optionsLocal.outerSpacing;\r\n\r\n\r\n return classnames((_classnames = {}, _defineProperty(_classnames, spacingClasses.SPACING_RESPONSIVE_CLASS_NAME, responsive), _defineProperty(_classnames, spacingClasses.CONTAINER_CLASS_NAME, type === spacingType.CONTAINER), _defineProperty(_classnames, spacingClasses.LAYOUT_CLASS_NAME, type === spacingType.LAYOUT), _defineProperty(_classnames, spacingClasses.TEMPLATE_CLASS_NAME, type === spacingType.TEMPLATE), _defineProperty(_classnames, spacingClasses.SPACING_NON_RESPONSIVE_CLASS_NAME, !responsive), _defineProperty(_classnames, spacingClasses.SPACING_STANDARD_CLASS_NAME, spacing === spacingVariant.STANDARD), _defineProperty(_classnames, spacingClasses.SPACING_NONE_CLASS_NAME, spacing === spacingVariant.NONE), _defineProperty(_classnames, spacingClasses.SPACING_ROW_NONE_CLASS_NAME, spacingRow === spacingVariant.NONE), _defineProperty(_classnames, spacingClasses.SPACING_COLUMN_NONE_CLASS_NAME, spacingColumn === spacingVariant.NONE), _defineProperty(_classnames, spacingClasses.OUTER_SPACING_NONE_CLASS_NAME, !outerSpacing), _classnames));\r\n};\r\n\r\nvar getResetComponentSpacingCss = function getResetComponentSpacingCss(options) {\r\n var _classnames2;\r\n\r\n var optionsLocal = options || negateComponentSpacingOptions;\r\n var spacing = optionsLocal.spacing,\r\n negateSpacingRightLeft = optionsLocal.negateSpacingRightLeft,\r\n negateSpacingAll = optionsLocal.negateSpacingAll;\r\n\r\n\r\n return classnames((_classnames2 = {}, _defineProperty(_classnames2, spacingClasses.RESET_SPACING_CLASS_NAME, true), _defineProperty(_classnames2, spacingClasses.RESET_SPACING_RIGHT_LEFT_STANDARD_CLASS_NAME, negateSpacingRightLeft && spacing === spacingVariant.STANDARD), _defineProperty(_classnames2, spacingClasses.RESET_SPACING_ALL_STANDARD_CLASS_NAME, negateSpacingAll && spacing === spacingVariant.STANDARD), _classnames2));\r\n};\r\n\r\nvar globalSpacing = {\r\n spacingOptions: spacingOptions,\r\n getSpacingCss: getSpacingCss,\r\n getResetComponentSpacingCss: getResetComponentSpacingCss\r\n};\r\n\r\nexport default globalSpacing;","var _responsiveSpacingNon;\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/styles';\r\nimport { spacingClasses } from './globalSpacing.js';\r\n\r\nimport { spacing40, spacing50, layout10, layout20, spacingInsetTall30, spacingInsetTall40, spacingInsetTall50 } from '../styles/tokens';\r\n\r\nvar commonMobileStyles = {\r\n display: 'grid',\r\n padding: spacing40,\r\n gridGap: layout10\r\n};\r\n\r\nvar responsiveSpacingNoneStyles = (_responsiveSpacingNon = {}, _defineProperty(_responsiveSpacingNon, '&.' + spacingClasses.SPACING_ROW_NONE_CLASS_NAME, {\r\n gridRowGap: 0,\r\n paddingTop: 0,\r\n paddingBottom: 0\r\n}), _defineProperty(_responsiveSpacingNon, '&.' + spacingClasses.SPACING_COLUMN_NONE_CLASS_NAME, {\r\n gridColumnGap: 0,\r\n paddingLeft: 0,\r\n paddingRight: 0\r\n}), _responsiveSpacingNon);\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n var _theme$breakpoints$up, _ref, _Object$assign2, _ref2, _global;\r\n\r\n return {\r\n '@global': (_global = {}, _defineProperty(_global, '.' + spacingClasses.RESET_SPACING_CLASS_NAME, (_ref = {\r\n padding: '0',\r\n margin: '0'\r\n }, _defineProperty(_ref, '&.' + spacingClasses.RESET_SPACING_RIGHT_LEFT_STANDARD_CLASS_NAME, {\r\n marginLeft: '-' + spacing40,\r\n marginRight: '-' + spacing40\r\n }), _defineProperty(_ref, '&.' + spacingClasses.RESET_SPACING_ALL_STANDARD_CLASS_NAME, {\r\n margin: '-' + spacing40\r\n }), _defineProperty(_ref, theme.breakpoints.up('lg'), (_theme$breakpoints$up = {}, _defineProperty(_theme$breakpoints$up, '&.' + spacingClasses.RESET_SPACING_RIGHT_LEFT_STANDARD_CLASS_NAME, {\r\n marginLeft: '-' + spacing50,\r\n marginRight: '-' + spacing50\r\n }), _defineProperty(_theme$breakpoints$up, '&.' + spacingClasses.RESET_SPACING_ALL_STANDARD_CLASS_NAME, {\r\n margin: '-' + spacing50\r\n }), _theme$breakpoints$up)), _ref)), _defineProperty(_global, 'html body .' + spacingClasses.OUTER_SPACING_NONE_CLASS_NAME, {\r\n padding: '0 !important'\r\n }), _defineProperty(_global, '.' + spacingClasses.SPACING_NONE_CLASS_NAME, {\r\n display: 'grid',\r\n padding: 0,\r\n margin: 0,\r\n gridGap: 0\r\n }), _defineProperty(_global, 'html .' + spacingClasses.SPACING_STANDARD_CLASS_NAME, Object.assign({}, commonMobileStyles)), _defineProperty(_global, '.' + spacingClasses.SPACING_RESPONSIVE_CLASS_NAME, (_ref2 = {}, _defineProperty(_ref2, '&.' + spacingClasses.CONTAINER_CLASS_NAME, Object.assign(_defineProperty({}, theme.breakpoints.up('lg'), _defineProperty({}, '&.' + spacingClasses.SPACING_STANDARD_CLASS_NAME, {\r\n padding: spacing50,\r\n gridGap: layout20\r\n })), responsiveSpacingNoneStyles)), _defineProperty(_ref2, '&.' + spacingClasses.TEMPLATE_CLASS_NAME, Object.assign((_Object$assign2 = {\r\n padding: spacingInsetTall30,\r\n gridGap: layout20\r\n }, _defineProperty(_Object$assign2, theme.breakpoints.between('sm', 'md'), _defineProperty({}, '&.' + spacingClasses.SPACING_STANDARD_CLASS_NAME, {\r\n padding: spacingInsetTall40,\r\n gridGap: layout20\r\n })), _defineProperty(_Object$assign2, theme.breakpoints.up('lg'), _defineProperty({}, '.' + spacingClasses.SPACING_STANDARD_CLASS_NAME, {\r\n padding: spacingInsetTall50,\r\n gridGap: layout20\r\n })), _Object$assign2), responsiveSpacingNoneStyles)), _ref2)), _defineProperty(_global, '.' + spacingClasses.LAYOUT_CLASS_NAME, Object.assign(_defineProperty({}, '&.' + spacingClasses.SPACING_STANDARD_CLASS_NAME, {\r\n padding: 0,\r\n gridGap: layout20\r\n }), responsiveSpacingNoneStyles)), _defineProperty(_global, '.' + spacingClasses.SPACING_NON_RESPONSIVE_CLASS_NAME, _defineProperty({}, '&.' + spacingClasses.SPACING_STANDARD_CLASS_NAME, {\r\n padding: spacing50,\r\n gridGap: layout20\r\n })), _global)\r\n };\r\n}, { index: 2 });\r\n\r\nfunction CssGlobalSpacing(props) {\r\n var _props$children = props.children,\r\n children = _props$children === undefined ? null : _props$children;\r\n\r\n useStyles();\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n children\r\n );\r\n}\r\n\r\nCssGlobalSpacing.propTypes = {\r\n /**\r\n * You can wrap a node.\r\n */\r\n children: PropTypes.node\r\n};\r\n\r\nexport default CssGlobalSpacing;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport classnames from 'classnames';\r\nimport makeStyles from './../../makeStyles';\r\nimport isPlainObject from 'lodash/isPlainObject';\r\nimport isEmpty from 'lodash/isEmpty';\r\nimport get from 'lodash/get';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n var _responsiveSpacingCss;\r\n\r\n return {\r\n commomCss: function commomCss(props) {\r\n var spacing = props.spacing;\r\n\r\n\r\n return Object.assign({\r\n display: 'grid'\r\n }, spacing && spacing.style ? spacing.style : {});\r\n },\r\n responsiveSpacingCss: (_responsiveSpacingCss = {}, _defineProperty(_responsiveSpacingCss, theme.breakpoints.up('xs'), {\r\n padding: function padding(props) {\r\n return get(props, 'spacing.xs.padding');\r\n },\r\n gridGap: function gridGap(props) {\r\n return get(props, 'spacing.xs.gutter');\r\n }\r\n }), _defineProperty(_responsiveSpacingCss, theme.breakpoints.up('sm'), {\r\n padding: function padding(props) {\r\n return get(props, 'spacing.sm.padding');\r\n },\r\n gridGap: function gridGap(props) {\r\n return get(props, 'spacing.sm.gutter');\r\n }\r\n }), _defineProperty(_responsiveSpacingCss, theme.breakpoints.up('md'), {\r\n padding: function padding(props) {\r\n return get(props, 'spacing.md.padding');\r\n },\r\n gridGap: function gridGap(props) {\r\n return get(props, 'spacing.md.gutter');\r\n }\r\n }), _defineProperty(_responsiveSpacingCss, theme.breakpoints.up('lg'), {\r\n padding: function padding(props) {\r\n return get(props, 'spacing.lg.padding');\r\n },\r\n gridGap: function gridGap(props) {\r\n return get(props, 'spacing.lg.gutter');\r\n }\r\n }), _responsiveSpacingCss),\r\n responsiveCommonCss: function responsiveCommonCss(props) {\r\n var _ref;\r\n\r\n return _ref = {}, _defineProperty(_ref, theme.breakpoints.up('xs'), Object.assign({}, get(props, 'spacing.xs.style'))), _defineProperty(_ref, theme.breakpoints.up('sm'), Object.assign({}, get(props, 'spacing.sm.style'))), _defineProperty(_ref, theme.breakpoints.up('md'), Object.assign({}, get(props, 'spacing.md.style'))), _defineProperty(_ref, theme.breakpoints.up('lg'), Object.assign({}, get(props, 'spacing.lg.style'))), _ref;\r\n }\r\n };\r\n}, { index: 2 });\r\n\r\nvar useCustomSpacing = function useCustomSpacing(props) {\r\n var _React$useState = React.useState(props),\r\n _React$useState2 = _slicedToArray(_React$useState, 2),\r\n spacingOptions = _React$useState2[0],\r\n setSpacingOptions = _React$useState2[1];\r\n\r\n var _ref2 = spacingOptions || { spacing: {} },\r\n spacing = _ref2.spacing;\r\n\r\n var classes = useStyles({ spacing: spacing });\r\n\r\n if (!isPlainObject(spacing) || isEmpty(spacing)) {\r\n return [undefined, setSpacingOptions];\r\n }\r\n\r\n return [classnames(classes.commomCss, classes.responsiveSpacingCss, classes.responsiveCommonCss), setSpacingOptions];\r\n};\r\n\r\nexport default useCustomSpacing;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nimport React, { useState } from 'react';\r\nimport hoistNonReactStatics from 'hoist-non-react-statics';\r\nimport globalSpacing, { spacingType } from './globalSpacing';\r\nimport useCustomSpacing from './internal/useCustomSpacing';\r\n\r\n/**\r\n * Use this hook in React functional components and when there is a need to update the spacing on-the-fly.\r\n * For example:\r\n *\r\n * 1. The spacing turns to none on tablet landscape mode.\r\n * 2. Rows spacings need to remain standard on mobile, etc.\r\n * 3. And any other use cases where there's need to change the default spacing dynamically.\r\n *\r\n * Use the `initialSpacingOptions` param to override spacing defaults. It accepts an object with the\r\n * following attributes:\r\n *\r\n * * spacing - (standard | none | object) The spacing to apply to the grid as a whole. The default *standard* option applies our standard set\r\n * of spacing styles. The *none* option removes **all** standards spacing, within and without the\r\n * container. The *object* option allows custom values to be applied. Use *none* or *object* when you want to define your own spacing.\r\n * * spacingRow - (standard | none) Enable/disable grid row spacing\r\n * * spacingColumn - (standard | none) Enable/disable grid column spacing\r\n * * responsive - (true | false) Enable/disable responsive spacing updates.\r\n * * outerSpacing - (true | false) If `false`, disables all of grid container's *exterior* spacing\r\n *\r\n * Use the `type` param to specify the kind of spacing classes to produce. Options include:\r\n *\r\n * * container - For container components\r\n * * layout - For grid-based layouts\r\n * * template - For page templates\r\n * * componentReset - To remove all spacing for a container or layout or component\r\n *\r\n *\r\n * @param {object} initialSpacingOptions Use this if you want to override default spacing\r\n * @param {string} type The type of spacing to return\r\n */\r\nvar useSpacing = function useSpacing() {\r\n var initialSpacingOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : spacingType.CONTAINER;\r\n\r\n var getSpacingCss = void 0;\r\n\r\n switch (type) {\r\n case spacingType.COMPONENT_RESET:\r\n getSpacingCss = globalSpacing.getResetComponentSpacingCss;\r\n break;\r\n default:\r\n getSpacingCss = globalSpacing.getSpacingCss;\r\n }\r\n\r\n var _useState = useState(Object.assign(Object.assign({}, globalSpacing.spacingOptions), initialSpacingOptions)),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n spacingOptions = _useState2[0],\r\n setOptions = _useState2[1];\r\n\r\n var _useState3 = useState(getSpacingCss(spacingOptions, type)),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n defaultSpacingSyles = _useState4[0],\r\n setSpacingCss = _useState4[1];\r\n\r\n var _useCustomSpacing = useCustomSpacing(spacingOptions),\r\n _useCustomSpacing2 = _slicedToArray(_useCustomSpacing, 2),\r\n customSpacingStyles = _useCustomSpacing2[0],\r\n setSpacingCustomCss = _useCustomSpacing2[1];\r\n\r\n var spacingStyles = customSpacingStyles || defaultSpacingSyles;\r\n\r\n var setSpacingOptions = function setSpacingOptions(options) {\r\n setOptions(Object.assign(Object.assign({}, spacingOptions), options));\r\n setSpacingCss(getSpacingCss(Object.assign(Object.assign({}, spacingOptions), options), type));\r\n setSpacingCustomCss(options);\r\n };\r\n\r\n return [spacingStyles, spacingOptions, setSpacingOptions];\r\n};\r\n\r\n/**\r\n * Spacing utility methods can be used in places where you can't use React hooks,\r\n * like React class components or if you know that the default\r\n * spacing is not going to change for the entire lifecycle of the application.\r\n *\r\n * Use this method to get default spacing options.\r\n *\r\n * @param {object} initialSpacingOptions Use this if you want to override default spacing\r\n */\r\nvar getSpacingOptions = function getSpacingOptions() {\r\n var initialSpacingOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n\r\n return Object.assign(Object.assign({}, globalSpacing.spacingOptions), initialSpacingOptions);\r\n};\r\n\r\n/**\r\n * Spacing utility methods can be used in places where you can't use React hooks,\r\n * like React class components or if you know that the default\r\n * spacing is not going to change for the entire lifecycle of the application.\r\n *\r\n * Use this method to get defaut spacing styles.\r\n *\r\n * @param {object} initialSpacingOptions Use this if you want to override default spacing\r\n * @param {string} type\r\n * `spacingType.CONTAINER` (`container`) for container components\r\n * `spacingType.LAYOUT` (`layout`) for layout components\r\n * `spacingType.TEMPLATE` (`template`) for page template components\r\n * `spacingType.COMPONENT_RESET` (`componentReset`) to remove the spacing for a container or layout or component\r\n */\r\nvar getSpacingStyles = function getSpacingStyles() {\r\n var initialSpacingOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : spacingType.CONTAINER;\r\n\r\n var spacingOptions = Object.assign(Object.assign({}, globalSpacing.spacingOptions), initialSpacingOptions);\r\n\r\n var spacingStyles = '';\r\n switch (type) {\r\n case spacingType.COMPONENT_RESET:\r\n spacingStyles = globalSpacing.getResetComponentSpacingCss(spacingOptions);\r\n break;\r\n default:\r\n spacingStyles = globalSpacing.getSpacingCss(spacingOptions, type);\r\n }\r\n\r\n return spacingStyles;\r\n};\r\n\r\n/**\r\n * Use this HOC with React class components.\r\n *\r\n * Use the `initialSpacingOptions` param to override spacing defaults. It accepts an object with the\r\n * following attributes:\r\n *\r\n * * spacing - (standard | none | object) The spacing to apply to the grid as a whole. The default *standard* option applies our standard set\r\n * of spacing styles. The *none* option removes **all** standards spacing, within and without the\r\n * container. The *object* option allows custom values to be applied. Use *none* or *object* when you want to define your own spacing.\r\n * * spacingRow - (standard | none) Enable/disable grid row spacing\r\n * * spacingColumn - (standard | none) Enable/disable grid column spacing\r\n * * responsive - (true | false) Enable/disable responsive spacing updates.\r\n * * outerSpacing - (true | false) If `false`, disables all of grid container's *exterior* spacing\r\n *\r\n * Use the `type` param to specify the kind of spacing classes to produce. Options include:\r\n *\r\n * * container - For container components\r\n * * layout - For grid-based layouts\r\n * * template - For page templates\r\n * * componentReset - To remove all spacing for a container or layout or component\r\n *\r\n *\r\n * @param {object} initialSpacingOptions Use this if you want to override default spacing\r\n * @param {string} type The type of spacing to return\r\n * @param {object} WrappedComponent The component which will receive spacing props.\r\n */\r\nvar withSpacing = function withSpacing() {\r\n var initialSpacingOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n var type = arguments[1];\r\n return function (WrappedComponent) {\r\n var Wrap = React.forwardRef(function (props, ref) {\r\n var spacingOptionsLocal = getSpacingOptions(initialSpacingOptions);\r\n\r\n var _useSpacing = useSpacing(spacingOptionsLocal, type),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n spacingOptions = _useSpacing2[1],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n if (WrappedComponent === undefined) {\r\n throw new Error('\\n You are calling withSpacing(options)(Component) with an undefined component.\\n You may have forgotten to import it. \\n '.trim());\r\n }\r\n\r\n return React.createElement(WrappedComponent, Object.assign({\r\n spacingStyles: spacingStyles,\r\n spacingOptions: spacingOptions,\r\n setSpacingOptions: setSpacingOptions,\r\n ref: ref\r\n }, props));\r\n });\r\n\r\n return hoistNonReactStatics(Wrap, WrappedComponent);\r\n };\r\n};\r\n\r\nexport { getSpacingStyles, getSpacingOptions, withSpacing };\r\nexport default useSpacing;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Paper from '../Paper';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden'\n }\n};\nvar Card = React.forwardRef(function Card(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$raised = props.raised,\n raised = _props$raised === void 0 ? false : _props$raised,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"raised\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n className: clsx(classes.root, className),\n elevation: raised ? 8 : 1,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Card.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the card will use raised styling.\n */\n raised: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCard'\n})(Card);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { createContext, useEffect } from 'react';\r\nimport { default as MuiCard } from '@material-ui/core/Card';\r\nimport { useSpacing } from './../globalSpacing';\r\nimport { default as withStyles } from '../styles';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { borderRadiusMedium, sizingSmall } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n borderRadius: borderRadiusMedium,\r\n overflow: 'inherit',\r\n\r\n // added this to ensure that the contents of a card don't exceed the width of the card itself;\r\n // you can reproduce this behavior by putting a inside of a and filling it\r\n // up with stuff; it's go beyond the bounds of its width\r\n //\r\n // see https://stackoverflow.com/questions/43311943/prevent-content-from-expanding-grid-items\r\n // for more details\r\n gridTemplateColumns: 'minmax(0, 1fr)'\r\n\r\n },\r\n accent: {\r\n borderTopWidth: sizingSmall,\r\n borderTopStyle: 'solid',\r\n paddingTop: 0\r\n },\r\n accentPrimary: {\r\n borderTopColor: theme.palette.primary.main\r\n },\r\n accentSecondary: {\r\n borderTopColor: theme.palette.secondary.main\r\n }\r\n };\r\n};\r\n\r\nvar CardContext = createContext();\r\n\r\n/**\r\n * Use `Card` to display a group of similar content on a page.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * SimpleCard\r\n * SubtitleHeaderActionsCard\r\n * VisuallyAccentedCard\r\n * ComplexCard\r\n * CardActionsCard\r\n * LegacySpacingCard\r\n * CustomSpacingCard\r\n * CustomSpacingWithSpacingOptionsAPI\r\n */\r\nvar Card = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var accent = props.accent,\r\n classes = props.classes,\r\n padding = props.padding,\r\n responsive = props.responsive,\r\n spacingOptionsLocal = props.spacingOptions,\r\n legacySpacingMode = props.legacySpacingMode,\r\n rest = _objectWithoutProperties(props, ['accent', 'classes', 'padding', 'responsive', 'spacingOptions', 'legacySpacingMode']);\r\n\r\n var _useSpacing = useSpacing(spacingOptionsLocal),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n options = _useSpacing2[1],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var spacingOptions = legacySpacingMode ? {} : options;\r\n var spacingStylesLocal = legacySpacingMode ? {} : spacingStyles;\r\n var classOverrides = classNames(classes.root, spacingStylesLocal, (_classNames = {}, _defineProperty(_classNames, classes.accent, ['primary', 'secondary'].indexOf(accent) !== -1), _defineProperty(_classNames, classes.accentPrimary, accent === 'primary'), _defineProperty(_classNames, classes.accentSecondary, accent === 'secondary'), _classNames));\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptionsLocal);\r\n }, [spacingOptionsLocal]); // eslint-disable-line\r\n\r\n return React.createElement(\r\n CardContext.Provider,\r\n {\r\n value: {\r\n padding: padding,\r\n responsive: responsive,\r\n spacingOptions: spacingOptions\r\n }\r\n },\r\n React.createElement(MuiCard, Object.assign({}, rest, {\r\n classes: {\r\n root: classOverrides\r\n },\r\n ref: ref\r\n }))\r\n );\r\n});\r\n\r\nCard.muiName = 'Card';\r\nCard.displayName = 'Card';\r\n\r\nCard.propTypes = {\r\n /**\r\n * Customize the color of accent border that is added to the card.\r\n *\r\n * The options are `primary` and `secondary`. The `Card` will render with an\r\n * accented top border color that corresponds to the theme's primary and secondary\r\n * color (i.e. `primary` will render a `Card` with a `primary` accent border).\r\n */\r\n accent: PropTypes.oneOf(['primary', 'secondary']),\r\n /**\r\n * If `true`, the card will use raised visual styling\r\n */\r\n raised: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * If `true`, uses the old (padding-based) spacing infrastructure.\\\r\n * If `false`, uses the new (CSS grid-based) spacing infrastructure.\r\n */\r\n legacySpacingMode: PropTypes.bool,\r\n /**\r\n * Customize the spacing for Card's subcomponents. Standard, dense, and none\r\n * apply consistent padding across all viewports, per subcomponent.\r\n *\r\n * **NOTE:** Only applicable when `legacySpacingMode` is `true`.\r\n */\r\n padding: PropTypes.oneOf(['standard', 'dense', 'none']),\r\n /**\r\n * If `true`, `responsive` combines with `padding` to provide a responsive\r\n * spacing solution, if padding is set to either `standard` or `dense`.\r\n *\r\n * **NOTE:** Only applicable when `legacySpacingMode` is `true`.\r\n */\r\n responsive: PropTypes.bool,\r\n /**\r\n * Provides several attributes to control `Card` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Card` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n * * `responsive` (bool): **true** | false\r\n * * By default, `Card` spacing adjusts responsively to its viewport. Set to `false` to disable responsiveness.\r\n * * `outerSpacing` (bool): **true** | false\r\n * * If set to `false`, removes the card's outer padding (but retains the space between its subcomponents)\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n responsive: PropTypes.bool,\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\nCard.defaultProps = {\r\n elevation: 5,\r\n padding: 'standard',\r\n responsive: true,\r\n legacySpacingMode: false\r\n};\r\n\r\nexport { CardContext };\r\nexport default withStyles(styles)(Card);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar CardActions = React.forwardRef(function CardActions(props, ref) {\n var _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"disableSpacing\", \"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardActions.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardActions'\n})(CardActions);","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; }\r\n\r\nimport { getSpacingStyles, spacingVariant, spacingType } from './../../globalSpacing';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nexport default function (context, classes) {\r\n var _ref;\r\n\r\n var padding = context.padding,\r\n spacingOptions = context.spacingOptions,\r\n responsive = context.responsive;\r\n\r\n\r\n return isEmpty(spacingOptions) ? (_ref = {}, _defineProperty(_ref, classes.standard, padding === spacingVariant.STANDARD), _defineProperty(_ref, classes.none, padding === spacingVariant.NONE), _defineProperty(_ref, classes.responsive, responsive && padding !== spacingVariant.NONE), _ref) : getSpacingStyles({}, spacingType.COMPONENT_RESET);\r\n};","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiCardActions } from '@material-ui/core/CardActions';\r\nimport getLegacySpacingModeCss from './internal/getLegacySpacingModeCss';\r\nimport { CardContext } from './Card';\r\nimport classNames from 'classnames';\r\nimport { spacing40, spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n standard: {\r\n padding: spacing40\r\n },\r\n dense: {\r\n padding: '0.75rem ' + spacing30\r\n },\r\n none: {\r\n padding: 0\r\n },\r\n responsive: _defineProperty({}, theme.breakpoints.only('xs'), {\r\n padding: spacing30 + ' 0'\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * CardActions component for displaying actions on a Card component\r\n */\r\nvar CardActions = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classesOverrides = getLegacySpacingModeCss(useContext(CardContext), classes);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, classesOverrides)\r\n };\r\n\r\n return React.createElement(MuiCardActions, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardActions.muiName = 'CardActions';\r\nCardActions.displayName = 'CardActions';\r\n\r\nCardActions.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the card actions do not have additional margin.\r\n */\r\n disableSpacing: PropTypes.bool\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardActions.defaultProps = {\r\n disableSpacing: false\r\n};\r\n\r\nexport default withStyles(styles)(CardActions);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n padding: 16,\n '&:last-child': {\n paddingBottom: 24\n }\n }\n};\nvar CardContent = React.forwardRef(function CardContent(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardContent.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardContent'\n})(CardContent);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport get from 'lodash/get';\r\n\r\nimport { default as MuiCardContent } from '@material-ui/core/CardContent';\r\nimport { CardContext } from './Card';\r\nimport getLegacySpacingModeCss from './internal/getLegacySpacingModeCss';\r\nimport { default as withStyles } from '../styles';\r\nimport { useSpacing } from './../globalSpacing';\r\n\r\nimport { spacing60, spacing50, spacing40, spacing30, borderRadiusMedium } from '../styles/tokens';\r\n\r\nvar borderRadiusStyles = {\r\n borderBottomLeftRadius: borderRadiusMedium,\r\n borderBottomRightRadius: borderRadiusMedium\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n var _responsive;\r\n\r\n return {\r\n root: {\r\n '&:last-child': {\r\n padding: 0\r\n }\r\n },\r\n standard: {\r\n padding: spacing40 + ' ' + spacing60,\r\n '&:last-child': {\r\n padding: spacing40 + ' ' + spacing60\r\n }\r\n },\r\n dense: {\r\n padding: '0.75rem ' + spacing50,\r\n '&:last-child': {\r\n padding: '0.75rem ' + spacing50\r\n }\r\n },\r\n none: {\r\n padding: 0,\r\n '&:last-child': {\r\n padding: 0\r\n }\r\n },\r\n responsive: (_responsive = {}, _defineProperty(_responsive, theme.breakpoints.only('xs'), {\r\n padding: spacing30 + ' ' + spacing40\r\n }), _defineProperty(_responsive, '&:last-child', _defineProperty({}, theme.breakpoints.only('xs'), {\r\n padding: spacing30 + ' ' + spacing40\r\n })), _responsive),\r\n negateSpacing: Object.assign({}, borderRadiusStyles, {\r\n '& > *:last-child': Object.assign({}, borderRadiusStyles)\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * CardContent component for displaying content on a Card component\r\n */\r\nvar CardContent = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n spacingOptions = props.spacingOptions,\r\n rest = _objectWithoutProperties(props, ['classes', 'spacingOptions']);\r\n\r\n var negateSpacingAll = get(spacingOptions, 'negateSpacingAll');\r\n var negateSpacingStyles = useSpacing({ spacing: {\r\n style: {\r\n margin: '0 -' + spacing40 + ' -' + spacing40,\r\n display: 'block'\r\n },\r\n lg: {\r\n style: {\r\n margin: '0 -' + spacing50 + ' -' + spacing50\r\n }\r\n }\r\n } });\r\n\r\n var classesOverrides = negateSpacingAll ? negateSpacingStyles : getLegacySpacingModeCss(useContext(CardContext), classes);\r\n\r\n var classOverrides = {\r\n root: cn(classes.root, classesOverrides, _defineProperty({}, classes.negateSpacing, negateSpacingAll))\r\n };\r\n\r\n return React.createElement(MuiCardContent, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardContent.muiName = 'CardContent';\r\nCardContent.displayName = 'CardContent';\r\n\r\nCardContent.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Adds negative margins on all dimensions\r\n *\r\n * `negateSpacingAll` (bool): **true** | false\r\n *\r\n * * If set to `true`, adds negative margins on all dimensions.\r\n * * Helpful when you want to remove the outer padding for card content\r\n */\r\n spacingOptions: PropTypes.shape({\r\n negateSpacingAll: PropTypes.bool\r\n })\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardContent.defaultProps = {\r\n component: 'div'\r\n};\r\n\r\nexport default withStyles(styles)(CardContent);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 16\n },\n\n /* Styles applied to the avatar element. */\n avatar: {\n flex: '0 0 auto',\n marginRight: 16\n },\n\n /* Styles applied to the action element. */\n action: {\n flex: '0 0 auto',\n alignSelf: 'flex-start',\n marginTop: -8,\n marginRight: -8\n },\n\n /* Styles applied to the content wrapper element. */\n content: {\n flex: '1 1 auto'\n },\n\n /* Styles applied to the title Typography element. */\n title: {},\n\n /* Styles applied to the subheader Typography element. */\n subheader: {}\n};\nvar CardHeader = React.forwardRef(function CardHeader(props, ref) {\n var action = props.action,\n avatar = props.avatar,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n subheaderProp = props.subheader,\n subheaderTypographyProps = props.subheaderTypographyProps,\n titleProp = props.title,\n titleTypographyProps = props.titleTypographyProps,\n other = _objectWithoutProperties(props, [\"action\", \"avatar\", \"classes\", \"className\", \"component\", \"disableTypography\", \"subheader\", \"subheaderTypographyProps\", \"title\", \"titleTypographyProps\"]);\n\n var title = titleProp;\n\n if (title != null && title.type !== Typography && !disableTypography) {\n title = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: avatar ? 'body2' : 'h5',\n className: classes.title,\n component: \"span\",\n display: \"block\"\n }, titleTypographyProps), title);\n }\n\n var subheader = subheaderProp;\n\n if (subheader != null && subheader.type !== Typography && !disableTypography) {\n subheader = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: avatar ? 'body2' : 'body1',\n className: classes.subheader,\n color: \"textSecondary\",\n component: \"span\",\n display: \"block\"\n }, subheaderTypographyProps), subheader);\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: classes.avatar\n }, avatar), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.content\n }, title, subheader), action && /*#__PURE__*/React.createElement(\"div\", {\n className: classes.action\n }, action));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardHeader.propTypes = {\n /**\n * The action to display in the card header.\n */\n action: PropTypes.node,\n\n /**\n * The Avatar for the Card Header.\n */\n avatar: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, `subheader` and `title` won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `title` text, and optional `subheader` text\n * with the Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n subheader: PropTypes.node,\n\n /**\n * These props will be forwarded to the subheader\n * (as long as disableTypography is not `true`).\n */\n subheaderTypographyProps: PropTypes.object,\n\n /**\n * The content of the Card Title.\n */\n title: PropTypes.node,\n\n /**\n * These props will be forwarded to the title\n * (as long as disableTypography is not `true`).\n */\n titleTypographyProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardHeader'\n})(CardHeader);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport { default as MuiCardHeader } from '@material-ui/core/CardHeader';\r\n\r\nimport { default as withStyles } from '../styles';\r\nimport { CardContext } from './Card';\r\nimport Typography from './../Typography';\r\n\r\nimport getLegacySpacingModeCss from './internal/getLegacySpacingModeCss';\r\n\r\nimport { spacing60, spacing50, spacing40, spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n standard: {\r\n padding: spacing60 + ' ' + spacing60 + ' ' + spacing40\r\n },\r\n dense: {\r\n padding: spacing50 + ' ' + spacing50 + ' 0.75rem'\r\n },\r\n none: {\r\n padding: 0\r\n },\r\n action: {\r\n marginRight: '-' + spacing30,\r\n marginTop: '-.375rem',\r\n '& svg': {\r\n width: spacing40,\r\n height: spacing40,\r\n margin: '.75rem', // No tokens available, this is one off value for spacing\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[500]\r\n }\r\n },\r\n content: {\r\n alignSelf: 'flex-start'\r\n },\r\n responsive: _defineProperty({}, theme.breakpoints.only('xs'), {\r\n padding: spacing40 + ' ' + spacing40 + ' ' + spacing30\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * CardHeader component for displaying header on a Card component\r\n */\r\nvar CardHeader = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n subheader = props.subheader,\r\n rest = _objectWithoutProperties(props, ['classes', 'subheader']);\r\n\r\n var classesOverrides = getLegacySpacingModeCss(useContext(CardContext), classes);\r\n\r\n // Typography's `body3` variant is exclusive to Path.\r\n // So subheaderTypographyProps doesn't work here.\r\n // Had to create a new node.\r\n var newSubheader = subheader && !props.subheaderTypographyProps ? React.createElement(\r\n Typography,\r\n { variant: 'body3',\r\n component: 'span',\r\n color: 'textSecondary'\r\n },\r\n subheader\r\n ) : React.createElement(\r\n React.Fragment,\r\n null,\r\n subheader || null\r\n );\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, classesOverrides),\r\n action: classes.action,\r\n content: classes.content\r\n };\r\n\r\n return React.createElement(MuiCardHeader, Object.assign({\r\n classes: classOverrides,\r\n titleTypographyProps: {\r\n variant: 'h3'\r\n },\r\n subheader: newSubheader\r\n }, rest, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardHeader.muiName = 'CardHeader';\r\nCardHeader.displayName = 'CardHeader';\r\n\r\nCardHeader.propTypes = {\r\n /**\r\n * The action to display in the card header.\r\n */\r\n action: PropTypes.node,\r\n /**\r\n * The Avatar for the Card Header.\r\n */\r\n avatar: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If true, the children won't be wrapped by a Typography component.\r\n * This can be useful to render an alternative Typography variant by\r\n * wrapping the title text, and optional subheader text with the\r\n * Typography component.\r\n */\r\n disableTypography: PropTypes.bool,\r\n /**\r\n * The content of the Card Title.\r\n */\r\n title: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the title (as\r\n * long as disableTypography is not `true`).\r\n */\r\n titleTypographyProps: PropTypes.object,\r\n /**\r\n * The content of the subheader.\r\n */\r\n subheader: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the subheader (as\r\n * long as disableTypography is not true).\r\n */\r\n subheaderTypographyProps: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardHeader.defaultProps = {\r\n component: 'div',\r\n disableTypography: false\r\n};\r\n\r\nexport default withStyles(styles)(CardHeader);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { chainPropTypes } from '@material-ui/utils';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center'\n },\n\n /* Styles applied to the root element if `component=\"video, audio, picture, iframe, or img\"`. */\n media: {\n width: '100%'\n },\n\n /* Styles applied to the root element if `component=\"picture or img\"`. */\n img: {\n // ⚠️ object-fit is not supported by IE 11.\n objectFit: 'cover'\n }\n};\nvar MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];\nvar CardMedia = React.forwardRef(function CardMedia(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n image = props.image,\n src = props.src,\n style = props.style,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"image\", \"src\", \"style\"]);\n\n var isMediaComponent = MEDIA_COMPONENTS.indexOf(Component) !== -1;\n var composedStyle = !isMediaComponent && image ? _extends({\n backgroundImage: \"url(\\\"\".concat(image, \"\\\")\")\n }, style) : style;\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, isMediaComponent && classes.media, \"picture img\".indexOf(Component) !== -1 && classes.img),\n ref: ref,\n style: composedStyle,\n src: isMediaComponent ? image || src : undefined\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? CardMedia.propTypes = {\n /**\n * The content of the component.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n if (!props.children && !props.image && !props.src && !props.component) {\n return new Error('Material-UI: Either `children`, `image`, `src` or `component` prop must be specified.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Component for rendering image.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Image to be displayed as a background image.\n * Either `image` or `src` prop must be specified.\n * Note that caller must specify height otherwise the image will not be visible.\n */\n image: PropTypes.string,\n\n /**\n * An alias for `image` property.\n * Available only with media components.\n * Media components: `video`, `audio`, `picture`, `iframe`, `img`.\n */\n src: PropTypes.string,\n\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardMedia'\n})(CardMedia);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiCardMedia } from '@material-ui/core/CardMedia';\r\nimport { CardContext } from './Card';\r\nimport { getSpacingStyles, spacingType } from './../globalSpacing';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nvar styles = {\r\n root: {}\r\n};\r\n\r\n/**\r\n * CardMedia component for displaying media on a Card component\r\n */\r\nvar CardMedia = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var spacingOptions = useContext(CardContext).spacingOptions;\r\n\r\n // Card media needs to span across the card width\r\n // so using `negateSpacingRightLeft` props to set that.\r\n var classesOverrides = !isEmpty(spacingOptions) ? getSpacingStyles({\r\n spacing: spacingOptions.spacing,\r\n negateSpacingRightLeft: true\r\n }, spacingType.COMPONENT_RESET) : {};\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, classesOverrides)\r\n };\r\n\r\n return React.createElement(MuiCardMedia, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardMedia.muiName = 'CardMedia';\r\nCardMedia.displayName = 'CardMedia';\r\n\r\nCardMedia.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Component for rendering image.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Image to be displayed as a background image.\r\n * Either `image` or `src` prop must be specified.\r\n * Note that caller must specify height otherwise the image will not be visible.\r\n */\r\n image: PropTypes.string,\r\n /**\r\n * An alias for `image` property.\r\n * Available only with media components.\r\n * Media components: `video`, `audio`, `picture`, `iframe`, `img`.\r\n */\r\n src: PropTypes.string\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardMedia.defaultProps = {\r\n component: 'div'\r\n};\r\n\r\nexport default withStyles(styles)(CardMedia);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport useControlled from '../utils/useControlled';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport IconButton from '../IconButton';\nexport var styles = {\n root: {\n padding: 9\n },\n checked: {},\n disabled: {},\n input: {\n cursor: 'inherit',\n position: 'absolute',\n opacity: 0,\n width: '100%',\n height: '100%',\n top: 0,\n left: 0,\n margin: 0,\n padding: 0,\n zIndex: 1\n }\n};\n/**\n * @ignore - internal component.\n */\n\nvar SwitchBase = React.forwardRef(function SwitchBase(props, ref) {\n var autoFocus = props.autoFocus,\n checkedProp = props.checked,\n checkedIcon = props.checkedIcon,\n classes = props.classes,\n className = props.className,\n defaultChecked = props.defaultChecked,\n disabledProp = props.disabled,\n icon = props.icon,\n id = props.id,\n inputProps = props.inputProps,\n inputRef = props.inputRef,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onFocus = props.onFocus,\n readOnly = props.readOnly,\n required = props.required,\n tabIndex = props.tabIndex,\n type = props.type,\n value = props.value,\n other = _objectWithoutProperties(props, [\"autoFocus\", \"checked\", \"checkedIcon\", \"classes\", \"className\", \"defaultChecked\", \"disabled\", \"icon\", \"id\", \"inputProps\", \"inputRef\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"readOnly\", \"required\", \"tabIndex\", \"type\", \"value\"]);\n\n var _useControlled = useControlled({\n controlled: checkedProp,\n default: Boolean(defaultChecked),\n name: 'SwitchBase',\n state: 'checked'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n checked = _useControlled2[0],\n setCheckedState = _useControlled2[1];\n\n var muiFormControl = useFormControl();\n\n var handleFocus = function handleFocus(event) {\n if (onFocus) {\n onFocus(event);\n }\n\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n if (onBlur) {\n onBlur(event);\n }\n\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n }\n };\n\n var handleInputChange = function handleInputChange(event) {\n var newChecked = event.target.checked;\n setCheckedState(newChecked);\n\n if (onChange) {\n // TODO v5: remove the second argument.\n onChange(event, newChecked);\n }\n };\n\n var disabled = disabledProp;\n\n if (muiFormControl) {\n if (typeof disabled === 'undefined') {\n disabled = muiFormControl.disabled;\n }\n }\n\n var hasLabelFor = type === 'checkbox' || type === 'radio';\n return /*#__PURE__*/React.createElement(IconButton, _extends({\n component: \"span\",\n className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),\n disabled: disabled,\n tabIndex: null,\n role: undefined,\n onFocus: handleFocus,\n onBlur: handleBlur,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"input\", _extends({\n autoFocus: autoFocus,\n checked: checkedProp,\n defaultChecked: defaultChecked,\n className: classes.input,\n disabled: disabled,\n id: hasLabelFor && id,\n name: name,\n onChange: handleInputChange,\n readOnly: readOnly,\n ref: inputRef,\n required: required,\n tabIndex: tabIndex,\n type: type,\n value: value\n }, inputProps)), checked ? checkedIcon : icon);\n}); // NB: If changed, please update Checkbox, Switch and Radio\n// so that the API documentation is updated.\n\nprocess.env.NODE_ENV !== \"production\" ? SwitchBase.propTypes = {\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n defaultChecked: PropTypes.bool,\n\n /**\n * If `true`, the switch will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node.isRequired,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /*\n * @ignore\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * The input component prop `type`.\n */\n type: PropTypes.string.isRequired,\n\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateSwitchBase'\n})(SwitchBase);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n}), 'CheckBoxOutlineBlank');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckBox');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"\n}), 'IndeterminateCheckBox');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport SwitchBase from '../internal/SwitchBase';\nimport CheckBoxOutlineBlankIcon from '../internal/svg-icons/CheckBoxOutlineBlank';\nimport CheckBoxIcon from '../internal/svg-icons/CheckBox';\nimport { fade } from '../styles/colorManipulator';\nimport IndeterminateCheckBoxIcon from '../internal/svg-icons/IndeterminateCheckBox';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.secondary\n },\n\n /* Pseudo-class applied to the root element if `checked={true}`. */\n checked: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `indeterminate={true}`. */\n indeterminate: {},\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n '&$checked': {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n '&$checked': {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n }\n };\n};\nvar defaultCheckedIcon = /*#__PURE__*/React.createElement(CheckBoxIcon, null);\nvar defaultIcon = /*#__PURE__*/React.createElement(CheckBoxOutlineBlankIcon, null);\nvar defaultIndeterminateIcon = /*#__PURE__*/React.createElement(IndeterminateCheckBoxIcon, null);\nvar Checkbox = React.forwardRef(function Checkbox(props, ref) {\n var _props$checkedIcon = props.checkedIcon,\n checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon,\n classes = props.classes,\n _props$color = props.color,\n color = _props$color === void 0 ? 'secondary' : _props$color,\n _props$icon = props.icon,\n icon = _props$icon === void 0 ? defaultIcon : _props$icon,\n _props$indeterminate = props.indeterminate,\n indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate,\n _props$indeterminateI = props.indeterminateIcon,\n indeterminateIcon = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI,\n inputProps = props.inputProps,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"checkedIcon\", \"classes\", \"color\", \"icon\", \"indeterminate\", \"indeterminateIcon\", \"inputProps\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(SwitchBase, _extends({\n type: \"checkbox\",\n classes: {\n root: clsx(classes.root, classes[\"color\".concat(capitalize(color))], indeterminate && classes.indeterminate),\n checked: classes.checked,\n disabled: classes.disabled\n },\n color: color,\n inputProps: _extends({\n 'data-indeterminate': indeterminate\n }, inputProps),\n icon: React.cloneElement(indeterminate ? indeterminateIcon : icon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n checkedIcon: React.cloneElement(indeterminate ? indeterminateIcon : checkedIcon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Checkbox.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * If `true`, the checkbox will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * If `true`, the component appears indeterminate.\n * This does not set the native input element to indeterminate due\n * to inconsistent behavior across browsers.\n * However, we set a `data-indeterminate` attribute on the input.\n */\n indeterminate: PropTypes.bool,\n\n /**\n * The icon to display when the component is indeterminate.\n */\n indeterminateIcon: PropTypes.node,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the checkbox.\n * `small` is equivalent to the dense checkbox styling.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCheckbox'\n})(Checkbox);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport { default as MuiCheckbox } from '@material-ui/core/Checkbox';\r\nimport PropTypes from 'prop-types';\r\nimport CheckBoxOutlineBlankIcon from '@material-ui/core/internal/svg-icons/CheckBoxOutlineBlank';\r\nimport CheckBoxIcon from '@material-ui/core/internal/svg-icons/CheckBox';\r\nimport IndeterminateCheckBoxIcon from '@material-ui/core/internal/svg-icons/IndeterminateCheckBox';\r\nimport { default as withStyles } from '../styles';\r\nimport { sizingMedium, spacing40, colorBrandSecondary, borderRadiusSmall } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n focused: {\r\n borderRadius: borderRadiusSmall,\r\n boxShadow: 'inset 0 0 0 2px ' + colorBrandSecondary,\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n checked: {},\r\n disabled: {},\r\n colorPrimary: {\r\n '&$checked': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background\r\n }\r\n },\r\n size: {\r\n width: sizingMedium,\r\n height: sizingMedium\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Checkbox` to allow a user to select one or more values from a small set of options.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * LabeledCheckboxes\r\n * UnlabeledCheckboxes\r\n */\r\n\r\nvar Checkbox = function (_React$Component) {\r\n _inherits(Checkbox, _React$Component);\r\n\r\n function Checkbox(props) {\r\n _classCallCheck(this, Checkbox);\r\n\r\n var _this = _possibleConstructorReturn(this, (Checkbox.__proto__ || Object.getPrototypeOf(Checkbox)).call(this, props));\r\n\r\n _this.state = {\r\n isFocused: false\r\n };\r\n _this.handleFocus = _this.handleFocus.bind(_this);\r\n _this.handleBlur = _this.handleBlur.bind(_this);\r\n return _this;\r\n }\r\n\r\n _createClass(Checkbox, [{\r\n key: 'handleFocus',\r\n value: function handleFocus(e) {\r\n if (this.props.onFocus) {\r\n this.props.onFocus(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: true\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'handleBlur',\r\n value: function handleBlur(e) {\r\n if (this.props.onBlur) {\r\n this.props.onBlur(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: false\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var isFocused = this.state.isFocused;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n inputPropsTemp = _props.inputProps,\r\n other = _objectWithoutProperties(_props, ['classes', 'inputProps']);\r\n\r\n var inputProps = Object.assign({}, inputPropsTemp);\r\n\r\n // Updating aria-checked attribute when indeterminate flag is true.\r\n if (this.props.indeterminate) {\r\n inputProps['aria-checked'] = 'mixed';\r\n }\r\n\r\n return React.createElement(MuiCheckbox, Object.assign({\r\n classes: {\r\n root: isFocused ? classes.focused : classes.root,\r\n checked: classes.checked,\r\n disabled: classes.disabled,\r\n colorPrimary: classes.colorPrimary\r\n },\r\n onFocus: this.handleFocus,\r\n onBlur: this.handleBlur,\r\n disableRipple: true,\r\n color: 'primary',\r\n inputProps: inputProps\r\n }, other));\r\n }\r\n }]);\r\n\r\n return Checkbox;\r\n}(React.Component);\r\n\r\n;\r\n\r\nCheckbox.muiName = 'Checkbox';\r\n\r\nCheckbox.propTypes = {\r\n /**\r\n * If `true`, the component is checked.\r\n */\r\n checked: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\r\n /**\r\n * The icon to display when the component is checked.\r\n */\r\n checkedIcon: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the switch will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the ripple effect will be disabled.\r\n */\r\n disableRipple: PropTypes.bool,\r\n /**\r\n * The icon to display when the component is unchecked.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The id of the `input` element.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * If `true`, the component appears indeterminate.\r\n */\r\n indeterminate: PropTypes.bool,\r\n /**\r\n * The icon to display when the component is indeterminate.\r\n */\r\n indeterminateIcon: PropTypes.node,\r\n /**\r\n * Properties applied to the `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n /**\r\n * Callback fired when the state is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.checked`.\r\n * @param {boolean} checked The `checked` value of the switch\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * The input component property `type`.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The value of the component.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nCheckbox.defaultProps = {\r\n checkedIcon: React.createElement(CheckBoxIcon, null),\r\n icon: React.createElement(CheckBoxOutlineBlankIcon, null),\r\n indeterminate: false,\r\n indeterminateIcon: React.createElement(IndeterminateCheckBoxIcon, null)\r\n};\r\n\r\nexport default withStyles(styles)(Checkbox);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Modal from '../Modal';\nimport Backdrop from '../Backdrop';\nimport withStyles from '../styles/withStyles';\nimport Slide from '../Slide';\nimport Paper from '../Paper';\nimport capitalize from '../utils/capitalize';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `variant=\"permanent or persistent\"`. */\n docked: {\n flex: '0 0 auto'\n },\n\n /* Styles applied to the `Paper` component. */\n paper: {\n overflowY: 'auto',\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n flex: '1 0 auto',\n zIndex: theme.zIndex.drawer,\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n // temporary style\n position: 'fixed',\n top: 0,\n // We disable the focus ring for mouse, touch and keyboard users.\n // At some point, it would be better to keep it for keyboard users.\n // :focus-ring CSS pseudo-class will help.\n outline: 0\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"left\"`. */\n paperAnchorLeft: {\n left: 0,\n right: 'auto'\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"right\"`. */\n paperAnchorRight: {\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"top\"`. */\n paperAnchorTop: {\n top: 0,\n left: 0,\n bottom: 'auto',\n right: 0,\n height: 'auto',\n maxHeight: '100%'\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"bottom\"`. */\n paperAnchorBottom: {\n top: 'auto',\n left: 0,\n bottom: 0,\n right: 0,\n height: 'auto',\n maxHeight: '100%'\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"left\"` and `variant` is not \"temporary\". */\n paperAnchorDockedLeft: {\n borderRight: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"top\"` and `variant` is not \"temporary\". */\n paperAnchorDockedTop: {\n borderBottom: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"right\"` and `variant` is not \"temporary\". */\n paperAnchorDockedRight: {\n borderLeft: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"bottom\"` and `variant` is not \"temporary\". */\n paperAnchorDockedBottom: {\n borderTop: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Modal` component. */\n modal: {}\n };\n};\nvar oppositeDirection = {\n left: 'right',\n right: 'left',\n top: 'down',\n bottom: 'up'\n};\nexport function isHorizontal(anchor) {\n return ['left', 'right'].indexOf(anchor) !== -1;\n}\nexport function getAnchor(theme, anchor) {\n return theme.direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;\n}\nvar defaultTransitionDuration = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The props of the [Modal](/api/modal/) component are available\n * when `variant=\"temporary\"` is set.\n */\n\nvar Drawer = React.forwardRef(function Drawer(props, ref) {\n var _props$anchor = props.anchor,\n anchorProp = _props$anchor === void 0 ? 'left' : _props$anchor,\n BackdropProps = props.BackdropProps,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 16 : _props$elevation,\n _props$ModalProps = props.ModalProps;\n _props$ModalProps = _props$ModalProps === void 0 ? {} : _props$ModalProps;\n\n var BackdropPropsProp = _props$ModalProps.BackdropProps,\n ModalProps = _objectWithoutProperties(_props$ModalProps, [\"BackdropProps\"]),\n onClose = props.onClose,\n _props$open = props.open,\n open = _props$open === void 0 ? false : _props$open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n SlideProps = props.SlideProps,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Slide : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'temporary' : _props$variant,\n other = _objectWithoutProperties(props, [\"anchor\", \"BackdropProps\", \"children\", \"classes\", \"className\", \"elevation\", \"ModalProps\", \"onClose\", \"open\", \"PaperProps\", \"SlideProps\", \"TransitionComponent\", \"transitionDuration\", \"variant\"]);\n\n var theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.\n // We use this state is order to skip the appear transition during the\n // initial mount of the component.\n\n var mounted = React.useRef(false);\n React.useEffect(function () {\n mounted.current = true;\n }, []);\n var anchor = getAnchor(theme, anchorProp);\n var drawer = /*#__PURE__*/React.createElement(Paper, _extends({\n elevation: variant === 'temporary' ? elevation : 0,\n square: true\n }, PaperProps, {\n className: clsx(classes.paper, classes[\"paperAnchor\".concat(capitalize(anchor))], PaperProps.className, variant !== 'temporary' && classes[\"paperAnchorDocked\".concat(capitalize(anchor))])\n }), children);\n\n if (variant === 'permanent') {\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes.docked, className),\n ref: ref\n }, other), drawer);\n }\n\n var slidingDrawer = /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: open,\n direction: oppositeDirection[anchor],\n timeout: transitionDuration,\n appear: mounted.current\n }, SlideProps), drawer);\n\n if (variant === 'persistent') {\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes.docked, className),\n ref: ref\n }, other), slidingDrawer);\n } // variant === temporary\n\n\n return /*#__PURE__*/React.createElement(Modal, _extends({\n BackdropProps: _extends(_extends(_extends({}, BackdropProps), BackdropPropsProp), {}, {\n transitionDuration: transitionDuration\n }),\n BackdropComponent: Backdrop,\n className: clsx(classes.root, classes.modal, className),\n open: open,\n onClose: onClose,\n ref: ref\n }, other, ModalProps), slidingDrawer);\n});\nprocess.env.NODE_ENV !== \"production\" ? Drawer.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Side from which the drawer will appear.\n */\n anchor: PropTypes.oneOf(['bottom', 'left', 'right', 'top']),\n\n /**\n * @ignore\n */\n BackdropProps: PropTypes.object,\n\n /**\n * The contents of the drawer.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The elevation of the drawer.\n */\n elevation: PropTypes.number,\n\n /**\n * Props applied to the [`Modal`](/api/modal/) element.\n */\n ModalProps: PropTypes.object,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * If `true`, the drawer is open.\n */\n open: PropTypes.bool,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes.object,\n\n /**\n * Props applied to the [`Slide`](/api/slide/) element.\n */\n SlideProps: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['permanent', 'persistent', 'temporary'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDrawer',\n flip: false\n})(Drawer);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiDrawer } from '@material-ui/core/Drawer';\r\nimport { useSpacing } from './../globalSpacing';\r\nimport { withStyles } from '../styles';\r\n\r\nimport { spacing40, spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n width: '17rem' }, theme.breakpoints.up('sm'), {\r\n width: '25.9375rem' // 415px\r\n }),\r\n fullScreenDrawer: {\r\n width: '100%',\r\n height: '100%'\r\n },\r\n fullScreenPaper: {\r\n height: 'inherit'\r\n },\r\n paper: {\r\n width: 'inherit',\r\n gridAutoRows: 'minmax(min-content, max-content)'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that can be used for navigation or to provide supplemental information.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.14.0\r\n * @examples\r\n * TemporaryDrawer\r\n * ResponsiveDrawer\r\n * FullScreenDrawer\r\n * DrawerWithCustomSpacing\r\n * DrawerWithCustomSpacingSpacingOptions\r\n */\r\nvar Drawer = function Drawer(props) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n spacingOptionsLocal = props.spacingOptions,\r\n anchor = props.anchor,\r\n fullScreen = props.fullScreen,\r\n rest = _objectWithoutProperties(props, ['classes', 'spacingOptions', 'anchor', 'fullScreen']);\r\n\r\n var _useSpacing = useSpacing(spacingOptionsLocal),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var fullScreenDrawer = classes.fullScreenDrawer,\r\n fullScreenPaper = classes.fullScreenPaper,\r\n restClasses = _objectWithoutProperties(classes, ['fullScreenDrawer', 'fullScreenPaper']);\r\n\r\n var classOverrides = Object.assign({}, restClasses, {\r\n root: classNames((_classNames = {}, _defineProperty(_classNames, classes.root, anchor === 'left' || anchor === 'right'), _defineProperty(_classNames, fullScreenDrawer, fullScreen), _classNames)),\r\n paper: classNames(classes.paper, spacingStyles, _defineProperty({}, fullScreenPaper, fullScreen))\r\n });\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptionsLocal);\r\n }, [spacingOptionsLocal]); // eslint-disable-line\r\n\r\n return React.createElement(MuiDrawer, Object.assign({\r\n classes: classOverrides,\r\n anchor: anchor\r\n }, rest));\r\n};\r\n\r\nDrawer.muiName = 'Drawer';\r\n\r\nDrawer.propTypes = {\r\n /**\r\n * Side from which the drawer will appear.\r\n */\r\n anchor: PropTypes.oneOf(['bottom', 'left', 'right', 'top']),\r\n /**\r\n * The contents of the drawer.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component. See Classes API below for more details.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The elevation of the drawer.\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * Props applied to the [`Modal`](https://material-ui.com/api/modal/) element.\r\n *\r\n * Only available when the variant is \"temporary\"\r\n */\r\n ModalProps: PropTypes.object,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n * Signature: `function(event: object) => void`\r\n * event: The event source of the callback.\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * If true, the drawer is open.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * Props applied to the [`Paper`](#/components/Paper) element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Props applied to the [`Slide`](https://material-ui.com/api/slide/) element.\r\n */\r\n SlideProps: PropTypes.object,\r\n /**\r\n * The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.\r\n *\r\n * Object format: { appear?: number, enter?: number, exit?: number }\r\n *\r\n * Default value: `{enter: duration.enteringScreen, exit: duration.leavingScreen}`\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.object]),\r\n /**\r\n * The variant to use.\r\n */\r\n variant: PropTypes.oneOf(['permanent', 'persistent', 'temporary']),\r\n /**\r\n * If `true`, the Drawer will be full-screen\r\n */\r\n fullScreen: PropTypes.bool,\r\n /**\r\n * Provides several attributes to control `Drawer` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Drawer` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n * * `outerSpacing` (bool): **true** | false\r\n * * If set to `false`, removes the drawer's outer padding (but retains the space between its subcomponents)\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nDrawer.defaultProps = {\r\n anchor: 'left',\r\n elevation: 16,\r\n ModalProps: {},\r\n open: false,\r\n PaperProps: {},\r\n SlideProps: {},\r\n variant: 'temporary',\r\n fullScreen: false,\r\n spacingOptions: {\r\n spacing: {\r\n xs: {\r\n padding: spacing40,\r\n gutter: spacing40\r\n },\r\n lg: {\r\n padding: spacing60,\r\n gutter: spacing50\r\n }\r\n }\r\n }\r\n};\r\n\r\nexport default withStyles(styles)(Drawer);","/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\nvar KeyCode = {\n /**\n * MAC_ENTER\n */\n MAC_ENTER: 3,\n\n /**\n * BACKSPACE\n */\n BACKSPACE: 8,\n\n /**\n * TAB\n */\n TAB: 9,\n\n /**\n * NUMLOCK on FF/Safari Mac\n */\n NUM_CENTER: 12,\n\n /**\n * ENTER\n */\n ENTER: 13,\n\n /**\n * SHIFT\n */\n SHIFT: 16,\n\n /**\n * CTRL\n */\n CTRL: 17,\n\n /**\n * ALT\n */\n ALT: 18,\n\n /**\n * PAUSE\n */\n PAUSE: 19,\n\n /**\n * CAPS_LOCK\n */\n CAPS_LOCK: 20,\n\n /**\n * ESC\n */\n ESC: 27,\n\n /**\n * SPACE\n */\n SPACE: 32,\n\n /**\n * PAGE_UP\n */\n PAGE_UP: 33,\n\n /**\n * PAGE_DOWN\n */\n PAGE_DOWN: 34,\n\n /**\n * END\n */\n END: 35,\n\n /**\n * HOME\n */\n HOME: 36,\n\n /**\n * LEFT\n */\n LEFT: 37,\n\n /**\n * UP\n */\n UP: 38,\n\n /**\n * RIGHT\n */\n RIGHT: 39,\n\n /**\n * DOWN\n */\n DOWN: 40,\n\n /**\n * PRINT_SCREEN\n */\n PRINT_SCREEN: 44,\n\n /**\n * INSERT\n */\n INSERT: 45,\n\n /**\n * DELETE\n */\n DELETE: 46,\n\n /**\n * ZERO\n */\n ZERO: 48,\n\n /**\n * ONE\n */\n ONE: 49,\n\n /**\n * TWO\n */\n TWO: 50,\n\n /**\n * THREE\n */\n THREE: 51,\n\n /**\n * FOUR\n */\n FOUR: 52,\n\n /**\n * FIVE\n */\n FIVE: 53,\n\n /**\n * SIX\n */\n SIX: 54,\n\n /**\n * SEVEN\n */\n SEVEN: 55,\n\n /**\n * EIGHT\n */\n EIGHT: 56,\n\n /**\n * NINE\n */\n NINE: 57,\n\n /**\n * QUESTION_MARK\n */\n QUESTION_MARK: 63,\n\n /**\n * A\n */\n A: 65,\n\n /**\n * B\n */\n B: 66,\n\n /**\n * C\n */\n C: 67,\n\n /**\n * D\n */\n D: 68,\n\n /**\n * E\n */\n E: 69,\n\n /**\n * F\n */\n F: 70,\n\n /**\n * G\n */\n G: 71,\n\n /**\n * H\n */\n H: 72,\n\n /**\n * I\n */\n I: 73,\n\n /**\n * J\n */\n J: 74,\n\n /**\n * K\n */\n K: 75,\n\n /**\n * L\n */\n L: 76,\n\n /**\n * M\n */\n M: 77,\n\n /**\n * N\n */\n N: 78,\n\n /**\n * O\n */\n O: 79,\n\n /**\n * P\n */\n P: 80,\n\n /**\n * Q\n */\n Q: 81,\n\n /**\n * R\n */\n R: 82,\n\n /**\n * S\n */\n S: 83,\n\n /**\n * T\n */\n T: 84,\n\n /**\n * U\n */\n U: 85,\n\n /**\n * V\n */\n V: 86,\n\n /**\n * W\n */\n W: 87,\n\n /**\n * X\n */\n X: 88,\n\n /**\n * Y\n */\n Y: 89,\n\n /**\n * Z\n */\n Z: 90,\n\n /**\n * META\n */\n META: 91,\n\n /**\n * WIN_KEY_RIGHT\n */\n WIN_KEY_RIGHT: 92,\n\n /**\n * CONTEXT_MENU\n */\n CONTEXT_MENU: 93,\n\n /**\n * NUM_ZERO\n */\n NUM_ZERO: 96,\n\n /**\n * NUM_ONE\n */\n NUM_ONE: 97,\n\n /**\n * NUM_TWO\n */\n NUM_TWO: 98,\n\n /**\n * NUM_THREE\n */\n NUM_THREE: 99,\n\n /**\n * NUM_FOUR\n */\n NUM_FOUR: 100,\n\n /**\n * NUM_FIVE\n */\n NUM_FIVE: 101,\n\n /**\n * NUM_SIX\n */\n NUM_SIX: 102,\n\n /**\n * NUM_SEVEN\n */\n NUM_SEVEN: 103,\n\n /**\n * NUM_EIGHT\n */\n NUM_EIGHT: 104,\n\n /**\n * NUM_NINE\n */\n NUM_NINE: 105,\n\n /**\n * NUM_MULTIPLY\n */\n NUM_MULTIPLY: 106,\n\n /**\n * NUM_PLUS\n */\n NUM_PLUS: 107,\n\n /**\n * NUM_MINUS\n */\n NUM_MINUS: 109,\n\n /**\n * NUM_PERIOD\n */\n NUM_PERIOD: 110,\n\n /**\n * NUM_DIVISION\n */\n NUM_DIVISION: 111,\n\n /**\n * F1\n */\n F1: 112,\n\n /**\n * F2\n */\n F2: 113,\n\n /**\n * F3\n */\n F3: 114,\n\n /**\n * F4\n */\n F4: 115,\n\n /**\n * F5\n */\n F5: 116,\n\n /**\n * F6\n */\n F6: 117,\n\n /**\n * F7\n */\n F7: 118,\n\n /**\n * F8\n */\n F8: 119,\n\n /**\n * F9\n */\n F9: 120,\n\n /**\n * F10\n */\n F10: 121,\n\n /**\n * F11\n */\n F11: 122,\n\n /**\n * F12\n */\n F12: 123,\n\n /**\n * NUMLOCK\n */\n NUMLOCK: 144,\n\n /**\n * SEMICOLON\n */\n SEMICOLON: 186,\n\n /**\n * DASH\n */\n DASH: 189,\n\n /**\n * EQUALS\n */\n EQUALS: 187,\n\n /**\n * COMMA\n */\n COMMA: 188,\n\n /**\n * PERIOD\n */\n PERIOD: 190,\n\n /**\n * SLASH\n */\n SLASH: 191,\n\n /**\n * APOSTROPHE\n */\n APOSTROPHE: 192,\n\n /**\n * SINGLE_QUOTE\n */\n SINGLE_QUOTE: 222,\n\n /**\n * OPEN_SQUARE_BRACKET\n */\n OPEN_SQUARE_BRACKET: 219,\n\n /**\n * BACKSLASH\n */\n BACKSLASH: 220,\n\n /**\n * CLOSE_SQUARE_BRACKET\n */\n CLOSE_SQUARE_BRACKET: 221,\n\n /**\n * WIN_KEY\n */\n WIN_KEY: 224,\n\n /**\n * MAC_FF_META\n */\n MAC_FF_META: 224,\n\n /**\n * WIN_IME\n */\n WIN_IME: 229,\n // ======================== Function ========================\n\n /**\n * whether text and modified key is entered at the same time.\n */\n isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {\n var keyCode = e.keyCode;\n\n if (e.altKey && !e.ctrlKey || e.metaKey || // Function keys don't generate text\n keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n return false;\n } // The following keys are quite harmless, even in combination with\n // CTRL, ALT or SHIFT.\n\n\n switch (keyCode) {\n case KeyCode.ALT:\n case KeyCode.CAPS_LOCK:\n case KeyCode.CONTEXT_MENU:\n case KeyCode.CTRL:\n case KeyCode.DOWN:\n case KeyCode.END:\n case KeyCode.ESC:\n case KeyCode.HOME:\n case KeyCode.INSERT:\n case KeyCode.LEFT:\n case KeyCode.MAC_FF_META:\n case KeyCode.META:\n case KeyCode.NUMLOCK:\n case KeyCode.NUM_CENTER:\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAUSE:\n case KeyCode.PRINT_SCREEN:\n case KeyCode.RIGHT:\n case KeyCode.SHIFT:\n case KeyCode.UP:\n case KeyCode.WIN_KEY:\n case KeyCode.WIN_KEY_RIGHT:\n return false;\n\n default:\n return true;\n }\n },\n\n /**\n * whether character is entered.\n */\n isCharacterKey: function isCharacterKey(keyCode) {\n if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n return true;\n }\n\n if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n return true;\n }\n\n if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n return true;\n } // Safari sends zero key code for non-latin characters.\n\n\n if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n return true;\n }\n\n switch (keyCode) {\n case KeyCode.SPACE:\n case KeyCode.QUESTION_MARK:\n case KeyCode.NUM_PLUS:\n case KeyCode.NUM_MINUS:\n case KeyCode.NUM_PERIOD:\n case KeyCode.NUM_DIVISION:\n case KeyCode.SEMICOLON:\n case KeyCode.DASH:\n case KeyCode.EQUALS:\n case KeyCode.COMMA:\n case KeyCode.PERIOD:\n case KeyCode.SLASH:\n case KeyCode.APOSTROPHE:\n case KeyCode.SINGLE_QUOTE:\n case KeyCode.OPEN_SQUARE_BRACKET:\n case KeyCode.BACKSLASH:\n case KeyCode.CLOSE_SQUARE_BRACKET:\n return true;\n\n default:\n return false;\n }\n }\n};\nexport default KeyCode;","import _extends from 'babel-runtime/helpers/extends';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport React from 'react';\nimport classNames from 'classnames';\n\nvar TouchFeedback = function (_React$Component) {\n _inherits(TouchFeedback, _React$Component);\n\n function TouchFeedback() {\n _classCallCheck(this, TouchFeedback);\n\n var _this = _possibleConstructorReturn(this, (TouchFeedback.__proto__ || Object.getPrototypeOf(TouchFeedback)).apply(this, arguments));\n\n _this.state = {\n active: false\n };\n _this.onTouchStart = function (e) {\n _this.triggerEvent('TouchStart', true, e);\n };\n _this.onTouchMove = function (e) {\n _this.triggerEvent('TouchMove', false, e);\n };\n _this.onTouchEnd = function (e) {\n _this.triggerEvent('TouchEnd', false, e);\n };\n _this.onTouchCancel = function (e) {\n _this.triggerEvent('TouchCancel', false, e);\n };\n _this.onMouseDown = function (e) {\n // pc simulate mobile\n _this.triggerEvent('MouseDown', true, e);\n };\n _this.onMouseUp = function (e) {\n _this.triggerEvent('MouseUp', false, e);\n };\n _this.onMouseLeave = function (e) {\n _this.triggerEvent('MouseLeave', false, e);\n };\n return _this;\n }\n\n _createClass(TouchFeedback, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n if (this.props.disabled && this.state.active) {\n this.setState({\n active: false\n });\n }\n }\n }, {\n key: 'triggerEvent',\n value: function triggerEvent(type, isActive, ev) {\n var eventType = 'on' + type;\n var children = this.props.children;\n\n if (children.props[eventType]) {\n children.props[eventType](ev);\n }\n if (isActive !== this.state.active) {\n this.setState({\n active: isActive\n });\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n children = _props.children,\n disabled = _props.disabled,\n activeClassName = _props.activeClassName,\n activeStyle = _props.activeStyle;\n\n var events = disabled ? undefined : {\n onTouchStart: this.onTouchStart,\n onTouchMove: this.onTouchMove,\n onTouchEnd: this.onTouchEnd,\n onTouchCancel: this.onTouchCancel,\n onMouseDown: this.onMouseDown,\n onMouseUp: this.onMouseUp,\n onMouseLeave: this.onMouseLeave\n };\n var child = React.Children.only(children);\n if (!disabled && this.state.active) {\n var _child$props = child.props,\n style = _child$props.style,\n className = _child$props.className;\n\n if (activeStyle !== false) {\n if (activeStyle) {\n style = _extends({}, style, activeStyle);\n }\n className = classNames(className, activeClassName);\n }\n return React.cloneElement(child, _extends({ className: className,\n style: style }, events));\n }\n return React.cloneElement(child, events);\n }\n }]);\n\n return TouchFeedback;\n}(React.Component);\n\nexport default TouchFeedback;\n\nTouchFeedback.defaultProps = {\n disabled: false\n};","import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport Touchable from 'rmc-feedback';\n\nvar InputHandler = function (_Component) {\n _inherits(InputHandler, _Component);\n\n function InputHandler() {\n _classCallCheck(this, InputHandler);\n\n return _possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n InputHandler.prototype.render = function render() {\n var _props = this.props,\n prefixCls = _props.prefixCls,\n disabled = _props.disabled,\n otherProps = _objectWithoutProperties(_props, ['prefixCls', 'disabled']);\n\n return React.createElement(\n Touchable,\n {\n disabled: disabled,\n activeClassName: prefixCls + '-handler-active'\n },\n React.createElement('span', otherProps)\n );\n };\n\n return InputHandler;\n}(Component);\n\nInputHandler.propTypes = {\n prefixCls: PropTypes.string,\n disabled: PropTypes.bool,\n onTouchStart: PropTypes.func,\n onTouchEnd: PropTypes.func,\n onMouseDown: PropTypes.func,\n onMouseUp: PropTypes.func,\n onMouseLeave: PropTypes.func\n};\n\nexport default InputHandler;","import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';\nimport _extends from 'babel-runtime/helpers/extends';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport KeyCode from 'rc-util/es/KeyCode';\nimport InputHandler from './InputHandler';\n\nfunction noop() {}\n\nfunction preventDefault(e) {\n e.preventDefault();\n}\n\nfunction defaultParser(input) {\n return input.replace(/[^\\w\\.-]+/g, '');\n}\n\n/**\n * When click and hold on a button - the speed of auto changin the value.\n */\nvar SPEED = 200;\n\n/**\n * When click and hold on a button - the delay before auto changin the value.\n */\nvar DELAY = 600;\n\n/**\n * Max Safe Integer -- on IE this is not available, so manually set the number in that case.\n * The reason this is used, instead of Infinity is because numbers above the MSI are unstable\n */\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1;\n\nvar isValidProps = function isValidProps(value) {\n return value !== undefined && value !== null;\n};\n\nvar InputNumber = function (_React$Component) {\n _inherits(InputNumber, _React$Component);\n\n function InputNumber(props) {\n _classCallCheck(this, InputNumber);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\n _initialiseProps.call(_this);\n\n var value = void 0;\n if ('value' in props) {\n value = props.value;\n } else {\n value = props.defaultValue;\n }\n _this.state = {\n focused: props.autoFocus\n };\n var validValue = _this.getValidValue(_this.toNumber(value));\n _this.state = _extends({}, _this.state, {\n inputValue: _this.toPrecisionAsStep(validValue),\n value: validValue\n });\n return _this;\n }\n\n InputNumber.prototype.componentDidMount = function componentDidMount() {\n this.componentDidUpdate();\n };\n\n InputNumber.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _props = this.props,\n value = _props.value,\n onChange = _props.onChange,\n max = _props.max,\n min = _props.min;\n var focused = this.state.focused;\n\n // Don't trigger in componentDidMount\n\n if (prevProps) {\n if (prevProps.value !== value || prevProps.max !== max || prevProps.min !== min) {\n var validValue = focused ? value : this.getValidValue(value);\n var nextInputValue = void 0;\n if (this.pressingUpOrDown) {\n nextInputValue = validValue;\n } else if (this.inputting) {\n nextInputValue = this.rawInput;\n } else {\n nextInputValue = this.toPrecisionAsStep(validValue);\n }\n this.setState({ // eslint-disable-line\n value: validValue,\n inputValue: nextInputValue\n });\n }\n\n // Trigger onChange when max or min change\n // https://github.com/ant-design/ant-design/issues/11574\n var nextValue = 'value' in this.props ? value : this.state.value;\n // ref: null < 20 === true\n // https://github.com/ant-design/ant-design/issues/14277\n if ('max' in this.props && prevProps.max !== max && typeof nextValue === 'number' && nextValue > max && onChange) {\n onChange(max);\n }\n if ('min' in this.props && prevProps.min !== min && typeof nextValue === 'number' && nextValue < min && onChange) {\n onChange(min);\n }\n }\n\n // Restore cursor\n try {\n // Firefox set the input cursor after it get focused.\n // This caused that if an input didn't init with the selection,\n // set will cause cursor not correct when first focus.\n // Safari will focus input if set selection. We need skip this.\n if (this.cursorStart !== undefined && this.state.focused) {\n // In most cases, the string after cursor is stable.\n // We can move the cursor before it\n\n if (\n // If not match full str, try to match part of str\n !this.partRestoreByAfter(this.cursorAfter) && this.state.value !== this.props.value) {\n // If not match any of then, let's just keep the position\n // TODO: Logic should not reach here, need check if happens\n var pos = this.cursorStart + 1;\n\n // If not have last string, just position to the end\n if (!this.cursorAfter) {\n pos = this.input.value.length;\n } else if (this.lastKeyCode === KeyCode.BACKSPACE) {\n pos = this.cursorStart - 1;\n } else if (this.lastKeyCode === KeyCode.DELETE) {\n pos = this.cursorStart;\n }\n this.fixCaret(pos, pos);\n } else if (this.currentValue === this.input.value) {\n // Handle some special key code\n switch (this.lastKeyCode) {\n case KeyCode.BACKSPACE:\n this.fixCaret(this.cursorStart - 1, this.cursorStart - 1);\n break;\n case KeyCode.DELETE:\n this.fixCaret(this.cursorStart + 1, this.cursorStart + 1);\n break;\n default:\n // Do nothing\n }\n }\n }\n } catch (e) {}\n // Do nothing\n\n\n // Reset last key\n this.lastKeyCode = null;\n\n // pressingUpOrDown is true means that someone just click up or down button\n if (!this.pressingUpOrDown) {\n return;\n }\n if (this.props.focusOnUpDown && this.state.focused) {\n if (document.activeElement !== this.input) {\n this.focus();\n }\n }\n\n this.pressingUpOrDown = false;\n };\n\n InputNumber.prototype.componentWillUnmount = function componentWillUnmount() {\n this.stop();\n };\n\n InputNumber.prototype.getCurrentValidValue = function getCurrentValidValue(value) {\n var val = value;\n if (val === '') {\n val = '';\n } else if (!this.isNotCompleteNumber(parseFloat(val, 10))) {\n val = this.getValidValue(val);\n } else {\n val = this.state.value;\n }\n return this.toNumber(val);\n };\n\n InputNumber.prototype.getRatio = function getRatio(e) {\n var ratio = 1;\n if (e.metaKey || e.ctrlKey) {\n ratio = 0.1;\n } else if (e.shiftKey) {\n ratio = 10;\n }\n return ratio;\n };\n\n InputNumber.prototype.getValueFromEvent = function getValueFromEvent(e) {\n // optimize for chinese input expierence\n // https://github.com/ant-design/ant-design/issues/8196\n var value = e.target.value.trim().replace(/。/g, '.');\n\n if (isValidProps(this.props.decimalSeparator)) {\n value = value.replace(this.props.decimalSeparator, '.');\n }\n\n return value;\n };\n\n InputNumber.prototype.getValidValue = function getValidValue(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.min;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.props.max;\n\n var val = parseFloat(value, 10);\n // https://github.com/ant-design/ant-design/issues/7358\n if (isNaN(val)) {\n return value;\n }\n if (val < min) {\n val = min;\n }\n if (val > max) {\n val = max;\n }\n return val;\n };\n\n InputNumber.prototype.setValue = function setValue(v, callback) {\n // trigger onChange\n var precision = this.props.precision;\n\n var newValue = this.isNotCompleteNumber(parseFloat(v, 10)) ? null : parseFloat(v, 10);\n var _state = this.state,\n _state$value = _state.value,\n value = _state$value === undefined ? null : _state$value,\n _state$inputValue = _state.inputValue,\n inputValue = _state$inputValue === undefined ? null : _state$inputValue;\n // https://github.com/ant-design/ant-design/issues/7363\n // https://github.com/ant-design/ant-design/issues/16622\n\n var newValueInString = typeof newValue === 'number' ? newValue.toFixed(precision) : '' + newValue;\n var changed = newValue !== value || newValueInString !== '' + inputValue;\n if (!('value' in this.props)) {\n this.setState({\n value: newValue,\n inputValue: this.toPrecisionAsStep(v)\n }, callback);\n } else {\n // always set input value same as value\n this.setState({\n inputValue: this.toPrecisionAsStep(this.state.value)\n }, callback);\n }\n if (changed) {\n this.props.onChange(newValue);\n }\n\n return newValue;\n };\n\n InputNumber.prototype.getPrecision = function getPrecision(value) {\n if (isValidProps(this.props.precision)) {\n return this.props.precision;\n }\n var valueString = value.toString();\n if (valueString.indexOf('e-') >= 0) {\n return parseInt(valueString.slice(valueString.indexOf('e-') + 2), 10);\n }\n var precision = 0;\n if (valueString.indexOf('.') >= 0) {\n precision = valueString.length - valueString.indexOf('.') - 1;\n }\n return precision;\n };\n\n // step={1.0} value={1.51}\n // press +\n // then value should be 2.51, rather than 2.5\n // if this.props.precision is undefined\n // https://github.com/react-component/input-number/issues/39\n\n\n InputNumber.prototype.getMaxPrecision = function getMaxPrecision(currentValue) {\n var ratio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var _props2 = this.props,\n precision = _props2.precision,\n step = _props2.step;\n\n if (isValidProps(precision)) {\n return precision;\n }\n var ratioPrecision = this.getPrecision(ratio);\n var stepPrecision = this.getPrecision(step);\n var currentValuePrecision = this.getPrecision(currentValue);\n if (!currentValue) {\n return ratioPrecision + stepPrecision;\n }\n return Math.max(currentValuePrecision, ratioPrecision + stepPrecision);\n };\n\n InputNumber.prototype.getPrecisionFactor = function getPrecisionFactor(currentValue) {\n var ratio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n\n var precision = this.getMaxPrecision(currentValue, ratio);\n return Math.pow(10, precision);\n };\n\n InputNumber.prototype.fixCaret = function fixCaret(start, end) {\n if (start === undefined || end === undefined || !this.input || !this.input.value) {\n return;\n }\n\n try {\n var currentStart = this.input.selectionStart;\n var currentEnd = this.input.selectionEnd;\n\n if (start !== currentStart || end !== currentEnd) {\n this.input.setSelectionRange(start, end);\n }\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n };\n\n InputNumber.prototype.focus = function focus() {\n this.input.focus();\n this.recordCursorPosition();\n };\n\n InputNumber.prototype.blur = function blur() {\n this.input.blur();\n };\n\n InputNumber.prototype.formatWrapper = function formatWrapper(num) {\n // http://2ality.com/2012/03/signedzero.html\n // https://github.com/ant-design/ant-design/issues/9439\n if (this.props.formatter) {\n return this.props.formatter(num);\n }\n return num;\n };\n\n InputNumber.prototype.toPrecisionAsStep = function toPrecisionAsStep(num) {\n if (this.isNotCompleteNumber(num) || num === '') {\n return num;\n }\n var precision = Math.abs(this.getMaxPrecision(num));\n if (!isNaN(precision)) {\n return Number(num).toFixed(precision);\n }\n return num.toString();\n };\n\n // '1.' '1x' 'xx' '' => are not complete numbers\n\n\n InputNumber.prototype.isNotCompleteNumber = function isNotCompleteNumber(num) {\n return isNaN(num) || num === '' || num === null || num && num.toString().indexOf('.') === num.toString().length - 1;\n };\n\n InputNumber.prototype.toNumber = function toNumber(num) {\n var precision = this.props.precision;\n var focused = this.state.focused;\n // num.length > 16 => This is to prevent input of large numbers\n\n var numberIsTooLarge = num && num.length > 16 && focused;\n if (this.isNotCompleteNumber(num) || numberIsTooLarge) {\n return num;\n }\n if (isValidProps(precision)) {\n return Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision);\n }\n return Number(num);\n };\n\n InputNumber.prototype.upStep = function upStep(val, rat) {\n var step = this.props.step;\n\n var precisionFactor = this.getPrecisionFactor(val, rat);\n var precision = Math.abs(this.getMaxPrecision(val, rat));\n var result = ((precisionFactor * val + precisionFactor * step * rat) / precisionFactor).toFixed(precision);\n return this.toNumber(result);\n };\n\n InputNumber.prototype.downStep = function downStep(val, rat) {\n var step = this.props.step;\n\n var precisionFactor = this.getPrecisionFactor(val, rat);\n var precision = Math.abs(this.getMaxPrecision(val, rat));\n var result = ((precisionFactor * val - precisionFactor * step * rat) / precisionFactor).toFixed(precision);\n return this.toNumber(result);\n };\n\n InputNumber.prototype.step = function step(type, e) {\n var _this2 = this;\n\n var ratio = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var recursive = arguments[3];\n\n this.stop();\n if (e) {\n e.persist();\n e.preventDefault();\n }\n var props = this.props;\n if (props.disabled) {\n return;\n }\n var value = this.getCurrentValidValue(this.state.inputValue) || 0;\n if (this.isNotCompleteNumber(value)) {\n return;\n }\n var val = this[type + 'Step'](value, ratio);\n var outOfRange = val > props.max || val < props.min;\n if (val > props.max) {\n val = props.max;\n } else if (val < props.min) {\n val = props.min;\n }\n this.setValue(val);\n this.setState({\n focused: true\n });\n if (outOfRange) {\n return;\n }\n this.autoStepTimer = setTimeout(function () {\n _this2[type](e, ratio, true);\n }, recursive ? SPEED : DELAY);\n };\n\n InputNumber.prototype.render = function render() {\n var _classNames;\n\n var props = _extends({}, this.props);\n\n var prefixCls = props.prefixCls,\n disabled = props.disabled,\n readOnly = props.readOnly,\n useTouch = props.useTouch,\n autoComplete = props.autoComplete,\n upHandler = props.upHandler,\n downHandler = props.downHandler,\n rest = _objectWithoutProperties(props, ['prefixCls', 'disabled', 'readOnly', 'useTouch', 'autoComplete', 'upHandler', 'downHandler']);\n\n var classes = classNames((_classNames = {}, _classNames[prefixCls] = true, _classNames[props.className] = !!props.className, _classNames[prefixCls + '-disabled'] = disabled, _classNames[prefixCls + '-focused'] = this.state.focused, _classNames));\n var upDisabledClass = '';\n var downDisabledClass = '';\n var value = this.state.value;\n\n if (value || value === 0) {\n if (!isNaN(value)) {\n var val = Number(value);\n if (val >= props.max) {\n upDisabledClass = prefixCls + '-handler-up-disabled';\n }\n if (val <= props.min) {\n downDisabledClass = prefixCls + '-handler-down-disabled';\n }\n } else {\n upDisabledClass = prefixCls + '-handler-up-disabled';\n downDisabledClass = prefixCls + '-handler-down-disabled';\n }\n }\n\n var dataOrAriaAttributeProps = {};\n for (var key in props) {\n if (props.hasOwnProperty(key) && (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role')) {\n dataOrAriaAttributeProps[key] = props[key];\n }\n }\n\n var editable = !props.readOnly && !props.disabled;\n\n // focus state, show input value\n // unfocus state, show valid value\n var inputDisplayValue = this.getInputDisplayValue();\n\n var upEvents = void 0;\n var downEvents = void 0;\n if (useTouch) {\n upEvents = {\n onTouchStart: editable && !upDisabledClass ? this.up : noop,\n onTouchEnd: this.stop\n };\n downEvents = {\n onTouchStart: editable && !downDisabledClass ? this.down : noop,\n onTouchEnd: this.stop\n };\n } else {\n upEvents = {\n onMouseDown: editable && !upDisabledClass ? this.up : noop,\n onMouseUp: this.stop,\n onMouseLeave: this.stop\n };\n downEvents = {\n onMouseDown: editable && !downDisabledClass ? this.down : noop,\n onMouseUp: this.stop,\n onMouseLeave: this.stop\n };\n }\n\n var isUpDisabled = !!upDisabledClass || disabled || readOnly;\n var isDownDisabled = !!downDisabledClass || disabled || readOnly;\n // ref for test\n return React.createElement(\n 'div',\n {\n className: classes,\n style: props.style,\n title: props.title,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n onMouseOver: props.onMouseOver,\n onMouseOut: props.onMouseOut\n },\n React.createElement(\n 'div',\n { className: prefixCls + '-handler-wrap' },\n React.createElement(\n InputHandler,\n _extends({\n ref: this.saveUp,\n disabled: isUpDisabled,\n prefixCls: prefixCls,\n unselectable: 'unselectable'\n }, upEvents, {\n role: 'button',\n 'aria-label': 'Increase Value',\n 'aria-disabled': !!isUpDisabled,\n className: prefixCls + '-handler ' + prefixCls + '-handler-up ' + upDisabledClass\n }),\n upHandler || React.createElement('span', {\n unselectable: 'unselectable',\n className: prefixCls + '-handler-up-inner',\n onClick: preventDefault\n })\n ),\n React.createElement(\n InputHandler,\n _extends({\n ref: this.saveDown,\n disabled: isDownDisabled,\n prefixCls: prefixCls,\n unselectable: 'unselectable'\n }, downEvents, {\n role: 'button',\n 'aria-label': 'Decrease Value',\n 'aria-disabled': !!isDownDisabled,\n className: prefixCls + '-handler ' + prefixCls + '-handler-down ' + downDisabledClass\n }),\n downHandler || React.createElement('span', {\n unselectable: 'unselectable',\n className: prefixCls + '-handler-down-inner',\n onClick: preventDefault\n })\n )\n ),\n React.createElement(\n 'div',\n {\n className: prefixCls + '-input-wrap'\n },\n React.createElement('input', _extends({\n role: 'spinbutton',\n 'aria-valuemin': props.min,\n 'aria-valuemax': props.max,\n 'aria-valuenow': value,\n required: props.required,\n type: props.type,\n placeholder: props.placeholder,\n onClick: props.onClick,\n onMouseUp: this.onMouseUp,\n className: prefixCls + '-input',\n tabIndex: props.tabIndex,\n autoComplete: autoComplete,\n onFocus: this.onFocus,\n onBlur: this.onBlur,\n onKeyDown: editable ? this.onKeyDown : noop,\n onKeyUp: editable ? this.onKeyUp : noop,\n autoFocus: props.autoFocus,\n maxLength: props.maxLength,\n readOnly: props.readOnly,\n disabled: props.disabled,\n max: props.max,\n min: props.min,\n step: props.step,\n name: props.name,\n id: props.id,\n onChange: this.onChange,\n ref: this.saveInput,\n value: inputDisplayValue,\n pattern: props.pattern\n }, dataOrAriaAttributeProps))\n )\n );\n };\n\n return InputNumber;\n}(React.Component);\n\nInputNumber.propTypes = {\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n defaultValue: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n focusOnUpDown: PropTypes.bool,\n autoFocus: PropTypes.bool,\n onChange: PropTypes.func,\n onPressEnter: PropTypes.func,\n onKeyDown: PropTypes.func,\n onKeyUp: PropTypes.func,\n prefixCls: PropTypes.string,\n tabIndex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n disabled: PropTypes.bool,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n readOnly: PropTypes.bool,\n max: PropTypes.number,\n min: PropTypes.number,\n step: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n upHandler: PropTypes.node,\n downHandler: PropTypes.node,\n useTouch: PropTypes.bool,\n formatter: PropTypes.func,\n parser: PropTypes.func,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n onMouseOver: PropTypes.func,\n onMouseOut: PropTypes.func,\n onMouseUp: PropTypes.func,\n precision: PropTypes.number,\n required: PropTypes.bool,\n pattern: PropTypes.string,\n decimalSeparator: PropTypes.string\n};\nInputNumber.defaultProps = {\n focusOnUpDown: true,\n useTouch: false,\n prefixCls: 'rc-input-number',\n min: -MAX_SAFE_INTEGER,\n step: 1,\n style: {},\n onChange: noop,\n onKeyDown: noop,\n onPressEnter: noop,\n onFocus: noop,\n onBlur: noop,\n parser: defaultParser,\n required: false,\n autoComplete: 'off'\n};\n\nvar _initialiseProps = function _initialiseProps() {\n var _this3 = this;\n\n this.onKeyDown = function (e) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var _props3 = _this3.props,\n onKeyDown = _props3.onKeyDown,\n onPressEnter = _props3.onPressEnter;\n\n\n if (e.keyCode === KeyCode.UP) {\n var ratio = _this3.getRatio(e);\n _this3.up(e, ratio);\n _this3.stop();\n } else if (e.keyCode === KeyCode.DOWN) {\n var _ratio = _this3.getRatio(e);\n _this3.down(e, _ratio);\n _this3.stop();\n } else if (e.keyCode === KeyCode.ENTER && onPressEnter) {\n onPressEnter(e);\n }\n\n // Trigger user key down\n _this3.recordCursorPosition();\n _this3.lastKeyCode = e.keyCode;\n if (onKeyDown) {\n onKeyDown.apply(undefined, [e].concat(args));\n }\n };\n\n this.onKeyUp = function (e) {\n for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n var onKeyUp = _this3.props.onKeyUp;\n\n\n _this3.stop();\n\n _this3.recordCursorPosition();\n\n // Trigger user key up\n if (onKeyUp) {\n onKeyUp.apply(undefined, [e].concat(args));\n }\n };\n\n this.onChange = function (e) {\n var onChange = _this3.props.onChange;\n\n\n if (_this3.state.focused) {\n _this3.inputting = true;\n }\n _this3.rawInput = _this3.props.parser(_this3.getValueFromEvent(e));\n _this3.setState({ inputValue: _this3.rawInput });\n onChange(_this3.toNumber(_this3.rawInput)); // valid number or invalid string\n };\n\n this.onMouseUp = function () {\n var onMouseUp = _this3.props.onMouseUp;\n\n\n _this3.recordCursorPosition();\n\n if (onMouseUp) {\n onMouseUp.apply(undefined, arguments);\n }\n };\n\n this.onFocus = function () {\n var _props4;\n\n _this3.setState({\n focused: true\n });\n (_props4 = _this3.props).onFocus.apply(_props4, arguments);\n };\n\n this.onBlur = function (e) {\n for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n\n var onBlur = _this3.props.onBlur;\n\n _this3.inputting = false;\n _this3.setState({\n focused: false\n });\n var value = _this3.getCurrentValidValue(_this3.state.inputValue);\n e.persist(); // fix https://github.com/react-component/input-number/issues/51\n var newValue = _this3.setValue(value);\n\n if (onBlur) {\n var originValue = _this3.input.value;\n var inputValue = _this3.getInputDisplayValue({ focus: false, value: newValue });\n _this3.input.value = inputValue;\n onBlur.apply(undefined, [e].concat(args));\n _this3.input.value = originValue;\n }\n };\n\n this.getInputDisplayValue = function (state) {\n var _ref = state || _this3.state,\n focused = _ref.focused,\n inputValue = _ref.inputValue,\n value = _ref.value;\n\n var inputDisplayValue = void 0;\n if (focused) {\n inputDisplayValue = inputValue;\n } else {\n inputDisplayValue = _this3.toPrecisionAsStep(value);\n }\n\n if (inputDisplayValue === undefined || inputDisplayValue === null) {\n inputDisplayValue = '';\n }\n\n var inputDisplayValueFormat = _this3.formatWrapper(inputDisplayValue);\n if (isValidProps(_this3.props.decimalSeparator)) {\n inputDisplayValueFormat = inputDisplayValueFormat.toString().replace('.', _this3.props.decimalSeparator);\n }\n\n return inputDisplayValueFormat;\n };\n\n this.recordCursorPosition = function () {\n // Record position\n try {\n _this3.cursorStart = _this3.input.selectionStart;\n _this3.cursorEnd = _this3.input.selectionEnd;\n _this3.currentValue = _this3.input.value;\n _this3.cursorBefore = _this3.input.value.substring(0, _this3.cursorStart);\n _this3.cursorAfter = _this3.input.value.substring(_this3.cursorEnd);\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n };\n\n this.restoreByAfter = function (str) {\n if (str === undefined) return false;\n\n var fullStr = _this3.input.value;\n var index = fullStr.lastIndexOf(str);\n\n if (index === -1) return false;\n\n if (index + str.length === fullStr.length) {\n _this3.fixCaret(index, index);\n\n return true;\n }\n return false;\n };\n\n this.partRestoreByAfter = function (str) {\n if (str === undefined) return false;\n\n // For loop from full str to the str with last char to map. e.g. 123\n // -> 123\n // -> 23\n // -> 3\n return Array.prototype.some.call(str, function (_, start) {\n var partStr = str.substring(start);\n\n return _this3.restoreByAfter(partStr);\n });\n };\n\n this.stop = function () {\n if (_this3.autoStepTimer) {\n clearTimeout(_this3.autoStepTimer);\n }\n };\n\n this.down = function (e, ratio, recursive) {\n _this3.pressingUpOrDown = true;\n _this3.step('down', e, ratio, recursive);\n };\n\n this.up = function (e, ratio, recursive) {\n _this3.pressingUpOrDown = true;\n _this3.step('up', e, ratio, recursive);\n };\n\n this.saveUp = function (node) {\n _this3.upHandler = node;\n };\n\n this.saveDown = function (node) {\n _this3.downHandler = node;\n };\n\n this.saveInput = function (node) {\n _this3.input = node;\n };\n};\n\nexport default InputNumber;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormControl as MuiFormControl } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport { widthFluid } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'block',\r\n position: 'relative',\r\n // Reset fieldset default style\r\n minWidth: 0,\r\n padding: 0,\r\n margin: 0,\r\n border: 0\r\n },\r\n marginNormal: {\r\n marginTop: theme.spacing(2),\r\n marginBottom: theme.spacing(1)\r\n },\r\n marginDense: {\r\n marginTop: theme.spacing(1),\r\n marginBottom: theme.spacing(0.5)\r\n },\r\n fullWidth: {\r\n width: widthFluid\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Provides context such as filled/focused/error/required for form inputs.\r\n * Relying on the context provides high flexibility and ensures that state always stays consistent\r\n * across children.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * ASimpleInput\r\n * BulkFormGroupOrientation\r\n * ContactFormDemo\r\n */\r\n\r\nvar FormControl = function (_React$Component) {\r\n _inherits(FormControl, _React$Component);\r\n\r\n function FormControl() {\r\n var _ref;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, FormControl);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = FormControl.__proto__ || Object.getPrototypeOf(FormControl)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\r\n adornedStart: false,\r\n filled: false,\r\n focused: false\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(FormControl, [{\r\n key: 'getChildContext',\r\n value: function getChildContext() {\r\n var _props = this.props,\r\n disabled = _props.disabled,\r\n error = _props.error,\r\n required = _props.required,\r\n margin = _props.margin;\r\n var _state = this.state,\r\n adornedStart = _state.adornedStart,\r\n filled = _state.filled,\r\n focused = _state.focused;\r\n\r\n\r\n return {\r\n muiFormControl: {\r\n adornedStart: adornedStart,\r\n disabled: disabled,\r\n error: error,\r\n filled: filled,\r\n focused: focused,\r\n margin: margin,\r\n onBlur: this.handleBlur,\r\n onEmpty: this.handleClean,\r\n onFilled: this.handleDirty,\r\n onFocus: this.handleFocus,\r\n required: required\r\n }\r\n };\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var props = this.props;\r\n\r\n var classes = props.classes,\r\n other = _objectWithoutProperties(props, ['classes']);\r\n\r\n return React.createElement(MuiFormControl, Object.assign({\r\n classes: {\r\n root: classes.root,\r\n marginNormal: classes.marginNormal,\r\n marginDense: classes.marginDense,\r\n fullWidth: classes.fullWidth\r\n }\r\n }, other));\r\n }\r\n }]);\r\n\r\n return FormControl;\r\n}(React.Component);\r\n\r\nFormControl.muiName = 'FormControl';\r\n\r\nFormControl.propTypes = {\r\n /**\r\n * The contents of the form control.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If `true`, the label, input and helper text should be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the label should be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the component will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\r\n */\r\n margin: PropTypes.oneOf(['none', 'dense', 'normal']),\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * If `true`, the label will indicate that the input is required.\r\n */\r\n required: PropTypes.bool\r\n};\r\n\r\nFormControl.defaultProps = {\r\n component: 'div',\r\n disabled: false,\r\n error: false,\r\n fullWidth: false,\r\n margin: 'none',\r\n required: false\r\n};\r\n\r\nFormControl.childContextTypes = {\r\n muiFormControl: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormControl);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormHelperText as MuiFormHelperText } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\n\r\nimport { fontSizeSmall, spacing30 } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: fontSizeSmall,\r\n color: theme.palette.text.secondary,\r\n '&$error': {\r\n color: theme.palette.status.error.text\r\n },\r\n '&$disabled': {\r\n color: theme.palette.text.disabled\r\n },\r\n marginTop: spacing30,\r\n textTransform: 'none',\r\n letterSpacing: 'unset'\r\n },\r\n error: {},\r\n disabled: {},\r\n marginDense: {\r\n marginTop: theme.spacing(0.5)\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A wrapper for standardized states for text near inputs in a form, disabled/error.\r\n */\r\nvar FormHelperText = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormHelperText, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormHelperText.muiName = 'FormHelperText';\r\nFormHelperText.displayName = 'FormHelperText';\r\n\r\nFormHelperText.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the helper text should be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, helper text should be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the helper text should use filled classes key.\r\n */\r\n filled: PropTypes.bool,\r\n /**\r\n * If `true`, the helper text should use focused classes key.\r\n */\r\n focused: PropTypes.bool,\r\n /**\r\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\r\n * FormControl.\r\n */\r\n margin: PropTypes.oneOf(['dense']),\r\n /**\r\n * If `true`, the helper text should use required classes key.\r\n */\r\n required: PropTypes.bool\r\n};\r\n\r\nFormHelperText.defaultProps = {\r\n component: 'p'\r\n};\r\n\r\nFormHelperText.contextTypes = {\r\n muiFormControl: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormHelperText);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\n\r\nimport RcInputNumber from 'rc-input-number';\r\n\r\nimport FormControl from '../../FormControl/FormControl';\r\nimport FormHelperText from '../../FormControl/FormHelperText';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\n\r\nimport withStyles from '../../styles';\r\n\r\nimport { borderRadiusMedium, borderWidthThick, borderWidthThin, boxShadowFocus, fontFamilyDefault, fontSizeDefault, fontSizeLarge, heightInputFieldsSmall, spacing40, spacing30, widthInputFields, zIndexTextFieldLabel } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n\r\n root: {\r\n '& .hedtech-number': {\r\n backgroundColor: '' + theme.palette.grey[100],\r\n width: widthInputFields,\r\n margin: 0,\r\n padding: 0,\r\n fontSize: fontSizeLarge,\r\n height: '3.25rem', // Needs to be 52px in order to match text field, accounting for border\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRadius: borderRadiusMedium\r\n },\r\n\r\n '& .hedtech-number-focused': {\r\n boxShadow: boxShadowFocus\r\n },\r\n '& .hedtech-number-handler': {\r\n textAlign: 'center',\r\n height: 'calc(50% - 1px)',\r\n overflow: 'hidden',\r\n display: 'block',\r\n touchAction: 'none',\r\n fill: theme.palette.grey[500]\r\n },\r\n '& .hedtech-number-handler-active': {\r\n fill: theme.palette.ctaColor.active\r\n },\r\n '& .hedtech-number-handler--up-inner, .hedtech-number-handler-down-inner': {\r\n color: theme.palette.grey[600],\r\n userSelect: 'none'\r\n },\r\n '& .hedtech-number.hedtech-number-disabled': {\r\n // borderColor: '#d9d9d9',\r\n borderColor: theme.palette.grey[400],\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n borderColor: theme.palette.grey[400]\r\n }\r\n },\r\n\r\n '& .hedtech-number-input-wrap': {\r\n overflow: 'hidden',\r\n height: '100%'\r\n },\r\n\r\n '& .hedtech-number-input': {\r\n display: 'flex',\r\n width: '100%',\r\n fontSize: fontSizeLarge,\r\n fontFamily: fontFamilyDefault,\r\n outline: 0,\r\n MozAppearance: 'textfield',\r\n border: 0,\r\n borderRadius: '0.75rem',\r\n background: 'none',\r\n padding: '1.375rem 1rem .625rem 1rem',\r\n '&::placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n // Disable FF specific invalid input box-shadow\r\n '&:not(output):-moz-ui-invalid': {\r\n boxShadow: 'none'\r\n }\r\n },\r\n\r\n // Handler containers\r\n '& .hedtech-number-disabled .hedtech-number-input ': {\r\n cursor: 'not-allowed',\r\n color: theme.palette.grey[500],\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n '& .hedtech-number-disabled .hedtech-number-handler': {\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n fill: theme.palette.grey[500]\r\n }\r\n },\r\n '& .hedtech-number-disabled .hedtech-number-handler:hover': {\r\n color: theme.palette.grey[400],\r\n borderColor: theme.palette.grey[400]\r\n }\r\n },\r\n\r\n small: {\r\n\r\n '& .hedtech-number': {\r\n height: heightInputFieldsSmall\r\n },\r\n '& .hedtech-number input, & .hedtech-number input:focus': {\r\n lineHeight: 'unset',\r\n padding: spacing30,\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabelFormControl': {\r\n top: '-0.30rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabelShrink': {\r\n display: 'none'\r\n }\r\n },\r\n\r\n // If focused, show placeholder text\r\n focused: {\r\n '& .hedtech-number-input': {\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n },\r\n\r\n // If there is no label\r\n // -- show placeholder text in middle of input\r\n noLabel: {\r\n '& .hedtech-number-input': {\r\n padding: spacing40,\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n },\r\n\r\n // Error styling\r\n error: {\r\n '& .hedtech-number': {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill,\r\n '&:hover': {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n }\r\n }\r\n },\r\n focusedError: {\r\n '& .hedtech-number-focused': {\r\n boxShadow: '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill\r\n }\r\n },\r\n\r\n // Full width\r\n fullWidth: {\r\n '& .hedtech-number': {\r\n width: '100%'\r\n },\r\n '& .hedtech-number-input': {\r\n width: 'calc(100% - 33px)' // Keep room for the buttons on the right (32px width + 1px border-left)\r\n }\r\n },\r\n\r\n // InputLabel\r\n inputLabelRoot: {\r\n '&:hover': {\r\n cursor: 'text'\r\n }\r\n },\r\n inputLabelFormControl: {\r\n zIndex: zIndexTextFieldLabel,\r\n left: spacing40,\r\n transform: 'translate(0, 1.125rem) scale(1)' // 18px to match TextField\r\n },\r\n inputLabelShrink: {\r\n fontSize: 14,\r\n transform: 'translate(0, .625rem) scale(0.75)' // 10px to match TextField\r\n }\r\n };\r\n};\r\n\r\n// https://github.com/react-component/input-number\r\n\r\nvar InputNumber = function (_Component) {\r\n _inherits(InputNumber, _Component);\r\n\r\n function InputNumber(props) {\r\n _classCallCheck(this, InputNumber);\r\n\r\n var _this = _possibleConstructorReturn(this, (InputNumber.__proto__ || Object.getPrototypeOf(InputNumber)).call(this, props));\r\n\r\n _this.onFocus = function (e) {\r\n _this.setState({ shrink: true, focused: true });\r\n if (_this.props.onFocus) {\r\n _this.props.onFocus(e);\r\n }\r\n };\r\n\r\n _this.onBlur = function (e) {\r\n if (e.target.value.length !== 0) {\r\n _this.setState({ shrink: true, focused: false });\r\n } else if (e.target.value.length === 0) {\r\n _this.setState({ shrink: false, focused: false });\r\n }\r\n if (_this.props.onBlur) {\r\n _this.props.onBlur(e);\r\n }\r\n };\r\n\r\n var shouldShrink = false;\r\n\r\n if (props.value !== null) {\r\n shouldShrink = props.defaultValue >= 0 || props.value !== undefined || props.defaultValue !== undefined;\r\n }\r\n\r\n _this.state = {\r\n shrink: shouldShrink,\r\n focused: _this.props.autoFocus\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(InputNumber, [{\r\n key: 'render',\r\n value: function render() {\r\n var _cn,\r\n _this2 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n placeholderProp = _props.placeholder,\r\n readOnly = _props.readOnly,\r\n id = _props.id,\r\n size = _props.size,\r\n FormControlProps = _props.FormControlProps,\r\n fullWidth = _props.fullWidth,\r\n error = _props.error,\r\n labelProp = _props.label,\r\n InputLabelProps = _props.InputLabelProps,\r\n inputProps = _props.inputProps,\r\n inputRef = _props.inputRef,\r\n helperText = _props.helperText,\r\n FormHelperTextProps = _props.FormHelperTextProps,\r\n rest = _objectWithoutProperties(_props, ['classes', 'placeholder', 'readOnly', 'id', 'size', 'FormControlProps', 'fullWidth', 'error', 'label', 'InputLabelProps', 'inputProps', 'inputRef', 'helperText', 'FormHelperTextProps']);\r\n\r\n var label = labelProp,\r\n placeholder = placeholderProp;\r\n\r\n // Add asterisk to label or placeholder if required\r\n if (this.props.required) {\r\n if (label) {\r\n label = labelProp + ' *';\r\n } else {\r\n placeholder = placeholderProp + ' *';\r\n }\r\n }\r\n\r\n return React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: cn(classes.root, (_cn = {}, _defineProperty(_cn, classes.small, size === 'small'), _defineProperty(_cn, classes.noLabel, !label), _defineProperty(_cn, classes.error, error), _defineProperty(_cn, classes.focusedError, error && this.state.focused), _defineProperty(_cn, classes.focused, !error && this.state.focused), _defineProperty(_cn, classes.fullWidth, fullWidth), _cn)),\r\n fullWidth: fullWidth,\r\n error: error\r\n }, FormControlProps),\r\n label && React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n id: this.props.id + '-label-text',\r\n htmlFor: id,\r\n shrink: this.state.shrink,\r\n classes: {\r\n root: classes.inputLabelRoot,\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n }\r\n }, InputLabelProps),\r\n label\r\n ),\r\n React.createElement(RcInputNumber, Object.assign({\r\n 'aria-labelledby': label ? this.props.id + '-label-text' : null,\r\n 'aria-describedby': helperText ? this.props.id + '-helper-text' : null,\r\n placeholder: placeholder,\r\n readOnly: readOnly,\r\n ref: inputRef,\r\n id: id\r\n }, inputProps, rest, {\r\n onFocus: function onFocus(e) {\r\n return _this2.onFocus(e);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.onBlur(e);\r\n },\r\n prefixCls: 'hedtech-number'\r\n })),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n id: this.props.id + '-helper-text'\r\n }, FormHelperTextProps),\r\n helperText\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return InputNumber;\r\n}(Component);\r\n\r\nInputNumber.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n\r\n // FormControl\r\n /**\r\n * Properties applied to the `FormControl` element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * If `true`, the element will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * If `true`, display the FormControl in an error state\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * The size of the number field.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n // InputLabel\r\n /**\r\n * The label content.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * Properties applied to the `InputLabel` element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n\r\n // InputProps\r\n /**\r\n * Properties applied to the `InputLabel` element.\r\n */\r\n InputProps: PropTypes.object,\r\n\r\n // input (HTML)\r\n /**\r\n * Properties applied to the native `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n\r\n // FormHelperText\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * Properties applied to the `FormHelperText` element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n\r\n // RcInputNumber\r\n /**\r\n * Specifies the minimum value\r\n */\r\n min: PropTypes.number,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * HTML input placeholder\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * Specifies the maximum value\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * Specifies the valid number intervals\r\n */\r\n step: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * Specifies the precision length of value e.g. `precision={2} => 0.00`\r\n */\r\n precision: PropTypes.number,\r\n /**\r\n * Specifies that an InputNumber should be disabled\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Whether focus input when click up or down button\r\n */\r\n focusOnUpDown: PropTypes.bool,\r\n /**\r\n * Specifies that the value is required\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Specifies that an InputNumber should automatically get focus when the page loads\r\n */\r\n autoFocus: PropTypes.bool,\r\n /**\r\n * Specifies that an InputNumber is read only\r\n */\r\n readOnly: PropTypes.bool,\r\n /**\r\n * Specifies the name of an InputNumber\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Specifies the id of an InputNumber\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Specifies the value of an InputNumber\r\n */\r\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n /**\r\n * Specifies the defaultValue of an InputNumber\r\n */\r\n defaultValue: PropTypes.number,\r\n /**\r\n * Called when value of an InputNumber changed\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Called when an element gets focus\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * Root container style. such as {width:100}\r\n */\r\n style: PropTypes.object,\r\n /**\r\n * Specifies the format of the value presented\r\n * `(@param: value: number|string, @param displayValue: string)`\r\n */\r\n formatter: PropTypes.func,\r\n /**\r\n * Specifies the value extracted from formatter\r\n */\r\n parser: PropTypes.func,\r\n /**\r\n * Specifies a regex pattern to be added to the input number element - useful for forcing iOS to open the number pad instead of the normal keyboard (supply a regex of \"\\d*\" to do this) or form validation\r\n */\r\n pattern: PropTypes.string,\r\n /**\r\n * Specifies the decimal separator\r\n */\r\n decimalSeparator: PropTypes.string\r\n};\r\n\r\nexport default withStyles(styles)(InputNumber);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { cloneElement, Component } from 'react';\r\nimport { default as MuiTextField } from '@material-ui/core/TextField';\r\nimport { default as withStyles } from '../styles';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport Close from '@ellucian/ds-icons/lib/Close';\r\nimport Search from '@ellucian/ds-icons/lib/Search';\r\nimport InputAdornment from '@material-ui/core/InputAdornment';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { borderRadiusMedium, colorBorderGlobalFocus, colorBorderAlertError, fontSizeDefault, fontSizeSmall, heightInputFieldsSmall, lineHeightHeader2Small, paddingTextField, spacing40, spacing30, spacing80, widthInputFields, borderWidthThin, borderWidthThick, spacing50, boxShadowFocus, boxShadowError } from '../styles/tokens';\r\nimport uuid from 'uuid/v4';\r\nimport isNumber from 'lodash/isNumber';\r\nimport isObject from 'lodash/isObject';\r\nimport isNil from 'lodash/isNil';\r\nimport Tooltip from '../Tooltip';\r\nimport Typography from '../Typography';\r\nimport InputNumber from './internal/InputNumber';\r\n\r\n// This object holds all of the props that are specific to our TextField and should not be included for the numeric TextField\r\nvar MUI_TEXTFIELD_PROPS = ['classes', 'margin', 'maxCharacters', 'multiline', 'onAdornmentClick', 'onClearClick', 'onEnterPress', 'passwordToggle', 'rows', 'rowsMax', 'select', 'SelectProps', 'type'];\r\n\r\nvar adornmentStyles = {\r\n margin: 0,\r\n maxHeight: 'none',\r\n padding: spacing40,\r\n border: 'none',\r\n backgroundColor: 'transparent',\r\n borderRadius: '0 0.19rem 0.19rem 0',\r\n '&:focus': {\r\n color: colorBorderGlobalFocus,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderGlobalFocus,\r\n outline: 0,\r\n marginRight: '.1rem'\r\n }\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n var _inputSearch;\r\n\r\n return {\r\n root: {\r\n margin: 0\r\n },\r\n focused: {\r\n boxShadow: boxShadowFocus\r\n },\r\n focusedError: {\r\n boxShadow: boxShadowError,\r\n '-webkit-box-shadow': boxShadowError,\r\n '-moz-box-shadow:': boxShadowError\r\n },\r\n adornment: Object.assign({\r\n fill: theme.palette.grey[500],\r\n color: theme.palette.grey[500],\r\n cursor: 'pointer',\r\n height: 'auto'\r\n }, adornmentStyles),\r\n searchErrorAdornmentError: {\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderAlertError\r\n }\r\n },\r\n passwordAdornmentRoot: Object.assign({\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.caption.fontSize,\r\n fontWeight: theme.typography.button.fontWeight,\r\n height: 'auto',\r\n textDecoration: 'none'\r\n }, adornmentStyles, {\r\n '&:hover': {\r\n color: theme.palette.ctaColor.hover,\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active\r\n }\r\n }),\r\n adornmentDisabled: {\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400],\r\n cursor: 'not-allowed',\r\n outline: 'none',\r\n '&:hover': {\r\n cursor: 'not-allowed',\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400]\r\n },\r\n '&:active': {\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n adornmentButton: {\r\n '&:hover': {\r\n color: theme.palette.ctaColor.hover\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active\r\n },\r\n '&:focus': {\r\n border: borderWidthThick + ' solid ' + colorBorderGlobalFocus,\r\n outline: 'none',\r\n top: '0.3125rem'\r\n },\r\n '&:focus:hover': {\r\n border: 'none',\r\n outline: 'none',\r\n top: '0.375rem'\r\n },\r\n '&:disabled': {\r\n color: theme.palette.ctaColor.disabled\r\n },\r\n '&:disabled:hover': {\r\n backgroundColor: 'transparent',\r\n color: theme.palette.ctaColor.disabled\r\n }\r\n },\r\n inputRoot: {\r\n backgroundColor: theme.palette.grey[100],\r\n borderRadius: borderRadiusMedium,\r\n height: 'auto',\r\n padding: 0,\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n },\r\n '& $input:disabled': {\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n }\r\n },\r\n rowsMaxRoot: {\r\n '& > div': {\r\n display: 'inline-flex'\r\n }\r\n },\r\n disabled: {},\r\n error: {},\r\n inputBorderDefault: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n inputBorderError: {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n },\r\n input: {\r\n color: theme.palette.grey[600],\r\n flex: 1,\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n height: '1.25rem',\r\n lineHeight: lineHeightHeader2Small,\r\n padding: paddingTextField,\r\n width: 'auto',\r\n '&::placeholder': {\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize,\r\n opacity: '1'\r\n },\r\n '&::-ms-reveal': {\r\n display: 'none'\r\n },\r\n '&::-ms-input-placeholder': {\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize,\r\n opacity: '1'\r\n },\r\n '&$startInputAdornment': {\r\n paddingLeft: spacing30\r\n }\r\n },\r\n startInputAdornment: {},\r\n constrainedWidth: {\r\n width: widthInputFields\r\n },\r\n inputMultilineRoot: {\r\n paddingTop: '1.375rem',\r\n paddingBottom: '.625rem'\r\n },\r\n inputMultiline: {\r\n height: 'auto',\r\n paddingRight: spacing40,\r\n paddingLeft: spacing40,\r\n paddingTop: 0\r\n },\r\n inputSearch: (_inputSearch = {\r\n padding: spacing40\r\n }, _defineProperty(_inputSearch, '&[type=\"search\"]::-webkit-search-decoration,\\n &[type=\"search\"]::-webkit-search-cancel-button,\\n &[type=\"search\"]::-webkit-search-results-button,\\n &[type=\"search\"]::-webkit-search-results-decoration', {\r\n display: 'none'\r\n }), _defineProperty(_inputSearch, '&[type=\"search\"]', {\r\n '-webkit-appearance': 'none'\r\n }), _defineProperty(_inputSearch, '&[type=search]::-ms-clear', {\r\n display: 'none',\r\n width: 0,\r\n height: 0\r\n }), _inputSearch),\r\n inputSearchWithLabel: {\r\n padding: paddingTextField\r\n },\r\n inputLabel: {\r\n cursor: 'text',\r\n fontSize: theme.typography.body1.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n left: spacing40,\r\n top: -6, // used to center label in middle of input\r\n zIndex: theme.zIndex.textFieldLabel,\r\n '&[data-shrink=\"true\"]': {\r\n fontSize: theme.typography.body2.fontSize,\r\n lineHeight: 'normal',\r\n top: 6, // specific for inputs\r\n width: 'calc(100% - 1rem)', // needs to be assigned for ellipsis to work, 100% causes horizontal scrollbar to flash when opening\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis'\r\n }\r\n },\r\n inputLabelWrapForAdornment: {\r\n marginRight: spacing80\r\n },\r\n inputFormLabel: {\r\n color: theme.palette.status.error.text + ' !important'\r\n },\r\n svgSize: {\r\n height: spacing40,\r\n width: spacing40\r\n },\r\n small: {\r\n '& $inputRoot': {\r\n height: heightInputFieldsSmall\r\n },\r\n '& $input, & $input:focus': {\r\n lineHeight: 'unset',\r\n padding: spacing30,\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabel': {\r\n top: '-0.75rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabel[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n },\r\n helperTextContainer: {\r\n display: 'flex'\r\n },\r\n helperTextAlignment: {\r\n justifyContent: 'space-between'\r\n },\r\n counterTextAlignment: {\r\n justifyContent: 'flex-end'\r\n },\r\n charCounterContainer: {\r\n marginLeft: spacing50,\r\n whiteSpace: 'nowrap'\r\n },\r\n formHelperTextRoot: {\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: fontSizeSmall,\r\n color: theme.palette.text.secondary,\r\n '&$error': {\r\n color: theme.palette.status.error.text\r\n },\r\n '&$disabled': {\r\n color: theme.palette.text.disabled\r\n },\r\n marginTop: spacing30,\r\n textTransform: 'none',\r\n letterSpacing: 'unset'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `TextField` to allow users to enter and edit data.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * Label\r\n * LabelAndPlaceholder\r\n * FullWidth\r\n * Required\r\n * Disabled\r\n * Multiline\r\n * MultilineLimit\r\n * MultilineRequired\r\n * Search\r\n * Password\r\n * Uncontrolled\r\n * CharacterCounter\r\n * Number\r\n * InputAdornments\r\n */\r\n\r\nvar TextField = function (_Component) {\r\n _inherits(TextField, _Component);\r\n\r\n function TextField(props) {\r\n _classCallCheck(this, TextField);\r\n\r\n var _this = _possibleConstructorReturn(this, (TextField.__proto__ || Object.getPrototypeOf(TextField)).call(this, props));\r\n\r\n _this.cloneAdornment = function (element, classes) {\r\n var id = _this.props.id || '';\r\n var isButtonElement = element.props.component === 'button';\r\n return cloneElement(element, {\r\n classes: {\r\n root: classNames(classes.adornment, _defineProperty({}, classes.adornmentButton, isButtonElement))\r\n },\r\n id: id + '_Adornment',\r\n onClick: isButtonElement ? _this.handleAdornmentClick : null,\r\n size: _this.props.size\r\n });\r\n };\r\n\r\n _this.handleAdornmentClick = function (event) {\r\n if (_this.props.onAdornmentClick) {\r\n // Prevents triggering onEnterPress event of TextField when user press enter key on search icon.\r\n event.preventDefault();\r\n _this.props.onAdornmentClick();\r\n }\r\n };\r\n\r\n _this.handleBlur = function (event) {\r\n if (_this.props.onBlur) {\r\n _this.props.onBlur(event);\r\n }\r\n };\r\n\r\n _this.handleChange = function (event) {\r\n if (event.target.value.length > 0) {\r\n _this.setState({\r\n hasText: true,\r\n count: event.target.value.length\r\n });\r\n } else {\r\n _this.setState({\r\n hasText: false,\r\n count: 0\r\n });\r\n }\r\n\r\n if (_this.props.onChange) {\r\n _this.props.onChange(event);\r\n }\r\n };\r\n\r\n _this.handleEnterPress = function (event) {\r\n var key = event.key;\r\n\r\n if (key === 'Enter') {\r\n if (_this.props.onEnterPress) {\r\n _this.props.onEnterPress(event);\r\n }\r\n }\r\n };\r\n\r\n _this.handleFocus = function (event) {\r\n if (_this.props.onFocus) {\r\n _this.props.onFocus(event);\r\n }\r\n };\r\n\r\n _this.handleClearClick = function (event) {\r\n _this.setState({ hasText: false });\r\n if (_this.props.onClearClick) {\r\n _this.props.onClearClick(event);\r\n }\r\n };\r\n\r\n _this.handleSearchAdornment = function (event) {\r\n var onAdornmentClick = _this.props.onAdornmentClick;\r\n\r\n if (_this.state.hasText) {\r\n _this.handleClearClick(event);\r\n } else if (onAdornmentClick) {\r\n _this.handleAdornmentClick(event);\r\n }\r\n };\r\n\r\n _this.toggleVisibilityClick = function (e) {\r\n if (!_this.props.disabled) {\r\n _this.setState(function (prevState) {\r\n return {\r\n isPasswordVisible: !prevState.isPasswordVisible\r\n };\r\n });\r\n }\r\n };\r\n\r\n _this.helperTextNode = function () {\r\n var _classNames3;\r\n\r\n var _this$props = _this.props,\r\n helperText = _this$props.helperText,\r\n maxCharacters = _this$props.maxCharacters,\r\n classes = _this$props.classes;\r\n\r\n\r\n var charCounterNode = void 0;\r\n var a11yCharCounterNode = void 0;\r\n\r\n var count = _this.state.count;\r\n\r\n // if we're dispalaying a character counter\r\n if (isObject(maxCharacters)) {\r\n\r\n // build the counter screen reader text\r\n var a11yCharCounterText = _this.props.edsContext.formatMessage('component.TextField.characterCounter', {\r\n count: count,\r\n total: maxCharacters.max\r\n });\r\n\r\n var countErrorState = count > maxCharacters.max;\r\n\r\n // build the counter text node\r\n var nodeText = React.createElement(\r\n 'span',\r\n {\r\n 'aria-hidden': 'true',\r\n className: classNames(classes.charCounterContainer, _defineProperty({}, classes.inputFormLabel, countErrorState)) },\r\n count,\r\n ' / ',\r\n maxCharacters.max\r\n );\r\n\r\n // build the final counter node, optionally encasing it in a tooltip\r\n charCounterNode = maxCharacters.tooltipText ? React.createElement(\r\n Tooltip,\r\n {\r\n title: maxCharacters.tooltipText,\r\n placement: _this.props.edsContext.dir === 'rtl' ? 'left' : 'right' },\r\n nodeText\r\n ) : nodeText;\r\n a11yCharCounterNode = React.createElement(\r\n Typography,\r\n { variant: 'srOnly' },\r\n a11yCharCounterText\r\n );\r\n }\r\n\r\n return (helperText || charCounterNode) && React.createElement(\r\n 'span',\r\n { className: classNames(classes.helperTextContainer, (_classNames3 = {}, _defineProperty(_classNames3, classes.helperTextAlignment, helperText), _defineProperty(_classNames3, classes.counterTextAlignment, !helperText), _classNames3)) },\r\n helperText && React.createElement(\r\n 'span',\r\n null,\r\n helperText\r\n ),\r\n charCounterNode !== undefined && charCounterNode,\r\n a11yCharCounterNode\r\n );\r\n };\r\n\r\n _this.state = {\r\n isPasswordVisible: false,\r\n hasText: _this.props.value && _this.props.value.length > 0 || _this.props.defaultValue && _this.props.defaultValue.length > 0,\r\n count: _this.props.value && _this.props.value.length ? _this.props.value.length : 0\r\n };\r\n\r\n return _this;\r\n }\r\n\r\n _createClass(TextField, [{\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n\r\n // if the value changed, determine whether to show the search/clear icon\r\n if (this.props.type === 'search' && prevProps.value !== this.props.value) {\r\n this.setState({\r\n hasText: this.props.value && this.props.value.length > 0\r\n });\r\n }\r\n\r\n // if (1) this is a controlled component; (2) chracter counts are active; and (3) the value has changed,\r\n // update the character count\r\n if (!isNil(this.props.value) && isObject(this.props.maxCharacters) && prevProps.value !== this.props.value) {\r\n this.setState({\r\n count: this.props.value ? this.props.value.length : 0\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _classNames4,\r\n _this2 = this,\r\n _classNames8,\r\n _classNames9;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n classNameProp = _props.className,\r\n disabled = _props.disabled,\r\n error = _props.error,\r\n edsContext = _props.edsContext,\r\n FormHelperTextPropsProp = _props.FormHelperTextProps,\r\n helperTextProp = _props.helperText,\r\n id = _props.id,\r\n InputLabelPropsProp = _props.InputLabelProps,\r\n InputPropsProp = _props.InputProps,\r\n inputPropsProp = _props.inputProps,\r\n label = _props.label,\r\n multiline = _props.multiline,\r\n maxCharacters = _props.maxCharacters,\r\n onAdornmentClick = _props.onAdornmentClick,\r\n onClearClick = _props.onClearClick,\r\n onEnterPress = _props.onEnterPress,\r\n onKeyDown = _props.onKeyDown,\r\n onKeyUp = _props.onKeyUp,\r\n passwordToggle = _props.passwordToggle,\r\n required = _props.required,\r\n type = _props.type,\r\n value = _props.value,\r\n size = _props.size,\r\n rest = _objectWithoutProperties(_props, ['classes', 'className', 'disabled', 'error', 'edsContext', 'FormHelperTextProps', 'helperText', 'id', 'InputLabelProps', 'InputProps', 'inputProps', 'label', 'multiline', 'maxCharacters', 'onAdornmentClick', 'onClearClick', 'onEnterPress', 'onKeyDown', 'onKeyUp', 'passwordToggle', 'required', 'type', 'value', 'size']);\r\n\r\n var _state = this.state,\r\n isPasswordVisible = _state.isPasswordVisible,\r\n hasText = _state.hasText;\r\n\r\n var cleanedId = id || uuid();\r\n\r\n var numberAriaLabel = '';\r\n var numberAriaLabelledby = '';\r\n\r\n // HTML input element props\r\n var inputProps = Object.assign({}, inputPropsProp);\r\n\r\n if (inputProps && inputProps['aria-label']) {\r\n numberAriaLabel = inputProps['aria-label'];\r\n } else {\r\n numberAriaLabel = null;\r\n }\r\n\r\n if (inputProps && inputProps['aria-labelledby']) {\r\n numberAriaLabelledby = inputProps['aria-labelledby'];\r\n } else {\r\n numberAriaLabelledby = null;\r\n }\r\n\r\n // If type number, handle render in InputNumber\r\n if (type === 'number') {\r\n return React.createElement(InputNumber, Object.assign({}, omit(this.props, MUI_TEXTFIELD_PROPS), { // Send all props, except MUI TextField props\r\n 'aria-label': numberAriaLabel // Re-assign to correct React prop name\r\n , 'aria-labelledby': numberAriaLabelledby // Re-assign to correct React prop name\r\n , id: cleanedId // Assign id to new cleanedId\r\n }));\r\n }\r\n\r\n var rootClassName = classNames(classes.root, (_classNames4 = {}, _defineProperty(_classNames4, classes.small, size === 'small'), _defineProperty(_classNames4, classes.constrainedWidth, !this.props.fullWidth), _classNames4), classNameProp);\r\n\r\n // Search specific logic\r\n var searchAdornment = React.createElement(\r\n InputAdornment,\r\n {\r\n component: 'button',\r\n type: 'button',\r\n disabled: this.props.disabled,\r\n className: classNames(_defineProperty({}, classes.adornmentDisabled, disabled)),\r\n 'aria-label': hasText ? edsContext.formatMessage('component.TextField.clear') : edsContext.formatMessage('component.TextField.search'),\r\n classes: {\r\n root: classNames(classes.adornment, _defineProperty({}, classes.searchErrorAdornmentError, error))\r\n },\r\n id: id ? id + '_SearchIcon' : '',\r\n onClick: function onClick(event) {\r\n _this2.handleSearchAdornment(event);\r\n },\r\n tabIndex: '0'\r\n },\r\n !hasText || disabled ? React.createElement(\r\n Tooltip,\r\n {\r\n disableFocusListener: true,\r\n disableHoverListener: this.props.disabled,\r\n title: edsContext.formatMessage('component.TextField.search') },\r\n React.createElement(Search, { role: 'img', className: classes.svgSize })\r\n ) : React.createElement(\r\n Tooltip,\r\n {\r\n disableFocusListener: true,\r\n disableHoverListener: this.props.disabled,\r\n title: edsContext.formatMessage('component.TextField.clear') },\r\n React.createElement(Close, { role: 'img', className: classes.svgSize })\r\n )\r\n );\r\n\r\n // Password logic\r\n var passwordAdornment = React.createElement(\r\n InputAdornment,\r\n {\r\n component: 'button',\r\n type: 'button',\r\n disabled: this.props.disabled,\r\n classes: { root: classes.passwordAdornmentRoot },\r\n className: classNames(_defineProperty({}, classes.adornmentDisabled, disabled)),\r\n id: id ? id + '_PasswordToggle' : '',\r\n onClick: function onClick(event) {\r\n _this2.toggleVisibilityClick(event);\r\n },\r\n tabIndex: disabled ? '-1' : '0'\r\n },\r\n React.createElement(\r\n 'span',\r\n null,\r\n isPasswordVisible ? edsContext.formatMessage('component.TextField.hide') : edsContext.formatMessage('component.TextField.show')\r\n )\r\n );\r\n\r\n // MUI InputProps logic\r\n var InputProps = Object.assign({}, InputPropsProp);\r\n var startAdornment = InputProps.startAdornment,\r\n endAdornment = InputProps.endAdornment;\r\n\r\n // Send size prop to startAdornment because our custom TextField styles\r\n // messes up MUI's default styles for TextField + startAdornments\r\n\r\n if (startAdornment) {\r\n InputProps.startAdornment = cloneElement(startAdornment, { size: size });\r\n }\r\n\r\n if (endAdornment) {\r\n InputProps.endAdornment = this.cloneAdornment(endAdornment, classes);\r\n }\r\n\r\n if (type === 'search') {\r\n InputProps.endAdornment = searchAdornment;\r\n }\r\n\r\n if (type === 'password' && passwordToggle) {\r\n InputProps.endAdornment = passwordAdornment;\r\n }\r\n\r\n InputProps.classes = {\r\n root: classNames(classes.inputRoot, (_classNames8 = {}, _defineProperty(_classNames8, classes.inputBorderDefault, !error), _defineProperty(_classNames8, classes.inputBorderError, error), _defineProperty(_classNames8, classes.inputMultilineRoot, multiline), _defineProperty(_classNames8, classes.rowsMaxRoot, multiline), _classNames8)),\r\n disabled: classes.disabled,\r\n focused: classNames((_classNames9 = {}, _defineProperty(_classNames9, classes.focused, !error), _defineProperty(_classNames9, classes.focusedError, error), _classNames9)),\r\n input: classNames(classes.input, _defineProperty({}, classes.startInputAdornment, startAdornment)),\r\n inputMultiline: classes.inputMultiline,\r\n inputTypeSearch: classNames(classes.inputSearch, _defineProperty({}, classes.inputSearchWithLabel, !!label))\r\n };\r\n InputProps.disableUnderline = true;\r\n InputProps.onBlur = this.handleBlur;\r\n InputProps.onFocus = this.handleFocus;\r\n InputProps.onKeyDown = onKeyDown;\r\n InputProps.onKeyPress = this.handleEnterPress;\r\n InputProps.onKeyUp = onKeyUp;\r\n InputProps.onChange = this.handleChange;\r\n\r\n // if the caller asked for a max length, just set it\r\n if (maxCharacters && isNumber(maxCharacters)) {\r\n inputProps.maxLength = maxCharacters;\r\n }\r\n\r\n // if the caller asked for a character counter, only set the max length if overflow is disallowed\r\n else if (maxCharacters && isObject(maxCharacters) && !maxCharacters.allowOverflow) {\r\n inputProps.maxLength = maxCharacters.max;\r\n }\r\n\r\n // MUI InputLabel props\r\n var InputLabelProps = Object.assign({}, InputLabelPropsProp);\r\n InputLabelProps.classes = {\r\n root: classNames(classes.inputLabel, _defineProperty({}, classes.inputLabelWrapForAdornment, !isNil(InputProps.endAdornment)))\r\n };\r\n InputLabelProps.disabled = disabled;\r\n\r\n // MUI FormHelper props\r\n var FormHelperTextProps = Object.assign({}, FormHelperTextPropsProp);\r\n FormHelperTextProps.classes = {\r\n root: classes.formHelperTextRoot,\r\n error: classes.inputFormLabel\r\n };\r\n FormHelperTextProps.error = error;\r\n\r\n return React.createElement(MuiTextField, Object.assign({\r\n className: rootClassName,\r\n disabled: disabled,\r\n error: error,\r\n FormHelperTextProps: FormHelperTextProps,\r\n helperText: this.helperTextNode(),\r\n id: cleanedId,\r\n InputProps: InputProps,\r\n InputLabelProps: InputLabelProps,\r\n inputProps: inputProps,\r\n label: label,\r\n margin: 'normal',\r\n multiline: multiline,\r\n onChange: this.handleChange,\r\n required: required,\r\n type: isPasswordVisible ? 'text' : type // use this to tell if you should hard render a 'text' or the props.type\r\n , value: value\r\n }, rest));\r\n }\r\n }]);\r\n\r\n return TextField;\r\n}(Component);\r\n\r\nTextField.muiName = 'TextField';\r\n\r\nTextField.propTypes = {\r\n /**\r\n * This property helps users to fill forms faster, especially on mobile devices.\r\n * The name can be confusing, as it's more like an autofill.\r\n * You can learn more about it here:\r\n * https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\r\n */\r\n autoComplete: PropTypes.string,\r\n /**\r\n * If `true`, the input will be focused during the first mount.\r\n */\r\n autoFocus: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The default value of the `Input` element.\r\n */\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * If `true`, the input will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the label will be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * Properties applied to the `FormHelperText` element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * If `true`, the input will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * The id of the `input` element.\r\n * Use that property to make `label` and `helperText` accessible for screen readers.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Properties applied to the `InputAdornment` element.\r\n */\r\n InputAdornment: PropTypes.object,\r\n /**\r\n * Properties applied to the `InputLabel` element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n /**\r\n * Properties applied to the `Input` element.\r\n *\r\n * When `type='number'`, adornments will not render.\r\n */\r\n InputProps: PropTypes.object,\r\n /**\r\n * Properties applied to the native `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * The label content.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\r\n */\r\n margin: PropTypes.oneOf(['none', 'dense', 'normal']),\r\n /**\r\n * The maximum number of characters that can be entered into the TextField. There are two variants.\r\n *\r\n * With Counter: Textbox or Textarea can have counter at the bottom of the field. allowOverflow: true will allow more that number of specified characters but counter text will be in red color.\r\n *\r\n * e.g.\r\n * - `{ max: number, allowOverflow: boolean, [tooltipText: string] }`\r\n *\r\n * Without Counter: Will not display counter but number of character restriction will be applied.\r\n *\r\n * e.g.\r\n * - `{number}`\r\n *\r\n * **Does not apply to number fields (`type=\"number\"`)**\r\n */\r\n maxCharacters: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\r\n max: PropTypes.number.isRequired,\r\n allowOverflow: PropTypes.bool\r\n })]),\r\n /**\r\n * If `true`, a textarea element will be rendered instead of an input.\r\n */\r\n multiline: PropTypes.bool,\r\n /**\r\n * Name attribute of the `input` element.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Callback fired when an [`InputAdornment`](#/components/InputAdornment) is clicked.\r\n * The value is passed into the provided function.\r\n * **Applicable for end adornments when the element rendered is a `button` or when `type=\"search\"` is used.**\r\n */\r\n onAdornmentClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * Callback fired when the value is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Callback fired when the clear icon is clicked.\r\n * @param {object} event The event source of the callback.\r\n */\r\n onClearClick: PropTypes.func,\r\n /**\r\n * Callback fired when the enter key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onEnterPress: PropTypes.func,\r\n /**\r\n * Callback fired when the a key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the key by accessing `event.key`.\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * Callback fired when the a key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the key by accessing `event.key`.\r\n */\r\n onKeyUp: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * Set to true to render the Show/Hide text for password TextFields. This will only affect TextField components with the type=\"password\".\r\n */\r\n passwordToggle: PropTypes.bool,\r\n /**\r\n * The short hint displayed in the input before the user enters a value.\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * If `true`, the label is displayed as required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Number of rows to display when multiline option is set to true.\r\n */\r\n rows: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * Maximum number of rows to display when multiline option is set to true.\r\n */\r\n rowsMax: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * Render a `Select` element while passing the `Input` element to `Select` as `input` parameter.\r\n * If this option is set you must pass the options of the select as children.\r\n */\r\n select: PropTypes.bool,\r\n /**\r\n * Properties applied to the `Select` element.\r\n */\r\n SelectProps: PropTypes.object,\r\n /**\r\n * Type attribute of the `Input` element. It should be a valid HTML5 input type.\r\n *\r\n * Type `search` has been deprecated, use the `Search` component instead.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The value of the `Input` element, required for a controlled component.\r\n */\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))]),\r\n /**\r\n * The size of the `TextField`. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n // InputNumber specific\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the valid number intervals\r\n */\r\n step: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the minimum value. If a value less than the minimum is entered, the field will reset to the\r\n * minimum value.\r\n */\r\n min: PropTypes.number,\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the maximum value. If a value larger than the maximum is entered, the field will reset to the\r\n * maximum value.\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the precision length of value e.g. `precision={2} => 0.00`\r\n */\r\n precision: PropTypes.number,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Whether focus input when click up or down button\r\n */\r\n focusOnUpDown: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the format of the value presented\r\n * `(@param: value: number|string, @param displayValue: string)`\r\n */\r\n formatter: PropTypes.func,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies a regex pattern to be added to the input number element - useful for forcing iOS to open the number pad instead of the normal keyboard (supply a regex of \"\\d*\" to do this) or form validation\r\n */\r\n pattern: PropTypes.string,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the decimal separator\r\n */\r\n decimalSeparator: PropTypes.string\r\n};\r\n\r\nTextField.displayName = 'TextField';\r\n\r\nTextField.defaultProps = {\r\n required: false,\r\n type: 'text',\r\n rows: 4,\r\n size: 'medium',\r\n fullWidth: false,\r\n step: 1\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TextField));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport { useFormControl } from '../FormControl';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n '&$disabled': {\n cursor: 'default'\n }\n },\n\n /* Styles applied to the root element if `labelPlacement=\"start\"`. */\n labelPlacementStart: {\n flexDirection: 'row-reverse',\n marginLeft: 16,\n // used for row presentation of radio/checkbox\n marginRight: -11\n },\n\n /* Styles applied to the root element if `labelPlacement=\"top\"`. */\n labelPlacementTop: {\n flexDirection: 'column-reverse',\n marginLeft: 16\n },\n\n /* Styles applied to the root element if `labelPlacement=\"bottom\"`. */\n labelPlacementBottom: {\n flexDirection: 'column',\n marginLeft: 16\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the label's Typography component. */\n label: {\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n }\n };\n};\n/**\n * Drop in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\n\nvar FormControlLabel = React.forwardRef(function FormControlLabel(props, ref) {\n var checked = props.checked,\n classes = props.classes,\n className = props.className,\n control = props.control,\n disabledProp = props.disabled,\n inputRef = props.inputRef,\n label = props.label,\n _props$labelPlacement = props.labelPlacement,\n labelPlacement = _props$labelPlacement === void 0 ? 'end' : _props$labelPlacement,\n name = props.name,\n onChange = props.onChange,\n value = props.value,\n other = _objectWithoutProperties(props, [\"checked\", \"classes\", \"className\", \"control\", \"disabled\", \"inputRef\", \"label\", \"labelPlacement\", \"name\", \"onChange\", \"value\"]);\n\n var muiFormControl = useFormControl();\n var disabled = disabledProp;\n\n if (typeof disabled === 'undefined' && typeof control.props.disabled !== 'undefined') {\n disabled = control.props.disabled;\n }\n\n if (typeof disabled === 'undefined' && muiFormControl) {\n disabled = muiFormControl.disabled;\n }\n\n var controlProps = {\n disabled: disabled\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(function (key) {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n return /*#__PURE__*/React.createElement(\"label\", _extends({\n className: clsx(classes.root, className, labelPlacement !== 'end' && classes[\"labelPlacement\".concat(capitalize(labelPlacement))], disabled && classes.disabled),\n ref: ref\n }, other), React.cloneElement(control, controlProps), /*#__PURE__*/React.createElement(Typography, {\n component: \"span\",\n className: clsx(classes.label, disabled && classes.disabled)\n }, label));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * A control element. For instance, it can be be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n\n /**\n * If `true`, the control will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The text to be used in an enclosing label element.\n */\n label: PropTypes.node,\n\n /**\n * The position of the label.\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n\n /**\n * @ignore\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormControlLabel'\n})(FormControlLabel);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormControlLabel as MuiFormControlLabel } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport { fontSizeLarge } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n cursor: 'pointer',\r\n // For correct alignment with the text.\r\n verticalAlign: 'middle',\r\n // Remove gray highlight\r\n WebkitTapHighlightColor: 'transparent',\r\n marginLeft: -2 * theme.spacing(1),\r\n marginRight: theme.spacing(2), // used for row presentation of radio/checkbox\r\n '&$disabled': {\r\n cursor: 'default'\r\n }\r\n },\r\n disabled: {},\r\n label: {\r\n fontSize: fontSizeLarge,\r\n '&$disabled': {\r\n color: theme.palette.text.disabled\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A drop-in replacement for the , and Component.\r\n * Use this component if you want to display an extra label. You will be able to use the\r\n * state to change the label text from within the context of the FormControl.\r\n */\r\nvar FormControlLabel = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormControlLabel, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormControlLabel.muiName = 'FormControlLabel';\r\nFormControlLabel.displayName = 'FormControlLabel';\r\n\r\nFormControlLabel.propTypes = {\r\n /**\r\n * If `true`, the component appears selected.\r\n */\r\n checked: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * A control element. For instance, it can be be a `Radio`, a `Switch` or a `Checkbox`.\r\n */\r\n control: PropTypes.element.isRequired,\r\n /**\r\n * If `true`, the control will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n /**\r\n * The text to be used in an enclosing label element.\r\n */\r\n label: PropTypes.node,\r\n /*\r\n * @ignore\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Callback fired when the state is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.checked`.\r\n * @param {boolean} checked The `checked` value of the switch\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The value of the component.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nFormControlLabel.contextTypes = {\r\n muiFormControl: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormControlLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap'\n },\n\n /* Styles applied to the root element if `row={true}`. */\n row: {\n flexDirection: 'row'\n }\n};\n/**\n * `FormGroup` wraps controls such as `Checkbox` and `Switch`.\n * It provides compact row layout.\n * For the `Radio`, you should be using the `RadioGroup` component instead of this one.\n */\n\nvar FormGroup = React.forwardRef(function FormGroup(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$row = props.row,\n row = _props$row === void 0 ? false : _props$row,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"row\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, row && classes.row),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormGroup.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Display group of elements in a compact row.\n */\n row: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormGroup'\n})(FormGroup);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormGroup as MuiFormGroup } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\n\r\nexport var styles = {\r\n root: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n flexWrap: 'wrap'\r\n },\r\n row: {\r\n flexDirection: 'row'\r\n }\r\n};\r\n\r\n/**\r\n * Wraps controls such as Checkbox and Switch, with compact and changeable layout.\r\n */\r\nvar FormGroup = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormGroup, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormGroup.muiName = 'FormGroup';\r\nFormGroup.displayName = 'FormGroup';\r\n\r\nFormGroup.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Display group of elements in a compact row.\r\n */\r\n row: PropTypes.bool\r\n};\r\n\r\nFormGroup.defaultProps = {\r\n row: false\r\n};\r\n\r\nexport default withStyles(styles)(FormGroup);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormLabel as MuiFormLabel } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: theme.typography.fontFamily,\r\n color: theme.palette.text.secondary,\r\n fontSize: theme.typography.pxToRem(16),\r\n lineHeight: 1,\r\n padding: 0,\r\n '&:focused': {\r\n color: theme.palette.primary[theme.palette.type === 'light' ? 'dark' : 'light']\r\n },\r\n '&:disabled': {\r\n color: theme.palette.text.disabled\r\n },\r\n '&:error': {\r\n color: theme.palette.error.main\r\n }\r\n },\r\n focused: {},\r\n disabled: {},\r\n error: {},\r\n asterisk: {\r\n '&:error': {\r\n color: theme.palette.error.main\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A wrapper for a label in a form with standard disabled/error/filled/focused/required props,\r\n * each of which can be accompanied by standardized, customized styling. It also supports passing\r\n * full children.\r\n */\r\nvar FormLabel = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormLabel, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormLabel.muiName = 'FormLabel';\r\nFormLabel.displayName = 'FormLabel';\r\n\r\nFormLabel.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If `true`, the label should be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the label should be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the label should use filled classes key.\r\n */\r\n filled: PropTypes.bool,\r\n /**\r\n * If `true`, the input of this label is focused (used by `FormGroup` components).\r\n */\r\n focused: PropTypes.bool,\r\n /**\r\n * If `true`, the label will indicate that the input is required.\r\n */\r\n required: PropTypes.bool\r\n};\r\n\r\nFormLabel.defaultProps = {\r\n component: 'label'\r\n};\r\n\r\nFormLabel.contextTypes = {\r\n muiFormLabel: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormLabel);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'RadioButtonUnchecked');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z\"\n}), 'RadioButtonChecked');","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';\nimport RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n root: {\n position: 'relative',\n display: 'flex',\n '&$checked $layer': {\n transform: 'scale(1)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeOut,\n duration: theme.transitions.duration.shortest\n })\n }\n },\n layer: {\n left: 0,\n position: 'absolute',\n transform: 'scale(0)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeIn,\n duration: theme.transitions.duration.shortest\n })\n },\n checked: {}\n };\n};\n/**\n * @ignore - internal component.\n */\n\nfunction RadioButtonIcon(props) {\n var checked = props.checked,\n classes = props.classes,\n fontSize = props.fontSize;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.root, checked && classes.checked)\n }, /*#__PURE__*/React.createElement(RadioButtonUncheckedIcon, {\n fontSize: fontSize\n }), /*#__PURE__*/React.createElement(RadioButtonCheckedIcon, {\n fontSize: fontSize,\n className: classes.layer\n }));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? RadioButtonIcon.propTypes = {\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The size of the radio.\n * `small` is equivalent to the dense radio styling.\n */\n fontSize: PropTypes.oneOf(['small', 'default'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateRadioButtonIcon'\n})(RadioButtonIcon);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar RadioGroupContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n RadioGroupContext.displayName = 'RadioGroupContext';\n}\n\nexport default RadioGroupContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport SwitchBase from '../internal/SwitchBase';\nimport RadioButtonIcon from './RadioButtonIcon';\nimport { fade } from '../styles/colorManipulator';\nimport capitalize from '../utils/capitalize';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport withStyles from '../styles/withStyles';\nimport useRadioGroup from '../RadioGroup/useRadioGroup';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.secondary\n },\n\n /* Pseudo-class applied to the root element if `checked={true}`. */\n checked: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n '&$checked': {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n '&$checked': {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n }\n };\n};\nvar defaultCheckedIcon = /*#__PURE__*/React.createElement(RadioButtonIcon, {\n checked: true\n});\nvar defaultIcon = /*#__PURE__*/React.createElement(RadioButtonIcon, null);\nvar Radio = React.forwardRef(function Radio(props, ref) {\n var checkedProp = props.checked,\n classes = props.classes,\n _props$color = props.color,\n color = _props$color === void 0 ? 'secondary' : _props$color,\n nameProp = props.name,\n onChangeProp = props.onChange,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"checked\", \"classes\", \"color\", \"name\", \"onChange\", \"size\"]);\n\n var radioGroup = useRadioGroup();\n var checked = checkedProp;\n var onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);\n var name = nameProp;\n\n if (radioGroup) {\n if (typeof checked === 'undefined') {\n checked = radioGroup.value === props.value;\n }\n\n if (typeof name === 'undefined') {\n name = radioGroup.name;\n }\n }\n\n return /*#__PURE__*/React.createElement(SwitchBase, _extends({\n color: color,\n type: \"radio\",\n icon: React.cloneElement(defaultIcon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n checkedIcon: React.cloneElement(defaultCheckedIcon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n classes: {\n root: clsx(classes.root, classes[\"color\".concat(capitalize(color))]),\n checked: classes.checked,\n disabled: classes.disabled\n },\n name: name,\n checked: checked,\n onChange: onChange,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Radio.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * If `true`, the radio will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the radio.\n * `small` is equivalent to the dense radio styling.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The value of the component. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiRadio'\n})(Radio);","import * as React from 'react';\nimport RadioGroupContext from './RadioGroupContext';\nexport default function useRadioGroup() {\n return React.useContext(RadioGroupContext);\n}","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiRadio } from '@material-ui/core/Radio';\r\nimport { default as withStyles } from '../styles';\r\nimport { colorBrandSecondary, spacing40, sizingMedium } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n focused: {\r\n boxShadow: '0 0 0 2px ' + colorBrandSecondary,\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n checked: {},\r\n disabled: {},\r\n colorPrimary: {\r\n '&$checked': {\r\n color: theme.palette.primary.main\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background\r\n }\r\n },\r\n colorSecondary: {\r\n '&$checked': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Radio` (radio buttons) to allow the user to select only one option from a group.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * LabeledRadios\r\n * UnlabeledRadios\r\n */\r\n\r\nvar Radio = function (_React$Component) {\r\n _inherits(Radio, _React$Component);\r\n\r\n function Radio(props) {\r\n _classCallCheck(this, Radio);\r\n\r\n var _this = _possibleConstructorReturn(this, (Radio.__proto__ || Object.getPrototypeOf(Radio)).call(this, props));\r\n\r\n _this.state = {\r\n isFocused: false\r\n };\r\n _this.handleFocus = _this.handleFocus.bind(_this);\r\n _this.handleBlur = _this.handleBlur.bind(_this);\r\n return _this;\r\n }\r\n\r\n _createClass(Radio, [{\r\n key: 'handleFocus',\r\n value: function handleFocus(e) {\r\n if (this.props.onFocus) {\r\n this.props.onFocus(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: true\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'handleBlur',\r\n value: function handleBlur(e) {\r\n if (this.props.onBlur) {\r\n this.props.onBlur(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: false\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var isFocused = this.state.isFocused;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n other = _objectWithoutProperties(_props, ['classes']);\r\n\r\n return React.createElement(MuiRadio, Object.assign({\r\n classes: {\r\n root: isFocused ? classes.focused : classes.root,\r\n checked: classes.checked,\r\n disabled: classes.disabled,\r\n colorPrimary: classes.colorPrimary,\r\n colorSecondary: classes.colorSecondary\r\n },\r\n onFocus: this.handleFocus,\r\n onBlur: this.handleBlur,\r\n disableRipple: true\r\n }, other));\r\n }\r\n }]);\r\n\r\n return Radio;\r\n}(React.Component);\r\n\r\n;\r\n\r\nRadio.muiName = 'Radio';\r\n\r\nRadio.propTypes = {\r\n /**\r\n * If `true`, the component is checked.\r\n */\r\n checked: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\r\n /**\r\n * The icon to display when the component is checked.\r\n */\r\n checkedIcon: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The color of the component. It supports those theme colors that make sense for this component.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary', 'default']),\r\n /**\r\n * If `true`, the switch will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the ripple effect will be disabled.\r\n */\r\n disableRipple: PropTypes.bool,\r\n /**\r\n * The icon to display when the component is unchecked.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The id of the `input` element.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Properties applied to the `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n /**\r\n * Callback fired when the state is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n * @param {boolean} checked The `checked` value of the switch\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * The input component property `type`.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The value of the component.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nRadio.defaultProps = {\r\n color: 'secondary'\r\n};\r\n\r\nexport default withStyles(styles)(Radio);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport FormGroup from '../FormGroup';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\nimport RadioGroupContext from './RadioGroupContext';\nimport useId from '../utils/unstable_useId';\nvar RadioGroup = React.forwardRef(function RadioGroup(props, ref) {\n var actions = props.actions,\n children = props.children,\n nameProp = props.name,\n valueProp = props.value,\n onChange = props.onChange,\n other = _objectWithoutProperties(props, [\"actions\", \"children\", \"name\", \"value\", \"onChange\"]);\n\n var rootRef = React.useRef(null);\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: props.defaultValue,\n name: 'RadioGroup'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n value = _useControlled2[0],\n setValue = _useControlled2[1];\n\n React.useImperativeHandle(actions, function () {\n return {\n focus: function focus() {\n var input = rootRef.current.querySelector('input:not(:disabled):checked');\n\n if (!input) {\n input = rootRef.current.querySelector('input:not(:disabled)');\n }\n\n if (input) {\n input.focus();\n }\n }\n };\n }, []);\n var handleRef = useForkRef(ref, rootRef);\n\n var handleChange = function handleChange(event) {\n setValue(event.target.value);\n\n if (onChange) {\n onChange(event, event.target.value);\n }\n };\n\n var name = useId(nameProp);\n return /*#__PURE__*/React.createElement(RadioGroupContext.Provider, {\n value: {\n name: name,\n onChange: handleChange,\n value: value\n }\n }, /*#__PURE__*/React.createElement(FormGroup, _extends({\n role: \"radiogroup\",\n ref: handleRef\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? RadioGroup.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),\n\n /**\n * The name used to reference the value of the control.\n * If you don't provide this prop, it falls back to a randomly generated name.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when a radio button is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * Value of the selected radio button. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default RadioGroup;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n// TODO: Update this after the update of material-ui itself\r\nimport { default as MuiRadioGroup } from '@material-ui/core/RadioGroup';\r\n\r\n/**\r\n * A component for grouping multiple radios\r\n */\r\nvar RadioGroup = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiRadioGroup, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nRadioGroup.muiName = 'RadioGroup';\r\nRadioGroup.displayName = 'RadioGroup';\r\n\r\nRadioGroup.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * The name used to reference the value of the control.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * Callback fired when a radio button is selected.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n * @param {string} value The `value` of the selected radio button\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * Value of the selected radio button.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nexport default RadioGroup;","export default {\r\n '.PresetDateRangePicker_panel': {\r\n padding: '0 22px 11px'\r\n },\r\n '.PresetDateRangePicker_button': {\r\n position: 'relative',\r\n height: '100%',\r\n textAlign: 'center',\r\n background: '0 0',\r\n border: '2px solid #00a699',\r\n color: '#00a699',\r\n padding: '4px 12px',\r\n marginRight: 8,\r\n font: 'inherit',\r\n fontWeight: '700',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n mozBoxSizing: 'border-box',\r\n boxSizing: 'border-box',\r\n cursor: 'pointer'\r\n },\r\n '.PresetDateRangePicker_button:active': {\r\n outline: '0'\r\n },\r\n '.PresetDateRangePicker_button__selected': {\r\n color: '#fff',\r\n background: '#00a699'\r\n },\r\n '.SingleDatePickerInput': {\r\n display: 'inline-block',\r\n backgroundColor: '#fff'\r\n },\r\n '.SingleDatePickerInput__withBorder': {\r\n borderRadius: 2,\r\n border: '1px solid #dbdbdb'\r\n },\r\n '.SingleDatePickerInput__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.SingleDatePickerInput__disabled': {\r\n backgroundColor: '#f2f2f2'\r\n },\r\n '.SingleDatePickerInput__block': {\r\n display: 'block'\r\n },\r\n '.SingleDatePickerInput__showClearDate': {\r\n paddingRight: 30\r\n },\r\n '.SingleDatePickerInput_clearDate': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n padding: 10,\r\n margin: '0 10px 0 5px',\r\n position: 'absolute',\r\n right: '0',\r\n top: '50%',\r\n webkitTransform: 'translateY(-50%)',\r\n msTransform: 'translateY(-50%)',\r\n transform: 'translateY(-50%)'\r\n },\r\n '.SingleDatePickerInput_clearDate__default:focus, .SingleDatePickerInput_clearDate__default:hover': {\r\n background: '#dbdbdb',\r\n borderRadius: '50%'\r\n },\r\n '.SingleDatePickerInput_clearDate__small': {\r\n padding: 6\r\n },\r\n '.SingleDatePickerInput_clearDate__hide': {\r\n visibility: 'hidden'\r\n },\r\n '.SingleDatePickerInput_clearDate_svg': {\r\n fill: '#82888a',\r\n height: 12,\r\n width: 15,\r\n verticalAlign: 'middle'\r\n },\r\n '.SingleDatePickerInput_clearDate_svg__small': {\r\n height: 9\r\n },\r\n '.SingleDatePickerInput_calendarIcon': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n padding: 10,\r\n margin: '0 5px 0 10px'\r\n },\r\n '.SingleDatePickerInput_calendarIcon_svg': {\r\n fill: '#82888a',\r\n height: 15,\r\n width: 14,\r\n verticalAlign: 'middle'\r\n },\r\n '.SingleDatePicker': {\r\n position: 'relative',\r\n display: 'inline-block'\r\n },\r\n '.SingleDatePicker__block': {\r\n display: 'block'\r\n },\r\n '.SingleDatePicker_picker': {\r\n zIndex: '1',\r\n backgroundColor: '#fff',\r\n position: 'absolute'\r\n },\r\n '.SingleDatePicker_picker__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.SingleDatePicker_picker__directionLeft': {\r\n left: '0'\r\n },\r\n '.SingleDatePicker_picker__directionRight': {\r\n right: '0'\r\n },\r\n '.SingleDatePicker_picker__portal': {\r\n backgroundColor: 'rgba(0,0,0,.3)',\r\n position: 'fixed',\r\n top: '0',\r\n left: '0',\r\n height: '100%',\r\n width: '100%'\r\n },\r\n '.SingleDatePicker_picker__fullScreenPortal': {\r\n backgroundColor: '#fff'\r\n },\r\n '.SingleDatePicker_closeButton': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n position: 'absolute',\r\n top: '0',\r\n right: '0',\r\n padding: 15,\r\n zIndex: '2'\r\n },\r\n '.SingleDatePicker_closeButton:focus, .SingleDatePicker_closeButton:hover': {\r\n color: 'darken(#cacccd,10%)',\r\n textDecoration: 'none'\r\n },\r\n '.SingleDatePicker_closeButton_svg': {\r\n height: 15,\r\n width: 15,\r\n fill: '#cacccd'\r\n },\r\n '.DayPickerKeyboardShortcuts_buttonReset': {\r\n background: '0 0',\r\n border: '0',\r\n borderRadius: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n padding: '0',\r\n cursor: 'pointer',\r\n fontSize: 14\r\n },\r\n '.DayPickerKeyboardShortcuts_buttonReset:active': {\r\n outline: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show': {\r\n width: 22,\r\n position: 'absolute',\r\n zIndex: '2'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__bottomRight': {\r\n borderTop: '26px solid transparent',\r\n borderRight: '33px solid #00a699',\r\n bottom: '0',\r\n right: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__bottomRight:hover': {\r\n borderRight: '33px solid #008489'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topRight': {\r\n borderBottom: '26px solid transparent',\r\n borderRight: '33px solid #00a699',\r\n top: '0',\r\n right: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topRight:hover': {\r\n borderRight: '33px solid #008489'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topLeft': {\r\n borderBottom: '26px solid transparent',\r\n borderLeft: '33px solid #00a699',\r\n top: '0',\r\n left: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topLeft:hover': {\r\n borderLeft: '33px solid #008489'\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan': {\r\n color: '#fff',\r\n position: 'absolute'\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan__bottomRight': {\r\n bottom: '0',\r\n right: -28\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan__topRight': {\r\n top: 1,\r\n right: -28\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan__topLeft': {\r\n top: 1,\r\n left: -28\r\n },\r\n '.DayPickerKeyboardShortcuts_panel': {\r\n overflow: 'auto',\r\n background: '#fff',\r\n border: '1px solid #dbdbdb',\r\n borderRadius: 2,\r\n position: 'absolute',\r\n top: '0',\r\n bottom: '0',\r\n right: '0',\r\n left: '0',\r\n zIndex: '2',\r\n padding: 22,\r\n margin: 33\r\n },\r\n '.DayPickerKeyboardShortcuts_title': {\r\n fontSize: 16,\r\n fontWeight: '700',\r\n margin: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_list': {\r\n listStyle: 'none',\r\n padding: '0',\r\n fontSize: 14\r\n },\r\n '.DayPickerKeyboardShortcuts_close': {\r\n position: 'absolute',\r\n right: 22,\r\n top: 22,\r\n zIndex: '2'\r\n },\r\n '.DayPickerKeyboardShortcuts_close:active': {\r\n outline: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_closeSvg': {\r\n height: 15,\r\n width: 15,\r\n fill: '#cacccd'\r\n },\r\n '.DayPickerKeyboardShortcuts_closeSvg:focus, .DayPickerKeyboardShortcuts_closeSvg:hover': {\r\n fill: '#82888a'\r\n },\r\n '.CalendarDay': {\r\n mozBoxSizing: 'border-box',\r\n boxSizing: 'border-box',\r\n cursor: 'pointer',\r\n fontSize: 14,\r\n textAlign: 'center'\r\n },\r\n '.CalendarDay:active': {\r\n outline: '0'\r\n },\r\n '.CalendarDay__defaultCursor': {\r\n cursor: 'default'\r\n },\r\n '.CalendarDay__default': {\r\n border: '1px solid #e4e7e7',\r\n color: '#484848',\r\n background: '#fff'\r\n },\r\n '.CalendarDay__default:hover': {\r\n background: '#e4e7e7',\r\n border: '1px solid #e4e7e7',\r\n color: 'inherit'\r\n },\r\n '.CalendarDay__hovered_offset': {\r\n background: '#f4f5f5',\r\n border: '1px double #e4e7e7',\r\n color: 'inherit'\r\n },\r\n '.CalendarDay__outside': {\r\n border: '0',\r\n background: '#fff',\r\n color: '#484848'\r\n },\r\n '.CalendarDay__outside:hover': {\r\n border: '0'\r\n },\r\n '.CalendarDay__blocked_minimum_nights': {\r\n background: '#fff',\r\n border: '1px solid #eceeee',\r\n color: '#cacccd'\r\n },\r\n '.CalendarDay__blocked_minimum_nights:active, .CalendarDay__blocked_minimum_nights:hover': {\r\n background: '#fff',\r\n color: '#cacccd'\r\n },\r\n '.CalendarDay__highlighted_calendar': {\r\n background: '#ffe8bc',\r\n color: '#484848'\r\n },\r\n '.CalendarDay__highlighted_calendar:active, .CalendarDay__highlighted_calendar:hover': {\r\n background: '#ffce71',\r\n color: '#484848'\r\n },\r\n '.CalendarDay__selected_span': {\r\n background: '#66e2da',\r\n border: '1px double #33dacd',\r\n color: '#fff'\r\n },\r\n '.CalendarDay__selected_span:active, .CalendarDay__selected_span:hover': {\r\n background: '#33dacd',\r\n border: '1px double #33dacd',\r\n color: '#fff'\r\n },\r\n '.CalendarDay__last_in_range, .CalendarDay__last_in_range:hover': {\r\n borderStyle: 'solid'\r\n },\r\n '.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover': {\r\n background: '#00a699',\r\n border: '1px double #00a699',\r\n color: '#fff'\r\n },\r\n '.CalendarDay__hovered_span, .CalendarDay__hovered_span:hover': {\r\n background: '#b2f1ec',\r\n border: '1px double #80e8e0',\r\n color: '#007a87'\r\n },\r\n '.CalendarDay__hovered_span:active': {\r\n background: '#80e8e0',\r\n border: '1px double #80e8e0',\r\n color: '#007a87'\r\n },\r\n '.CalendarDay__blocked_calendar, .CalendarDay__blocked_calendar:active, .CalendarDay__blocked_calendar:hover': {\r\n background: '#cacccd',\r\n border: '1px solid #cacccd',\r\n color: '#82888a'\r\n },\r\n '.CalendarDay__blocked_out_of_range, .CalendarDay__blocked_out_of_range:active, .CalendarDay__blocked_out_of_range:hover': {\r\n background: '#fff',\r\n border: '1px solid #e4e7e7',\r\n color: '#cacccd'\r\n },\r\n '.CalendarMonth': {\r\n background: '#fff',\r\n textAlign: 'center',\r\n verticalAlign: 'top',\r\n webkitUserSelect: 'none',\r\n mozUserSelect: 'none',\r\n msUserSelect: 'none',\r\n userSelect: 'none'\r\n },\r\n '.CalendarMonth_table': {\r\n borderCollapse: 'collapse',\r\n borderSpacing: '0'\r\n },\r\n '.CalendarMonth_verticalSpacing': {\r\n borderCollapse: 'separate'\r\n },\r\n '.CalendarMonth_caption': {\r\n color: '#484848',\r\n fontSize: 18,\r\n textAlign: 'center',\r\n paddingTop: 22,\r\n paddingBottom: 37,\r\n captionSide: 'initial'\r\n },\r\n '.CalendarMonth_caption__verticalScrollable': {\r\n paddingTop: 12,\r\n paddingBottom: 7\r\n },\r\n '.CalendarMonthGrid': {\r\n background: '#fff',\r\n textAlign: 'left',\r\n zIndex: '0'\r\n },\r\n '.CalendarMonthGrid__animating': {\r\n zIndex: '1'\r\n },\r\n '.CalendarMonthGrid__horizontal': {\r\n position: 'absolute',\r\n left: 9\r\n },\r\n '.CalendarMonthGrid__vertical': {\r\n margin: '0 auto'\r\n },\r\n '.CalendarMonthGrid__vertical_scrollable': {\r\n margin: '0 auto',\r\n overflowY: 'scroll'\r\n },\r\n '.CalendarMonthGrid_month__horizontal': {\r\n display: 'inline-block',\r\n verticalAlign: 'top',\r\n minHeight: '100%'\r\n },\r\n '.CalendarMonthGrid_month__hideForAnimation': {\r\n position: 'absolute',\r\n zIndex: '-1',\r\n opacity: '0',\r\n pointerEvents: 'none'\r\n },\r\n '.CalendarMonthGrid_month__hidden': {\r\n visibility: 'hidden'\r\n },\r\n '.DayPickerNavigation': {\r\n position: 'relative',\r\n zIndex: '2'\r\n },\r\n '.DayPickerNavigation__horizontal': {\r\n height: '0'\r\n },\r\n '.DayPickerNavigation__verticalDefault': {\r\n position: 'absolute',\r\n width: '100%',\r\n height: 52,\r\n bottom: '0',\r\n left: '0'\r\n },\r\n '.DayPickerNavigation__verticalScrollableDefault': {\r\n position: 'relative'\r\n },\r\n '.DayPickerNavigation_button': {\r\n cursor: 'pointer',\r\n webkitUserSelect: 'none',\r\n mozUserSelect: 'none',\r\n msUserSelect: 'none',\r\n userSelect: 'none',\r\n border: '0',\r\n padding: '0',\r\n margin: '0'\r\n },\r\n '.DayPickerNavigation_button__default': {\r\n border: '1px solid #e4e7e7',\r\n backgroundColor: '#fff',\r\n color: '#757575'\r\n },\r\n '.DayPickerNavigation_button__default:focus, .DayPickerNavigation_button__default:hover': {\r\n border: '1px solid #c4c4c4'\r\n },\r\n '.DayPickerNavigation_button__default:active': {\r\n background: '#f2f2f2'\r\n },\r\n '.DayPickerNavigation_button__horizontalDefault': {\r\n position: 'absolute',\r\n top: 18,\r\n lineHeight: '.78',\r\n borderRadius: 3,\r\n padding: '6px 9px'\r\n },\r\n '.DayPickerNavigation_leftButton__horizontalDefault': {\r\n left: 22\r\n },\r\n '.DayPickerNavigation_rightButton__horizontalDefault': {\r\n right: 22\r\n },\r\n '.DayPickerNavigation_button__verticalDefault': {\r\n padding: 5,\r\n background: '#fff',\r\n boxShadow: '0 0 5px 2px rgba(0,0,0,.1)',\r\n position: 'relative',\r\n display: 'inline-block',\r\n height: '100%',\r\n width: '50%'\r\n },\r\n '.DayPickerNavigation_nextButton__verticalDefault': {\r\n borderLeft: '0'\r\n },\r\n '.DayPickerNavigation_nextButton__verticalScrollableDefault': {\r\n width: '100%'\r\n },\r\n '.DayPickerNavigation_svg__horizontal': {\r\n height: 19,\r\n width: 19,\r\n fill: '#82888a',\r\n display: 'block'\r\n },\r\n '.DayPickerNavigation_svg__vertical': {\r\n height: 42,\r\n width: 42,\r\n fill: '#484848',\r\n display: 'block'\r\n },\r\n '.DayPicker': {\r\n background: '#fff',\r\n position: 'relative',\r\n textAlign: 'left'\r\n },\r\n '.DayPicker__horizontal': {\r\n background: '#fff'\r\n },\r\n '.DayPicker__verticalScrollable': {\r\n height: '100%'\r\n },\r\n '.DayPicker__hidden': {\r\n visibility: 'hidden'\r\n },\r\n '.DayPicker__withBorder': {\r\n boxShadow: '0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07)',\r\n borderRadius: 3\r\n },\r\n '.DayPicker_portal__horizontal': {\r\n boxShadow: 'none',\r\n position: 'absolute',\r\n left: '50%',\r\n top: '50%'\r\n },\r\n '.DayPicker_portal__vertical': {\r\n position: 'initial'\r\n },\r\n '.DayPicker_focusRegion': {\r\n outline: '0'\r\n },\r\n '.DayPicker_calendarInfo__horizontal, .DayPicker_wrapper__horizontal': {\r\n display: 'inline-block',\r\n verticalAlign: 'top'\r\n },\r\n '.DayPicker_weekHeaders': {\r\n position: 'relative'\r\n },\r\n '.DayPicker_weekHeaders__horizontal': {\r\n marginLeft: 9\r\n },\r\n '.DayPicker_weekHeader': {\r\n color: '#757575',\r\n position: 'absolute',\r\n top: 62,\r\n zIndex: '2',\r\n textAlign: 'left'\r\n },\r\n '.DayPicker_weekHeader__vertical': {\r\n left: '50%'\r\n },\r\n '.DayPicker_weekHeader__verticalScrollable': {\r\n top: '0',\r\n display: 'table-row',\r\n borderBottom: '1px solid #dbdbdb',\r\n background: '#fff',\r\n marginLeft: '0',\r\n left: '0',\r\n width: '100%',\r\n textAlign: 'center'\r\n },\r\n '.DayPicker_weekHeader_ul': {\r\n listStyle: 'none',\r\n margin: '1px 0',\r\n paddingLeft: '0',\r\n paddingRight: '0',\r\n fontSize: 14\r\n },\r\n '.DayPicker_weekHeader_li': {\r\n display: 'inline-block',\r\n textAlign: 'center'\r\n },\r\n '.DayPicker_transitionContainer': {\r\n position: 'relative',\r\n overflow: 'hidden',\r\n borderRadius: 3\r\n },\r\n '.DayPicker_transitionContainer__horizontal': {\r\n webkitTransition: 'height .2s ease-in-out',\r\n mozTransition: 'height .2s ease-in-out',\r\n transition: 'height .2s ease-in-out'\r\n },\r\n '.DayPicker_transitionContainer__vertical': {\r\n width: '100%'\r\n },\r\n '.DayPicker_transitionContainer__verticalScrollable': {\r\n paddingTop: 20,\r\n height: '100%',\r\n position: 'absolute',\r\n top: '0',\r\n bottom: '0',\r\n right: '0',\r\n left: '0',\r\n overflowY: 'scroll'\r\n },\r\n '.DateInput': {\r\n margin: '0',\r\n padding: '0',\r\n background: '#fff',\r\n position: 'relative',\r\n display: 'inline-block',\r\n width: 130,\r\n verticalAlign: 'middle'\r\n },\r\n '.DateInput__small': {\r\n width: 97\r\n },\r\n '.DateInput__block': {\r\n width: '100%'\r\n },\r\n '.DateInput__disabled': {\r\n background: '#f2f2f2',\r\n color: '#dbdbdb'\r\n },\r\n '.DateInput_input': {\r\n fontWeight: '200',\r\n fontSize: 19,\r\n lineHeight: 24,\r\n color: '#484848',\r\n backgroundColor: '#fff',\r\n width: '100%',\r\n padding: '11px 11px 9px',\r\n border: '0',\r\n borderTop: '0',\r\n borderRight: '0',\r\n borderBottom: '2px solid transparent',\r\n borderLeft: '0',\r\n borderRadius: '0'\r\n },\r\n '.DateInput_input__small': {\r\n fontSize: 15,\r\n lineHeight: 18,\r\n letterSpacing: 0.2,\r\n padding: '7px 7px 5px'\r\n },\r\n '.DateInput_input__regular': {\r\n fontWeight: 'auto'\r\n },\r\n '.DateInput_input__readOnly': {\r\n webkitUserSelect: 'none',\r\n mozUserSelect: 'none',\r\n msUserSelect: 'none',\r\n userSelect: 'none'\r\n },\r\n '.DateInput_input__focused': {\r\n outline: '0',\r\n background: '#fff',\r\n border: '0',\r\n borderTop: '0',\r\n borderRight: '0',\r\n borderBottom: '2px solid #008489',\r\n borderLeft: '0'\r\n },\r\n '.DateInput_input__disabled': {\r\n background: '#f2f2f2',\r\n fontStyle: 'italic'\r\n },\r\n '.DateInput_screenReaderMessage': {\r\n border: '0',\r\n clip: 'rect(0,0,0,0)',\r\n height: 1,\r\n margin: -1,\r\n overflow: 'hidden',\r\n padding: '0',\r\n position: 'absolute',\r\n width: 1\r\n },\r\n '.DateInput_fang': {\r\n position: 'absolute',\r\n width: 20,\r\n height: 10,\r\n left: 22,\r\n zIndex: '2'\r\n },\r\n '.DateInput_fangShape': {\r\n fill: '#fff'\r\n },\r\n '.DateInput_fangStroke': {\r\n stroke: '#dbdbdb',\r\n fill: 'transparent'\r\n },\r\n '.DateRangePickerInput': {\r\n backgroundColor: '#fff',\r\n display: 'inline-block'\r\n },\r\n '.DateRangePickerInput__disabled': {\r\n background: '#f2f2f2'\r\n },\r\n '.DateRangePickerInput__withBorder': {\r\n borderRadius: 2,\r\n border: '1px solid #dbdbdb'\r\n },\r\n '.DateRangePickerInput__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.DateRangePickerInput__block': {\r\n display: 'block'\r\n },\r\n '.DateRangePickerInput__showClearDates': {\r\n paddingRight: 30\r\n },\r\n '.DateRangePickerInput_arrow': {\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n color: '#484848'\r\n },\r\n '.DateRangePickerInput_arrow_svg': {\r\n verticalAlign: 'middle',\r\n fill: '#484848',\r\n height: 24,\r\n width: 24\r\n },\r\n '.DateRangePickerInput_clearDates': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n padding: 10,\r\n margin: '0 10px 0 5px',\r\n position: 'absolute',\r\n right: '0',\r\n top: '50%',\r\n webkitTransform: 'translateY(-50%)',\r\n msTransform: 'translateY(-50%)',\r\n transform: 'translateY(-50%)'\r\n },\r\n '.DateRangePickerInput_clearDates__small': {\r\n padding: 6\r\n },\r\n '.DateRangePickerInput_clearDates_default:focus, .DateRangePickerInput_clearDates_default:hover': {\r\n background: '#dbdbdb',\r\n borderRadius: '50%'\r\n },\r\n '.DateRangePickerInput_clearDates__hide': {\r\n visibility: 'hidden'\r\n },\r\n '.DateRangePickerInput_clearDates_svg': {\r\n fill: '#82888a',\r\n height: 12,\r\n width: 15,\r\n verticalAlign: 'middle'\r\n },\r\n '.DateRangePickerInput_clearDates_svg__small': {\r\n height: 9\r\n },\r\n '.DateRangePickerInput_calendarIcon': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n padding: 10,\r\n margin: '0 5px 0 10px'\r\n },\r\n '.DateRangePickerInput_calendarIcon_svg': {\r\n fill: '#82888a',\r\n height: 15,\r\n width: 14,\r\n verticalAlign: 'middle'\r\n },\r\n '.DateRangePicker': {\r\n position: 'relative',\r\n display: 'inline-block'\r\n },\r\n '.DateRangePicker__block': {\r\n display: 'block'\r\n },\r\n '.DateRangePicker_picker': {\r\n zIndex: '1',\r\n backgroundColor: '#fff',\r\n position: 'absolute'\r\n },\r\n '.DateRangePicker_picker__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.DateRangePicker_picker__directionLeft': {\r\n left: '0'\r\n },\r\n '.DateRangePicker_picker__directionRight': {\r\n right: '0'\r\n },\r\n '.DateRangePicker_picker__portal': {\r\n backgroundColor: 'rgba(0,0,0,.3)',\r\n position: 'fixed',\r\n top: '0',\r\n left: '0',\r\n height: '100%',\r\n width: '100%'\r\n },\r\n '.DateRangePicker_picker__fullScreenPortal': {\r\n backgroundColor: '#fff'\r\n },\r\n '.DateRangePicker_closeButton': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n position: 'absolute',\r\n top: '0',\r\n right: '0',\r\n padding: 15,\r\n zIndex: '2'\r\n },\r\n '.DateRangePicker_closeButton:focus, .DateRangePicker_closeButton:hover': {\r\n color: 'darken(#cacccd,10%)',\r\n textDecoration: 'none'\r\n },\r\n '.DateRangePicker_closeButton_svg': {\r\n height: 15,\r\n width: 15,\r\n fill: '#cacccd'\r\n }\r\n};","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport moment from 'moment';\r\nimport momentPropTypes from 'react-moment-proptypes';\r\nimport omit from 'lodash/omit';\r\nimport isNil from 'lodash/isNil';\r\nimport range from 'lodash/range';\r\nimport filter from 'lodash/filter';\r\nimport head from 'lodash/head';\r\nimport last from 'lodash/last';\r\nimport merge from 'lodash/merge';\r\n\r\nimport cn from 'classnames';\r\nimport 'react-dates/initialize';\r\nimport { SingleDatePicker as ABSingleDatePicker, DayPickerSingleDateController } from 'react-dates'; // AirBnb DatePicker\r\n\r\nimport FormControl from '../FormControl/FormControl';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport Select from '@material-ui/core/Select';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport Input from '@material-ui/core/Input';\r\n\r\nimport getPhrasePropTypes from 'react-dates/lib/utils/getPhrasePropTypes';\r\nimport { SingleDatePickerPhrases } from 'react-dates/lib/defaultPhrases';\r\n\r\nimport CalendarIcon from '@ellucian/ds-icons/lib/Calendar';\r\nimport ChevronRightIcon from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeftIcon from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport uuid from 'uuid';\r\n\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport withStyles from '../styles';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport { borderRadiusCircle, borderRadiusMedium, borderWidthThick, borderWidthThin, colorTextNeutral500, fontFamilyDefault, fontFamilyHeader, fontSizeDefault, fontWeightBold, lineHeightParagraphMedium, lineHeightHeader2Small, paddingTextField, sizingMedium, spacing50, spacing40, spacing30, widthInputFields, heightInputFields, heightInputFieldsSmall, zIndexDatePicker, zIndexTextFieldLabel, widthFluid } from '../styles/tokens';\r\n\r\nimport defaultStyles from './internal/datepickerDefaultStyles';\r\n\r\nvar MONTH_YEAR_CALENDAR_WIDTH = '354px';\r\n\r\nvar AUTOPOSITION_CALENDAR_HEIGHT = 276; // (measured in pixels)\r\nvar AUTOPOSITION_CALENDAR_WIDTH = 284; // (measured in pixels)\r\n\r\nvar DEFAULT_PLACEHOLDER = 'Date';\r\n\r\n// overrides to the global datepicker styles\r\n\r\n// NOTE: we use a lot of raw px values in the styles below (as opposed to rem), because we're\r\n// overriding portions of the underlying react-date styles, which use px; don't want to mix\r\n// px and rem\r\n\r\nvar globalStyleOverrides = function globalStyleOverrides(theme) {\r\n return {\r\n\r\n // the standalone version of the month/year pickers will take up the full width\r\n // of its container unless you constrain it; this has something to do with the\r\n // fact that we're using the vertically-oriented datepicker for the month/year\r\n // variant of DatePicker (to get around other rendering issues)\r\n '.monthYearPickerFix': {\r\n\r\n '&.SingleDatePicker_picker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH\r\n },\r\n\r\n '& .DayPicker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH,\r\n '& .DayPicker_transitionContainer': {\r\n // left to its own devices, the vertically-oriented date picker will\r\n // allocate enough room for *two*, stacked montly calendars. constrain\r\n // the height, and add a little padding at the padding, to compensate\r\n height: 'auto !important',\r\n paddingBottom: spacing50\r\n },\r\n\r\n // hide the \"second\" (offscreen) month entirely when we're showing the\r\n // month/year selection version of datepicker, so that it doesn't take up\r\n // any space on the page\r\n '& .CalendarMonthGrid_month__hidden': {\r\n display: 'none'\r\n }\r\n\r\n }\r\n },\r\n\r\n '.DayPicker': {\r\n fontFamily: fontFamilyDefault,\r\n borderRadius: borderRadiusMedium,\r\n '& .DayPicker_transitionContainer': {\r\n borderRadius: borderRadiusMedium\r\n },\r\n '& .DayPicker_transitionContainer__horizontal': {\r\n transition: 'height 100ms ease-in-out',\r\n '& .CalendarMonthGrid': {\r\n background: 'transparent'\r\n }\r\n }\r\n },\r\n '.SingleDatePicker': {\r\n '& .SingleDatePickerInput__disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n }\r\n },\r\n '.SingleDatePicker_picker': {\r\n backgroundColor: 'transparent',\r\n zIndex: zIndexDatePicker\r\n },\r\n '.SingleDatePickerInput': {\r\n width: widthInputFields,\r\n height: heightInputFields, // 54px to match TextField & Dropdown\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n '& .SingleDatePickerInput_calendarIcon': {\r\n fill: theme.palette.grey[500],\r\n borderRadius: borderRadiusMedium,\r\n margin: 0,\r\n marginLeft: '1.25rem',\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.focus\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n },\r\n '&:disabled:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n },\r\n '& .DateInput': {\r\n width: 'calc(100% - 3.75rem)', // Specific to not overlap with the calendar icon button\r\n backgroundColor: 'transparent',\r\n '& .DateInput_input': {\r\n padding: paddingTextField,\r\n backgroundColor: 'transparent',\r\n color: theme.palette.grey[600],\r\n fontFamily: fontFamilyDefault,\r\n fontSize: theme.typography.body1.fontSize,\r\n lineHeight: lineHeightHeader2Small,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n '&:focus': {\r\n outline: 0\r\n },\r\n '&::placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n // Disable FF specific invalid input box-shadow\r\n '&:not(output):-moz-ui-invalid': {\r\n boxShadow: 'none'\r\n }\r\n },\r\n '& .DateInput_input__focused': {\r\n borderColor: 'transparent',\r\n backgroundColor: 'transparent'\r\n },\r\n '& .DateInput_input__disabled': {\r\n fontStyle: 'normal',\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n }\r\n },\r\n // Hide input fang icon\r\n '& .DateInput_fang': {\r\n display: 'none'\r\n }\r\n },\r\n\r\n '.SingleDatePickerInput__withBorder': {\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n\r\n // always hide the standard navigation buttons; we'll be defining our own\r\n '.DayPickerNavigation_button': {\r\n display: 'none'\r\n },\r\n\r\n // always hide vertical navigation buttons; we don't use them\r\n '.DayPickerNavigation__verticalDefault': {\r\n display: 'none'\r\n },\r\n\r\n '.DayPicker__withBorder': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__bottomRight': {\r\n borderRightColor: theme.palette.ctaColor.base\r\n },\r\n '.CalendarMonth_caption': {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: theme.typography.h3.fontSize,\r\n paddingTop: '13px',\r\n paddingBottom: '28px',\r\n '& > strong': {\r\n fontWeight: theme.typography.h3.fontWeight\r\n }\r\n },\r\n\r\n '.CalendarDateCell': {\r\n border: 'none',\r\n borderRadius: '50%',\r\n width: '75%',\r\n height: '75%',\r\n margin: 'auto',\r\n lineHeight: '32px'\r\n },\r\n\r\n // calendar days\r\n '.CalendarDay': {\r\n // Open days\r\n '&.CalendarDay__default': {\r\n color: theme.palette.grey[600],\r\n borderColor: 'transparent',\r\n border: 'none',\r\n '&:hover': {\r\n background: 'none',\r\n color: theme.palette.grey[600],\r\n border: 'none',\r\n '& .CalendarDateCell': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.grey[600]\r\n }\r\n },\r\n '&:focus': {\r\n background: 'none',\r\n outline: 'none',\r\n border: 'none',\r\n color: theme.palette.grey[100],\r\n '& .CalendarDateCell': {\r\n backgroundColor: theme.palette.grey[500],\r\n\r\n '&.today': {\r\n color: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n '& .CalendarDateCell': {\r\n borderRadius: borderRadiusCircle,\r\n transition: theme.transitions.create(['background-color', 'color'], {\r\n duration: 50,\r\n easing: theme.transitions.easing.sharp\r\n }),\r\n '&.today': {\r\n color: theme.palette.ctaColor.base,\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n fontWeight: fontWeightBold\r\n },\r\n '&:active': {\r\n color: theme.palette.grey[100]\r\n // backgroundColor: theme.palette.ctaColor.active,\r\n }\r\n }\r\n },\r\n\r\n // Selected Day\r\n '&.CalendarDay__selected.CalendarDay__default': {\r\n background: 'none',\r\n fontWeight: fontWeightBold,\r\n color: theme.palette.grey[100],\r\n '&:hover': {\r\n color: theme.palette.grey[100]\r\n },\r\n '&:active': {\r\n color: theme.palette.grey[100]\r\n },\r\n '& .CalendarDateCell': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n '&.today': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:hover': {\r\n color: theme.palette.grey[100],\r\n backgroundColor: theme.palette.ctaColor.hover\r\n },\r\n '&:active': {\r\n color: theme.palette.grey[100],\r\n backgroundColor: theme.palette.ctaColor.active\r\n }\r\n }\r\n },\r\n\r\n // Disabled Days\r\n // Out of range\r\n '&.CalendarDay__blocked_out_of_range': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500],\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important',\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n outline: 'none'\r\n }\r\n },\r\n // Days outside of current month\r\n '&.CalendarDay__outside': {\r\n color: theme.palette.grey[500],\r\n borderRadius: borderRadiusCircle,\r\n '&:hover': {\r\n borderRadius: borderRadiusCircle\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: borderRadiusCircle\r\n }\r\n },\r\n // User defined blocked\r\n '&.CalendarDay__blocked_calendar': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[400],\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important',\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important'\r\n },\r\n '&.CalendarDay__outside': {\r\n color: theme.palette.grey[500],\r\n borderRadius: 0,\r\n '&:hover': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important'\r\n }\r\n }\r\n }\r\n },\r\n '.DayPicker_weekHeader': {\r\n top: '60px'\r\n },\r\n '.DayPicker_weekHeader_ul': {\r\n textTransform: 'uppercase',\r\n fontSize: theme.typography.caption.fontSize,\r\n color: theme.palette.grey[500]\r\n },\r\n // DatePicker prev + nav buttons\r\n '.DayPickerNavigation': {\r\n '& div[role=\"button\"]': {\r\n position: 'absolute',\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&:focus, &:active': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n }\r\n },\r\n '& div:first-of-type': {\r\n left: '1.375rem'\r\n },\r\n '& div:last-of-type': {\r\n right: '3.125rem'\r\n },\r\n '& svg': {\r\n border: 'none',\r\n height: spacing40,\r\n width: spacing40,\r\n '&:focus, &:active': {\r\n outline: 'none',\r\n border: 0\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n }\r\n }\r\n },\r\n\r\n // detached (appendToBody) calendar are rendered with position 'absolute' by\r\n // default; but this doesn't work in all scenarios, since they'll still\r\n // be positioned absolutely relative to their parent container\r\n\r\n // override the default to be fixed, intead; this seems to work in all\r\n // situations\r\n '.SingleDatePicker_picker[style*=\"transform: translate3d\"]': {\r\n position: 'fixed'\r\n },\r\n\r\n '.hedtech-bring-forward': {\r\n zIndex: theme.zIndex.modal\r\n },\r\n\r\n // Fix for DatePicker calendar positioning when appendToBody props is set\r\n '.SingleDatePicker_picker_small': {\r\n top: '2.875rem !important',\r\n left: '0.875rem !important'\r\n }\r\n\r\n };\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n\r\n // global styles that apply to all instances of DatePicker -- including the\r\n // detached calendar that's displayed when the appendToBody option is enabled\r\n '@global': merge(defaultStyles, globalStyleOverrides(theme)),\r\n\r\n // month picker fix for DatePicker components that are NOT appended to the body\r\n monthYearPickerFix: {\r\n\r\n '& .SingleDatePicker_picker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH\r\n },\r\n\r\n '& .DayPicker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH,\r\n '& .DayPicker_transitionContainer': {\r\n // left to its own devices, the vertically-oriented date picker will\r\n // allocate enough room for *two*, stacked montly calendars. constrain\r\n // the height, and add a little padding at the padding, to compensate\r\n height: 'auto !important',\r\n paddingBottom: spacing50\r\n },\r\n\r\n // hide the \"second\" (offscreen) month entirely when we're showing the\r\n // month/year selection version of datepicker, so that it doesn't take up\r\n // any space on the page\r\n '& .CalendarMonthGrid_month__hidden': {\r\n display: 'none'\r\n }\r\n\r\n }\r\n },\r\n\r\n standalone: {\r\n position: 'relative',\r\n left: -2,\r\n zIndex: zIndexDatePicker,\r\n '& .DayPicker__withBorder': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: 'none'\r\n },\r\n '& .DayPicker .DayPicker_transitionContainer': {\r\n borderRight: 'none',\r\n backgroundColor: 'transparent'\r\n },\r\n '& .CalendarMonthGrid': {\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n\r\n // for STANDALONE_WEEK variant, size the calendar so it only shows a single week\r\n standaloneWeek: {\r\n '& .DayPicker .DayPicker_transitionContainer': {\r\n height: '130px !important'\r\n }\r\n },\r\n\r\n standaloneRTL: {\r\n '& .CalendarMonthGrid__vertical_2': {\r\n transform: 'translateX(0px) !important'\r\n }\r\n },\r\n fullWidth: {\r\n '& .SingleDatePicker': {\r\n width: widthFluid\r\n },\r\n '& .SingleDatePickerInput': {\r\n width: widthFluid\r\n }\r\n },\r\n\r\n // Apply the focused outline around the input field\r\n focused: {\r\n '& .SingleDatePickerInput': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.focus,\r\n '& .SingleDatePickerInput_calendarIcon': {\r\n fill: theme.palette.grey[500],\r\n borderRadius: borderRadiusMedium,\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: 'none',\r\n border: 0\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n }\r\n }\r\n }\r\n },\r\n\r\n // small size variant DatePicker\r\n smallDatePicker: {\r\n '& .div_small': {\r\n height: heightInputFieldsSmall,\r\n '& .SingleDatePickerInput': {\r\n height: heightInputFieldsSmall,\r\n top: '-0.125rem',\r\n fontSize: fontSizeDefault,\r\n '& .SingleDatePickerInput_calendarIcon': {\r\n height: '2.25rem',\r\n width: '2.25rem',\r\n padding: spacing30,\r\n marginLeft: spacing50\r\n },\r\n '& .DateInput': {\r\n height: '2.25rem',\r\n '& .DateInput_input': {\r\n height: '2.25rem',\r\n padding: spacing30,\r\n borderBottom: 'none',\r\n fontSize: fontSizeDefault\r\n }\r\n }\r\n },\r\n // For positioning the calendar when not used in a Table\r\n '& .SingleDatePicker_picker': {\r\n top: '2.875rem !important'\r\n }\r\n }\r\n },\r\n\r\n // Show the placeholder if no label is provided\r\n noLabel: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n }\r\n }\r\n },\r\n noLabelMedium: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n padding: spacing40\r\n }\r\n }\r\n }\r\n },\r\n noLabelSmall: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n padding: spacing30,\r\n fontSize: fontSizeDefault,\r\n height: heightInputFieldsSmall,\r\n borderBottom: 'none'\r\n }\r\n }\r\n }\r\n },\r\n\r\n // Error styling\r\n error: {\r\n '& .SingleDatePickerInput': {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n }\r\n },\r\n focusedError: {\r\n '& .SingleDatePickerInput': {\r\n boxShadow: '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill,\r\n '-webkit-box-shadow': '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill,\r\n '-moz-box-shadow:': '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill\r\n }\r\n },\r\n\r\n // Styles to show the placeholder when input is\r\n // focused / DatePicker is open (with label)\r\n showPlaceholder: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n }\r\n }\r\n },\r\n\r\n // Calendar Icon Button screen reader only styles\r\n srOnly: {\r\n position: 'absolute',\r\n width: 1,\r\n height: 1,\r\n padding: 0,\r\n margin: '-1px',\r\n overflow: 'hidden',\r\n clip: 'rect(0,0,0,0)',\r\n border: 0\r\n },\r\n\r\n // NOTE: The following styles could be moved into their\r\n // own files in the FormControl directory\r\n // InputLabel\r\n inputLabelFormControl: {\r\n zIndex: zIndexTextFieldLabel,\r\n left: spacing40,\r\n transform: 'translate(0, 1.125rem) scale(1)'\r\n },\r\n inputLabelShrink: {\r\n fontSize: fontSizeDefault,\r\n transform: 'translate(0, .5rem) scale(0.75)'\r\n },\r\n\r\n // styling for custom calendar header\r\n headerControls: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n\r\n '& svg': {\r\n width: spacing40,\r\n height: spacing40,\r\n fill: colorTextNeutral500\r\n }\r\n\r\n },\r\n\r\n alternateHeaderControls: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n paddingLeft: '0.75rem',\r\n\r\n '& > .utility-icons': {\r\n display: 'flex'\r\n },\r\n\r\n '& > .nav-area': {\r\n display: 'flex',\r\n alignItems: 'center',\r\n\r\n '& > .nav-date': {\r\n flex: '1 0 5.5rem',\r\n textAlign: 'start'\r\n }\r\n },\r\n '& svg': {\r\n width: spacing40,\r\n height: spacing40,\r\n fill: colorTextNeutral500\r\n }\r\n\r\n },\r\n\r\n // additional header styling for incremental calendar\r\n incrementalSelector: {\r\n\r\n paddingBottom: '1px',\r\n alignItems: 'center',\r\n margin: '0 -6px'\r\n\r\n },\r\n\r\n // additional header styling for month/year calendar\r\n monthYearSelector: {\r\n padding: '11px 10px 9px 10px'\r\n },\r\n\r\n monthYearSelectInput: {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: theme.typography.h3.fontSize,\r\n fontWeight: theme.typography.h3.fontWeight\r\n },\r\n\r\n monthYearSelectInputInput: {\r\n padding: '0 1.3125rem 0 0'\r\n },\r\n\r\n monthYearSelectIcon: {\r\n top: 'calc(50% - 8px)'\r\n },\r\n\r\n monthYearSelectMenuItem: {\r\n backgroundColor: theme.palette.grey['100'],\r\n // note - can't use borderBottom for this because of an Edge bug that makes\r\n // bottom borders disappear: https://stackoverflow.com/questions/32313551/border-bottom-bug-in-microsoft-edge\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey['300'],\r\n color: theme.palette.grey['600'],\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.fontSize,\r\n lineHeight: lineHeightParagraphMedium,\r\n minHeight: sizingMedium,\r\n whiteSpace: 'inherit',\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey['200'],\r\n color: theme.palette.grey['600']\r\n }\r\n },\r\n\r\n monthYearSelectMenuItemSelected: {\r\n backgroundColor: theme.palette.ctaColor.active + ' !important',\r\n color: theme.palette.grey['100'] + ' !important'\r\n },\r\n\r\n monthYearSelectMenu: {\r\n padding: 0\r\n },\r\n inputLabelSmall: {\r\n top: '-0.35rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault,\r\n '&[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n }\r\n\r\n };\r\n};\r\n\r\n// CONSTANTS\r\nexport var STANDALONE = 'standalone';\r\nexport var STANDALONE_WEEK = 'standalone-week';\r\nexport var WITH_TEXT_FIELD = 'with-text-field';\r\n\r\nexport var INCREMENTAL_SELECTION = 'incremental'; // deprecated\r\nexport var MONTH_YEAR_SELECTION = 'month-year'; // deprecated\r\n\r\nexport var INCREMENTAL_NAVIGATION = 'incremental';\r\nexport var INCREMENTAL_NAVIGATION_WITH_TOOLBAR = 'toolbar-incremental';\r\nexport var MONTH_YEAR_NAVIGATION = 'month-year';\r\n\r\nexport var ANCHOR_LEFT = 'left';\r\nexport var ANCHOR_RIGHT = 'right';\r\n\r\nexport var OPEN_DOWN = 'down';\r\nexport var OPEN_UP = 'up';\r\n\r\nexport var HORIZONTAL_ORIENTATION = 'horizontal';\r\nexport var VERTICAL_ORIENTATION = 'vertical';\r\n\r\nexport var ICON_BEFORE_POSITION = 'before';\r\nexport var ICON_AFTER_POSITION = 'after';\r\n\r\nexport var INFO_POSITION_TOP = 'top';\r\nexport var INFO_POSITION_BOTTOM = 'bottom';\r\nexport var INFO_POSITION_BEFORE = 'before';\r\nexport var INFO_POSITION_AFTER = 'after';\r\n\r\nvar DEFAULT_DISPLAY_FORMAT = 'MMM D, YYYY';\r\nvar DEFAULT_WEEK_DAY_FORMAT = 'dd';\r\nvar DEFAULT_DAY_SIZE = 44;\r\n\r\nvar LAST_WEEK_IN_MONTH = Number.MAX_SAFE_INTEGER;\r\n\r\nvar INPUT_SPECIFIC_PROPS = ['anchorDirection', 'aria-label', 'customCloseIcon', 'customInputIcon', 'disableScroll', 'displayFormat', 'id', 'inputIconPosition', 'openDirection', 'placeholder', 'screenReaderInputMessage'];\r\n\r\n// This implementation is based on MUI's TextField\r\n// https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/TextField/TextField.js\r\n\r\n/**\r\n * Get month metadata from the given date.\r\n *\r\n * @param {moment} date The date of the month to analyze\r\n */\r\nvar getDateRow = function getDateRow(date) {\r\n\r\n var localDate = date.clone();\r\n var dayOfMonth = localDate.date();\r\n\r\n var daysInMonth = localDate.daysInMonth();\r\n var monthStartDay = localDate.startOf('month').day();\r\n var monthEndDay = localDate.endOf('month').day();\r\n\r\n // this accounts for days from the previous/next month appearing in the calendar\r\n var firstRowOffset = monthStartDay;\r\n var lastRowOffset = 6 - monthEndDay;\r\n\r\n // the number of rows rendered by the calendar for this month\r\n var numRowsInMonth = Math.ceil((daysInMonth + firstRowOffset + lastRowOffset) / 7);\r\n\r\n // the calendar row containing the given date\r\n var activeMonthRow = Math.ceil((dayOfMonth + monthStartDay) / 7);\r\n\r\n return {\r\n monthStartDay: monthStartDay,\r\n monthEndDay: monthEndDay,\r\n numRowsInMonth: numRowsInMonth,\r\n activeMonthRow: activeMonthRow\r\n };\r\n};\r\n\r\n/**\r\n * Use `DatePicker` to select a single date.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * ExampleDatePicker\r\n * Disabled\r\n * FullWidth\r\n * DateFormats\r\n * DatePickerWithinAForm\r\n * InADialog\r\n * Standalone\r\n * StandaloneWithToggle\r\n * @examplesInternal\r\n * ExampleDatePickerRTL\r\n */\r\n\r\nvar DatePicker = function (_React$Component) {\r\n _inherits(DatePicker, _React$Component);\r\n\r\n function DatePicker(props) {\r\n _classCallCheck(this, DatePicker);\r\n\r\n var _this = _possibleConstructorReturn(this, (DatePicker.__proto__ || Object.getPrototypeOf(DatePicker)).call(this, props));\r\n\r\n _this.state = {\r\n shrink: false,\r\n currentWeekRow: 0 // tracks current week for STANDALONE_WEEK variant\r\n };\r\n\r\n _this.handleClose = function () {\r\n if (navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform)) {\r\n _this.props.onFocusChange({ focused: false });\r\n }\r\n };\r\n\r\n _this.switchMonth = function (direction, month, onMonthSelect, onYearSelect) {\r\n\r\n var localMonth = month.clone();\r\n var monthCoefficient = void 0;\r\n\r\n // add or subtract a month, depending on direction\r\n //\r\n // note: we use the monthCoefficient to counteract an internal react-date offset that shifts the month\r\n // forward/back by three months when switching years. ¯\\_(ツ)_/¯\r\n if (direction === -1) {\r\n localMonth.subtract(1, 'month');\r\n monthCoefficient = 9;\r\n } else {\r\n localMonth.add(1, 'month');\r\n monthCoefficient = -2;\r\n }\r\n\r\n // switch year if the navigation crosses year boundries\r\n if (month.year() !== localMonth.year()) {\r\n onYearSelect(month, localMonth.year());\r\n onMonthSelect(localMonth, monthCoefficient);\r\n } else {\r\n onMonthSelect(month, localMonth.month());\r\n }\r\n\r\n // invoke the next/prev callbacks\r\n if (direction === -1 && _this.props.onPrevMonthClick) {\r\n _this.props.onPrevMonthClick(localMonth);\r\n } else if (direction === 1 && _this.props.onNextMonthClick) {\r\n _this.props.onNextMonthClick(localMonth);\r\n }\r\n };\r\n\r\n _this.handleCalendarNavigation = function (direction, month, isWeekCalendar, onMonthSelect, onYearSelect) {\r\n\r\n if (isWeekCalendar) {\r\n\r\n var monthDateInfo = getDateRow(month);\r\n var numWeeksInMonth = monthDateInfo.numRowsInMonth;\r\n\r\n // to to the next previous week\r\n var updatedWeek = _this.state.currentWeekRow === LAST_WEEK_IN_MONTH ? numWeeksInMonth - 1 : _this.state.currentWeekRow;\r\n\r\n updatedWeek += direction;\r\n\r\n // if we're on the first/last week of the month, check to see if we should be transitioning\r\n // the another month\r\n if (updatedWeek === 0 || updatedWeek === numWeeksInMonth - 1) {\r\n\r\n var isTransitionRow = direction === 1 ? monthDateInfo.monthEndDay !== 6 : monthDateInfo.monthStartDay !== 0;\r\n\r\n // if it does, consider it a week from the next/previous calendar\r\n if (isTransitionRow) {\r\n updatedWeek = direction === 1 ? numWeeksInMonth : -1;\r\n }\r\n }\r\n\r\n // if we're moving to a new month\r\n if (updatedWeek < 0 || updatedWeek === numWeeksInMonth) {\r\n\r\n // move to the last week of the previous month\r\n if (updatedWeek < 0) {\r\n updatedWeek = LAST_WEEK_IN_MONTH;\r\n }\r\n\r\n // move to the first week of the next month\r\n else if (updatedWeek === numWeeksInMonth) {\r\n updatedWeek = 0;\r\n }\r\n\r\n _this.switchMonth(direction, month, onMonthSelect, onYearSelect);\r\n }\r\n\r\n _this.setState({ currentWeekRow: updatedWeek });\r\n\r\n // this is a full calendar; just move to the appopriate month\r\n } else {\r\n _this.switchMonth(direction, month, onMonthSelect, onYearSelect);\r\n }\r\n };\r\n\r\n _this.handleNavigationButtonPress = function (e, direction, month, isWeekCalendar, onMonthSelect, onYearSelect) {\r\n\r\n // the week calendar wants to handle all nav button keybaord events itself\r\n if (isWeekCalendar) {\r\n e.stopPropagation();\r\n }\r\n\r\n // navigate backwards/forwards on enter or space\r\n if (e.keyCode === 32 || e.keyCode === 13) {\r\n _this.handleCalendarNavigation(direction, month, isWeekCalendar, onMonthSelect, onYearSelect);\r\n }\r\n };\r\n\r\n _this.selectorId = uuid();\r\n _this.datePickerRef = React.createRef();\r\n _this.singleDatePickerId = props.id ? props.id : uuid();\r\n return _this;\r\n }\r\n\r\n _createClass(DatePicker, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n var _props = this.props,\r\n date = _props.date,\r\n variant = _props.variant,\r\n appendToBody = _props.appendToBody;\r\n\r\n // if a detached calendar is enabled, remember the current overflow values of the\r\n // top page elements; we will need this info later\r\n\r\n if (appendToBody) {\r\n this.getOverflow();\r\n }\r\n\r\n if (variant === WITH_TEXT_FIELD) {\r\n this.HACK_setConditionalSizeClass(this.props);\r\n }\r\n\r\n // if this is a standlone week calendar, set the row to the one containing the\r\n // selected date\r\n if (date && variant === STANDALONE_WEEK) {\r\n this.setCurrentRow(date);\r\n }\r\n }\r\n\r\n /**\r\n * Set the row to display in the standalone week calendar\r\n *\r\n * @param {moment} date The date containing the row that should be selected\r\n */\r\n\r\n }, {\r\n key: 'setCurrentRow',\r\n value: function setCurrentRow(date) {\r\n var activeRow = getDateRow(date).activeMonthRow;\r\n this.setState({ currentWeekRow: activeRow - 1 });\r\n }\r\n\r\n /**\r\n * Week calendar keyboard event handler.\r\n */\r\n\r\n }, {\r\n key: 'handleWeekCalendarKeyboardNav',\r\n value: function handleWeekCalendarKeyboardNav(e) {\r\n\r\n // prevent calendar from handling keyboard navigation (we let the enter\r\n // through so that users can select dates)\r\n if (e.keyCode !== 13) {\r\n e.stopPropagation();\r\n }\r\n }\r\n\r\n /**\r\n * Hides rows in the calendar\r\n *\r\n * @param {number} week The week that should be visible. -1 to show all weeks\r\n * @param {boolean} allCalendars Whether this operation to all calendars, or just the visible one.\r\n */\r\n\r\n }, {\r\n key: 'setVisibleCalendarRows',\r\n value: function setVisibleCalendarRows(week, allCalendars) {\r\n\r\n // grab all the rows in the calendar\r\n var allCalendarViews = this.datePickerRef.current.querySelectorAll('table');\r\n var dateRows = void 0;\r\n\r\n // react-dates keeps three month calendars active in the dom, only one of which\r\n // is visible; if prompted, change row visibility in all of them\r\n if (allCalendars) {\r\n dateRows = this.datePickerRef.current.querySelectorAll('table tr');\r\n } else {\r\n dateRows = allCalendarViews[1].querySelectorAll('tr');\r\n }\r\n\r\n // figure out which one should be visible\r\n var visibleRow = week === LAST_WEEK_IN_MONTH ? dateRows.length - 1 : week;\r\n\r\n // show just the selected row (or all rows if directed)\r\n dateRows.forEach(function (row, index) {\r\n\r\n // show only the row for the current week\r\n row.style.display = visibleRow === -1 || index === visibleRow ? 'table-row' : 'none';\r\n\r\n // make each of the dates in that row tabstops, so that the user can keyboard\r\n // through them\r\n row.querySelectorAll('td').forEach(function (td) {\r\n return td.tabIndex = index === visibleRow ? 0 : -1;\r\n });\r\n\r\n // TODO - the standard calendar uses arrows to move through dates, but I can't seem\r\n // to get that to work\r\n });\r\n }\r\n\r\n /**\r\n * Applies the appropriate header for the standalone week calendar.\r\n */\r\n\r\n }, {\r\n key: 'setWeekCalendarHeader',\r\n value: function setWeekCalendarHeader() {\r\n\r\n // the week calendar displays the range of dates in the current week; we don't have\r\n // enough insight about what the range portion of this is during render time,\r\n // so it's applied *after* the fact\r\n\r\n // get the current month/year from where the render method stashed it in the dom\r\n var headerArea = this.datePickerRef.current.querySelector('div.CalendarMonth_1[data-visible=true]').querySelector('span.calendar-title');\r\n var calenderDate = moment(headerArea.getAttribute('data-current-date'), 'MMM YYYY');\r\n\r\n // get all the data in the visible row of the calendar\r\n var weekRows = this.datePickerRef.current.querySelectorAll('table')[1].querySelector('tr[style*=\"table-row\"]');\r\n var days = weekRows.querySelectorAll('td');\r\n\r\n // filter the list of days down to the ones for the current month\r\n var weekData = filter(days, function (day) {\r\n return ![].concat(_toConsumableArray(day.classList)).includes('CalendarDay__outside');\r\n });\r\n\r\n // put together the header text for the current week\r\n var weekCalendarDayRange = head(weekData).textContent + '-' + last(weekData).textContent;\r\n var headerText = calenderDate.format('MMM') + ' ' + weekCalendarDayRange;\r\n\r\n headerArea.innerText = headerText;\r\n }\r\n }, {\r\n key: 'setMonthCalendarHeader',\r\n value: function setMonthCalendarHeader() {\r\n\r\n // get the current month/year from where the render method stashed it in the dom\r\n var headerArea = this.datePickerRef.current.querySelector('div.CalendarMonth_1[data-visible=true]').querySelector('span.calendar-title');\r\n var calenderDate = moment(headerArea.getAttribute('data-current-date'), 'MMM YYYY');\r\n\r\n var headerText = calenderDate.format('MMM YYYY');\r\n\r\n headerArea.innerText = headerText;\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState) {\r\n var _this2 = this;\r\n\r\n var _props2 = this.props,\r\n date = _props2.date,\r\n variant = _props2.variant,\r\n appendToBody = _props2.appendToBody,\r\n monthSelectionVariant = _props2.monthSelectionVariant,\r\n headerVariant = _props2.headerVariant,\r\n focused = _props2.focused;\r\n\r\n // if switching into standalone week view, show the row with the selected date\r\n\r\n if (variant === STANDALONE_WEEK && prevProps.variant !== STANDALONE_WEEK) {\r\n this.setCurrentRow(date);\r\n }\r\n\r\n // if switching out of week view, make sure all rows are visible\r\n else if (variant !== STANDALONE_WEEK && prevProps.variant === STANDALONE_WEEK) {\r\n this.setVisibleCalendarRows(-1, true);\r\n this.setState({ currentWeekRow: 0 });\r\n this.setMonthCalendarHeader();\r\n } else {\r\n\r\n // whether to use month/year header (checking both the deprecated monthSelectionVariant and headerVariant props\r\n var useMonthYearHeader = monthSelectionVariant === MONTH_YEAR_SELECTION || headerVariant.headerType === MONTH_YEAR_NAVIGATION;\r\n\r\n // determine whether the header type changed\r\n var headerVariantChanged = monthSelectionVariant !== prevProps.monthSelectionVariant || headerVariant !== prevProps.headerVariant;\r\n\r\n if (variant === WITH_TEXT_FIELD) {\r\n\r\n // This accounts for DatePickers when placed on Dialogs\r\n // The MUI Dialog disables the scroll when open, and we need to save that new overflow state\r\n if (this.props.appendToBody) {\r\n this.getOverflow();\r\n }\r\n\r\n // when the date picker is rendered with `appendToBody`, the date picker calendar\r\n // is appended to the top of the DOM hierarchy; this makes it difficult to apply\r\n // conditional styling to it, since react-dates doesn't give us a way to interact\r\n // with the calendar specifically\r\n\r\n // the workaround: when we want to apply the month/picker hack to it, we\r\n // wait for it to appear, then apply the styles *directly* to the calendar\r\n // div\r\n\r\n // check if (1) something has changed that requires us to take another look at the\r\n // calendar; and (2) we're dealing with an open, detached calendar\r\n if ((appendToBody !== prevProps.appendToBody || focused !== prevProps.focused || headerVariantChanged) && appendToBody && focused) {\r\n\r\n // jump out of the event loop, to give the calendar time to render\r\n setTimeout(function () {\r\n // apply the hack if the we're using the month/year selector variant;\r\n // otherwise, remove it\r\n _this2.handleMonthPickerHack(useMonthYearHeader);\r\n\r\n // Use this hack to adjust the z-index of the DatePicker when being rendered in a Dialog\r\n // when the prop appendToBody is true. This gives the DatePicker a higher z-index so it is\r\n // not hidden in the background of the Dialog/the Dialog's backdrop.\r\n _this2.HACK_handleZIndex();\r\n }, 1);\r\n }\r\n\r\n // add aria info to calendar button\r\n this.HACK_updateCalendarButtonA11yInfo();\r\n\r\n // if an aria label was provided, apply to input field\r\n this.HACK_updateAriaLabel();\r\n\r\n var curShrink = this.state.shrink;\r\n\r\n var htmlInput = this.datePickerRef.current.querySelector('.DateInput_input');\r\n var htmlInputValueLength = htmlInput ? htmlInput.value.length : 0;\r\n\r\n if (date !== null || curShrink && htmlInputValueLength > 0) {\r\n return;\r\n } else if (curShrink && htmlInputValueLength === 0) {\r\n this.setState({ shrink: false });\r\n } else if (!curShrink && htmlInputValueLength > 0) {\r\n this.setState({ shrink: true });\r\n }\r\n\r\n this.HACK_setConditionalSizeClass();\r\n }\r\n\r\n // if we're in the week calendar, display only the row for the current week\r\n else if (variant === STANDALONE_WEEK) {\r\n\r\n this.setVisibleCalendarRows(this.state.currentWeekRow);\r\n\r\n // retractively apply the week calendar header\r\n if (!useMonthYearHeader) {\r\n this.setWeekCalendarHeader();\r\n }\r\n\r\n // register an event handler to take control of all keyboard events on the\r\n // calendar\r\n var calendar = this.datePickerRef.current.querySelector('.DayPicker_focusRegion');\r\n calendar.removeEventListener('keydown', this.handleWeekCalendarKeyboardNav);\r\n calendar.addEventListener('keydown', this.handleWeekCalendarKeyboardNav);\r\n }\r\n }\r\n }\r\n\r\n // Utility function that gets the overflow of the html and body elements\r\n\r\n }, {\r\n key: 'getOverflow',\r\n value: function getOverflow() {\r\n this.htmlOverflowY = document.querySelector('html').style.overflowY;\r\n this.bodyOverflowY = document.querySelector('body').style.overflowY;\r\n }\r\n\r\n /**\r\n * Find the instance of the calendar that's been appeneded to the document body, and\r\n * add (or remove) the class that patches our issues with the month picker\r\n *\r\n * @param {boolean} apply True to apply the class; false to remove it\r\n */\r\n\r\n }, {\r\n key: 'handleMonthPickerHack',\r\n value: function handleMonthPickerHack(apply) {\r\n\r\n // grab the calendar\r\n var datePickers = document.querySelectorAll('body > div > div.SingleDatePicker_picker');\r\n\r\n // add/remove the month picker hack\r\n if (datePickers.length > 0) {\r\n for (var i = 0; i < datePickers.length; i++) {\r\n var datePicker = datePickers[i];\r\n if (datePicker && datePicker.classList) {\r\n if (apply) {\r\n if (!datePicker.classList.contains('monthYearPickerFix')) {\r\n datePicker.classList.add('monthYearPickerFix');\r\n }\r\n } else {\r\n datePicker.classList.remove('monthYearPickerFix');\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }, {\r\n key: 'HACK_handleZIndex',\r\n value: function HACK_handleZIndex() {\r\n // Get DatePicker\r\n var datePickers = document.querySelectorAll('body > div > div.SingleDatePicker_picker');\r\n\r\n // Assign DatePicker a higher z-index\r\n if (datePickers.length > 0) {\r\n for (var i = 0; i < datePickers.length; i++) {\r\n var datePicker = datePickers[i];\r\n if (datePicker && datePicker.classList) {\r\n datePicker.classList.add('hedtech-bring-forward');\r\n }\r\n }\r\n }\r\n }\r\n\r\n // add aria info to the calendar popup button\r\n\r\n }, {\r\n key: 'HACK_updateCalendarButtonA11yInfo',\r\n value: function HACK_updateCalendarButtonA11yInfo() {\r\n\r\n var calendarButton = this.datePickerRef.current.querySelector('.SingleDatePickerInput_calendarIcon');\r\n\r\n // add a \"hasPopup\" aria label to the button that pops up the date picker\r\n if (this.datePickerRef.current) {\r\n\r\n if (!calendarButton.getAttribute('aria-haspopup')) {\r\n\r\n // note -- we don't have direct access to the button, so need to hack our way in there\r\n calendarButton.setAttribute('aria-haspopup', 'true');\r\n }\r\n }\r\n }\r\n\r\n // Need to add specific classes for small size DatePicker\r\n\r\n }, {\r\n key: 'HACK_setConditionalSizeClass',\r\n value: function HACK_setConditionalSizeClass() {\r\n // Need to add a class to this basic so we can target it specifically\r\n var htmlInput = this.datePickerRef.current.querySelector('.DateInput_input');\r\n\r\n if (this.props.size === 'small' && htmlInput && htmlInput.classList && htmlInput.parentElement.parentElement.parentElement) {\r\n htmlInput.parentElement.parentElement.parentElement.classList.add('div_small');\r\n }\r\n\r\n // DatePicker with appendToBody doesn't respect calendar's top positioning because of where it's rendered\r\n // Need to be more aggressive setting it\r\n var datePickers = document.querySelectorAll('body > div > div.SingleDatePicker_picker');\r\n\r\n if (datePickers.length > 0) {\r\n for (var i = 0; i < datePickers.length; i++) {\r\n var datePicker = datePickers[i];\r\n if (datePicker && datePicker.classList && !datePicker.classList.contains('SingleDatePicker_picker_small')) {\r\n datePicker.classList.add('SingleDatePicker_picker_small');\r\n }\r\n }\r\n }\r\n }\r\n\r\n // add the correct aria-label to the datepicker input field\r\n\r\n }, {\r\n key: 'HACK_updateAriaLabel',\r\n value: function HACK_updateAriaLabel() {\r\n\r\n // add a \"hasPopup\" aria attribute to the button that pops up the date picker\r\n if (this.props['aria-label']) {\r\n\r\n var htmlInput = this.datePickerRef.current.querySelector('.DateInput_input');\r\n\r\n if (htmlInput.getAttribute('aria-label') !== this.props['aria-label']) {\r\n\r\n // note -- we need to hack this in, because the placeholder text always overrides\r\n // whatever you pass in for aria-label, effectively making it impossible to have\r\n // different placeholder and aria-label text\r\n htmlInput.setAttribute('aria-label', this.props['aria-label']);\r\n }\r\n }\r\n }\r\n\r\n // builds a month selection dropdown\r\n\r\n }, {\r\n key: 'buildSelector',\r\n value: function buildSelector(menuItems, callback, value, type) {\r\n var classes = this.props.classes;\r\n var dirString = this.props.isRTL ? 'rtl' : this.props.edsContext.dir;\r\n\r\n return React.createElement(\r\n Select,\r\n {\r\n IconComponent: ChevronDownIcon,\r\n onChange: callback,\r\n MenuProps: {\r\n id: this.selectorId,\r\n MenuListProps: {\r\n classes: {\r\n root: classes.monthYearSelectMenu\r\n },\r\n 'aria-label': type === 'month' ? this.props.edsContext.formatMessage('component.DatePicker.monthPicker') : this.props.edsContext.formatMessage('component.DatePicker.yearPicker')\r\n },\r\n dir: dirString\r\n },\r\n classes: {\r\n icon: classes.monthYearSelectIcon\r\n },\r\n value: value,\r\n input: React.createElement(Input, {\r\n classes: {\r\n root: classes.monthYearSelectInput,\r\n input: classes.monthYearSelectInputInput },\r\n disableUnderline: true\r\n })\r\n },\r\n menuItems\r\n );\r\n }\r\n\r\n // Method will close the calender if user clicks outside of the calendar container.\r\n\r\n\r\n /**\r\n * Switch to the next/previous month.\r\n *\r\n * @param {number} direction The direction to navigation; 1 == forward, -1 == backward\r\n * @param {moment} month Current month\r\n * @param {function} onMonthSelect Invoke to choose a different month\r\n * @param {function} onYearSelect Invoke to choose a different year\r\n */\r\n\r\n\r\n /**\r\n * Handles incremental calendar navigation\r\n *\r\n * @param {number} direction The direction to navigation; 1 == forward, -1 == backward\r\n * @param {moment} month Current month\r\n * @param {boolean} isWeekCalendar True if this is a week clendar\r\n * @param {function} onMonthSelect Invoke to choose a different month\r\n * @param {function} onYearSelect Invoke to choose a different year\r\n */\r\n\r\n\r\n /**\r\n * Handle incremental navigation via keybaord.\r\n */\r\n\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this3 = this,\r\n _cn,\r\n _cn2;\r\n\r\n var _props3 = this.props,\r\n classes = _props3.classes,\r\n error = _props3.error,\r\n variant = _props3.variant,\r\n className = _props3.className,\r\n helperText = _props3.helperText,\r\n fullWidth = _props3.fullWidth,\r\n edsContext = _props3.edsContext,\r\n FormControlProps = _props3.FormControlProps,\r\n FormHelperTextProps = _props3.FormHelperTextProps,\r\n InputLabelProps = _props3.InputLabelProps,\r\n isRTLProp = _props3.isRTL,\r\n labelProp = _props3.label,\r\n startYear = _props3.startYear,\r\n endYear = _props3.endYear,\r\n autoPosition = _props3.autoPosition,\r\n screenReaderInputMessageProp = _props3.screenReaderInputMessage,\r\n placeholderProp = _props3.placeholder,\r\n onFocusChange = _props3.onFocusChange,\r\n monthSelectionVariant = _props3.monthSelectionVariant,\r\n isOutsideRange = _props3.isOutsideRange,\r\n size = _props3.size,\r\n daySize = _props3.daySize,\r\n headerVariant = _props3.headerVariant,\r\n highlightToday = _props3.highlightToday,\r\n date = _props3.date,\r\n props = _objectWithoutProperties(_props3, ['classes', 'error', 'variant', 'className', 'helperText', 'fullWidth', 'edsContext', 'FormControlProps', 'FormHelperTextProps', 'InputLabelProps', 'isRTL', 'label', 'startYear', 'endYear', 'autoPosition', 'screenReaderInputMessage', 'placeholder', 'onFocusChange', 'monthSelectionVariant', 'isOutsideRange', 'size', 'daySize', 'headerVariant', 'highlightToday', 'date']);\r\n\r\n var shrink = this.state.shrink;\r\n\r\n var isRTL = isRTLProp ? isRTLProp : edsContext.dir === 'rtl';\r\n var dirString = isRTLProp ? 'rtl' : edsContext.dir;\r\n var hasLabel = !isNil(labelProp);\r\n var helperTextId = helperText && props.id ? props.id + '-helper-text' : undefined;\r\n var shouldShrink = props.focused || date !== null || shrink;\r\n\r\n var label = labelProp;\r\n // translate placeholder text if we're displaying the default\r\n var placeholder = placeholderProp === DEFAULT_PLACEHOLDER ? edsContext.formatMessage('component.DatePicker.dateLabel') : placeholderProp;\r\n\r\n // Add asterisk to label or placeholder if required\r\n if (props.required) {\r\n if (hasLabel) {\r\n label = labelProp + ' *';\r\n } else {\r\n placeholder = placeholder + ' *';\r\n }\r\n }\r\n\r\n // set up the default screen reader input message\r\n var screenReaderInputMessage = screenReaderInputMessageProp || edsContext.formatMessage('component.DatePicker.a11y.inputDescription', {\r\n dateFormat: this.props.displayFormat\r\n });\r\n\r\n // whether to use month/year header (checking both the deprecated monthSelectionVariant and headerVariant props\r\n var useMonthYearHeader = monthSelectionVariant === MONTH_YEAR_SELECTION || headerVariant.headerType === MONTH_YEAR_NAVIGATION;\r\n\r\n // the custom header for incremental navigation\r\n var incrementalNavHeader = function incrementalNavHeader(_ref) {\r\n var month = _ref.month,\r\n onMonthSelect = _ref.onMonthSelect,\r\n onYearSelect = _ref.onYearSelect;\r\n\r\n\r\n var previousTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToPrevWeek') : edsContext.formatMessage('component.DatePicker.jumpToPrevMonth');\r\n\r\n var nextTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToNextWeek') : edsContext.formatMessage('component.DatePicker.jumpToNextMonth');\r\n\r\n var headerText = month.format('MMMM YYYY');\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: cn(classes.headerControls, classes.incrementalSelector) },\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: previousTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(-1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, -1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronRightIcon, null) : React.createElement(ChevronLeftIcon, null)\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n 'strong',\r\n null,\r\n React.createElement(\r\n 'span',\r\n { 'data-current-date': month.format('MMM YYYY'), className: 'calendar-title' },\r\n headerText\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: nextTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, 1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)\r\n )\r\n )\r\n )\r\n );\r\n };\r\n\r\n // the custom header for incremental navigation\r\n var toolbarIncrementalNavHeader = function toolbarIncrementalNavHeader(_ref2) {\r\n var month = _ref2.month,\r\n onMonthSelect = _ref2.onMonthSelect,\r\n onYearSelect = _ref2.onYearSelect;\r\n\r\n\r\n var previousTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToPrevWeek') : edsContext.formatMessage('component.DatePicker.jumpToPrevMonth');\r\n\r\n var nextTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToNextWeek') : edsContext.formatMessage('component.DatePicker.jumpToNextMonth');\r\n\r\n var headerText = month.format('MMM YYYY');\r\n\r\n return React.createElement(\r\n 'div',\r\n { role: 'toolbar', className: cn(classes.alternateHeaderControls), onKeyDown: function onKeyDown(e) {\r\n return e.stopPropagation();\r\n } },\r\n React.createElement(\r\n 'div',\r\n { className: 'nav-area' },\r\n React.createElement(\r\n 'div',\r\n { className: 'nav-date' },\r\n React.createElement(\r\n 'strong',\r\n null,\r\n React.createElement(\r\n 'span',\r\n { 'data-current-date': month.format('MMM YYYY'), className: 'calendar-title' },\r\n headerText\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: previousTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(-1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, -1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronRightIcon, null) : React.createElement(ChevronLeftIcon, null)\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: nextTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, 1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)\r\n )\r\n )\r\n )\r\n ),\r\n _this3.props.headerVariant.toolbarItems && React.createElement(\r\n 'div',\r\n { className: 'utility-icons' },\r\n _this3.props.headerVariant.toolbarItems.map(function (item, index) {\r\n return React.createElement(\r\n React.Fragment,\r\n { key: index },\r\n item\r\n );\r\n })\r\n )\r\n );\r\n };\r\n\r\n // the custom header for month/year navigation\r\n var monthYearSelectionHeader = function monthYearSelectionHeader(_ref3) {\r\n var month = _ref3.month,\r\n onMonthSelect = _ref3.onMonthSelect,\r\n onYearSelect = _ref3.onYearSelect;\r\n return (\r\n\r\n // Month/Year Calendar Hack\r\n //\r\n // The month/year variant of the calendar has an issue where the transitions from one month\r\n // to another gets 'stuck' when using the month selector; you wind up with the calendar\r\n // half-shifted out of the viewport. This only happens when you put a MUI select in the month\r\n // header; something about it throws off the fragile timing of the transition in the bowels\r\n // of react-dates.\r\n //\r\n // The most consistent/least intrusive way we've found to solve this is by making the month/\r\n // year calendar *vertically*-oriented. This appears to satisfy the transition that is\r\n // causing us so many problems, without any visual impact to the component (since we only\r\n // show one calendar at a time).\r\n //\r\n // We had to add a few CSS tweaks to make this work (see the monthYearPickerFix class, above).\r\n // They are only applied for the month/year version of the calendar.\r\n\r\n React.createElement(\r\n 'div',\r\n { className: cn(classes.headerControls, classes.monthYearSelector) },\r\n React.createElement(\r\n 'div',\r\n null,\r\n _this3.buildSelector(moment.months().map(function (monthLabel, value) {\r\n return React.createElement(\r\n MenuItem,\r\n {\r\n classes: {\r\n root: classes.monthYearSelectMenuItem,\r\n selected: classes.monthYearSelectMenuItemSelected\r\n },\r\n key: value,\r\n value: value,\r\n disableRipple: true,\r\n disableTouchRipple: true\r\n },\r\n monthLabel\r\n );\r\n }), function (e) {\r\n onMonthSelect(month, e.target.value);\r\n }, month.month(), 'month')\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n _this3.buildSelector(range(startYear, endYear + 1, 1).map(function (year) {\r\n return React.createElement(\r\n MenuItem,\r\n {\r\n classes: {\r\n root: classes.monthYearSelectMenuItem,\r\n selected: classes.monthYearSelectMenuItemSelected\r\n },\r\n key: year,\r\n value: year,\r\n disableRipple: true,\r\n disableTouchRipple: true\r\n },\r\n moment(year, 'YYYY').format('YYYY')\r\n );\r\n }), function (e) {\r\n onYearSelect(month, e.target.value);\r\n }, month.year(), 'year')\r\n )\r\n )\r\n );\r\n };\r\n\r\n // figure out what kind of header to use\r\n var header = null;\r\n\r\n var headerType = this.props.monthSelectionVariant ? this.props.monthSelectionVariant : this.props.headerVariant.headerType;\r\n\r\n switch (headerType) {\r\n\r\n case INCREMENTAL_SELECTION:\r\n case INCREMENTAL_NAVIGATION:\r\n header = incrementalNavHeader;\r\n break;\r\n\r\n case INCREMENTAL_NAVIGATION_WITH_TOOLBAR:\r\n header = toolbarIncrementalNavHeader;\r\n break;\r\n\r\n case MONTH_YEAR_SELECTION:\r\n case MONTH_YEAR_NAVIGATION:\r\n header = monthYearSelectionHeader;\r\n break;\r\n\r\n default:\r\n header = incrementalNavHeader;\r\n console.error('Unknown headerVariant: ' + this.props.headerVariant.headerType);\r\n break;\r\n\r\n }\r\n\r\n var today = moment();\r\n\r\n var DatePickerPropOverrides = {\r\n isRTL: isRTL,\r\n inputIconPosition: ICON_AFTER_POSITION,\r\n orientation: useMonthYearHeader ? VERTICAL_ORIENTATION : HORIZONTAL_ORIENTATION,\r\n customInputIcon: React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n 'span',\r\n { className: classes.srOnly },\r\n edsContext.formatMessage('component.DatePicker.inputCalendarIconButton')\r\n ),\r\n React.createElement(CalendarIcon, null)\r\n ),\r\n numberOfMonths: 1,\r\n displayFormat: DEFAULT_DISPLAY_FORMAT,\r\n weekDayFormat: DEFAULT_WEEK_DAY_FORMAT,\r\n anchorDirection: isRTL ? ANCHOR_RIGHT : ANCHOR_LEFT,\r\n screenReaderInputMessage: screenReaderInputMessage,\r\n placeholder: placeholder,\r\n\r\n // override the date cell render so we can apply our own styles and highlight today's date\r\n renderDayContents: function renderDayContents(day) {\r\n var dayClasses = 'CalendarDateCell ' + (highlightToday && day.isSame(today, 'day') ? ' today' : '');\r\n return React.createElement(\r\n 'div',\r\n { className: dayClasses },\r\n day.date()\r\n );\r\n },\r\n\r\n onFocusChange: function onFocusChange(focused) {\r\n\r\n // this is to get past react-dates' stubborn insistence on closing whenever you click\r\n // outside the calendar; selecting a dropdown item is considered an outside click, so\r\n // without this code the calendar would close (in non-standalone mode) whenever you\r\n // select a new date/year\r\n if (focused.focused || !useMonthYearHeader || variant === STANDALONE || variant === STANDALONE_WEEK) {\r\n _this3.props.onFocusChange(focused);\r\n } else {\r\n\r\n // if the month/year selection menu is visible, abort the close\r\n if (document.getElementById(_this3.selectorId)) {\r\n _this3.props.onFocusChange({ focused: true });\r\n } else {\r\n _this3.props.onFocusChange(focused);\r\n }\r\n }\r\n },\r\n\r\n onClose: function onClose() {\r\n\r\n // if the appendToBody prop is specified, users might run afoul of a react-date bug\r\n // where, if you invoke a date picker calendar while another one is already open,\r\n // react-date's scroll-disabling code gets confused, and turns off scrolling forever\r\n // (or until the page refreshes, whichever comes first)\r\n\r\n // work around this by explicitly setting overflow-y back to its previous value,\r\n // whenever a calendar closes\r\n\r\n if (_this3.props.appendToBody) {\r\n\r\n setTimeout(function () {\r\n\r\n // both html & body tags might have their overflows disabled (it appears to be\r\n // browser-dependent); so check both, and reset them if necessary\r\n var html = document.querySelector('html');\r\n var body = document.querySelector('body');\r\n\r\n if (html.style.overflowY === 'hidden' && _this3.htmlOverflowY !== 'hidden') {\r\n html.style.overflowY = _this3.htmlOverflowY;\r\n }\r\n\r\n if (body.style.overflowY === 'hidden' && _this3.bodyOverflowY !== 'hidden') {\r\n body.style.overflowY = _this3.bodyOverflowY;\r\n }\r\n }, 1);\r\n }\r\n\r\n // if the caller provided their own onClose, call it\r\n if (_this3.props.onClose) {\r\n _this3.props.onClose();\r\n }\r\n },\r\n\r\n // if we're showing month selectors, don't allow selections of years outside of the\r\n // given year range\r\n isOutsideRange: this.props.isOutsideRange ? this.props.isOutsideRange : useMonthYearHeader ? function (day) {\r\n return day.year() < startYear || day.year() > endYear;\r\n } : function () {\r\n return false;\r\n },\r\n\r\n // introduce our own custom header\r\n renderMonthElement: header,\r\n\r\n enableOutsideDays: true,\r\n daySize: daySize,\r\n hideKeyboardShortcutsPanel: true,\r\n transitionDuration: 0\r\n };\r\n\r\n var autoPositionOverrides = {};\r\n\r\n if (autoPosition && this.datePickerRef.current && this.props.focused) {\r\n\r\n var rect = this.datePickerRef.current.getBoundingClientRect();\r\n var anchorDirection = void 0;\r\n // determine if the datepicker will fit in the available vertical space, and if not\r\n // if it makes more sense to open it *above* the field\r\n var verticalFit = rect.bottom + AUTOPOSITION_CALENDAR_HEIGHT <= document.documentElement.clientHeight;\r\n var bottomDelta = document.documentElement.clientHeight - rect.bottom;\r\n var topDelta = rect.top;\r\n var openDirection = !verticalFit && bottomDelta <= topDelta ? OPEN_UP : OPEN_DOWN;\r\n\r\n // determine if the datepicker will fit in the available horizontal space, and if not\r\n // if it makes more sense to anchor it to the *right* of the field\r\n if (isRTL) {\r\n var horizontalFit = rect.right + AUTOPOSITION_CALENDAR_WIDTH <= document.documentElement.clientWidth;\r\n var rightDelta = document.documentElement.clientWidth - rect.right;\r\n var leftDelta = rect.left;\r\n anchorDirection = !horizontalFit && rightDelta <= leftDelta ? ANCHOR_LEFT : ANCHOR_RIGHT;\r\n } else {\r\n var _horizontalFit = rect.left + AUTOPOSITION_CALENDAR_WIDTH <= document.documentElement.clientWidth;\r\n var _leftDelta = document.documentElement.clientWidth - rect.left;\r\n var _rightDelta = rect.right;\r\n anchorDirection = !_horizontalFit && _leftDelta <= _rightDelta ? ANCHOR_RIGHT : ANCHOR_LEFT;\r\n }\r\n\r\n // add positioning overrides\r\n autoPositionOverrides = {\r\n openDirection: openDirection,\r\n anchorDirection: anchorDirection\r\n };\r\n }\r\n\r\n // make sure the incoming date is a valid moment object\r\n var isDateValid = isNil(date) || date.isValid && date.isValid();\r\n\r\n if (!isDateValid) {\r\n console.warn('Invalid date supplied to DatePicker');\r\n }\r\n\r\n // make sure the date we were given is a valid moment object; if it's not,\r\n // clear it out (react-dates throws a TypeError when it's given an invalid\r\n // moment object)\r\n var currentDate = isDateValid ? date : null;\r\n\r\n var datePicker = variant === STANDALONE || variant === STANDALONE_WEEK ?\r\n // Standalone\r\n React.createElement(\r\n 'div',\r\n {\r\n dir: dirString,\r\n className: cn(classes.root, classes.standalone, (_cn = {}, _defineProperty(_cn, classes.monthYearPickerFix, useMonthYearHeader), _defineProperty(_cn, classes.standaloneRTL, isRTL && useMonthYearHeader), _defineProperty(_cn, classes.standaloneWeek, variant === STANDALONE_WEEK), _cn), className)\r\n },\r\n React.createElement(DayPickerSingleDateController, Object.assign({}, omit(DatePickerPropOverrides, INPUT_SPECIFIC_PROPS), omit(props, INPUT_SPECIFIC_PROPS), {\r\n date: currentDate\r\n }))\r\n ) :\r\n // With input\r\n React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: cn(classes.root, (_cn2 = {}, _defineProperty(_cn2, classes.focused, props.focused), _defineProperty(_cn2, classes.monthYearPickerFix, useMonthYearHeader), _defineProperty(_cn2, classes.showPlaceholder, props.focused), _defineProperty(_cn2, classes.fullWidth, fullWidth), _defineProperty(_cn2, cn(classes.noLabel, classes.noLabelMedium), !hasLabel && size !== 'small'), _defineProperty(_cn2, cn(classes.noLabel, classes.noLabelSmall), !hasLabel && size === 'small'), _defineProperty(_cn2, classes.error, error), _defineProperty(_cn2, classes.focusedError, error && props.focused), _defineProperty(_cn2, classes.smallDatePicker, size === 'small'), _cn2), className),\r\n fullWidth: fullWidth,\r\n error: error\r\n }, FormControlProps),\r\n hasLabel && React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n htmlFor: props.id,\r\n classes: {\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n },\r\n className: cn(_defineProperty({}, classes.inputLabelSmall, size === 'small')),\r\n shrink: shouldShrink,\r\n error: error\r\n }, InputLabelProps),\r\n label\r\n ),\r\n React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: this.handleClose },\r\n React.createElement(ABSingleDatePicker, Object.assign({\r\n id: this.singleDatePickerId\r\n }, DatePickerPropOverrides, props, autoPositionOverrides, {\r\n date: currentDate\r\n }))\r\n ),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({ id: helperTextId }, FormHelperTextProps),\r\n helperText\r\n )\r\n );\r\n\r\n // if we're autopositioning, wrap the datepicker in a span so that\r\n // it can be referenced by the autopositioning algorithm\r\n datePicker = React.createElement(\r\n 'span',\r\n { ref: this.datePickerRef },\r\n datePicker\r\n );\r\n\r\n return datePicker;\r\n }\r\n }]);\r\n\r\n return DatePicker;\r\n}(React.Component);\r\n\r\nDatePicker.defaultProps = {\r\n placeholder: DEFAULT_PLACEHOLDER,\r\n disableScroll: false,\r\n displayFormat: DEFAULT_DISPLAY_FORMAT,\r\n enableOutsideDays: true,\r\n firstDayOfWeek: 0,\r\n inputIconPosition: ICON_AFTER_POSITION,\r\n isDayBlocked: function isDayBlocked() {\r\n return false;\r\n },\r\n isDayHighlighted: function isDayHighlighted() {\r\n return false;\r\n },\r\n isOutsideRange: null,\r\n isRTL: false,\r\n keepOpenOnDateSelect: false,\r\n openDirection: OPEN_DOWN,\r\n variant: WITH_TEXT_FIELD,\r\n weekDayFormat: DEFAULT_WEEK_DAY_FORMAT,\r\n phrases: SingleDatePickerPhrases,\r\n headerVariant: { headerType: INCREMENTAL_NAVIGATION },\r\n startYear: moment().year() - 3,\r\n endYear: moment().year() + 3,\r\n autoPosition: false,\r\n size: 'medium',\r\n daySize: DEFAULT_DAY_SIZE,\r\n highlightToday: false\r\n};\r\n\r\nDatePicker.propTypes = {\r\n /**\r\n * @ignore\r\n * Added to allow for global JSS styling (and theme usage).\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n 'aria-label': PropTypes.string,\r\n\r\n /****\r\n * FormControl, Input\r\n ****/\r\n /**\r\n * Custom class name to be applied on the `div` when `variant=\"standalone\"` or the `FormControl`\r\n * when `variant=\"with-text-field\"` (default).\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Mark the `FormControl`, `FormHelperText` and `Input` in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * Input label text. This is rendered as the child within the `InputLabel` component.\r\n */\r\n label: PropTypes.string,\r\n /**\r\n * Properties applied to the [`FormControl`](#/components/FormControl) element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * Render the input field full width of the parent container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * Properties applied to the [`InputLabel`](#/components/FormControl) element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n /**\r\n * Render the `DatePicker` with input field or as a standalone calendar UI.\r\n *\r\n * Options:\r\n *\r\n * * `WITH_TEXT_FIELD` ('with-text-field')\r\n * * `STANDALONE` ('standalone')\r\n * * `STANDALONE_WEEK` ('standalone_week')\r\n *\r\n * These contstants can be imported from `@ellucian/react-design-system/core/DatePicker`.\r\n */\r\n variant: PropTypes.oneOf([WITH_TEXT_FIELD, STANDALONE, STANDALONE_WEEK]),\r\n\r\n /****\r\n * Required props for a function interactive SingleDatePicker\r\n ****/\r\n /**\r\n * The selected date to display in the `DatePicker` input field.\r\n *\r\n * This prop expects a `moment` object.\r\n */\r\n date: momentPropTypes.momentObj,\r\n /**\r\n * Function that handles setting the date.\r\n * This function receives a `date` parameter.\r\n *\r\n * i.e. `date => this.setState({ date })`\r\n */\r\n onDateChange: PropTypes.func.isRequired,\r\n /**\r\n * Handles the focused state of the component.\r\n */\r\n focused: PropTypes.bool,\r\n /**\r\n * Function to set whether the `DatePicker` has a focused state or not.\r\n *\r\n * i.e. `({ focused }) => this.setState({ focused })`\r\n */\r\n onFocusChange: PropTypes.func.isRequired,\r\n\r\n /**\r\n * **DEPRECATED**\r\n *\r\n * How months are selected; incrementally, or by month/year:\r\n * * `INCREMENTAL_SELECTION`: Shows next/previous navigation arrows on the date picker\r\n * * `MONTH_YEAR_SELECTION`: Shows month/year selection dropdowns on the date picker\r\n *\r\n * Note: If month/year selection is enabled, the calendar will not allow selection of dates\r\n * before the start year, or after the end year.\r\n *\r\n */\r\n monthSelectionVariant: PropTypes.oneOf([INCREMENTAL_SELECTION, MONTH_YEAR_SELECTION]),\r\n\r\n /**\r\n * The first year in the year selection dropdown. Only applies when\r\n * `monthSelectionVariant` === `MONTH_YEAR_SELECTION` or `headerVariant.headerType` === `MONTH_YEAR_NAVIGATION`.\r\n *\r\n * Defaults to three years before current year.\r\n */\r\n startYear: PropTypes.number,\r\n\r\n /**\r\n * The last year in the year selection dropdown. Only applies when\r\n * `monthSelectionVariant` === `MONTH_YEAR_SELECTION` or `headerVariant.headerType` === `MONTH_YEAR_NAVIGATION`.\r\n *\r\n * Defaults to three years after current year.\r\n */\r\n endYear: PropTypes.number,\r\n\r\n /****\r\n * Input related props\r\n ****/\r\n /**\r\n * A unique identifier of the `DatePicker` to assist with ARIA attribute.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Placeholder text in the input field.\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * Set the input field to disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Set the input field to required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Set the input to `readOnly`. This prevents the users from being able to type into the input field. The date can only be selected from the `DatePicker` UI.\r\n */\r\n readOnly: PropTypes.bool,\r\n /**\r\n * Inform screen reader users of the date format, minimum days, blocked out dates, etc.\r\n */\r\n screenReaderInputMessage: PropTypes.string,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * If a date is selected, the Calendar icon will be swapped out with a Clear icon.\r\n // */\r\n // showClearDate: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render a custom close icon. `showClearDate` has to be `true`.\r\n // */\r\n // customCloseIcon: PropTypes.node,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Show the default input icon.\r\n // */\r\n // showDefaultInputIcon: PropTypes.bool,\r\n\r\n /**\r\n * Render the icon before the input, or after.\r\n *\r\n * Options are `ICON_BEFORE_POSITION` ('before') or `ICON_AFTER_POSITION` ('after') and must be imported from `@ellucian/react-design-system/core/DatePicker`.\r\n */\r\n inputIconPosition: PropTypes.oneOf([ICON_BEFORE_POSITION, ICON_AFTER_POSITION]),\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render a custom input icon. `showDefaultInputIcon` has to be `true`.\r\n // */\r\n // customInputIcon: PropTypes.node,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render the `DatePicker` with no border.\r\n // */\r\n // noBorder: PropTypes.bool,\r\n\r\n /**\r\n * Render the `DatePicker` with `display` set to `'block'`.\r\n */\r\n block: PropTypes.bool,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render `DatePicker` with size small.\r\n // */\r\n // small: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render `DatePicker` with size regular.\r\n // */\r\n // regular: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Set the vertical spacing between the input field and the calendar UI.\r\n // */\r\n // verticalSpacing: PropTypes.number,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Keep focus on the `input` after selecting a date.\r\n // */\r\n // keepFocusOnInput: PropTypes.bool,\r\n\r\n /****\r\n * Calendar presentation and interaction related props\r\n ****/\r\n /**\r\n * Customize the month text rendered in the `DatePicker` UI.\r\n *\r\n * i.e. month => momentJalaali(month).format('jMMMM jYYYY') or 'MM YY'\r\n */\r\n renderMonthText: PropTypes.oneOfType([PropTypes.string, PropTypes.func]), // (month) => PropTypes.string,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render custom month calendar.\r\n // *\r\n // * See the airbnb 'single month, custom caption' DayPickerSingleDateController example.\r\n // *\r\n // * i.e. `({ month, onMonthSelect, onYearSelect }) => `\r\n // */\r\n // renderMonthElement: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Define the orientation of the `DatePicker` calendar UI.\r\n // */\r\n // orientation: PropTypes.oneOf([HORIZONTAL_ORIENTATION, VERTICAL_ORIENTATION]),\r\n\r\n /**\r\n * Set the direction of the calendar UI to be anchored to the left or the right of the input.\r\n *\r\n * Options are `ANCHOR_LEFT` ('left') or `ANCHOR_RIGHT` ('right') and must be imported from `@elluciann/react-design-system/core/DatePicker`.\r\n */\r\n anchorDirection: PropTypes.oneOf([ANCHOR_LEFT, ANCHOR_RIGHT]),\r\n /**\r\n * Open the `DatePicker` from the top or bottom of the input. This is useful to use when the `DatePicker` selection is near the bottom of the screen.\r\n *\r\n * Options are `OPEN_DOWN` ('down') or `OPEN_UP` ('up') and must be imported from `@ellucian/react-design-system/core/DatePicker`.\r\n */\r\n openDirection: PropTypes.oneOf([OPEN_DOWN, OPEN_UP]),\r\n\r\n // NOTE: Hidden until needed\r\n // horizontalMargin: PropTypes.number,\r\n // withPortal: PropTypes.bool,\r\n // withFullScreenPortal: PropTypes.bool,\r\n\r\n /**\r\n * Render the `DatePicker` as the last child in the HTML `body` element.\r\n *\r\n * This is particularly useful when rendering a `DatePicker` in a `Dialog`.\r\n */\r\n appendToBody: PropTypes.bool,\r\n /**\r\n * Disable the scrolling behavior of the parent container when the `DatePicker` is open.\r\n */\r\n disableScroll: PropTypes.bool,\r\n /**\r\n * Function to set whether the initial month shown.\r\n *\r\n * i.e. This function will force the `DatePicker` to open 10 months from today's month: `() => moment().add(10, 'months')`\r\n */\r\n initialVisibleMonth: PropTypes.func,\r\n /**\r\n * Set the first day of the week.\r\n *\r\n * Options are `0`, `1`, `2`, `3`, `4`, `5`, or `6`.\r\n */\r\n firstDayOfWeek: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),\r\n /**\r\n * Positions the DatePicker so that it doesn't go off the screen.\r\n *\r\n * If this is specified, the `openDirection` and `anchorDirection` props are ignored.\r\n */\r\n autoPosition: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Set the number of months visible when the DatePicker is open.\r\n // */\r\n // numberOfMonths: PropTypes.number,\r\n\r\n /**\r\n * Keep the `DatePicker` open after selecting a date.\r\n */\r\n keepOpenOnDateSelect: PropTypes.bool,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Open the `DatePicker` back up when the date is cleared.\r\n // */\r\n // reopenPickerOnClearDate: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render custom calendar information.\r\n // */\r\n // renderCalendarInfo: PropTypes.func,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Define where to render the additional calendar info. Use with `renderCalendarInfo`.\r\n // */\r\n // calendarInfoPosition: PropTypes.oneOf([\r\n // INFO_POSITION_TOP,\r\n // INFO_POSITION_BOTTOM,\r\n // INFO_POSITION_BEFORE,\r\n // INFO_POSITION_AFTER,\r\n // ]),\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Hide the keyboard shortcuts panel.\r\n // */\r\n // hideKeyboardShortcutsPanel: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * **BETA**\r\n *\r\n * Customize the size of the days. This number should be a non-negative integer.\r\n *\r\n * Note: changing this value may cause display issues if the `monthSelectionVariant` prop is set to `MONTH_YEAR_SELECTION`.\r\n */\r\n daySize: PropTypes.number,\r\n\r\n /**\r\n * **DEPRECATED** Will be determined by the props passed to [`EDSApplication`](#/components/EDSApplication).\r\n *\r\n * Change the reading direction of the `DatePicker`.\r\n */\r\n isRTL: PropTypes.bool,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Change the duration of the month transition, measured in `milliseconds`.\r\n // */\r\n // verticalHeight: PropTypes.number,\r\n // /**\r\n // * Change the duration of the month transition, measured in `milliseconds`.\r\n // */\r\n // transitionDuration: PropTypes.number,\r\n // /**\r\n // * Change the horizontal month padding.\r\n // */\r\n // horizontalMonthPadding: PropTypes.number,\r\n\r\n /****\r\n * Navigation related props\r\n ****/\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render a custom element in place of the `previous` chevron button.\r\n // */\r\n // navPrev: PropTypes.node,\r\n // /**\r\n // * Render a custom element in place of the `next` chevron button.\r\n // */\r\n // navNext: PropTypes.node,\r\n\r\n /**\r\n * Event handler called when the `previous` chevron button is clicked.\r\n */\r\n onPrevMonthClick: PropTypes.func,\r\n /**\r\n * Event handler called when the `next` chevron button is clicked.\r\n */\r\n onNextMonthClick: PropTypes.func,\r\n /**\r\n * Event handler called when the `DatePicker` is closed.\r\n */\r\n onClose: PropTypes.func,\r\n\r\n /****\r\n * Day presentation and interaction props\r\n ****/\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Customize the contents of the Calendar day elements.\r\n // *\r\n // * See https://github.com/airbnb/react-dates/blob/master/stories/DateRangePicker_day.js#L136 and\r\n // * https://github.com/airbnb/react-dates/blob/master/src/components/CustomizableCalendarDay.jsx.\r\n // */\r\n // renderCalendarDay: PropTypes.func,\r\n\r\n // NOTE: We do not want consumers to customize this prop\r\n // it should be removed in an upcoming release.\r\n /**\r\n * Toggles if days outside of the shown month are visible.\r\n *\r\n * i.e. When March 2019 is shown, the overlapping dates in February and April will show.\r\n */\r\n enableOutsideDays: PropTypes.bool,\r\n /**\r\n * A function that blocks specific days.\r\n * This function receives a `day` (a `moment` object) parameter.\r\n *\r\n * i.e. This function disables all Fridays: `day => moment.weekdays(day.weekday()) === 'Friday'`\r\n */\r\n isDayBlocked: PropTypes.func,\r\n /**\r\n * A function that blocks a range of dates.\r\n * This function receives a `day` (a `moment` object) parameter.\r\n *\r\n * Note: `isInclusivelyAfterDay` is a utility function provided by `react-dates/utils`.\r\n *\r\n * i.e. This function allows for the next two weeks to be available: `day => !isInclusivelyAfterDay(day, moment()) || isInclusivelyAfterDay(day, moment().add(2, 'weeks'))`\r\n */\r\n isOutsideRange: PropTypes.func,\r\n /**\r\n * A function that highlights a specific dates.\r\n * This function receives a `day` (a `moment` object) parameter.\r\n *\r\n * Note: `isSameDay` is a utility function provided by `react-dates/utils`.\r\n *\r\n * i.e. This function highlights dates that match a `moment` date stored in an `Array`: `day1 => datesList.some(day2 => isSameDay(day1, day2))`\r\n */\r\n isDayHighlighted: PropTypes.func,\r\n\r\n /****\r\n * Internationalization props\r\n ****/\r\n\r\n /**\r\n * Date format of the date displayed in the input.\r\n *\r\n * See https://momentjs.com/docs/#/displaying/format/ for more information.\r\n *\r\n * i.e. `() => moment.localeData().longDateFormat('L')` or `'MM DD, YYYY'`\r\n */\r\n displayFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Date format of the month displayed.\r\n *\r\n * See https://momentjs.com/docs/#/displaying/format/ for more information.\r\n *\r\n * i.e. `'MMM'`\r\n */\r\n monthFormat: PropTypes.string,\r\n /**\r\n * Date format of weekday headers.\r\n *\r\n * See https://momentjs.com/docs/#/displaying/format/ for more information.\r\n *\r\n * i.e. `'dd'`\r\n */\r\n weekDayFormat: PropTypes.string,\r\n /**\r\n * Override default component phrases.\r\n *\r\n * See https://github.com/airbnb/react-dates/blob/master/src/defaultPhrases.js for more information.\r\n */\r\n phrases: PropTypes.shape(getPhrasePropTypes(SingleDatePickerPhrases)),\r\n /**\r\n * ARIA label given to the focus-able days.\r\n */\r\n dayAriaLabelFormat: PropTypes.string,\r\n /**\r\n * The size of the `DatePicker`. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n /**\r\n * Highlight today's date in the calendar.\r\n */\r\n highlightToday: PropTypes.bool,\r\n\r\n /**\r\n * How months are selected; incrementally, or by month/year:\r\n *\r\n * Use `headerType` to specify the type of header. Valid values are:\r\n *\r\n * * `INCREMENTAL_NAVIGATION`: A header with next/previous navigation arrows\r\n * * `INCREMENTAL_NAVIGATION_WITH_TOOLBAR`: A header with next/previous navigation arrows and a toolbar\r\n * * `MONTH_YEAR_NAVIGATION`: Shows month/year selection dropdowns on the date picker\r\n *\r\n * Use `toolbarItems` to specify which items should appear in the toolbar. It accepts an array of\r\n * nodes. It is only valid with the `INCREMENTAL_NAVIGATION_WiTH_TOOLBAR` header type.\r\n *\r\n * **Note**: If month/year selection is enabled, the calendar will not allow selection of dates\r\n * before the start year, or after the end year.\r\n */\r\n headerVariant: PropTypes.shape({\r\n headerType: PropTypes.oneOf([INCREMENTAL_NAVIGATION, INCREMENTAL_NAVIGATION_WITH_TOOLBAR, MONTH_YEAR_NAVIGATION]),\r\n toolbarItems: PropTypes.arrayOf(PropTypes.node)\r\n })\r\n\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(DatePicker));","// Source from https://github.com/alitaheri/normalize-scroll-left\nvar cachedType;\n/**\n * Based on the jquery plugin https://github.com/othree/jquery.rtl-scroll-type\n *\n * Types of scrollLeft, assiming scrollWidth=100 and direction is rtl.\n *\n * Browser | Type | <- Most Left | Most Right -> | Initial\n * -------------- | ------------- | ------------ | ------------- | -------\n * WebKit | default | 0 | 100 | 100\n * Firefox/Opera | negative | -100 | 0 | 0\n * IE/Edge | reverse | 100 | 0 | 0\n */\n\nexport function detectScrollType() {\n if (cachedType) {\n return cachedType;\n }\n\n var dummy = document.createElement('div');\n dummy.appendChild(document.createTextNode('ABCD'));\n dummy.dir = 'rtl';\n dummy.style.fontSize = '14px';\n dummy.style.width = '4px';\n dummy.style.height = '1px';\n dummy.style.position = 'absolute';\n dummy.style.top = '-1000px';\n dummy.style.overflow = 'scroll';\n document.body.appendChild(dummy);\n cachedType = 'reverse';\n\n if (dummy.scrollLeft > 0) {\n cachedType = 'default';\n } else {\n dummy.scrollLeft = 1;\n\n if (dummy.scrollLeft === 0) {\n cachedType = 'negative';\n }\n }\n\n document.body.removeChild(dummy);\n return cachedType;\n} // Based on https://stackoverflow.com/a/24394376\n\nexport function getNormalizedScrollLeft(element, direction) {\n var scrollLeft = element.scrollLeft; // Perform the calculations only when direction is rtl to avoid messing up the ltr bahavior\n\n if (direction !== 'rtl') {\n return scrollLeft;\n }\n\n var type = detectScrollType();\n\n switch (type) {\n case 'negative':\n return element.scrollWidth - element.clientWidth + scrollLeft;\n\n case 'reverse':\n return element.scrollWidth - element.clientWidth - scrollLeft;\n\n default:\n return scrollLeft;\n }\n}","function easeInOutSin(time) {\n return (1 + Math.sin(Math.PI * time - Math.PI / 2)) / 2;\n}\n\nexport default function animate(property, element, to) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var cb = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function () {};\n var _options$ease = options.ease,\n ease = _options$ease === void 0 ? easeInOutSin : _options$ease,\n _options$duration = options.duration,\n duration = _options$duration === void 0 ? 300 : _options$duration;\n var start = null;\n var from = element[property];\n var cancelled = false;\n\n var cancel = function cancel() {\n cancelled = true;\n };\n\n var step = function step(timestamp) {\n if (cancelled) {\n cb(new Error('Animation cancelled'));\n return;\n }\n\n if (start === null) {\n start = timestamp;\n }\n\n var time = Math.min(1, (timestamp - start) / duration);\n element[property] = ease(time) * (to - from) + from;\n\n if (time >= 1) {\n requestAnimationFrame(function () {\n cb(null);\n });\n return;\n }\n\n requestAnimationFrame(step);\n };\n\n if (from === to) {\n cb(new Error('Element already at target position'));\n return cancel;\n }\n\n requestAnimationFrame(step);\n return cancel;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nvar styles = {\n width: 99,\n height: 99,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll'\n};\n/**\n * @ignore - internal component.\n * The component is originates from https://github.com/STORIS/react-scrollbar-size.\n * It has been moved into the core in order to minimize the bundle size.\n */\n\nexport default function ScrollbarSize(props) {\n var onChange = props.onChange,\n other = _objectWithoutProperties(props, [\"onChange\"]);\n\n var scrollbarHeight = React.useRef();\n var nodeRef = React.useRef(null);\n\n var setMeasurements = function setMeasurements() {\n scrollbarHeight.current = nodeRef.current.offsetHeight - nodeRef.current.clientHeight;\n };\n\n React.useEffect(function () {\n var handleResize = debounce(function () {\n var prevHeight = scrollbarHeight.current;\n setMeasurements();\n\n if (prevHeight !== scrollbarHeight.current) {\n onChange(scrollbarHeight.current);\n }\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [onChange]);\n React.useEffect(function () {\n setMeasurements();\n onChange(scrollbarHeight.current);\n }, [onChange]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n style: styles,\n ref: nodeRef\n }, other));\n}\nprocess.env.NODE_ENV !== \"production\" ? ScrollbarSize.propTypes = {\n onChange: PropTypes.func.isRequired\n} : void 0;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n root: {\n position: 'absolute',\n height: 2,\n bottom: 0,\n width: '100%',\n transition: theme.transitions.create()\n },\n colorPrimary: {\n backgroundColor: theme.palette.primary.main\n },\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main\n },\n vertical: {\n height: '100%',\n width: 2,\n right: 0\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar TabIndicator = React.forwardRef(function TabIndicator(props, ref) {\n var classes = props.classes,\n className = props.className,\n color = props.color,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, orientation === 'vertical' && classes.vertical),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TabIndicator.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n * The color of the tab indicator.\n */\n color: PropTypes.oneOf(['primary', 'secondary']).isRequired,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateTabIndicator'\n})(TabIndicator);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"\n}), 'KeyboardArrowLeft');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"\n}), 'KeyboardArrowRight');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';\nimport KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: 40,\n flexShrink: 0,\n opacity: 0.8,\n '&$disabled': {\n opacity: 0\n }\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n width: '100%',\n height: 40,\n '& svg': {\n transform: 'rotate(90deg)'\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {}\n};\n\nvar _ref = /*#__PURE__*/React.createElement(KeyboardArrowLeft, {\n fontSize: \"small\"\n});\n\nvar _ref2 = /*#__PURE__*/React.createElement(KeyboardArrowRight, {\n fontSize: \"small\"\n});\n\nvar TabScrollButton = React.forwardRef(function TabScrollButton(props, ref) {\n var classes = props.classes,\n classNameProp = props.className,\n direction = props.direction,\n orientation = props.orientation,\n disabled = props.disabled,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"direction\", \"orientation\", \"disabled\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n component: \"div\",\n className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === 'vertical' && classes.vertical),\n ref: ref,\n role: null,\n tabIndex: null\n }, other), direction === 'left' ? _ref : _ref2);\n});\nprocess.env.NODE_ENV !== \"production\" ? TabScrollButton.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Which direction should the button indicate?\n */\n direction: PropTypes.oneOf(['left', 'right']).isRequired,\n\n /**\n * If `true`, the element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTabScrollButton'\n})(TabScrollButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport ownerWindow from '../utils/ownerWindow';\nimport { getNormalizedScrollLeft, detectScrollType } from '../utils/scrollLeft';\nimport animate from '../internal/animate';\nimport ScrollbarSize from './ScrollbarSize';\nimport withStyles from '../styles/withStyles';\nimport TabIndicator from './TabIndicator';\nimport TabScrollButton from '../TabScrollButton';\nimport useEventCallback from '../utils/useEventCallback';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden',\n minHeight: 48,\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n display: 'flex'\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the flex container element. */\n flexContainer: {\n display: 'flex'\n },\n\n /* Styles applied to the flex container element if `orientation=\"vertical\"`. */\n flexContainerVertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the flex container element if `centered={true}` & `!variant=\"scrollable\"`. */\n centered: {\n justifyContent: 'center'\n },\n\n /* Styles applied to the tablist element. */\n scroller: {\n position: 'relative',\n display: 'inline-block',\n flex: '1 1 auto',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the tablist element if `!variant=\"scrollable\"`\b\b\b. */\n fixed: {\n overflowX: 'hidden',\n width: '100%'\n },\n\n /* Styles applied to the tablist element if `variant=\"scrollable\"`. */\n scrollable: {\n overflowX: 'scroll',\n // Hide dimensionless scrollbar on MacOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n\n }\n },\n\n /* Styles applied to the `ScrollButtonComponent` component. */\n scrollButtons: {},\n\n /* Styles applied to the `ScrollButtonComponent` component if `scrollButtons=\"auto\"` or scrollButtons=\"desktop\"`. */\n scrollButtonsDesktop: _defineProperty({}, theme.breakpoints.down('xs'), {\n display: 'none'\n }),\n\n /* Styles applied to the `TabIndicator` component. */\n indicator: {}\n };\n};\nvar Tabs = React.forwardRef(function Tabs(props, ref) {\n var action = props.action,\n _props$centered = props.centered,\n centered = _props$centered === void 0 ? false : _props$centered,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$indicatorColor = props.indicatorColor,\n indicatorColor = _props$indicatorColor === void 0 ? 'secondary' : _props$indicatorColor,\n onChange = props.onChange,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$ScrollButtonCo = props.ScrollButtonComponent,\n ScrollButtonComponent = _props$ScrollButtonCo === void 0 ? TabScrollButton : _props$ScrollButtonCo,\n _props$scrollButtons = props.scrollButtons,\n scrollButtons = _props$scrollButtons === void 0 ? 'auto' : _props$scrollButtons,\n _props$TabIndicatorPr = props.TabIndicatorProps,\n TabIndicatorProps = _props$TabIndicatorPr === void 0 ? {} : _props$TabIndicatorPr,\n TabScrollButtonProps = props.TabScrollButtonProps,\n _props$textColor = props.textColor,\n textColor = _props$textColor === void 0 ? 'inherit' : _props$textColor,\n value = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"action\", \"centered\", \"children\", \"classes\", \"className\", \"component\", \"indicatorColor\", \"onChange\", \"orientation\", \"ScrollButtonComponent\", \"scrollButtons\", \"TabIndicatorProps\", \"TabScrollButtonProps\", \"textColor\", \"value\", \"variant\"]);\n\n var theme = useTheme();\n var scrollable = variant === 'scrollable';\n var isRtl = theme.direction === 'rtl';\n var vertical = orientation === 'vertical';\n var scrollStart = vertical ? 'scrollTop' : 'scrollLeft';\n var start = vertical ? 'top' : 'left';\n var end = vertical ? 'bottom' : 'right';\n var clientSize = vertical ? 'clientHeight' : 'clientWidth';\n var size = vertical ? 'height' : 'width';\n\n if (process.env.NODE_ENV !== 'production') {\n if (centered && scrollable) {\n console.error('Material-UI: You can not use the `centered={true}` and `variant=\"scrollable\"` properties ' + 'at the same time on a `Tabs` component.');\n }\n }\n\n var _React$useState = React.useState(false),\n mounted = _React$useState[0],\n setMounted = _React$useState[1];\n\n var _React$useState2 = React.useState({}),\n indicatorStyle = _React$useState2[0],\n setIndicatorStyle = _React$useState2[1];\n\n var _React$useState3 = React.useState({\n start: false,\n end: false\n }),\n displayScroll = _React$useState3[0],\n setDisplayScroll = _React$useState3[1];\n\n var _React$useState4 = React.useState({\n overflow: 'hidden',\n marginBottom: null\n }),\n scrollerStyle = _React$useState4[0],\n setScrollerStyle = _React$useState4[1];\n\n var valueToIndex = new Map();\n var tabsRef = React.useRef(null);\n var tabListRef = React.useRef(null);\n\n var getTabsMeta = function getTabsMeta() {\n var tabsNode = tabsRef.current;\n var tabsMeta;\n\n if (tabsNode) {\n var rect = tabsNode.getBoundingClientRect(); // create a new object with ClientRect class props + scrollLeft\n\n tabsMeta = {\n clientWidth: tabsNode.clientWidth,\n scrollLeft: tabsNode.scrollLeft,\n scrollTop: tabsNode.scrollTop,\n scrollLeftNormalized: getNormalizedScrollLeft(tabsNode, theme.direction),\n scrollWidth: tabsNode.scrollWidth,\n top: rect.top,\n bottom: rect.bottom,\n left: rect.left,\n right: rect.right\n };\n }\n\n var tabMeta;\n\n if (tabsNode && value !== false) {\n var _children = tabListRef.current.children;\n\n if (_children.length > 0) {\n var tab = _children[valueToIndex.get(value)];\n\n if (process.env.NODE_ENV !== 'production') {\n if (!tab) {\n console.error([\"Material-UI: The value provided to the Tabs component is invalid.\", \"None of the Tabs' children match with `\".concat(value, \"`.\"), valueToIndex.keys ? \"You can provide one of the following values: \".concat(Array.from(valueToIndex.keys()).join(', '), \".\") : null].join('\\n'));\n }\n }\n\n tabMeta = tab ? tab.getBoundingClientRect() : null;\n }\n }\n\n return {\n tabsMeta: tabsMeta,\n tabMeta: tabMeta\n };\n };\n\n var updateIndicatorState = useEventCallback(function () {\n var _newIndicatorStyle;\n\n var _getTabsMeta = getTabsMeta(),\n tabsMeta = _getTabsMeta.tabsMeta,\n tabMeta = _getTabsMeta.tabMeta;\n\n var startValue = 0;\n\n if (tabMeta && tabsMeta) {\n if (vertical) {\n startValue = tabMeta.top - tabsMeta.top + tabsMeta.scrollTop;\n } else {\n var correction = isRtl ? tabsMeta.scrollLeftNormalized + tabsMeta.clientWidth - tabsMeta.scrollWidth : tabsMeta.scrollLeft;\n startValue = tabMeta.left - tabsMeta.left + correction;\n }\n }\n\n var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty(_newIndicatorStyle, start, startValue), _defineProperty(_newIndicatorStyle, size, tabMeta ? tabMeta[size] : 0), _newIndicatorStyle);\n\n if (isNaN(indicatorStyle[start]) || isNaN(indicatorStyle[size])) {\n setIndicatorStyle(newIndicatorStyle);\n } else {\n var dStart = Math.abs(indicatorStyle[start] - newIndicatorStyle[start]);\n var dSize = Math.abs(indicatorStyle[size] - newIndicatorStyle[size]);\n\n if (dStart >= 1 || dSize >= 1) {\n setIndicatorStyle(newIndicatorStyle);\n }\n }\n });\n\n var scroll = function scroll(scrollValue) {\n animate(scrollStart, tabsRef.current, scrollValue);\n };\n\n var moveTabsScroll = function moveTabsScroll(delta) {\n var scrollValue = tabsRef.current[scrollStart];\n\n if (vertical) {\n scrollValue += delta;\n } else {\n scrollValue += delta * (isRtl ? -1 : 1); // Fix for Edge\n\n scrollValue *= isRtl && detectScrollType() === 'reverse' ? -1 : 1;\n }\n\n scroll(scrollValue);\n };\n\n var handleStartScrollClick = function handleStartScrollClick() {\n moveTabsScroll(-tabsRef.current[clientSize]);\n };\n\n var handleEndScrollClick = function handleEndScrollClick() {\n moveTabsScroll(tabsRef.current[clientSize]);\n };\n\n var handleScrollbarSizeChange = React.useCallback(function (scrollbarHeight) {\n setScrollerStyle({\n overflow: null,\n marginBottom: -scrollbarHeight\n });\n }, []);\n\n var getConditionalElements = function getConditionalElements() {\n var conditionalElements = {};\n conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/React.createElement(ScrollbarSize, {\n className: classes.scrollable,\n onChange: handleScrollbarSizeChange\n }) : null;\n var scrollButtonsActive = displayScroll.start || displayScroll.end;\n var showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === 'desktop' || scrollButtons === 'on');\n conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/React.createElement(ScrollButtonComponent, _extends({\n orientation: orientation,\n direction: isRtl ? 'right' : 'left',\n onClick: handleStartScrollClick,\n disabled: !displayScroll.start,\n className: clsx(classes.scrollButtons, scrollButtons !== 'on' && classes.scrollButtonsDesktop)\n }, TabScrollButtonProps)) : null;\n conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/React.createElement(ScrollButtonComponent, _extends({\n orientation: orientation,\n direction: isRtl ? 'left' : 'right',\n onClick: handleEndScrollClick,\n disabled: !displayScroll.end,\n className: clsx(classes.scrollButtons, scrollButtons !== 'on' && classes.scrollButtonsDesktop)\n }, TabScrollButtonProps)) : null;\n return conditionalElements;\n };\n\n var scrollSelectedIntoView = useEventCallback(function () {\n var _getTabsMeta2 = getTabsMeta(),\n tabsMeta = _getTabsMeta2.tabsMeta,\n tabMeta = _getTabsMeta2.tabMeta;\n\n if (!tabMeta || !tabsMeta) {\n return;\n }\n\n if (tabMeta[start] < tabsMeta[start]) {\n // left side of button is out of view\n var nextScrollStart = tabsMeta[scrollStart] + (tabMeta[start] - tabsMeta[start]);\n scroll(nextScrollStart);\n } else if (tabMeta[end] > tabsMeta[end]) {\n // right side of button is out of view\n var _nextScrollStart = tabsMeta[scrollStart] + (tabMeta[end] - tabsMeta[end]);\n\n scroll(_nextScrollStart);\n }\n });\n var updateScrollButtonState = useEventCallback(function () {\n if (scrollable && scrollButtons !== 'off') {\n var _tabsRef$current = tabsRef.current,\n scrollTop = _tabsRef$current.scrollTop,\n scrollHeight = _tabsRef$current.scrollHeight,\n clientHeight = _tabsRef$current.clientHeight,\n scrollWidth = _tabsRef$current.scrollWidth,\n clientWidth = _tabsRef$current.clientWidth;\n var showStartScroll;\n var showEndScroll;\n\n if (vertical) {\n showStartScroll = scrollTop > 1;\n showEndScroll = scrollTop < scrollHeight - clientHeight - 1;\n } else {\n var scrollLeft = getNormalizedScrollLeft(tabsRef.current, theme.direction); // use 1 for the potential rounding error with browser zooms.\n\n showStartScroll = isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;\n showEndScroll = !isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;\n }\n\n if (showStartScroll !== displayScroll.start || showEndScroll !== displayScroll.end) {\n setDisplayScroll({\n start: showStartScroll,\n end: showEndScroll\n });\n }\n }\n });\n React.useEffect(function () {\n var handleResize = debounce(function () {\n updateIndicatorState();\n updateScrollButtonState();\n });\n var win = ownerWindow(tabsRef.current);\n win.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n win.removeEventListener('resize', handleResize);\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n var handleTabsScroll = React.useCallback(debounce(function () {\n updateScrollButtonState();\n }));\n React.useEffect(function () {\n return function () {\n handleTabsScroll.clear();\n };\n }, [handleTabsScroll]);\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n updateIndicatorState();\n updateScrollButtonState();\n });\n React.useEffect(function () {\n scrollSelectedIntoView();\n }, [scrollSelectedIntoView, indicatorStyle]);\n React.useImperativeHandle(action, function () {\n return {\n updateIndicator: updateIndicatorState,\n updateScrollButtons: updateScrollButtonState\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n var indicator = /*#__PURE__*/React.createElement(TabIndicator, _extends({\n className: classes.indicator,\n orientation: orientation,\n color: indicatorColor\n }, TabIndicatorProps, {\n style: _extends(_extends({}, indicatorStyle), TabIndicatorProps.style)\n }));\n var childIndex = 0;\n var children = React.Children.map(childrenProp, function (child) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Tabs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var childValue = child.props.value === undefined ? childIndex : child.props.value;\n valueToIndex.set(childValue, childIndex);\n var selected = childValue === value;\n childIndex += 1;\n return React.cloneElement(child, {\n fullWidth: variant === 'fullWidth',\n indicator: selected && !mounted && indicator,\n selected: selected,\n onChange: onChange,\n textColor: textColor,\n value: childValue\n });\n });\n\n var handleKeyDown = function handleKeyDown(event) {\n var target = event.target; // Keyboard navigation assumes that [role=\"tab\"] are siblings\n // though we might warn in the future about nested, interactive elements\n // as a a11y violation\n\n var role = target.getAttribute('role');\n\n if (role !== 'tab') {\n return;\n }\n\n var newFocusTarget = null;\n var previousItemKey = orientation !== \"vertical\" ? 'ArrowLeft' : 'ArrowUp';\n var nextItemKey = orientation !== \"vertical\" ? 'ArrowRight' : 'ArrowDown';\n\n if (orientation !== \"vertical\" && theme.direction === 'rtl') {\n // swap previousItemKey with nextItemKey\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n\n switch (event.key) {\n case previousItemKey:\n newFocusTarget = target.previousElementSibling || tabListRef.current.lastChild;\n break;\n\n case nextItemKey:\n newFocusTarget = target.nextElementSibling || tabListRef.current.firstChild;\n break;\n\n case 'Home':\n newFocusTarget = tabListRef.current.firstChild;\n break;\n\n case 'End':\n newFocusTarget = tabListRef.current.lastChild;\n break;\n\n default:\n break;\n }\n\n if (newFocusTarget !== null) {\n newFocusTarget.focus();\n event.preventDefault();\n }\n };\n\n var conditionalElements = getConditionalElements();\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, vertical && classes.vertical),\n ref: ref\n }, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.scroller, scrollable ? classes.scrollable : classes.fixed),\n style: scrollerStyle,\n ref: tabsRef,\n onScroll: handleTabsScroll\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.flexContainer, vertical && classes.flexContainerVertical, centered && !scrollable && classes.centered),\n onKeyDown: handleKeyDown,\n ref: tabListRef,\n role: \"tablist\"\n }, children), mounted && indicator), conditionalElements.scrollButtonEnd);\n});\nprocess.env.NODE_ENV !== \"production\" ? Tabs.propTypes = {\n /**\n * Callback fired when the component mounts.\n * This is useful when you want to trigger an action programmatically.\n * It supports two actions: `updateIndicator()` and `updateScrollButtons()`\n *\n * @param {object} actions This object contains all possible actions\n * that can be triggered programmatically.\n */\n action: refType,\n\n /**\n * If `true`, the tabs will be centered.\n * This property is intended for large views.\n */\n centered: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Determines the color of the indicator.\n */\n indicatorColor: PropTypes.oneOf(['secondary', 'primary']),\n\n /**\n * Callback fired when the value changes.\n *\n * @param {object} event The event source of the callback\n * @param {any} value We default to the index of the child (number)\n */\n onChange: PropTypes.func,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * The component used to render the scroll buttons.\n */\n ScrollButtonComponent: PropTypes.elementType,\n\n /**\n * Determine behavior of scroll buttons when tabs are set to scroll:\n *\n * - `auto` will only present them when not all the items are visible.\n * - `desktop` will only present them on medium and larger viewports.\n * - `on` will always present them.\n * - `off` will never present them.\n */\n scrollButtons: PropTypes.oneOf(['auto', 'desktop', 'on', 'off']),\n\n /**\n * Props applied to the tab indicator element.\n */\n TabIndicatorProps: PropTypes.object,\n\n /**\n * Props applied to the [`TabScrollButton`](/api/tab-scroll-button/) element.\n */\n TabScrollButtonProps: PropTypes.object,\n\n /**\n * Determines the color of the `Tab`.\n */\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\n\n /**\n * The value of the currently selected `Tab`.\n * If you don't want any selected `Tab`, you can set this property to `false`.\n */\n value: PropTypes.any,\n\n /**\n * Determines additional display behavior of the tabs:\n *\n * - `scrollable` will invoke scrolling properties and allow for horizontally\n * scrolling (or swiping) of the tab bar.\n * -`fullWidth` will make the tabs grow to use all the available space,\n * which should be used for small views, like on mobile.\n * - `standard` will render the default state.\n */\n variant: PropTypes.oneOf(['standard', 'scrollable', 'fullWidth'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTabs'\n})(Tabs);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport withStyles from '../../styles/withStyles';\r\nimport IconButton from '../../IconButton';\r\nimport { spacing40, spacing30 } from '../../styles/tokens';\r\nimport { withEDSContext } from '../../EDSContext/EDSContext';\r\nimport Tooltip from '../../Tooltip/Tooltip';\r\n\r\nexport var styles = {\r\n /* Styles applied to the root element. */\r\n root: {\r\n color: 'inherit',\r\n flexBasis: 'auto',\r\n alignSelf: 'center',\r\n margin: '0 0.125rem'\r\n },\r\n icon: {\r\n height: spacing40,\r\n width: spacing40\r\n },\r\n scrollLeftIcon: {\r\n marginRight: spacing30\r\n },\r\n scrollRightIcon: {\r\n marginLeft: spacing30\r\n },\r\n hideScrollButtons: {\r\n display: 'none'\r\n }\r\n};\r\n\r\nvar TabScrollButton = React.forwardRef(function (props, ref) {\r\n var _classNames2;\r\n\r\n var classes = props.classes,\r\n classNameProp = props.className,\r\n direction = props.direction,\r\n edsContext = props.edsContext,\r\n onClick = props.onClick,\r\n visible = props.visible,\r\n hideScrollButtons = props.hideScrollButtons,\r\n other = _objectWithoutProperties(props, ['classes', 'className', 'direction', 'edsContext', 'onClick', 'visible', 'hideScrollButtons']);\r\n\r\n var className = classNames('tab-scroll-button', classes.root, _defineProperty({}, classes.hideScrollButtons, hideScrollButtons), classNameProp, (_classNames2 = {}, _defineProperty(_classNames2, classes.scrollLeftIcon, direction === 'left'), _defineProperty(_classNames2, classes.scrollRightIcon, direction === 'right'), _classNames2));\r\n\r\n return React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Tabs.scrollButtons'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n Object.assign({\r\n 'aria-label': edsContext.formatMessage('component.Tabs.scrollButtons'),\r\n className: className,\r\n onClick: onClick,\r\n tabIndex: -1,\r\n color: 'gray',\r\n disabled: !visible\r\n }, other, {\r\n ref: ref\r\n }),\r\n direction === 'left' ? React.createElement(ChevronLeft, { className: classes.icon }) : React.createElement(ChevronRight, { className: classes.icon })\r\n )\r\n );\r\n});\r\n\r\nTabScrollButton.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The direction of icon to render.\r\n */\r\n direction: PropTypes.oneOf(['left', 'right']),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Callback to execute for button press.\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * Should the button be present or just consume space.\r\n */\r\n visible: PropTypes.bool,\r\n /**\r\n * For auto mode, buttons will be hidden if tabs don't need scrolling\r\n */\r\n hideScrollButtons: PropTypes.bool\r\n};\r\n\r\nTabScrollButton.defaultProps = {\r\n visible: true\r\n};\r\n\r\nTabScrollButton.muiName = 'MuiPrivateTabScrollButton';\r\n\r\nexport default withEDSContext(withStyles(styles)(TabScrollButton));","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { Component } from 'react';\r\nimport { Tabs as MuiTabs } from '@material-ui/core';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '../styles';\r\n\r\nimport TabScrollButton from './internal/TabScrollButton';\r\n\r\nvar styles = function styles(theme) {\r\n return _defineProperty({\r\n root: {\r\n backgroundColor: 'transparent'\r\n },\r\n cardLevelFlexContainer: {\r\n boxShadow: 'inset 0 -1px 0 0 ' + theme.palette.grey[300]\r\n },\r\n indicator: {\r\n height: '0.125rem',\r\n backgroundColor: theme.palette.ctaColor.base\r\n }\r\n }, theme.breakpoints.down('sm'), {\r\n scrollButtonsDesktop: {\r\n display: 'inherit !important' // Forcing to display on mobile\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * Use `Tabs` to group similar content into different sections on the same page.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.2\r\n * @examples\r\n * TabsWithContent\r\n * ScrollableButtonTab\r\n * CardLevelTabs\r\n * CardLevelTabsScrollableButtons\r\n */\r\n\r\nvar Tabs = function (_Component) {\r\n _inherits(Tabs, _Component);\r\n\r\n function Tabs(props) {\r\n _classCallCheck(this, Tabs);\r\n\r\n // create a ref to store the Tabs DOM element\r\n var _this = _possibleConstructorReturn(this, (Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call(this, props));\r\n\r\n _this.state = {\r\n hideScrollButtons: false\r\n };\r\n _this.tabsContainer = React.createRef();\r\n _this.updateScrollButtonsOnLoad = false;\r\n return _this;\r\n }\r\n\r\n _createClass(Tabs, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n var _this2 = this;\r\n\r\n // Options for the observer (which mutations to observe)\r\n var config = { attributes: true, childList: true, subtree: true };\r\n\r\n // Callback function to execute when mutations are observed\r\n var callback = function callback(mutationsList, observer) {\r\n if (mutationsList && mutationsList.length > 0) {\r\n var _iteratorNormalCompletion = true;\r\n var _didIteratorError = false;\r\n var _iteratorError = undefined;\r\n\r\n try {\r\n for (var _iterator = mutationsList[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\r\n var mutation = _step.value;\r\n\r\n if (mutation.attributeName === 'disabled' && mutation.target.nodeName === 'BUTTON') {\r\n _this2.showOrHideScrollButtons();\r\n }\r\n }\r\n } catch (err) {\r\n _didIteratorError = true;\r\n _iteratorError = err;\r\n } finally {\r\n try {\r\n if (!_iteratorNormalCompletion && _iterator.return) {\r\n _iterator.return();\r\n }\r\n } finally {\r\n if (_didIteratorError) {\r\n throw _iteratorError;\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n // Create an observer instance linked to the callback function\r\n this.observer = new MutationObserver(callback);\r\n\r\n // Start observing the target node for configured mutations\r\n this.observer.observe(this.tabsContainer.current, config);\r\n\r\n // Call this here so that it triggers `componentDidUpdate()`\r\n this.showOrHideScrollButtons();\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState) {\r\n // This need to be called only once when the component is loaded.\r\n // With `componentDidMount()` it did not work and maybe DOM state\r\n // was not updated which is strange. After the first update MutationObserver\r\n // will take care of updating the state of scroll buttons.\r\n if (!this.updateScrollButtonsOnLoad) {\r\n this.showOrHideScrollButtons();\r\n this.updateScrollButtonsOnLoad = true;\r\n }\r\n }\r\n }, {\r\n key: 'showOrHideScrollButtons',\r\n value: function showOrHideScrollButtons() {\r\n var buttons = this.tabsContainer.current.querySelectorAll('.tab-scroll-button:disabled');\r\n this.setState(function (state) {\r\n return { hideScrollButtons: buttons.length === 2 };\r\n });\r\n }\r\n }, {\r\n key: 'componentWillUnmount',\r\n value: function componentWillUnmount() {\r\n this.observer.disconnect();\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this3 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n TabIndicatorProps = _props.TabIndicatorProps,\r\n childrenProp = _props.children,\r\n scrollButtons = _props.scrollButtons,\r\n scrollButtonsOnMobile = _props.scrollButtonsOnMobile,\r\n variant = _props.variant,\r\n widthVariant = _props.widthVariant,\r\n rest = _objectWithoutProperties(_props, ['classes', 'TabIndicatorProps', 'children', 'scrollButtons', 'scrollButtonsOnMobile', 'variant', 'widthVariant']);\r\n\r\n var _TabIndicatorProps = void 0,\r\n children = childrenProp;\r\n\r\n if (variant === 'card') {\r\n _TabIndicatorProps = Object.assign({\r\n style: { display: 'none' }\r\n }, TabIndicatorProps);\r\n\r\n children = React.Children.map(this.props.children, function (child) {\r\n return React.cloneElement(child, {\r\n variant: _this3.props.variant\r\n });\r\n });\r\n } else {\r\n _TabIndicatorProps = Object.assign({}, TabIndicatorProps);\r\n }\r\n\r\n var scrollButtonsProp = scrollButtons;\r\n if (scrollButtons) {\r\n scrollButtonsProp = 'auto';\r\n } else {\r\n scrollButtonsProp = 'off';\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: this.tabsContainer },\r\n React.createElement(\r\n MuiTabs,\r\n Object.assign({\r\n classes: {\r\n root: classes.root,\r\n scroller: variant === 'card' && classes.cardLevelFlexContainer,\r\n indicator: classes.indicator,\r\n scrollButtonsDesktop: scrollButtonsOnMobile ? classes.scrollButtonsDesktop : ''\r\n },\r\n ScrollButtonComponent: function ScrollButtonComponent(props) {\r\n return React.createElement(TabScrollButton, Object.assign({\r\n hideScrollButtons: _this3.state.hideScrollButtons\r\n }, props));\r\n },\r\n TabIndicatorProps: _TabIndicatorProps,\r\n scrollButtons: scrollButtonsProp,\r\n variant: widthVariant\r\n }, rest),\r\n children\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return Tabs;\r\n}(Component);\r\n\r\nTabs.muiName = 'Tabs';\r\n\r\nTabs.propTypes = {\r\n /**\r\n * Callback fired when the component mounts.\r\n * This is useful when you want to trigger an action programmatically.\r\n * It currently only supports `updateIndicator()` action.\r\n *\r\n * @param {object} actions This object contains all possible actions\r\n * that can be triggered programmatically.\r\n */\r\n action: PropTypes.func,\r\n /**\r\n * If `true`, the tabs will be centered.\r\n * This property is intended for large views.\r\n */\r\n centered: PropTypes.bool,\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Send a custom class name.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Determines the color of the indicator.\r\n */\r\n indicatorColor: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(['secondary', 'primary'])]),\r\n /**\r\n * Callback fired when the value changes.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {number} value We default to the index of the child\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Render the scroll buttons. If set to `true`, scroll buttons will be rendered if the tabs\r\n * don't fit in the current viewport.\r\n *\r\n * On mobile viewports the Tabs container has horizontal scrolling. To suppress scroll buttons\r\n * on mobile viewports, use the `scrollButtonsOnMobile` prop.\r\n */\r\n scrollButtons: PropTypes.bool,\r\n /**\r\n * Whether to show scroll buttons in the mobile viewport (when `scrollButtons` is `true`).\r\n */\r\n scrollButtonsOnMobile: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * The component used to render the scroll buttons.\r\n */\r\n ScrollButtonComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * @ignore\r\n * Properties applied to the private `TabIndicator` element.\r\n */\r\n TabIndicatorProps: PropTypes.object,\r\n /**\r\n * The value of the currently selected `Tab`.\r\n * If you don't want any selected `Tab`, you can set this property to `false`.\r\n */\r\n value: PropTypes.any,\r\n /**\r\n * Set the variant to `page` to render a page level Tab.\r\n * Set the variant to `card` to render a card level Tab.\r\n */\r\n variant: PropTypes.oneOf(['page', 'card']),\r\n\r\n /**\r\n * Determines additional display behavior of the tabs:\r\n * - scrollable will invoke scrolling properties and allow for horizontally scrolling (or swiping) of the tab bar.\r\n * - fullWidth will make the tabs grow to use all the available space, which should be used for small views, like on mobile.\r\n * - standard will render the default state.\r\n */\r\n widthVariant: PropTypes.oneOf(['scrollable', 'standard', 'fullWidth'])\r\n};\r\n\r\nTabs.defaultProps = {\r\n centered: false,\r\n widthVariant: 'scrollable',\r\n scrollButtons: false,\r\n scrollButtonsOnMobile: true,\r\n variant: 'page'\r\n};\r\n\r\nexport default withStyles(styles, { index: 0 })(Tabs);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nimport unsupportedProp from '../utils/unsupportedProp';\nexport var styles = function styles(theme) {\n var _extends2;\n\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.button), {}, (_extends2 = {\n maxWidth: 264,\n minWidth: 72,\n position: 'relative',\n boxSizing: 'border-box',\n minHeight: 48,\n flexShrink: 0,\n padding: '6px 12px'\n }, _defineProperty(_extends2, theme.breakpoints.up('sm'), {\n padding: '6px 24px'\n }), _defineProperty(_extends2, \"overflow\", 'hidden'), _defineProperty(_extends2, \"whiteSpace\", 'normal'), _defineProperty(_extends2, \"textAlign\", 'center'), _defineProperty(_extends2, theme.breakpoints.up('sm'), {\n minWidth: 160\n }), _extends2)),\n\n /* Styles applied to the root element if both `icon` and `label` are provided. */\n labelIcon: {\n minHeight: 72,\n paddingTop: 9,\n '& $wrapper > *:first-child': {\n marginBottom: 6\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"inherit\"`. */\n textColorInherit: {\n color: 'inherit',\n opacity: 0.7,\n '&$selected': {\n opacity: 1\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"primary\"`. */\n textColorPrimary: {\n color: theme.palette.text.secondary,\n '&$selected': {\n color: theme.palette.primary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"secondary\"`. */\n textColorSecondary: {\n color: theme.palette.text.secondary,\n '&$selected': {\n color: theme.palette.secondary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n },\n\n /* Pseudo-class applied to the root element if `selected={true}` (controlled by the Tabs component). */\n selected: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}` (controlled by the Tabs component). */\n disabled: {},\n\n /* Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */\n fullWidth: {\n flexShrink: 1,\n flexGrow: 1,\n flexBasis: 0,\n maxWidth: 'none'\n },\n\n /* Styles applied to the root element if `wrapped={true}`. */\n wrapped: {\n fontSize: theme.typography.pxToRem(12),\n lineHeight: 1.5\n },\n\n /* Styles applied to the `icon` and `label`'s wrapper element. */\n wrapper: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n flexDirection: 'column'\n }\n };\n};\nvar Tab = React.forwardRef(function Tab(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n fullWidth = props.fullWidth,\n icon = props.icon,\n indicator = props.indicator,\n label = props.label,\n onChange = props.onChange,\n onClick = props.onClick,\n selected = props.selected,\n _props$textColor = props.textColor,\n textColor = _props$textColor === void 0 ? 'inherit' : _props$textColor,\n value = props.value,\n _props$wrapped = props.wrapped,\n wrapped = _props$wrapped === void 0 ? false : _props$wrapped,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"disableFocusRipple\", \"fullWidth\", \"icon\", \"indicator\", \"label\", \"onChange\", \"onClick\", \"selected\", \"textColor\", \"value\", \"wrapped\"]);\n\n var handleChange = function handleChange(event) {\n if (onChange) {\n onChange(event, value);\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: !disableFocusRipple,\n className: clsx(classes.root, classes[\"textColor\".concat(capitalize(textColor))], className, disabled && classes.disabled, selected && classes.selected, label && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),\n ref: ref,\n role: \"tab\",\n \"aria-selected\": selected,\n disabled: disabled,\n onClick: handleChange,\n tabIndex: selected ? 0 : -1\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.wrapper\n }, icon, label), indicator);\n});\nprocess.env.NODE_ENV !== \"production\" ? Tab.propTypes = {\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the tab will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n * `disableRipple` must also be true.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * @ignore\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The icon element.\n */\n icon: PropTypes.node,\n\n /**\n * @ignore\n * For server-side rendering consideration, we let the selected tab\n * render the indicator.\n */\n indicator: PropTypes.node,\n\n /**\n * The label element.\n */\n label: PropTypes.node,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n selected: PropTypes.bool,\n\n /**\n * @ignore\n */\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\n\n /**\n * You can provide your own value. Otherwise, we fallback to the child position index.\n */\n value: PropTypes.any,\n\n /**\n * Tab labels appear in a single row.\n * They can use a second line if needed.\n */\n wrapped: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTab'\n})(Tab);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport { Tab as MuiTab } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { spacing40, fontWeightNormal, boxShadowFocusInset, spacing20, lineHeightDefault } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _tabRoot, _cardLevelTabRoot;\r\n\r\n return {\r\n tabRoot: (_tabRoot = {\r\n display: 'inline-block',\r\n fontFamily: theme.typography.fontFamily,\r\n fontWeight: fontWeightNormal,\r\n fontSize: theme.typography.body1.fontSize,\r\n letterSpacing: 'unset',\r\n textTransform: 'none',\r\n minWidth: 'auto',\r\n padding: '0px ' + spacing20,\r\n margin: '0 ' + spacing40,\r\n lineHeight: '' + lineHeightDefault\r\n }, _defineProperty(_tabRoot, theme.breakpoints.up('md'), {\r\n minWidth: 'auto'\r\n }), _defineProperty(_tabRoot, '&:hover', {\r\n color: theme.palette.ctaColor.hover\r\n }), _defineProperty(_tabRoot, '&:focus', {\r\n boxShadow: boxShadowFocusInset,\r\n color: theme.palette.ctaColor.active\r\n }), _defineProperty(_tabRoot, '&$disabled', {\r\n color: theme.palette.text.disabled\r\n }), _tabRoot),\r\n cardLevelTabRoot: (_cardLevelTabRoot = {\r\n fontWeight: fontWeightNormal,\r\n display: 'inline-block',\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n letterSpacing: 'unset',\r\n textTransform: 'none',\r\n minWidth: 'auto',\r\n padding: '0px ' + spacing40\r\n }, _defineProperty(_cardLevelTabRoot, theme.breakpoints.up('md'), {\r\n minWidth: 'auto'\r\n }), _defineProperty(_cardLevelTabRoot, '&:hover', {\r\n color: theme.palette.ctaColor.hover\r\n }), _defineProperty(_cardLevelTabRoot, '&:focus', {\r\n boxShadow: boxShadowFocusInset,\r\n color: theme.palette.ctaColor.active\r\n }), _defineProperty(_cardLevelTabRoot, '&$disabled', {\r\n color: theme.palette.text.disabled\r\n }), _cardLevelTabRoot),\r\n selected: {\r\n color: theme.palette.ctaColor.base\r\n },\r\n\r\n // Inherit styles\r\n textColorInherit: {\r\n color: theme.palette.text.secondary,\r\n opacity: '1',\r\n '&$selected': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n opacity: 1,\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n // Primary styles\r\n textColorPrimary: {\r\n color: theme.palette.text.secondary,\r\n opacity: '1',\r\n '&$selected': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n opacity: '1'\r\n }\r\n },\r\n // Secondary styles\r\n textColorSecondary: {\r\n color: theme.palette.text.secondary,\r\n opacity: '1',\r\n '&$selected': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n opacity: '1',\r\n '&:hover': {\r\n color: theme.palette.grey[400]\r\n }\r\n }\r\n },\r\n // label: {\r\n // fontFamily: theme.typography.fontFamily,\r\n // fontWeight: theme.typography.button.fontWeight,\r\n // fontSize: theme.typography.body1.fontSize,\r\n // },\r\n // labelContainer: {\r\n // width: '100%', // Fix an IE 11 issue\r\n // boxSizing: 'border-box',\r\n // padding: `0 ${spacing20}`,\r\n // },\r\n cardLevel: {\r\n border: '1px solid transparent', // Fix text/tab shift with border\r\n '&$selected': {\r\n borderColor: theme.palette.grey[300] + ' ' + theme.palette.grey[300] + ' #fff',\r\n borderTopRightRadius: 4,\r\n borderTopLeftRadius: 4\r\n }\r\n },\r\n disabled: {\r\n opacity: '1',\r\n color: theme.palette.grey[400]\r\n }\r\n };\r\n};\r\n\r\nvar Tab = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n classNameProp = props.className,\r\n variant = props.variant,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'variant']);\r\n\r\n return React.createElement(MuiTab, Object.assign({}, rest, {\r\n classes: {\r\n root: variant === 'card' ? classes.cardLevelTabRoot : classes.tabRoot,\r\n selected: classes.selected,\r\n textColorInherit: classes.textColorInherit,\r\n textColorPrimary: classes.textColorPrimary,\r\n textColorSecondary: classes.textColorSecondary,\r\n // label: classes.label,\r\n // labelContainer: classes.labelContainer,\r\n disabled: classes.disabled\r\n },\r\n className: classNames((_classNames = {}, _defineProperty(_classNames, classes.cardLevel, variant === 'card'), _defineProperty(_classNames, 'classNameProp', classNameProp), _classNames)),\r\n disableRipple: true,\r\n ref: ref,\r\n 'data-text': props.label\r\n }));\r\n});\r\n\r\nTab.muiName = 'Tab';\r\nTab.displayName = 'Tab';\r\n\r\nTab.propTypes = {\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the tab will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * For server side rendering consideration, we let the selected tab\r\n * render the indicator.\r\n */\r\n indicator: PropTypes.node,\r\n /**\r\n * The label element.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n selected: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\r\n /**\r\n * You can provide your own value. Otherwise, we fallback to the child position index.\r\n */\r\n value: PropTypes.any,\r\n /**\r\n * @ignore\r\n * Internal value to check if the Tab should have Card Level styling.\r\n */\r\n variant: PropTypes.oneOf(['page', 'card'])\r\n};\r\n\r\nexport default withStyles(styles)(Tab);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { default as MuiPopper } from '@material-ui/core/Popper';\r\nimport Paper from '../Paper';\r\nimport Typography from '../Typography';\r\nimport { borderWidthThin, borderRadiusMedium, spacing40, fontFamilyHeader, fontSizeHeader2, fontWeightNormal, lineHeightHeader2Small, fontSizeHeader2Small, lineHeightHeader2, colorGlobalBorderDefault } from '@ellucian/react-design-system/core/styles/tokens';\r\nimport withStyles from '@ellucian/react-design-system/core/styles';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport Fade from '@material-ui/core/Fade';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n paperRoot: {\r\n padding: spacing40,\r\n border: borderWidthThin + ' solid ' + colorGlobalBorderDefault,\r\n borderRadius: borderRadiusMedium\r\n },\r\n popper: {\r\n zIndex: theme.zIndex.tooltip,\r\n // Arrow styling:\r\n // https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap.css#L5655\r\n '& .hedtech-popper-arrow': {\r\n position: 'absolute',\r\n display: 'block',\r\n width: '1rem',\r\n height: '0.5rem',\r\n margin: '0 0.3rem',\r\n '&::before, &::after': {\r\n position: 'absolute',\r\n display: 'block',\r\n content: '\"\"',\r\n borderColor: 'transparent',\r\n borderStyle: 'solid'\r\n }\r\n },\r\n '&[x-placement*=\"top\"] .hedtech-popper-arrow': {\r\n bottom: '-.5rem',\r\n '&::before': {\r\n bottom: 0,\r\n borderWidth: '0.5rem 0.5rem 0',\r\n borderTopColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n bottom: 1,\r\n borderWidth: '0.5rem 0.5rem 0',\r\n borderTopColor: theme.palette.grey[100]\r\n }\r\n },\r\n '&[x-placement*=\"right\"] .hedtech-popper-arrow': {\r\n flip: false,\r\n left: '-.5rem',\r\n width: '0.5rem',\r\n height: '1rem',\r\n margin: '0.3rem 0',\r\n '&::before': {\r\n flip: false,\r\n left: 0,\r\n borderWidth: '0.5rem 0.5rem 0.5rem 0',\r\n borderRightColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n flip: false,\r\n left: 1,\r\n borderWidth: '0.5rem 0.5rem 0.5rem 0',\r\n borderRightColor: theme.palette.grey[100]\r\n }\r\n },\r\n '&[x-placement*=\"bottom\"] .hedtech-popper-arrow': {\r\n top: '-.5rem',\r\n '&::before': {\r\n top: 0,\r\n borderWidth: '0 0.5rem 0.5rem 0.5rem',\r\n borderBottomColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n top: 1,\r\n borderWidth: '0 0.5rem 0.5rem 0.5rem',\r\n borderBottomColor: theme.palette.grey[100]\r\n }\r\n },\r\n '&[x-placement*=\"left\"] .hedtech-popper-arrow': {\r\n flip: false,\r\n right: '-.5rem',\r\n width: '0.5rem',\r\n height: '1rem',\r\n margin: '0.3rem 0',\r\n '&::before': {\r\n flip: false,\r\n right: 0,\r\n borderWidth: '0.5rem 0 0.5rem 0.5rem',\r\n borderLeftColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n flip: false,\r\n right: 1,\r\n borderWidth: '0.5rem 0 0.5rem 0.5rem',\r\n borderLeftColor: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n popperText: {\r\n marginBottom: spacing40\r\n },\r\n popperTitle: _defineProperty({ // h2 styles\r\n fontFamily: fontFamilyHeader,\r\n fontWeight: fontWeightNormal,\r\n fontSize: fontSizeHeader2Small,\r\n lineHeight: lineHeightHeader2\r\n }, theme.breakpoints.up('sm'), {\r\n fontSize: fontSizeHeader2,\r\n lineHeight: lineHeightHeader2Small\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * Use `Popper` on top of content to give additional context or information.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v2.3.0\r\n * @examples\r\n * MinimalPopper\r\n * CustomContent\r\n * CloseOnClickaway\r\n * ScrollPlayground\r\n */\r\n\r\nvar Popper = React.forwardRef(function (props, ref) {\r\n var arrow = props.arrow,\r\n children = props.children,\r\n classes = props.classes,\r\n edsContext = props.edsContext,\r\n classNameProp = props.className,\r\n modifiersProp = props.modifiers,\r\n PaperPropsProp = props.PaperProps,\r\n text = props.text,\r\n title = props.title,\r\n TextTypographyProps = props.TextTypographyProps,\r\n TitleTypographyProps = props.TitleTypographyProps,\r\n onClickAway = props.onClickAway,\r\n ClickAwayListenerProps = props.ClickAwayListenerProps,\r\n transitionProps = props.transitionProps,\r\n rest = _objectWithoutProperties(props, ['arrow', 'children', 'classes', 'edsContext', 'className', 'modifiers', 'PaperProps', 'text', 'title', 'TextTypographyProps', 'TitleTypographyProps', 'onClickAway', 'ClickAwayListenerProps', 'transitionProps']);\r\n\r\n var _useState = useState(null),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n arrowRef = _useState2[0],\r\n setArrowRef = _useState2[1];\r\n\r\n var handleArrowRef = function handleArrowRef(node) {\r\n return setArrowRef(node);\r\n };\r\n var PaperProps = Object.assign({}, PaperPropsProp);\r\n\r\n // This line will help screen read to read popper content.\r\n if (!PaperProps['aria-live']) {\r\n PaperProps['aria-live'] = 'assertive';\r\n }\r\n\r\n var addSpace = function addSpace(data) {\r\n var newData = data;\r\n\r\n // Add additional space to Popper element (16px)\r\n if (data.placement.indexOf('top') !== -1) {\r\n newData.offsets.popper.top = data.offsets.popper.top - 16;\r\n } else if (data.placement.indexOf('right') !== -1) {\r\n newData.offsets.popper.left = data.offsets.popper.left + 16;\r\n } else if (data.placement.indexOf('bottom') !== -1) {\r\n newData.offsets.popper.top = data.offsets.popper.top + 16;\r\n } else if (data.placement.indexOf('left') !== -1) {\r\n newData.offsets.popper.left = data.offsets.popper.left - 16;\r\n }\r\n return newData;\r\n };\r\n\r\n var modifiers = Object.assign({\r\n arrow: {\r\n enabled: arrow,\r\n element: arrowRef\r\n },\r\n flip: {\r\n enabled: true\r\n },\r\n offset: {\r\n fn: addSpace\r\n }\r\n }, modifiersProp);\r\n\r\n var className = classNames(classes.popper, classNameProp);\r\n\r\n // Build Popper content\r\n var PopperContent = React.createElement(\r\n 'div',\r\n { dir: edsContext.dir },\r\n arrow && React.createElement('span', { className: 'hedtech-popper-arrow', ref: handleArrowRef }),\r\n React.createElement(\r\n Paper,\r\n Object.assign({\r\n elevation: 0,\r\n classes: {\r\n root: classes.paperRoot\r\n }\r\n }, PaperProps, {\r\n ref: ref\r\n }),\r\n title && React.createElement(\r\n Typography,\r\n Object.assign({\r\n classes: { root: classes.popperTitle },\r\n gutterBottom: true\r\n }, TitleTypographyProps),\r\n title\r\n ),\r\n text && React.createElement(\r\n Typography,\r\n Object.assign({\r\n gutterBottom: true,\r\n className: classNames(_defineProperty({}, classes.popperText, children !== undefined))\r\n }, TextTypographyProps),\r\n text\r\n ),\r\n children\r\n )\r\n );\r\n\r\n var Content = onClickAway ? React.createElement(\r\n ClickAwayListener,\r\n Object.assign({ onClickAway: onClickAway }, ClickAwayListenerProps),\r\n PopperContent\r\n ) : PopperContent;\r\n\r\n // NOTE: Structure must be, Popper > Transition > ClickAway > Content\r\n\r\n return rest.transition ? React.createElement(\r\n MuiPopper,\r\n Object.assign({ className: className, modifiers: modifiers }, rest),\r\n function (_ref) {\r\n var TransitionProps = _ref.TransitionProps;\r\n return React.createElement(\r\n Fade,\r\n Object.assign({}, TransitionProps, transitionProps),\r\n Content\r\n );\r\n }\r\n ) : React.createElement(\r\n MuiPopper,\r\n Object.assign({ className: className, modifiers: modifiers }, rest),\r\n Content\r\n );\r\n});\r\n\r\nPopper.muiName = 'Popper';\r\nPopper.displayName = 'Popper';\r\n\r\nPopper.propTypes = {\r\n /**\r\n * This is the DOM element, or a function that returns the DOM element,\r\n * that may be used to set the position of the popover.\r\n * The return value will passed as the reference object of the `Popper`\r\n * instance.\r\n */\r\n anchorEl: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * If `true`, popper will display the arrow.\r\n */\r\n arrow: PropTypes.bool,\r\n /**\r\n * `Popper` render function or node.\r\n */\r\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\r\n /**\r\n * @ignore\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * A node, component instance, or function that returns either.\r\n * The `container` will passed to the Modal component.\r\n * By default, it uses the body of the `anchorEl`'s top-level document object,\r\n * so it's simply `document.body` most of the time.\r\n */\r\n container: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * Disable the portal behavior.\r\n * The children stay within its parent DOM hierarchy.\r\n */\r\n disablePortal: PropTypes.bool,\r\n /**\r\n * Always keep the children in the DOM.\r\n */\r\n keepMounted: PropTypes.bool,\r\n /**\r\n * Popper.js is based on a \"plugin-like\" architecture,\r\n * most of its features are fully encapsulated \"modifiers\".\r\n *\r\n * A modifier is a function that is called each time Popper.js needs to\r\n * compute the position of the `Popper`.\r\n * For this reason, modifiers should be very performant to avoid bottlenecks.\r\n * To learn how to create a modifier, [read the modifiers documentation](https://github.com/FezVrasta/popper.js/blob/master/docs/_includes/popper-documentation.md#modifiers--object).\r\n */\r\n modifiers: PropTypes.object,\r\n /**\r\n * If `true`, the popper is visible.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Props provided to the `Paper` component\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Props provided to the text `Typography` component\r\n */\r\n TextTypographyProps: PropTypes.object,\r\n /**\r\n * Props provided to the title `Typography` component\r\n */\r\n TitleTypographyProps: PropTypes.object,\r\n /**\r\n * `Popper` placement.\r\n */\r\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\r\n /**\r\n * Options provided to the [`popper.js`](https://github.com/FezVrasta/popper.js) instance.\r\n */\r\n popperOptions: PropTypes.object,\r\n /**\r\n * Paragraph text that will render below the `title` text and above any children.\r\n */\r\n text: PropTypes.string,\r\n /**\r\n * Paragraph text that renders above the `text` paragraph text.\r\n */\r\n title: PropTypes.string,\r\n /**\r\n * Help supporting a react-transition-group/Transition component.\r\n */\r\n transition: PropTypes.bool,\r\n /**\r\n * Properties applied to the Transition component.\r\n */\r\n transitionProps: PropTypes.object,\r\n // /**\r\n // * The component used for the transition.\r\n // */\r\n // TransitionComponent: PropTypes.oneOf([\r\n // 'Collapse', 'Fade', 'Grow', 'Slide', 'Zoom'\r\n // ]),\r\n /**\r\n * Function to perform when clicked outside of the `Popper`.\r\n */\r\n onClickAway: PropTypes.func,\r\n /**\r\n * Props provided to the `ClickAwayListener` component\r\n */\r\n ClickAwayListenerProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nPopper.defaultProps = {\r\n placement: 'bottom',\r\n transition: true\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Popper));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport makeStyles from './../makeStyles';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\n\r\nimport { spacing40, lineHeightParagraphMedium } from '../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n root: {\r\n // Since menu list item is pulling from MUI, have to override to match recommended list\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: lineHeightParagraphMedium,\r\n textOverflow: 'ellipsis',\r\n '&.padding': {\r\n padding: spacing40 + ' 1.25rem',\r\n display: 'block'\r\n },\r\n '&:hover, &:focus': {\r\n color: '' + theme.palette.grey[600],\r\n backgroundColor: theme.palette.grey[250]\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey['100']\r\n }\r\n }\r\n };\r\n});\r\n\r\n/**\r\n * An item in an ActionMenu.\r\n */\r\nvar ActionMenuItem = React.forwardRef(function (props, ref) {\r\n var localClasses = useStyles();\r\n\r\n var className = props.className,\r\n classes = props.classes,\r\n disabled = props.disabled,\r\n _onClick = props.onClick,\r\n handleClose = props.handleClose,\r\n rest = _objectWithoutProperties(props, ['className', 'classes', 'disabled', 'onClick', 'handleClose']);\r\n\r\n return React.createElement(MenuItem, Object.assign({}, rest, {\r\n className: cn(localClasses.root, className, 'padding'),\r\n disabled: disabled,\r\n onClick: function onClick(e) {\r\n _onClick && _onClick(e);\r\n handleClose && handleClose(e);\r\n },\r\n classes: classes,\r\n ref: ref\r\n }));\r\n});\r\n\r\nActionMenuItem.muiName = 'ActionMenuItem';\r\nActionMenuItem.displayName = 'ActionMenuItem';\r\n\r\nActionMenuItem.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * @ignore\r\n *\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the action menu item will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Callback triggered when action menu item is clicked.\r\n */\r\n onClick: PropTypes.func\r\n};\r\n\r\nActionMenuItem.defaultProps = {\r\n disabled: false\r\n};\r\n\r\nexport default ActionMenuItem;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport Popper from './../Popper';\r\nimport MenuList from '@material-ui/core/MenuList';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport MoreVertical from '@ellucian/ds-icons/lib/MoreVertical';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport { default as withStyles } from '../styles';\r\nimport { borderRadiusXSmall, borderRadiusSmall, borderWidthThick, borderWidthThin } from '../styles/tokens';\r\n\r\n// TODO: Remove this below line after `actions` prop is removed\r\nimport createActionMenuItems from './internal/createActionMenuItems';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'inline-block'\r\n },\r\n paper: {\r\n padding: 0,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n iconButton: {\r\n borderRadius: borderRadiusSmall,\r\n fontSize: '1.2rem',\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.focus\r\n },\r\n '&.color': {\r\n color: theme.palette.grey[500]\r\n },\r\n '&.color:hover': {\r\n background: 'none',\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&.color:active': {\r\n background: 'none',\r\n color: theme.palette.ctaColor.base\r\n }\r\n },\r\n menuList: {\r\n maxWidth: '18.750rem',\r\n borderRadius: '' + borderRadiusXSmall\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `ActionMenu` to give users access to additional actions related to a field.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * BasicActionMenuExamples\r\n * ActionMenuExamplesWIthArray\r\n * ActionMenuExamplesWithDisabledItem\r\n * PlacementActionMenuExamples\r\n * ActionMenuWithScrollBehavior\r\n */\r\n\r\nvar ActionMenu = function (_React$Component) {\r\n _inherits(ActionMenu, _React$Component);\r\n\r\n function ActionMenu(props) {\r\n _classCallCheck(this, ActionMenu);\r\n\r\n var _this = _possibleConstructorReturn(this, (ActionMenu.__proto__ || Object.getPrototypeOf(ActionMenu)).call(this, props));\r\n\r\n _this.handleToggle = function () {\r\n _this.setState({ open: !_this.state.open });\r\n };\r\n\r\n _this.handleClose = function (event, item) {\r\n // TODO: remove this below `if` blcok after `actions` prop is removed.\r\n if (item) {\r\n item.callback(item);\r\n }\r\n\r\n _this.setState({ open: false });\r\n _this.focusActionMenuButton();\r\n };\r\n\r\n _this.focusActionMenuButton = function () {\r\n _this.buttonRef.current.focus();\r\n };\r\n\r\n _this.onKeyDown = function (event) {\r\n var key = event.key;\r\n\r\n if (key === 'Escape' || key === 'Tab') {\r\n event.preventDefault();\r\n _this.handleClose();\r\n }\r\n };\r\n\r\n _this.getChildren = function () {\r\n var children = null;\r\n\r\n if (_this.props.children) {\r\n children = React.Children.toArray(_this.props.children).map(function (child) {\r\n if (!React.isValidElement(child)) {\r\n return null;\r\n }\r\n\r\n return React.cloneElement(child, {\r\n handleClose: _this.handleClose.bind(_this)\r\n });\r\n });\r\n }\r\n\r\n return children;\r\n };\r\n\r\n _this.buttonRef = React.createRef();\r\n _this.placements = ['top-start', 'top-end'];\r\n\r\n _this.state = {\r\n open: props.initialOpenOverride // action menu is closed by default, unless an override is passed in\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(ActionMenu, [{\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n actions = _props.actions,\r\n placement = _props.placement,\r\n menuId = _props.menuId,\r\n id = _props.id,\r\n edsContext = _props.edsContext,\r\n icon = _props.icon,\r\n className = _props.className,\r\n IconButtonProps = _props.IconButtonProps,\r\n PopperProps = _props.PopperProps,\r\n PaperProps = _props.PaperProps;\r\n var open = this.state.open;\r\n\r\n\r\n var popperPlacement = placement ? placement : edsContext.dir === 'rtl' ? 'bottom-start' : 'bottom-end';\r\n var PopperPropsProps = Object.assign({}, PopperProps);\r\n var offset = 20; // Bring popper closer to icon\r\n\r\n // TODO: Do this with lodash or ES6 way.\r\n if (PopperPropsProps.modifiers) {\r\n PopperPropsProps.modifiers.offset = offset;\r\n } else {\r\n PopperPropsProps.modifiers = { offset: offset };\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classNames(classes.root, className) },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.ActionMenu.more'),\r\n enterDelay: 1000,\r\n enterNextDelay: 1000\r\n },\r\n React.createElement(\r\n IconButton,\r\n Object.assign({\r\n ref: this.buttonRef,\r\n disableRipple: true,\r\n 'aria-label': edsContext.formatMessage('component.ActionMenu.more'),\r\n 'aria-expanded': open,\r\n 'aria-haspopup': 'true',\r\n 'aria-controls': menuId || id,\r\n onClick: this.handleToggle,\r\n color: 'gray',\r\n tabIndex: 0\r\n }, IconButtonProps),\r\n icon\r\n )\r\n ),\r\n React.createElement(\r\n Popper,\r\n Object.assign({\r\n arrow: true,\r\n anchorEl: this.buttonRef.current,\r\n open: open,\r\n placement: popperPlacement,\r\n onClickAway: function onClickAway() {\r\n return _this2.setState({ open: false });\r\n },\r\n className: 'eds-actionmenu-popper',\r\n PaperProps: Object.assign({\r\n 'aria-live': 'off',\r\n classes: { root: classes.paper },\r\n elevation: 1\r\n }, PaperProps)\r\n\r\n }, PopperPropsProps, {\r\n onKeyDown: this.onKeyDown,\r\n transition: false\r\n }),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n MenuList,\r\n { id: menuId || id, className: classes.menuList, autoFocusItem: open },\r\n this.getChildren() || createActionMenuItems(actions, this.handleClose)\r\n )\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return ActionMenu;\r\n}(React.Component);\r\n\r\n// TODO: Make `childrean` prop required after `action` prop is removed\r\n\r\n\r\nActionMenu.propTypes = {\r\n /**\r\n * @ignore\r\n *\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n\r\n /**\r\n * **DEPRECATED** Use the below format instead.\r\n * ```\r\n * \r\n * Add\r\n * Edit\r\n * Delete\r\n * \r\n * ```\r\n * Actions and label for the actions to be taken from the `ActionMenu`.\r\n */\r\n actions: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * A CSS class that will be applied to the parent `div`.\r\n */\r\n className: PropTypes.string,\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * Icon used in the icon button.\r\n *\r\n * Defaults to 'more-vertical' icon.\r\n */\r\n icon: PropTypes.node,\r\n\r\n /**\r\n * **DEPRECATED** Use `id` instead.\r\n *\r\n * Menu HTML ID for uniqueness.\r\n */\r\n menuId: PropTypes.string,\r\n\r\n /**\r\n * Menu HTML ID for uniqueness.\r\n */\r\n id: PropTypes.string,\r\n\r\n /**\r\n * Placement is used to place the menu at start or end of the container or screen.\r\n *\r\n * Defaults to 'bottom-end' for LTR or 'bottom-start' for RTL.\r\n */\r\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start']),\r\n\r\n /**\r\n * Props applied to the IconButton that brings up the action menu\r\n */\r\n IconButtonProps: PropTypes.object,\r\n\r\n /**\r\n * Props applied to the `Paper` component\r\n */\r\n PaperProps: PropTypes.object,\r\n\r\n /**\r\n * Props applied to the `Popper` element.\r\n */\r\n PopperProps: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Externally set the initial open state of the action menu. For testing purposes only.\r\n */\r\n initialOpenOverride: PropTypes.bool\r\n\r\n};\r\n\r\nActionMenu.defaultProps = {\r\n initialOpenOverride: false,\r\n icon: React.createElement(MoreVertical, null)\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(ActionMenu));","// TODO: Remove this file after `actions` prop is removed\r\nimport React from 'react';\r\nimport ActionMenuItem from './../ActionMenuItem';\r\n\r\nvar createActionMenuItems = function createActionMenuItems(actions, handleClose) {\r\n return actions.map(function (item, index) {\r\n return React.createElement(\r\n ActionMenuItem,\r\n {\r\n onClick: function onClick(e) {\r\n return handleClose(e, item);\r\n },\r\n key: index,\r\n tabIndex: index === 0 ? 0 : -1\r\n },\r\n item.label\r\n );\r\n });\r\n};\r\n\r\nexport default createActionMenuItems;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n// @inheritedComponent IconButton\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport capitalize from '../utils/capitalize';\nimport SwitchBase from '../internal/SwitchBase';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n width: 34 + 12 * 2,\n height: 14 + 12 * 2,\n overflow: 'hidden',\n padding: 12,\n boxSizing: 'border-box',\n position: 'relative',\n flexShrink: 0,\n zIndex: 0,\n // Reset the stacking context.\n verticalAlign: 'middle',\n // For correct alignment with the text.\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root element if `edge=\"start\"`. */\n edgeStart: {\n marginLeft: -8\n },\n\n /* Styles applied to the root element if `edge=\"end\"`. */\n edgeEnd: {\n marginRight: -8\n },\n\n /* Styles applied to the internal `SwitchBase` component's `root` class. */\n switchBase: {\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 1,\n // Render above the focus ripple.\n color: theme.palette.type === 'light' ? theme.palette.grey[50] : theme.palette.grey[400],\n transition: theme.transitions.create(['left', 'transform'], {\n duration: theme.transitions.duration.shortest\n }),\n '&$checked': {\n transform: 'translateX(20px)'\n },\n '&$disabled': {\n color: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[800]\n },\n '&$checked + $track': {\n opacity: 0.5\n },\n '&$disabled + $track': {\n opacity: theme.palette.type === 'light' ? 0.12 : 0.1\n }\n },\n\n /* Styles applied to the internal SwitchBase component's root element if `color=\"primary\"`. */\n colorPrimary: {\n '&$checked': {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[800]\n },\n '&$checked + $track': {\n backgroundColor: theme.palette.primary.main\n },\n '&$disabled + $track': {\n backgroundColor: theme.palette.type === 'light' ? theme.palette.common.black : theme.palette.common.white\n }\n },\n\n /* Styles applied to the internal SwitchBase component's root element if `color=\"secondary\"`. */\n colorSecondary: {\n '&$checked': {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[800]\n },\n '&$checked + $track': {\n backgroundColor: theme.palette.secondary.main\n },\n '&$disabled + $track': {\n backgroundColor: theme.palette.type === 'light' ? theme.palette.common.black : theme.palette.common.white\n }\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n width: 40,\n height: 24,\n padding: 7,\n '& $thumb': {\n width: 16,\n height: 16\n },\n '& $switchBase': {\n padding: 4,\n '&$checked': {\n transform: 'translateX(16px)'\n }\n }\n },\n\n /* Pseudo-class applied to the internal `SwitchBase` component's `checked` class. */\n checked: {},\n\n /* Pseudo-class applied to the internal SwitchBase component's disabled class. */\n disabled: {},\n\n /* Styles applied to the internal SwitchBase component's input element. */\n input: {\n left: '-100%',\n width: '300%'\n },\n\n /* Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */\n thumb: {\n boxShadow: theme.shadows[1],\n backgroundColor: 'currentColor',\n width: 20,\n height: 20,\n borderRadius: '50%'\n },\n\n /* Styles applied to the track element. */\n track: {\n height: '100%',\n width: '100%',\n borderRadius: 14 / 2,\n zIndex: -1,\n transition: theme.transitions.create(['opacity', 'background-color'], {\n duration: theme.transitions.duration.shortest\n }),\n backgroundColor: theme.palette.type === 'light' ? theme.palette.common.black : theme.palette.common.white,\n opacity: theme.palette.type === 'light' ? 0.38 : 0.3\n }\n };\n};\nvar Switch = React.forwardRef(function Switch(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'secondary' : _props$color,\n _props$edge = props.edge,\n edge = _props$edge === void 0 ? false : _props$edge,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"edge\", \"size\"]);\n\n var icon = /*#__PURE__*/React.createElement(\"span\", {\n className: classes.thumb\n });\n return /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.root, className, {\n 'start': classes.edgeStart,\n 'end': classes.edgeEnd\n }[edge], size === \"small\" && classes[\"size\".concat(capitalize(size))])\n }, /*#__PURE__*/React.createElement(SwitchBase, _extends({\n type: \"checkbox\",\n icon: icon,\n checkedIcon: icon,\n classes: {\n root: clsx(classes.switchBase, classes[\"color\".concat(capitalize(color))]),\n input: classes.input,\n checked: classes.checked,\n disabled: classes.disabled\n },\n ref: ref\n }, other)), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.track\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Switch.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * @ignore\n */\n defaultChecked: PropTypes.bool,\n\n /**\n * If `true`, the switch will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the switch.\n * `small` is equivalent to the dense switch styling.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSwitch'\n})(Switch);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiSwitch } from '@material-ui/core/Switch';\r\nimport cn from 'classnames';\r\nimport { boxShadowFocus, sizingXLarge, borderWidthThin, borderWidthThick, sizingSmall } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n width: '3.75rem',\r\n height: '3rem',\r\n padding: '0.9375rem 0.5rem 0.75rem 0.75rem'\r\n },\r\n switchBase: {\r\n '&$checked': {\r\n color: theme.palette.grey[100],\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.ctaColor.base,\r\n border: 'none'\r\n },\r\n '& $iconBase': {\r\n boxShadow: 'none',\r\n border: 'none !important'\r\n },\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n },\r\n top: '8px',\r\n left: '5px'\r\n },\r\n checked: {\r\n display: 'block'\r\n },\r\n barBase: {\r\n borderRadius: '0.75rem',\r\n width: sizingXLarge,\r\n height: '1.25rem',\r\n backgroundColor: theme.palette.grey[100],\r\n opacity: 1,\r\n transition: 'none'\r\n },\r\n bar: {\r\n '& + $barBase': {\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400]\r\n }\r\n },\r\n barFocused: {\r\n '& + $barBase': {\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n boxShadow: boxShadowFocus\r\n },\r\n '&$checked': {\r\n '& + $barBase': {\r\n boxShadow: boxShadowFocus\r\n }\r\n }\r\n },\r\n disabledOff: {\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&$switchBase': {\r\n color: theme.palette.grey[300], //disabled off circle\r\n boxShadow: 'none',\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[300], //disabled off background\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400] //disabled off border\r\n }\r\n }\r\n },\r\n disabledOn: {\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&$switchBase': {\r\n color: theme.palette.grey[300], //disabled on circle\r\n boxShadow: 'none',\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[400], //disabled on background\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400] //disabled on border\r\n }\r\n }\r\n },\r\n iconBase: {\r\n width: sizingSmall,\r\n height: sizingSmall\r\n },\r\n iconOn: {\r\n boxShadow: 'none',\r\n border: 'none !important'\r\n },\r\n iconOnDisabled: {\r\n boxShadow: 'none',\r\n border: 'none !important',\r\n color: theme.palette.grey[300]\r\n },\r\n iconOff: {\r\n color: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: 'none !important' //MUI applies a very stubborn box-shadow when a border is added\r\n },\r\n iconOffDisabled: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: 'none !important' //MUI applies a very stubborn box-shadow when a border is added\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Switch` to select one of two options, typically a \"yes/no\" or an \"on/off\" selection.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * SwitchExamples\r\n * ControlledExample\r\n * SwitchFormGroup\r\n * SwitchLabels\r\n */\r\n\r\nvar Switch = function (_React$Component) {\r\n _inherits(Switch, _React$Component);\r\n\r\n function Switch(props) {\r\n _classCallCheck(this, Switch);\r\n\r\n var _this = _possibleConstructorReturn(this, (Switch.__proto__ || Object.getPrototypeOf(Switch)).call(this, props));\r\n\r\n _this.state = {\r\n isFocused: false\r\n };\r\n _this.handleFocus = _this.handleFocus.bind(_this);\r\n _this.handleBlur = _this.handleBlur.bind(_this);\r\n return _this;\r\n }\r\n\r\n _createClass(Switch, [{\r\n key: 'handleFocus',\r\n value: function handleFocus(e) {\r\n if (this.props.onFocus) {\r\n this.props.onFocus(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: true\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'handleBlur',\r\n value: function handleBlur(e) {\r\n if (this.props.onBlur) {\r\n this.props.onBlur(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: false\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var isFocused = this.state.isFocused;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n checked = _props.checked,\r\n disabled = _props.disabled,\r\n rest = _objectWithoutProperties(_props, ['classes', 'checked', 'disabled']);\r\n\r\n var classOverrides = {\r\n switchBase: cn(classes.switchBase, isFocused ? classes.barFocused : classes.bar),\r\n track: classes.barBase,\r\n root: classes.root,\r\n disabled: checked ? classes.disabledOn : classes.disabledOff,\r\n thumb: cn(classes.iconBase, disabled ? classes.iconOffDisabled : classes.iconOff),\r\n checked: classes.checked\r\n };\r\n\r\n return React.createElement(MuiSwitch, Object.assign({\r\n onFocus: this.handleFocus,\r\n onBlur: this.handleBlur,\r\n color: 'secondary',\r\n disableRipple: true,\r\n classes: classOverrides,\r\n checked: checked,\r\n disabled: disabled\r\n }, rest));\r\n }\r\n }]);\r\n\r\n return Switch;\r\n}(React.Component);\r\n\r\nSwitch.muiName = 'Switch';\r\nSwitch.displayName = 'Switch';\r\n\r\nSwitch.propTypes = {\r\n /**\r\n * If `true`, the component is checked.\r\n */\r\n checked: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If true, the switch will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * The id of the input element.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Attributes applied to the input element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use this property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\r\n /**\r\n * Callback fired when the state is changed.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func\r\n};\r\n\r\nexport default withStyles(styles)(Switch);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 1,\n margin: 0,\n // Reset browser default style.\n border: 'none',\n flexShrink: 0,\n backgroundColor: theme.palette.divider\n },\n\n /* Styles applied to the root element if `absolute={true}`. */\n absolute: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%'\n },\n\n /* Styles applied to the root element if `variant=\"inset\"`. */\n inset: {\n marginLeft: 72\n },\n\n /* Styles applied to the root element if `light={true}`. */\n light: {\n backgroundColor: fade(theme.palette.divider, 0.08)\n },\n\n /* Styles applied to the root element if `variant=\"middle\"`. */\n middle: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n height: '100%',\n width: 1\n },\n\n /* Styles applied to the root element if `flexItem={true}`. */\n flexItem: {\n alignSelf: 'stretch',\n height: 'auto'\n }\n };\n};\nvar Divider = React.forwardRef(function Divider(props, ref) {\n var _props$absolute = props.absolute,\n absolute = _props$absolute === void 0 ? false : _props$absolute,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'hr' : _props$component,\n _props$flexItem = props.flexItem,\n flexItem = _props$flexItem === void 0 ? false : _props$flexItem,\n _props$light = props.light,\n light = _props$light === void 0 ? false : _props$light,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$role = props.role,\n role = _props$role === void 0 ? Component !== 'hr' ? 'separator' : undefined : _props$role,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'fullWidth' : _props$variant,\n other = _objectWithoutProperties(props, [\"absolute\", \"classes\", \"className\", \"component\", \"flexItem\", \"light\", \"orientation\", \"role\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'fullWidth' && classes[variant], absolute && classes.absolute, flexItem && classes.flexItem, light && classes.light, orientation === 'vertical' && classes.vertical),\n role: role,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Divider.propTypes = {\n /**\n * Absolutely position the element.\n */\n absolute: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, a vertical divider will have the correct height when used in flex container.\n * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)\n */\n flexItem: PropTypes.bool,\n\n /**\n * If `true`, the divider will have a lighter color.\n */\n light: PropTypes.bool,\n\n /**\n * The divider orientation.\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['fullWidth', 'inset', 'middle'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDivider'\n})(Divider);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDivider } from '@material-ui/core/Divider';\r\nimport classNames from 'classnames';\r\nimport { spacing40 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey[400],\r\n marginTop: spacing40,\r\n marginBottom: spacing40\r\n },\r\n middle: {\r\n marginLeft: spacing40,\r\n marginRight: spacing40\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Divider` to group and separate content within lists and page layouts.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.11\r\n * @examples\r\n * FullBleedDividerExample\r\n * MiddleDividerExample\r\n */\r\nvar Divider = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n variant = props.variant,\r\n rest = _objectWithoutProperties(props, ['classes', 'variant']);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.middle, variant === 'middle'))\r\n };\r\n\r\n return React.createElement(MuiDivider, Object.assign({}, rest, { classes: classOverrides, ref: ref }));\r\n});\r\n\r\nDivider.muiName = 'Divider';\r\nDivider.displayName = 'Divider';\r\n\r\nDivider.propTypes = {\r\n absolute: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Specifies fullbleed or middle Divider styling. Default is fullbleed.\r\n */\r\n variant: PropTypes.oneOf(['fullbleed', 'middle'])\r\n};\r\n\r\nDivider.defaultProps = {\r\n variant: 'fullbleed'\r\n};\r\n\r\nexport default withStyles(styles)(Divider);","import * as React from 'react';\n/**\n * @ignore - internal component.\n * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}\n */\n\nvar ExpansionPanelContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ExpansionPanelContext.displayName = 'ExpansionPanelContext';\n}\n\nexport default ExpansionPanelContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport Collapse from '../Collapse';\nimport Paper from '../Paper';\nimport withStyles from '../styles/withStyles';\nimport ExpansionPanelContext from './ExpansionPanelContext';\nimport useControlled from '../utils/useControlled';\nexport var styles = function styles(theme) {\n var transition = {\n duration: theme.transitions.duration.shortest\n };\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n transition: theme.transitions.create(['margin'], transition),\n '&:before': {\n position: 'absolute',\n left: 0,\n top: -1,\n right: 0,\n height: 1,\n content: '\"\"',\n opacity: 1,\n backgroundColor: theme.palette.divider,\n transition: theme.transitions.create(['opacity', 'background-color'], transition)\n },\n '&:first-child': {\n '&:before': {\n display: 'none'\n }\n },\n '&$expanded': {\n margin: '16px 0',\n '&:first-child': {\n marginTop: 0\n },\n '&:last-child': {\n marginBottom: 0\n },\n '&:before': {\n opacity: 0\n }\n },\n '&$expanded + &': {\n '&:before': {\n display: 'none'\n }\n },\n '&$disabled': {\n backgroundColor: theme.palette.action.disabledBackground\n }\n },\n\n /* Styles applied to the root element if `square={false}`. */\n rounded: {\n borderRadius: 0,\n '&:first-child': {\n borderTopLeftRadius: theme.shape.borderRadius,\n borderTopRightRadius: theme.shape.borderRadius\n },\n '&:last-child': {\n borderBottomLeftRadius: theme.shape.borderRadius,\n borderBottomRightRadius: theme.shape.borderRadius,\n // Fix a rendering issue on Edge\n '@supports (-ms-ime-align: auto)': {\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0\n }\n }\n },\n\n /* Styles applied to the root element if `expanded={true}`. */\n expanded: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {}\n };\n};\nvar ExpansionPanel = React.forwardRef(function ExpansionPanel(props, ref) {\n var childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$defaultExpande = props.defaultExpanded,\n defaultExpanded = _props$defaultExpande === void 0 ? false : _props$defaultExpande,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n expandedProp = props.expanded,\n onChange = props.onChange,\n _props$square = props.square,\n square = _props$square === void 0 ? false : _props$square,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"defaultExpanded\", \"disabled\", \"expanded\", \"onChange\", \"square\", \"TransitionComponent\", \"TransitionProps\"]);\n\n var _useControlled = useControlled({\n controlled: expandedProp,\n default: defaultExpanded,\n name: 'ExpansionPanel',\n state: 'expanded'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n expanded = _useControlled2[0],\n setExpandedState = _useControlled2[1];\n\n var handleChange = React.useCallback(function (event) {\n setExpandedState(!expanded);\n\n if (onChange) {\n onChange(event, !expanded);\n }\n }, [expanded, onChange, setExpandedState]);\n\n var _React$Children$toArr = React.Children.toArray(childrenProp),\n _React$Children$toArr2 = _toArray(_React$Children$toArr),\n summary = _React$Children$toArr2[0],\n children = _React$Children$toArr2.slice(1);\n\n var contextValue = React.useMemo(function () {\n return {\n expanded: expanded,\n disabled: disabled,\n toggle: handleChange\n };\n }, [expanded, disabled, handleChange]);\n return /*#__PURE__*/React.createElement(Paper, _extends({\n className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square && classes.rounded),\n ref: ref,\n square: square\n }, other), /*#__PURE__*/React.createElement(ExpansionPanelContext.Provider, {\n value: contextValue\n }, summary), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: expanded,\n timeout: \"auto\"\n }, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n \"aria-labelledby\": summary.props.id,\n id: summary.props['aria-controls'],\n role: \"region\"\n }, children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the expansion panel.\n */\n children: chainPropTypes(PropTypes.node.isRequired, function (props) {\n var summary = React.Children.toArray(props.children)[0];\n\n if (isFragment(summary)) {\n return new Error(\"Material-UI: The ExpansionPanel doesn't accept a Fragment as a child. \" + 'Consider providing an array instead.');\n }\n\n if (!React.isValidElement(summary)) {\n return new Error('Material-UI: Expected the first child of ExpansionPanel to be a valid element.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, expands the panel by default.\n */\n defaultExpanded: PropTypes.bool,\n\n /**\n * If `true`, the panel will be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, expands the panel, otherwise collapse it.\n * Setting this prop enables control over the panel.\n */\n expanded: PropTypes.bool,\n\n /**\n * Callback fired when the expand/collapse state is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {boolean} expanded The `expanded` state of the panel.\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, rounded corners are disabled.\n */\n square: PropTypes.bool,\n\n /**\n * The component used for the collapse effect.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanel'\n})(ExpansionPanel);","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import React from 'react';\r\n\r\n/**\r\n * React context for the ExpansionPanel family\r\n */\r\nexport default React.createContext({ disabled: false });","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanel } from '@material-ui/core/ExpansionPanel';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\nimport { getSpacingOptions, spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing40, spacing50 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _separated;\r\n\r\n return {\r\n root: {\r\n\r\n '&$expanded$nogap': {\r\n marginTop: 0,\r\n marginBottom: 0,\r\n '&:before': {\r\n opacity: 1\r\n }\r\n },\r\n\r\n '&$expanded$nogap + &': {\r\n '&:before': {\r\n display: 'block'\r\n }\r\n },\r\n\r\n '&$expanded&$separated': _defineProperty({\r\n margin: spacing40 + ' 0'\r\n }, theme.breakpoints.up('md'), {\r\n margin: spacing50 + ' 0'\r\n }),\r\n\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n\r\n card: {\r\n boxShadow: '\\n 0 2px 1px -1px rgba(0, 0, 0, 0.12),\\n 0 1px 1px 0 rgba(0, 0, 0, 0.14),\\n 0 1px 3px 0 rgba(0, 0, 0, 0.21)\\n '\r\n },\r\n\r\n default: {\r\n boxShadow: '\\n 0 19px 20px 0 rgba(0, 0, 0, 0.03),\\n 0 3px 8px 0 rgba(0, 0, 0, 0.06)\\n '\r\n },\r\n\r\n disabled: {},\r\n expanded: {},\r\n separated: (_separated = {\r\n\r\n margin: spacing40 + ' 0'\r\n }, _defineProperty(_separated, theme.breakpoints.up('md'), {\r\n margin: spacing50 + ' 0'\r\n }), _defineProperty(_separated, '& + &', {\r\n '&:before': {\r\n opacity: 0\r\n }\r\n }), _separated),\r\n nogap: {},\r\n none: {}\r\n };\r\n};\r\n\r\n/**\r\n * Use `ExpansionPanel` to organize content into expandable and collapsible sections.\r\n *\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.13\r\n * @examples\r\n * ExpansionPanelSimple\r\n * ExpansionPanelCard\r\n * ExpansionPanelControlledAccordion\r\n * ExpansionPanelLeftIcon\r\n * ExpansionPanelSecondary\r\n */\r\nvar ExpansionPanel = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n panelSpacingVariant = props.panelSpacingVariant,\r\n variant = props.variant,\r\n spacingOptions = props.spacingOptions,\r\n CollapseProps = props.CollapseProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'panelSpacingVariant', 'variant', 'spacingOptions', 'CollapseProps']);\r\n\r\n var spacingOptionsLocal = getSpacingOptions(spacingOptions);\r\n\r\n var classOverrides = {};\r\n classOverrides.root = classNames(classes.root, _defineProperty({}, classes.nogap, panelSpacingVariant !== 'separated'), _defineProperty({}, classes.separated, panelSpacingVariant === 'separated'), _defineProperty({}, classes.card, variant === 'card'), _defineProperty({}, classes.default, variant === 'default'), _defineProperty({}, classes.none, spacingOptionsLocal.spacing === spacingVariant.NONE));\r\n\r\n classOverrides.expanded = classes.expanded;\r\n\r\n return React.createElement(\r\n ExpansionPanelContext.Provider,\r\n { value: {\r\n disabled: props.disabled,\r\n spacingOptions: spacingOptionsLocal\r\n } },\r\n React.createElement(MuiExpansionPanel, Object.assign({\r\n TransitionProps: CollapseProps\r\n }, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }))\r\n );\r\n});\r\n\r\nExpansionPanel.muiName = 'ExpansionPanel';\r\nExpansionPanel.displayName = 'ExpansionPanel';\r\n\r\nExpansionPanel.propTypes = {\r\n /**\r\n * The content of the expansion panel.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Properties applied to the `Collapse` element.\r\n */\r\n CollapseProps: PropTypes.object,\r\n /**\r\n * If `true`, expands the panel by default.\r\n */\r\n defaultExpanded: PropTypes.bool,\r\n /**\r\n * If `true`, the panel will be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, expands the panel, otherwise collapse it.\r\n * Setting this prop enables control over the panel.\r\n */\r\n expanded: PropTypes.bool,\r\n\r\n /**\r\n * Determines the spacing between panels in a group of expansion panels.\r\n *\r\n * * none - No separation between panels (the default)\r\n * * separated - Each panel is separated from its siblings\r\n */\r\n panelSpacingVariant: PropTypes.oneOf(['none', 'separated']),\r\n\r\n /**\r\n * Callback fired when the expand/collapse state is changed.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {boolean} expanded The `expanded` state of the panel\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Styles the ExpansionPanel for the context it is on, either 'default' or 'card'.\r\n */\r\n variant: PropTypes.oneOf(['default', 'card']),\r\n /**\r\n * Override gloabal spacing options.\r\n * Available options are:\r\n * * `spacing: 'standard' | 'none'`\r\n * * Controls the padding around the `ExpansionPanel` as a whole, and between the elements of the expansion panel\r\n * * `responsive: true | false`\r\n * * Adjusts spacing automatically on desktop, tablet and mobile viewports\r\n * * `outerSpacing: true | false`\r\n * * Removes the padding around the `ExpansionPanel`\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.string,\r\n responsive: PropTypes.bool,\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nExpansionPanel.defaultProps = {\r\n variant: 'default',\r\n panelSpacingVariant: 'none',\r\n defaultExpanded: false,\r\n disabled: false\r\n};\r\n\r\nexport default withStyles(styles)(ExpansionPanel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8,\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar ExpansionPanelActions = React.forwardRef(function ExpansionPanelActions(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disableSpacing\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanelActions.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanelActions'\n})(ExpansionPanelActions);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanelActions } from '@material-ui/core/ExpansionPanelActions';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing40, spacing50 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n padding: spacing40 + ' ' + spacing40 + ' ' + spacing40\r\n }, theme.breakpoints.up('lg'), {\r\n padding: spacing50 + ' ' + spacing50 + ' ' + spacing50\r\n }),\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ExpansionPanelActions = React.forwardRef(function (props, ref) {\r\n var _useContext = useContext(ExpansionPanelContext),\r\n spacing = _useContext.spacingOptions.spacing;\r\n\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.none, spacing === spacingVariant.NONE))\r\n };\r\n\r\n return React.createElement(MuiExpansionPanelActions, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nExpansionPanelActions.muiName = 'ExpansionPanelActions';\r\nExpansionPanelActions.displayName = 'ExpansionPanelActions';\r\n\r\nExpansionPanelActions.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ExpansionPanelActions.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ExpansionPanelActions);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n padding: theme.spacing(1, 2, 2)\n }\n };\n};\nvar ExpansionPanelDetails = React.forwardRef(function ExpansionPanelDetails(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanelDetails.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the expansion panel details.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanelDetails'\n})(ExpansionPanelDetails);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanelDetails } from '@material-ui/core/ExpansionPanelDetails';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing20, spacing30, spacing40, spacing50 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n padding: spacing20 + ' ' + spacing40 + ' ' + spacing40\r\n }, theme.breakpoints.up('lg'), {\r\n padding: spacing30 + ' ' + spacing50 + ' ' + spacing50\r\n }),\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ExpansionPanelDetails = React.forwardRef(function (props, ref) {\r\n var _useContext = useContext(ExpansionPanelContext),\r\n spacing = _useContext.spacingOptions.spacing;\r\n\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.none, spacing === spacingVariant.NONE))\r\n };\r\n\r\n return React.createElement(MuiExpansionPanelDetails, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nExpansionPanelDetails.muiName = 'ExpansionPanelDetails';\r\nExpansionPanelDetails.displayName = 'ExpansionPanelDetails';\r\n\r\nExpansionPanelDetails.propTypes = {\r\n /**\r\n * The content of the expansion panel details.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ExpansionPanelDetails.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ExpansionPanelDetails);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ButtonBase from '../ButtonBase';\nimport IconButton from '../IconButton';\nimport withStyles from '../styles/withStyles';\nimport ExpansionPanelContext from '../ExpansionPanel/ExpansionPanelContext';\nexport var styles = function styles(theme) {\n var transition = {\n duration: theme.transitions.duration.shortest\n };\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n minHeight: 8 * 6,\n transition: theme.transitions.create(['min-height', 'background-color'], transition),\n padding: theme.spacing(0, 2),\n '&:hover:not($disabled)': {\n cursor: 'pointer'\n },\n '&$expanded': {\n minHeight: 64\n },\n '&$focused': {\n backgroundColor: theme.palette.action.focus\n },\n '&$disabled': {\n opacity: theme.palette.action.disabledOpacity\n }\n },\n\n /* Pseudo-class applied to the root element, children wrapper element and `IconButton` component if `expanded={true}`. */\n expanded: {},\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the children wrapper element. */\n content: {\n display: 'flex',\n flexGrow: 1,\n transition: theme.transitions.create(['margin'], transition),\n margin: '12px 0',\n '&$expanded': {\n margin: '20px 0'\n }\n },\n\n /* Styles applied to the `IconButton` component when `expandIcon` is supplied. */\n expandIcon: {\n transform: 'rotate(0deg)',\n transition: theme.transitions.create('transform', transition),\n '&:hover': {\n // Disable the hover effect for the IconButton,\n // because a hover effect should apply to the entire Expand button and\n // not only to the IconButton.\n backgroundColor: 'transparent'\n },\n '&$expanded': {\n transform: 'rotate(180deg)'\n }\n }\n };\n};\nvar ExpansionPanelSummary = React.forwardRef(function ExpansionPanelSummary(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n expandIcon = props.expandIcon,\n IconButtonProps = props.IconButtonProps,\n onBlur = props.onBlur,\n onClick = props.onClick,\n onFocusVisible = props.onFocusVisible,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"expandIcon\", \"IconButtonProps\", \"onBlur\", \"onClick\", \"onFocusVisible\"]);\n\n var _React$useState = React.useState(false),\n focusedState = _React$useState[0],\n setFocusedState = _React$useState[1];\n\n var handleFocusVisible = function handleFocusVisible(event) {\n setFocusedState(true);\n\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n setFocusedState(false);\n\n if (onBlur) {\n onBlur(event);\n }\n };\n\n var _React$useContext = React.useContext(ExpansionPanelContext),\n _React$useContext$dis = _React$useContext.disabled,\n disabled = _React$useContext$dis === void 0 ? false : _React$useContext$dis,\n expanded = _React$useContext.expanded,\n toggle = _React$useContext.toggle;\n\n var handleChange = function handleChange(event) {\n if (toggle) {\n toggle(event);\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: false,\n disableRipple: true,\n disabled: disabled,\n component: \"div\",\n \"aria-expanded\": expanded,\n className: clsx(classes.root, className, disabled && classes.disabled, expanded && classes.expanded, focusedState && classes.focused),\n onFocusVisible: handleFocusVisible,\n onBlur: handleBlur,\n onClick: handleChange,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.content, expanded && classes.expanded)\n }, children), expandIcon && /*#__PURE__*/React.createElement(IconButton, _extends({\n className: clsx(classes.expandIcon, expanded && classes.expanded),\n edge: \"end\",\n component: \"div\",\n tabIndex: null,\n role: null,\n \"aria-hidden\": true\n }, IconButtonProps), expandIcon));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanelSummary.propTypes = {\n /**\n * The content of the expansion panel summary.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The icon to display as the expand indicator.\n */\n expandIcon: PropTypes.node,\n\n /**\n * Props applied to the `IconButton` element wrapping the expand icon.\n */\n IconButtonProps: PropTypes.object,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocusVisible: PropTypes.func\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanelSummary'\n})(ExpansionPanelSummary);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanelSummary } from '@material-ui/core/ExpansionPanelSummary';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\n\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing20, spacingInsetShort30, spacing40, colorBrandNeutral100, colorBrandNeutral400, colorBrandNeutral500, colorTextPrimary, fontSizeLarge, boxShadowFocusInset } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n padding: 0,\r\n color: colorTextPrimary,\r\n outline: 'none',\r\n minHeight: 'auto',\r\n '&$focused': {\r\n backgroundColor: 'transparent'\r\n },\r\n '&$disabled': {\r\n opacity: 1\r\n },\r\n '&$expanded': {\r\n minHeight: 'auto',\r\n margin: 0,\r\n '& $content': {\r\n margin: 0\r\n }\r\n }\r\n },\r\n expanded: {},\r\n disabled: {\r\n color: colorBrandNeutral400,\r\n backgroundColor: colorBrandNeutral100\r\n },\r\n focused: {\r\n boxShadow: boxShadowFocusInset,\r\n outline: 'none'\r\n },\r\n iconButtonRoot: {\r\n fontSize: fontSizeLarge,\r\n '&$disabled': {\r\n color: colorBrandNeutral400\r\n }\r\n },\r\n content: {\r\n margin: 0\r\n },\r\n leftIconDisplay: {\r\n flexDirection: 'row-reverse'\r\n },\r\n expandIcon: {\r\n marginRight: 'auto',\r\n marginLeft: '-0.75rem'\r\n },\r\n standard: _defineProperty({\r\n padding: spacing20 + ' ' + spacing40\r\n }, theme.breakpoints.up('lg'), {\r\n padding: spacingInsetShort30\r\n }),\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ExpansionPanelSummary = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n leftIconDisplay = props.leftIconDisplay,\r\n expandIconProps = props.expandIconProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'leftIconDisplay', 'expandIconProps']);\r\n\r\n var _useContext = useContext(ExpansionPanelContext),\r\n disabled = _useContext.disabled,\r\n spacingOptions = _useContext.spacingOptions;\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.leftIconDisplay, leftIconDisplay), _defineProperty({}, classes.standard, spacingOptions.spacing === spacingVariant.STANDARD), _defineProperty({}, classes.none, spacingOptions.spacing === spacingVariant.NONE)),\r\n disabled: classes.disabled,\r\n focused: classes.focused,\r\n content: classes.content,\r\n expanded: classes.expanded\r\n };\r\n\r\n if (leftIconDisplay) {\r\n classOverrides.expandIcon = classNames(classes.expandIcon, 'eds-expansion-panel-icon-left-position');\r\n }\r\n\r\n return React.createElement(MuiExpansionPanelSummary, Object.assign({\r\n expandIcon: React.createElement(ChevronDown, Object.assign({ fill: disabled ? colorBrandNeutral400 : colorBrandNeutral500\r\n }, expandIconProps)),\r\n IconButtonProps: { disabled: disabled, classes: { root: classes.iconButtonRoot } },\r\n classes: classOverrides,\r\n ref: ref\r\n }, rest));\r\n});\r\n\r\nExpansionPanelSummary.muiName = 'ExpansionPanelSummary';\r\nExpansionPanelSummary.displayName = 'ExpansionPanelSummary';\r\n\r\nExpansionPanelSummary.propTypes = {\r\n /**\r\n * The content of the expansion panel summary.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Properties applied to the icon element.\r\n */\r\n expandIconProps: PropTypes.object,\r\n /**\r\n * Displays the expandIcon on the left side of the ExpansionPanel.\r\n */\r\n leftIconDisplay: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func\r\n};\r\n\r\nExpansionPanelSummary.defaultProps = {\r\n leftIconDisplay: false\r\n};\r\n\r\nexport default withStyles(styles)(ExpansionPanelSummary);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar TableContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n TableContext.displayName = 'TableContext';\n}\n\nexport default TableContext;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport TableContext from './TableContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'table',\n width: '100%',\n borderCollapse: 'collapse',\n borderSpacing: 0,\n '& caption': _extends(_extends({}, theme.typography.body2), {}, {\n padding: theme.spacing(2),\n color: theme.palette.text.secondary,\n textAlign: 'left',\n captionSide: 'bottom'\n })\n },\n\n /* Styles applied to the root element if `stickyHeader={true}`. */\n stickyHeader: {\n borderCollapse: 'separate'\n }\n };\n};\nvar defaultComponent = 'table';\nvar Table = React.forwardRef(function Table(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n _props$padding = props.padding,\n padding = _props$padding === void 0 ? 'default' : _props$padding,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n _props$stickyHeader = props.stickyHeader,\n stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"padding\", \"size\", \"stickyHeader\"]);\n\n var table = React.useMemo(function () {\n return {\n padding: padding,\n size: size,\n stickyHeader: stickyHeader\n };\n }, [padding, size, stickyHeader]);\n return /*#__PURE__*/React.createElement(TableContext.Provider, {\n value: table\n }, /*#__PURE__*/React.createElement(Component, _extends({\n role: Component === defaultComponent ? null : 'table',\n ref: ref,\n className: clsx(classes.root, className, stickyHeader && classes.stickyHeader)\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? Table.propTypes = {\n /**\n * The content of the table, normally `TableHead` and `TableBody`.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Allows TableCells to inherit padding of the Table.\n */\n padding: PropTypes.oneOf(['default', 'checkbox', 'none']),\n\n /**\n * Allows TableCells to inherit size of the Table.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * Set the header sticky.\n *\n * ⚠️ It doesn't work with IE 11.\n */\n stickyHeader: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTable'\n})(Table);","var _expansionPanelStyles;\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTable } from '@material-ui/core/Table';\r\n\r\nimport { borderWidthThin, colorBrandNeutral300, colorBrandNeutral500, colorBrandNeutral600, fontSizeDefault, spacing30, spacing50, spacing80, spacing40, widthFluid } from '../styles/tokens';\r\n\r\nvar defaultResponsiveStyles = {\r\n border: 0,\r\n position: 'relative',\r\n '& thead': {\r\n // `display: 'none'` will not be read by screen readers\r\n // hence hiding it through visibility property.\r\n border: 'none',\r\n clip: 'rect(0 0 0 0)',\r\n height: borderWidthThin,\r\n margin: borderWidthThin,\r\n overflow: 'hidden',\r\n padding: 0,\r\n position: 'absolute',\r\n width: borderWidthThin\r\n },\r\n '& tbody tr': {\r\n display: 'flex',\r\n flexWrap: 'wrap',\r\n height: 'auto',\r\n marginBottom: spacing50,\r\n borderBottom: borderWidthThin + ' solid ' + colorBrandNeutral300,\r\n paddingBottom: spacing50,\r\n position: 'relative'\r\n },\r\n '& tbody td:before, & tbody th:before': {\r\n content: 'attr(data-label)',\r\n fontWeight: 'bold',\r\n whiteSpace: 'normal',\r\n wordBreak: 'break-word',\r\n left: 0,\r\n color: colorBrandNeutral600,\r\n float: 'left',\r\n width: '6rem',\r\n minWidth: '6rem',\r\n marginRight: spacing50\r\n },\r\n '& tbody td, & tbody th': {\r\n borderBottom: 'none',\r\n fontSize: fontSizeDefault,\r\n textAlign: 'left',\r\n width: widthFluid,\r\n padding: spacing30 + ' 0',\r\n color: colorBrandNeutral500,\r\n display: 'block'\r\n },\r\n '& tbody td > *, & tbody th > *': {\r\n display: 'flex'\r\n }\r\n};\r\n\r\nvar expansionPanelStyles = (_expansionPanelStyles = {\r\n '& tbody tr': {\r\n padding: spacing30 + ' !important',\r\n paddingRight: spacing80 + ' !important',\r\n marginBottom: '0 !important',\r\n borderColor: 'transparent'\r\n },\r\n '& tbody tr td, & tbody tr th': {\r\n wordBreak: 'break-all'\r\n }\r\n}, _defineProperty(_expansionPanelStyles, '& thead th:last-child,\\n & tbody td:last-child,\\n & tbody th:last-child', {\r\n // On mobile should be always visible\r\n display: 'inherit !important'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody td:not(:first-child), & tbody th:not(:first-child)', {\r\n display: 'none'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded td:not(:first-child),\\n & tbody tr.table-row-expanded th:not(:first-child),\\n & tbody td.no-expanded-row-content button,\\n & tbody th.no-expanded-row-content span', {\r\n display: 'inherit'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr td.expand-row-button', {\r\n position: 'absolute',\r\n width: 'auto',\r\n top: 0,\r\n right: 0,\r\n paddingRight: spacing40\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content', {\r\n paddingRight: spacing50\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content td,\\n & tbody tr.table-row-expanded-content th', {\r\n wordBreak: 'break-word',\r\n paddingRight: 0\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content td:before,\\n & tbody tr.table-row-expanded-content th:before', {\r\n display: 'none'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content td > *,\\n & tbody tr.table-row-expanded-content th > *', {\r\n display: 'inline-block'\r\n}), _expansionPanelStyles);\r\n\r\nvar generateResponsiveBreakpoints = function generateResponsiveBreakpoints(breakpoints) {\r\n var styles = {};\r\n\r\n // Create responsive styles for each breakpoint\r\n // When responsive='xl', it will always show\r\n breakpoints.keys.forEach(function (breakpoint) {\r\n var _styles;\r\n\r\n styles['responsive_' + breakpoint] = (_styles = {\r\n width: 'calc(100% - 0.8rem)'\r\n }, _defineProperty(_styles, '& tbody td.no-expanded-row-content button,\\n & tbody th.no-expanded-row-content span', {\r\n display: 'none'\r\n }), _defineProperty(_styles, '&$responsive', _defineProperty({}, breakpoints.down(breakpoint), Object.assign({}, defaultResponsiveStyles))), _defineProperty(_styles, '&$expansionPanels', _defineProperty({}, breakpoints.down(breakpoint), Object.assign({}, expansionPanelStyles))), _styles);\r\n });\r\n\r\n return styles;\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return Object.assign({\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {},\r\n responsive: _defineProperty({\r\n width: 'calc(100% - 0.8rem)'\r\n }, '& tbody td.no-expanded-row-content button,\\n & tbody th.no-expanded-row-content span', {\r\n display: 'none'\r\n }),\r\n expansionPanels: {}\r\n }, generateResponsiveBreakpoints(theme.breakpoints));\r\n};\r\n\r\n/**\r\n * Use `Table` to display sets of data within a grid.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n TableExample\r\n TableWithPagination\r\n AnytimeEditableTableExample\r\n ResponsiveTableExample\r\n ResponsiveTableExpansionPanels\r\n ResponsiveTableExpansionAll\r\n */\r\nvar Table = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n onExpand = props.onExpand,\r\n onClick = props.onClick,\r\n layoutProp = props.layout,\r\n rest = _objectWithoutProperties(props, ['classes', 'onExpand', 'onClick', 'layout']);\r\n\r\n var layout = Object.assign({\r\n // declare default values to compare if consumer sent in a prop or not, but hide from prop API\r\n variant: '',\r\n breakpoint: ''\r\n }, layoutProp);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.responsive, layoutProp), _defineProperty(_classNames, classes.responsive_xs, layout.breakpoint === 'xs'), _defineProperty(_classNames, classes.responsive_sm, layout.breakpoint === 'sm'), _defineProperty(_classNames, classes.responsive_md, layout.breakpoint === 'md'), _defineProperty(_classNames, classes.responsive_lg, layout.breakpoint === 'lg'), _defineProperty(_classNames, classes.responsive_xl, layout.variant !== '' && layout.breakpoint === ''), _defineProperty(_classNames, classes.expansionPanels, layout.variant === 'expansionPanels'), _classNames))\r\n };\r\n\r\n var callback = function callback(e) {\r\n var targetClassList = e.target.classList;\r\n var isTargetExpandButton = targetClassList ? targetClassList.contains('expand-icon-container') || targetClassList.contains('expand-icon') : false;\r\n\r\n if (isTargetExpandButton && onExpand) {\r\n var _target = e.currentTarget;\r\n\r\n // NOTE: The code coverage tool is not counting statements within `setTimeout()` for some reason.\r\n // Ignoring this for a while until we find a solution.\r\n // However, this block is always executed when expand all is clicked for which I have added UTs\r\n // TODO: Find how to get around `setTimeout()` for code coverage\r\n /* istanbul ignore next */\r\n // Break out of execution stack.\r\n setTimeout(function () {\r\n var rowsExpanded = _target.querySelectorAll('.table-row-expanded');\r\n var rowsNotExpanded = _target.querySelectorAll('.not-table-row-expanded');\r\n var rows = _target.querySelectorAll('.table-expandable-row');\r\n\r\n if (rowsExpanded.length === rows.length) {\r\n onExpand(e, true);\r\n } else if (rowsNotExpanded.length === rows.length) {\r\n onExpand(e, false);\r\n }\r\n });\r\n }\r\n\r\n onClick && onClick(e);\r\n };\r\n\r\n return React.createElement(MuiTable, Object.assign({}, rest, { onClick: callback, classes: classOverrides, ref: ref }));\r\n});\r\n\r\nTable.muiName = 'Table';\r\nTable.displayName = 'Table';\r\n\r\nTable.propTypes = {\r\n /**\r\n * The content of the table, normally `TableHeader` and `TableBody`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to be applied to the `Table` container.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Specify the cell size\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n /**\r\n * Set the responsive layout `variant` and the `breakpoint` to trigger the responsive layout of the table.\r\n *\r\n * The shape of this prop is `{ variant: ['card', 'expansionPanels'], breakpoint: ['xs', 'sm', 'md', 'lg'] }`.\r\n *\r\n * If you do not specify a `breakpoint`, then the table will always show the given responsive layout variant.\r\n *\r\n * e.g.\r\n *\r\n * - `{ variant: 'card', breakpoint: 'sm' }` will result in the table rendering in the default table layout for viewports\r\n * greater than or equal to `sm` (960px) and the 'card' responsive layout when the viewport is smaller than `sm`.\r\n * - `{ variant: 'expansionPanels' }` will result in the table always showing the responsive expansion panel layout\r\n */\r\n layout: PropTypes.shape({\r\n variant: PropTypes.string,\r\n breakpoint: PropTypes.oneOf(['xs', 'sm', 'md', 'lg'])\r\n }),\r\n /**\r\n * Callback to toggle the boolean value\r\n */\r\n onExpand: PropTypes.func,\r\n /**\r\n * Callback triggered when expand all is clicked.\r\n */\r\n onClick: PropTypes.func\r\n};\r\n\r\n// default props\r\nTable.defaultProps = {\r\n size: 'medium'\r\n};\r\n\r\nexport default withStyles(styles)(Table);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar Tablelvl2Context = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-header-group'\n }\n};\nvar tablelvl2 = {\n variant: 'head'\n};\nvar defaultComponent = 'thead';\nvar TableHead = React.forwardRef(function TableHead(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableHead.propTypes = {\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableHead'\n})(TableHead);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableHead } from '@material-ui/core/TableHead';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {\r\n lineHeight: 1.5,\r\n fontWeight: 400\r\n }\r\n};\r\n\r\n/**\r\n * Table header\r\n */\r\nvar TableHead = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableHead, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableHead.muiName = 'TableHead';\r\nTableHead.displayName = 'TableHead';\r\n\r\nTableHead.propTypes = {\r\n /**\r\n * The content of the table head, normally `TableRow`\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object])\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTableHead.defaultProps = {\r\n component: 'thead'\r\n};\r\n\r\nexport default withStyles(styles)(TableHead);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport { darken, fade, lighten } from '../styles/colorManipulator';\nimport TableContext from '../Table/TableContext';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body2), {}, {\n display: 'table-cell',\n verticalAlign: 'inherit',\n // Workaround for a rendering bug with spanned columns in Chrome 62.0.\n // Removes the alpha (sets it to 1), and lightens or darkens the theme color.\n borderBottom: \"1px solid\\n \".concat(theme.palette.type === 'light' ? lighten(fade(theme.palette.divider, 1), 0.88) : darken(fade(theme.palette.divider, 1), 0.68)),\n textAlign: 'left',\n padding: 16\n }),\n\n /* Styles applied to the root element if `variant=\"head\"` or `context.table.head`. */\n head: {\n color: theme.palette.text.primary,\n lineHeight: theme.typography.pxToRem(24),\n fontWeight: theme.typography.fontWeightMedium\n },\n\n /* Styles applied to the root element if `variant=\"body\"` or `context.table.body`. */\n body: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `variant=\"footer\"` or `context.table.footer`. */\n footer: {\n color: theme.palette.text.secondary,\n lineHeight: theme.typography.pxToRem(21),\n fontSize: theme.typography.pxToRem(12)\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: '6px 24px 6px 16px',\n '&:last-child': {\n paddingRight: 16\n },\n '&$paddingCheckbox': {\n width: 24,\n // prevent the checkbox column from growing\n padding: '0px 12px 0 16px',\n '&:last-child': {\n paddingLeft: 12,\n paddingRight: 16\n },\n '& > *': {\n padding: 0\n }\n }\n },\n\n /* Styles applied to the root element if `padding=\"checkbox\"`. */\n paddingCheckbox: {\n width: 48,\n // prevent the checkbox column from growing\n padding: '0 0 0 4px',\n '&:last-child': {\n paddingLeft: 0,\n paddingRight: 4\n }\n },\n\n /* Styles applied to the root element if `padding=\"none\"`. */\n paddingNone: {\n padding: 0,\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right',\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `context.table.stickyHeader={true}`. */\n stickyHeader: {\n position: 'sticky',\n top: 0,\n left: 0,\n zIndex: 2,\n backgroundColor: theme.palette.background.default\n }\n };\n};\n/**\n * The component renders a `` element when the parent context is a header\n * or otherwise a `` element.\n */\n\nvar TableCell = React.forwardRef(function TableCell(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n component = props.component,\n paddingProp = props.padding,\n scopeProp = props.scope,\n sizeProp = props.size,\n sortDirection = props.sortDirection,\n variantProp = props.variant,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"component\", \"padding\", \"scope\", \"size\", \"sortDirection\", \"variant\"]);\n\n var table = React.useContext(TableContext);\n var tablelvl2 = React.useContext(Tablelvl2Context);\n var isHeadCell = tablelvl2 && tablelvl2.variant === 'head';\n var role;\n var Component;\n\n if (component) {\n Component = component;\n role = isHeadCell ? 'columnheader' : 'cell';\n } else {\n Component = isHeadCell ? 'th' : 'td';\n }\n\n var scope = scopeProp;\n\n if (!scope && isHeadCell) {\n scope = 'col';\n }\n\n var padding = paddingProp || (table && table.padding ? table.padding : 'default');\n var size = sizeProp || (table && table.size ? table.size : 'medium');\n var variant = variantProp || tablelvl2 && tablelvl2.variant;\n var ariaSort = null;\n\n if (sortDirection) {\n ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, classes[variant], className, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], padding !== 'default' && classes[\"padding\".concat(capitalize(padding))], size !== 'medium' && classes[\"size\".concat(capitalize(size))], variant === 'head' && table && table.stickyHeader && classes.stickyHeader),\n \"aria-sort\": ariaSort,\n role: role,\n scope: scope\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableCell.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the text-align on the table cell content.\n *\n * Monetary or generally number fields **should be right aligned** as that allows\n * you to add them up quickly in your head without having to worry about decimals.\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n\n /**\n * The table cell contents.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Sets the padding applied to the cell.\n * By default, the Table parent component set the value (`default`).\n */\n padding: PropTypes.oneOf(['checkbox', 'default', 'none']),\n\n /**\n * Set scope attribute.\n */\n scope: PropTypes.string,\n\n /**\n * Specify the size of the cell.\n * By default, the Table parent component set the value (`medium`).\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * Set aria-sort direction.\n */\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\n\n /**\n * Specify the cell type.\n * By default, the TableHead, TableBody or TableFooter parent component set the value.\n */\n variant: PropTypes.oneOf(['body', 'footer', 'head'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableCell'\n})(TableCell);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableCell } from '@material-ui/core/TableCell';\r\n\r\nimport { lineHeightHeader3 } from '../styles/tokens';\r\n\r\nimport { fontSizeSmall, spacing20 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n paddingTop: spacing20,\r\n paddingBottom: spacing20\r\n },\r\n head: {\r\n color: theme.palette.grey[500],\r\n fontSize: fontSizeSmall,\r\n fontWeight: 500,\r\n lineHeight: lineHeightHeader3\r\n },\r\n paddingCheckbox: {\r\n paddingRight: 0,\r\n paddingLeft: spacing20\r\n },\r\n body: {}\r\n };\r\n};\r\n\r\n/**\r\n * Table cell\r\n */\r\nvar TableCell = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n columnName = props.columnName,\r\n rest = _objectWithoutProperties(props, ['classes', 'columnName']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n head: classes.head,\r\n body: classes.body,\r\n paddingCheckbox: classes.paddingCheckbox\r\n };\r\n\r\n return React.createElement(MuiTableCell, Object.assign({}, rest, {\r\n 'data-label': columnName || '',\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableCell.muiName = 'TableCell';\r\nTableCell.displayName = 'TableCell';\r\n\r\nTableCell.propTypes = {\r\n /**\r\n * Set the text-align on the table cell content. Monetary or generally number fields should\r\n * be right aligned as that allows you to add them up quickly in your head without having\r\n * to worry about decimals.\r\n */\r\n align: PropTypes.oneOf(['inherit', 'left', 'right', 'center', 'justify']),\r\n /**\r\n * The table cell contents\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Sets the padding applied to the cell.\r\n */\r\n padding: PropTypes.oneOf(['default', 'checkbox', 'none']),\r\n /**\r\n * Specify the size of the cell. By default, inherits `size` from the parent `Table`.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n /**\r\n * Set scope attribute.\r\n */\r\n scope: PropTypes.string,\r\n /**\r\n * Set aria-sort direction.\r\n */\r\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\r\n /**\r\n * Specify the cell type. By default, the `TableHead`, `TableBody` or `TableFooter` parent component set the value.\r\n */\r\n variant: PropTypes.oneOf(['head', 'body', 'footer']),\r\n /**\r\n * Set this if you want to render a responsive Table\r\n */\r\n columnName: PropTypes.string\r\n};\r\n\r\n// default props\r\nTableCell.defaultProps = {\r\n align: 'inherit',\r\n padding: 'default'\r\n};\r\n\r\nexport default withStyles(styles)(TableCell);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport { fade } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: 'inherit',\n display: 'table-row',\n verticalAlign: 'middle',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n '&$hover:hover': {\n backgroundColor: theme.palette.action.hover\n },\n '&$selected, &$selected:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.selectedOpacity)\n }\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {},\n\n /* Pseudo-class applied to the root element if `hover={true}`. */\n hover: {},\n\n /* Styles applied to the root element if table variant=\"head\". */\n head: {},\n\n /* Styles applied to the root element if table variant=\"footer\". */\n footer: {}\n };\n};\nvar defaultComponent = 'tr';\n/**\n * Will automatically set dynamic row height\n * based on the material table element parent (head, body, etc).\n */\n\nvar TableRow = React.forwardRef(function TableRow(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n _props$hover = props.hover,\n hover = _props$hover === void 0 ? false : _props$hover,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"hover\", \"selected\"]);\n\n var tablelvl2 = React.useContext(Tablelvl2Context);\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, className, tablelvl2 && {\n 'head': classes.head,\n 'footer': classes.footer\n }[tablelvl2.variant], hover && classes.hover, selected && classes.selected),\n role: Component === defaultComponent ? null : 'row'\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableRow.propTypes = {\n /**\n * Should be valid children such as `TableCell`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the table row will shade on hover.\n */\n hover: PropTypes.bool,\n\n /**\n * If `true`, the table row will have the selected shading.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableRow'\n})(TableRow);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport TableCell from '@material-ui/core/TableCell';\r\nimport TableRow from '@material-ui/core/TableRow';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport ChevronUp from '@ellucian/ds-icons/lib/ChevronUp';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport classnames from 'classnames';\r\nimport { spacing40, spacing50, spacing20, sizingSmall } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n height: '3rem'\r\n }, theme.breakpoints.down('sm'), {\r\n '&.table-row-expanded': {\r\n backgroundColor: theme.palette.grey[200]\r\n }\r\n }),\r\n tableRowExpandedBackground: {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n tableRowExpand: {\r\n padding: spacing40 + ' ' + spacing50\r\n },\r\n muiTableCellRoot: {\r\n '&:last-child': {\r\n paddingRight: spacing40,\r\n textAlign: 'right'\r\n }\r\n },\r\n iconSize: {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n },\r\n expandPadding: {\r\n paddingTop: spacing20,\r\n paddingBottom: spacing20\r\n }\r\n };\r\n};\r\n\r\nvar TableExpandableRow = function (_React$Component) {\r\n _inherits(TableExpandableRow, _React$Component);\r\n\r\n function TableExpandableRow(props) {\r\n _classCallCheck(this, TableExpandableRow);\r\n\r\n var _this = _possibleConstructorReturn(this, (TableExpandableRow.__proto__ || Object.getPrototypeOf(TableExpandableRow)).call(this, props));\r\n\r\n _this.toggleExpand = function (e) {\r\n if (e.type === 'keypress' && (e.key === 'Enter' || e.key === ' ')) {\r\n e.preventDefault();\r\n _this.updateState();\r\n } else if (e.type === 'click') {\r\n _this.updateState();\r\n }\r\n };\r\n\r\n _this.state = {\r\n expanded: false\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(TableExpandableRow, [{\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState) {\r\n var _this2 = this;\r\n\r\n if (this.props.expand !== prevProps.expand) {\r\n this.setState(function (state) {\r\n return { expanded: _this2.props.expand };\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'updateState',\r\n value: function updateState() {\r\n this.setState(function (state) {\r\n return {\r\n expanded: !state.expanded\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _classnames,\r\n _this3 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n children = _props.children,\r\n expandedRowClassName = _props.expandedRowClassName,\r\n expandedRowContent = _props.expandedRowContent,\r\n TableRowProps = _props.TableRowProps,\r\n ExpandedTableRowProps = _props.ExpandedTableRowProps,\r\n edsContext = _props.edsContext,\r\n expand = _props.expand,\r\n rest = _objectWithoutProperties(_props, ['classes', 'children', 'expandedRowClassName', 'expandedRowContent', 'TableRowProps', 'ExpandedTableRowProps', 'edsContext', 'expand']);\r\n\r\n var expanded = this.state.expanded;\r\n\r\n\r\n var expandLabel = expanded ? edsContext.formatMessage('component.Table.hide') : edsContext.formatMessage('component.Table.showMore');\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n TableRow,\r\n Object.assign({\r\n className: classnames(classes.root, (_classnames = {}, _defineProperty(_classnames, classes.tableRowExpandedBackground, expanded && expandedRowContent), _defineProperty(_classnames, 'table-row-expanded', expanded), _defineProperty(_classnames, 'not-table-row-expanded', !expanded && expandedRowContent), _defineProperty(_classnames, 'table-expandable-row', expandedRowContent), _classnames))\r\n }, TableRowProps, rest),\r\n children,\r\n React.createElement(\r\n TableCell,\r\n {\r\n className: classnames(classes.expandPadding, 'expand-row-button', { 'no-expanded-row-content': !expandedRowContent }),\r\n classes: { root: classes.muiTableCellRoot }\r\n },\r\n React.createElement(\r\n Tooltip,\r\n { title: expandLabel, placement: edsContext.dir === 'rtl' ? 'right' : 'left' },\r\n React.createElement(\r\n IconButton,\r\n {\r\n className: 'expand-icon-container',\r\n color: 'gray',\r\n 'aria-expanded': expanded,\r\n 'aria-label': expandLabel,\r\n onClick: function onClick(e) {\r\n return _this3.toggleExpand(e);\r\n },\r\n tabIndex: 0\r\n },\r\n expanded ? React.createElement(ChevronUp, { className: classnames(classes.iconSize, 'expand-icon') }) : React.createElement(ChevronDown, { className: classnames(classes.iconSize, 'expand-icon') })\r\n )\r\n )\r\n )\r\n ),\r\n expandedRowContent && expanded && React.createElement(\r\n TableRow,\r\n Object.assign({ className: classnames(classes.tableRowExpandedBackground, expandedRowClassName, 'table-row-expanded-content')\r\n }, ExpandedTableRowProps),\r\n React.createElement(\r\n TableCell,\r\n { className: classes.tableRowExpand, colSpan: children.length + 1 },\r\n expandedRowContent\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return TableExpandableRow;\r\n}(React.Component);\r\n\r\nTableExpandableRow.propTypes = {\r\n /**\r\n * Common children are the TableCells with information you want to show on the TableRow.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * This is the custom prop for developers to control the expand collapse.\r\n * Useful when you want to expand / collapse all section in one click.\r\n */\r\n expand: PropTypes.bool,\r\n /**\r\n * This is the actual content that should be shown when the TableExpandableRow is expanded.\r\n * When used for responsive table, you can choose not to supply any content.\r\n */\r\n expandedRowContent: PropTypes.node,\r\n /**\r\n * Custom string name to send to the TableRow that is shown when expanded.\r\n */\r\n expandedRowClassName: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Object of props to send to the TableRow with the toggle arrow.\r\n */\r\n TableRowProps: PropTypes.object,\r\n /**\r\n * Object of props to send to the TableRow that is shown when expanded.\r\n */\r\n ExpandedTableRowProps: PropTypes.object\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TableExpandableRow));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-footer-group'\n }\n};\nvar tablelvl2 = {\n variant: 'footer'\n};\nvar defaultComponent = 'tfoot';\nvar TableFooter = React.forwardRef(function TableFooter(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableFooter.propTypes = {\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableFooter'\n})(TableFooter);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableFooter } from '@material-ui/core/TableFooter';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * Table component for displaying table footers\r\n */\r\nvar TableFooter = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableFooter, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableFooter.muiName = 'TableFooter';\r\nTableFooter.displayName = 'TableFooter';\r\n\r\nTableFooter.propTypes = {\r\n /**\r\n * The content of the table head, normally `TableRow`\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object])\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTableFooter.defaultProps = {\r\n component: 'tfoot'\r\n};\r\n\r\nexport default withStyles(styles)(TableFooter);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableRow } from '@material-ui/core/TableRow';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {\r\n height: '3rem',\r\n '&$hover:hover': {\r\n backgroundColor: theme.palette.grey[250]\r\n }\r\n },\r\n hover: {}\r\n };\r\n};\r\n\r\n/**\r\n * Table component for displaying a row\r\n */\r\nvar TableRow = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root,\r\n hover: classes.hover\r\n };\r\n\r\n return React.createElement(MuiTableRow, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableRow.muiName = 'TableRow';\r\nTableRow.displayName = 'TableRow';\r\n\r\nTableRow.propTypes = {\r\n /**\r\n * Should be valid ``children such as `TableCell`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the table row will shade on hover.\r\n */\r\n hover: PropTypes.bool,\r\n /**\r\n * If `true`, the table row will have the selected shading.\r\n */\r\n selected: PropTypes.bool\r\n\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTableRow.defaultProps = {\r\n component: 'tr',\r\n hover: false,\r\n selected: false\r\n};\r\n\r\nexport default withStyles(styles)(TableRow);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-row-group'\n }\n};\nvar tablelvl2 = {\n variant: 'body'\n};\nvar defaultComponent = 'tbody';\nvar TableBody = React.forwardRef(function TableBody(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableBody.propTypes = {\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableBody'\n})(TableBody);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableBody } from '@material-ui/core/TableBody';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * The body of the table\r\n */\r\nvar TableBody = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableBody, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableBody.muiName = 'TableBody';\r\nTableBody.displayName = 'TableBody';\r\n\r\nTableBody.propTypes = {\r\n /**\r\n * The content of the component, normally `TableRow`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object])\r\n\r\n};\r\n\r\n// default props\r\nTableBody.defaultProps = {\r\n component: 'tbody'\r\n};\r\n\r\nexport default withStyles(styles)(TableBody);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"\n}), 'ArrowDownward');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'flex-start',\n flexDirection: 'inherit',\n alignItems: 'center',\n '&:focus': {\n color: theme.palette.text.secondary\n },\n '&:hover': {\n color: theme.palette.text.secondary,\n '& $icon': {\n opacity: 0.5\n }\n },\n '&$active': {\n color: theme.palette.text.primary,\n // && instead of & is a workaround for https://github.com/cssinjs/jss/issues/1045\n '&& $icon': {\n opacity: 1,\n color: theme.palette.text.secondary\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Styles applied to the icon component. */\n icon: {\n fontSize: 18,\n marginRight: 4,\n marginLeft: 4,\n opacity: 0,\n transition: theme.transitions.create(['opacity', 'transform'], {\n duration: theme.transitions.duration.shorter\n }),\n userSelect: 'none'\n },\n\n /* Styles applied to the icon component if `direction=\"desc\"`. */\n iconDirectionDesc: {\n transform: 'rotate(0deg)'\n },\n\n /* Styles applied to the icon component if `direction=\"asc\"`. */\n iconDirectionAsc: {\n transform: 'rotate(180deg)'\n }\n };\n};\n/**\n * A button based label for placing inside `TableCell` for column sorting.\n */\n\nvar TableSortLabel = React.forwardRef(function TableSortLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'asc' : _props$direction,\n _props$hideSortIcon = props.hideSortIcon,\n hideSortIcon = _props$hideSortIcon === void 0 ? false : _props$hideSortIcon,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDownwardIcon : _props$IconComponent,\n other = _objectWithoutProperties(props, [\"active\", \"children\", \"classes\", \"className\", \"direction\", \"hideSortIcon\", \"IconComponent\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, active && classes.active),\n component: \"span\",\n disableRipple: true,\n ref: ref\n }, other), children, hideSortIcon && !active ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"iconDirection\".concat(capitalize(direction))])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableSortLabel.propTypes = {\n /**\n * If `true`, the label will have the active styling (should be true for the sorted column).\n */\n active: PropTypes.bool,\n\n /**\n * Label contents, the arrow will be appended automatically.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The current sort direction.\n */\n direction: PropTypes.oneOf(['asc', 'desc']),\n\n /**\n * Hide sort icon when active is false.\n */\n hideSortIcon: PropTypes.bool,\n\n /**\n * Sort icon to use.\n */\n IconComponent: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableSortLabel'\n})(TableSortLabel);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableSortLabel } from '@material-ui/core/TableSortLabel';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * Table component for the label of a column sort\r\n */\r\nvar TableSortLabel = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableSortLabel, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableSortLabel.muiName = 'TableSortLabel';\r\n\r\nTableSortLabel.propTypes = {\r\n /**\r\n * If true, the table row will have the selected shading.\r\n */\r\n active: PropTypes.bool,\r\n /**\r\n * Label contents, the arrow will be appended automatically.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The current sort direction.\r\n */\r\n direction: PropTypes.oneOf(['asc', 'desc'])\r\n\r\n};\r\n\r\nTableSortLabel.displayName = 'TableSortLabel';\r\n\r\n// If default props are needed, they must be set here\r\nTableSortLabel.defaultProps = {\r\n active: false,\r\n direction: 'desc'\r\n};\r\n\r\nexport default withStyles(styles)(TableSortLabel);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport ChevronUp from '@ellucian/ds-icons/lib/ChevronUp';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport Edit from '@ellucian/ds-icons/lib/Edit';\r\nimport { Typography } from '../';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport { colorTextNeutral500, spacing40, sizingSmall, widthFluid } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n padding: spacing40\r\n },\r\n flex: {\r\n flexGrow: 1,\r\n color: colorTextNeutral500\r\n },\r\n footer: {\r\n display: 'flex',\r\n justifyContent: 'flex-end',\r\n width: widthFluid,\r\n alignItems: 'center'\r\n },\r\n footerLeft: {\r\n justifyContent: 'flex-start'\r\n },\r\n iconSize: {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * TableToolbar\r\n */\r\nvar TableToolbar = React.forwardRef(function (props, ref) {\r\n var _classnames;\r\n\r\n var classes = props.classes,\r\n caption = props.caption,\r\n showExpandAllToggle = props.showExpandAllToggle,\r\n showEditToggle = props.showEditToggle,\r\n children = props.children,\r\n expanded = props.expanded,\r\n onExpand = props.onExpand,\r\n onEdit = props.onEdit,\r\n location = props.location,\r\n footerAlignItems = props.footerAlignItems,\r\n showFooterToolbarOnEdit = props.showFooterToolbarOnEdit,\r\n edsContext = props.edsContext,\r\n TypographyProps = props.TypographyProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'caption', 'showExpandAllToggle', 'showEditToggle', 'children', 'expanded', 'onExpand', 'onEdit', 'location', 'footerAlignItems', 'showFooterToolbarOnEdit', 'edsContext', 'TypographyProps']);\r\n\r\n var showToolbar = location === 'footer' && showFooterToolbarOnEdit || location === 'header';\r\n\r\n var toggleExpand = function toggleExpand(e) {\r\n if (e.type === 'keypress' && (e.key === 'Enter' || e.key === ' ')) {\r\n e.preventDefault();\r\n onExpand(e);\r\n } else if (e.type === 'click') {\r\n onExpand(e);\r\n }\r\n };\r\n\r\n var toggleEdit = function toggleEdit(e) {\r\n if (e.type === 'keypress' && (e.key === 'Enter' || e.key === ' ')) {\r\n e.preventDefault();\r\n onEdit(e);\r\n } else if (e.type === 'click') {\r\n onEdit(e);\r\n }\r\n };\r\n\r\n var expandLabel = expanded ? edsContext.formatMessage('component.Table.hideAll') : edsContext.formatMessage('component.Table.showAll');\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n showToolbar && React.createElement(\r\n Toolbar,\r\n Object.assign({ className: classes.root }, rest, { ref: ref }),\r\n caption && React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h2', className: classes.flex }, TypographyProps),\r\n caption\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: classnames((_classnames = {}, _defineProperty(_classnames, classes.footer, location === 'footer'), _defineProperty(_classnames, classes.footerLeft, footerAlignItems === 'left'), _classnames)) },\r\n children,\r\n showEditToggle && React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Table.edit') },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n 'aria-expanded': expanded,\r\n 'aria-label': edsContext.formatMessage('component.Table.edit'),\r\n onClick: function onClick(e) {\r\n return toggleEdit(e);\r\n },\r\n tabIndex: 0\r\n },\r\n React.createElement(Edit, { className: classes.iconSize })\r\n )\r\n ),\r\n showExpandAllToggle && React.createElement(\r\n Tooltip,\r\n { title: expandLabel },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n 'aria-expanded': expanded,\r\n 'aria-label': expandLabel,\r\n onClick: function onClick(e) {\r\n return toggleExpand(e);\r\n },\r\n tabIndex: 0\r\n },\r\n expanded ? React.createElement(ChevronUp, { className: classes.iconSize }) : React.createElement(ChevronDown, { className: classes.iconSize })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n});\r\n\r\nTableToolbar.muiName = 'TableToolbar';\r\nTableToolbar.displayName = 'TableToolbar';\r\n\r\nTableToolbar.propTypes = {\r\n /**\r\n * The content of the table, normally `TableHeader` and `TableBody`.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to be applied to the Alert container.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Table caption or table title\r\n */\r\n caption: PropTypes.string,\r\n /**\r\n * Show expand all or collapse all icon for expansion panels on mobile or expandable rows.\r\n */\r\n showExpandAllToggle: PropTypes.bool,\r\n /**\r\n * Prop to toggle expand all.\r\n */\r\n expanded: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Callback to toggle the boolean value\r\n */\r\n onExpand: PropTypes.func,\r\n /**\r\n * Show editable toggle button to switch between edit and read-only table mode.\r\n */\r\n showEditToggle: PropTypes.bool,\r\n /**\r\n * Callback when edit toggle button is clicked\r\n */\r\n onEdit: PropTypes.func,\r\n /**\r\n * Align items for footer actions.\r\n */\r\n footerAlignItems: PropTypes.oneOf(['left', 'right']),\r\n /**\r\n * If you need to use actions along with table caption,\r\n * use `header` location. For action with footer, use `footer` location.\r\n * NOTE: Captions actions are always right aligned.\r\n * For footer actions, you can choose left or right.\r\n */\r\n location: PropTypes.oneOf(['header', 'footer']),\r\n /**\r\n * For footer, show the footer actions only when table is in edit mode.\r\n */\r\n showFooterToolbarOnEdit: PropTypes.bool,\r\n /**\r\n * Props that will be applied to the `Typography (caption)` element.\r\n */\r\n TypographyProps: PropTypes.object\r\n};\r\n\r\nTableToolbar.defaultProps = {\r\n showExpandAllToggle: false,\r\n showEditToggle: false,\r\n expanded: false,\r\n location: 'header',\r\n footerAlignItems: 'right'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TableToolbar));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableCell } from '@material-ui/core/TableCell';\r\nimport { colorBackgroundAlertError, spacing20 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n paddingTop: spacing20,\r\n paddingBottom: spacing20\r\n },\r\n head: {},\r\n body: {},\r\n error: {\r\n backgroundColor: colorBackgroundAlertError\r\n }\r\n};\r\n\r\n/**\r\n * Table cell\r\n */\r\nvar TableEditableCell = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n columnName = props.columnName,\r\n edit = props.edit,\r\n content = props.content,\r\n editableComponent = props.editableComponent,\r\n error = props.error,\r\n rest = _objectWithoutProperties(props, ['classes', 'columnName', 'edit', 'content', 'editableComponent', 'error']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n head: classes.head,\r\n body: classes.body\r\n };\r\n\r\n return React.createElement(\r\n MuiTableCell,\r\n Object.assign({}, rest, {\r\n 'data-label': columnName || '',\r\n classes: classOverrides,\r\n className: classnames(_defineProperty({}, classes.error, error)),\r\n ref: ref\r\n }),\r\n edit ? editableComponent : content\r\n );\r\n});\r\n\r\nTableEditableCell.muiName = 'TableEditableCell';\r\nTableEditableCell.displayName = 'TableEditableCell';\r\n\r\nTableEditableCell.propTypes = {\r\n /**\r\n * Set the text-align on the table cell content. Monetary or generally number fields should\r\n * be right aligned as that allows you to add them up quickly in your head without having\r\n * to worry about decimals.\r\n */\r\n align: PropTypes.oneOf(['inherit', 'left', 'right', 'center', 'justify']),\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Sets the padding applied to the cell.\r\n */\r\n padding: PropTypes.oneOf(['default', 'checkbox', 'dense', 'none']),\r\n /**\r\n * Set scope attribute.\r\n */\r\n scope: PropTypes.string,\r\n /**\r\n * Set aria-sort direction.\r\n */\r\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\r\n /**\r\n * Specify the cell type. By default, the `TableHead`, `TableBody` or `TableFooter` parent component set the value.\r\n */\r\n variant: PropTypes.oneOf(['head', 'body', 'footer']),\r\n /**\r\n * Set this if you want to render a responsive Table\r\n */\r\n columnName: PropTypes.string,\r\n /**\r\n * If true, the cells will turn to edit mode. Defaults to `true`\r\n */\r\n edit: PropTypes.bool,\r\n /**\r\n * Content to be shown when table is in read-only mode\r\n */\r\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.object]),\r\n /**\r\n * This will be rendered when table is in editable mode.\r\n */\r\n editableComponent: PropTypes.node.isRequired,\r\n /**\r\n * If true, the cell will be displayed in an error state.\r\n */\r\n error: PropTypes.bool\r\n};\r\n\r\n// default props\r\nTableEditableCell.defaultProps = {\r\n align: 'inherit',\r\n padding: 'default',\r\n edit: true\r\n};\r\n\r\nexport default withStyles(styles)(TableEditableCell);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';\nimport KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';\nimport useTheme from '../styles/useTheme';\nimport IconButton from '../IconButton';\n/**\n * @ignore - internal component.\n */\n\nvar _ref = /*#__PURE__*/React.createElement(KeyboardArrowRight, null);\n\nvar _ref2 = /*#__PURE__*/React.createElement(KeyboardArrowLeft, null);\n\nvar _ref3 = /*#__PURE__*/React.createElement(KeyboardArrowLeft, null);\n\nvar _ref4 = /*#__PURE__*/React.createElement(KeyboardArrowRight, null);\n\nvar TablePaginationActions = React.forwardRef(function TablePaginationActions(props, ref) {\n var backIconButtonProps = props.backIconButtonProps,\n count = props.count,\n nextIconButtonProps = props.nextIconButtonProps,\n onChangePage = props.onChangePage,\n page = props.page,\n rowsPerPage = props.rowsPerPage,\n other = _objectWithoutProperties(props, [\"backIconButtonProps\", \"count\", \"nextIconButtonProps\", \"onChangePage\", \"page\", \"rowsPerPage\"]);\n\n var theme = useTheme();\n\n var handleBackButtonClick = function handleBackButtonClick(event) {\n onChangePage(event, page - 1);\n };\n\n var handleNextButtonClick = function handleNextButtonClick(event) {\n onChangePage(event, page + 1);\n };\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref\n }, other), /*#__PURE__*/React.createElement(IconButton, _extends({\n onClick: handleBackButtonClick,\n disabled: page === 0,\n color: \"inherit\"\n }, backIconButtonProps), theme.direction === 'rtl' ? _ref : _ref2), /*#__PURE__*/React.createElement(IconButton, _extends({\n onClick: handleNextButtonClick,\n disabled: count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false,\n color: \"inherit\"\n }, nextIconButtonProps), theme.direction === 'rtl' ? _ref3 : _ref4));\n});\nprocess.env.NODE_ENV !== \"production\" ? TablePaginationActions.propTypes = {\n /**\n * Props applied to the back arrow [`IconButton`](/api/icon-button/) element.\n */\n backIconButtonProps: PropTypes.object,\n\n /**\n * The total number of rows.\n */\n count: PropTypes.number.isRequired,\n\n /**\n * Props applied to the next arrow [`IconButton`](/api/icon-button/) element.\n */\n nextIconButtonProps: PropTypes.object,\n\n /**\n * Callback fired when the page is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number} page The page selected.\n */\n onChangePage: PropTypes.func.isRequired,\n\n /**\n * The zero-based index of the current page.\n */\n page: PropTypes.number.isRequired,\n\n /**\n * The number of rows per page.\n */\n rowsPerPage: PropTypes.number.isRequired\n} : void 0;\nexport default TablePaginationActions;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes } from '@material-ui/utils';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport InputBase from '../InputBase';\nimport MenuItem from '../MenuItem';\nimport Select from '../Select';\nimport TableCell from '../TableCell';\nimport Toolbar from '../Toolbar';\nimport Typography from '../Typography';\nimport TablePaginationActions from './TablePaginationActions';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.primary,\n fontSize: theme.typography.pxToRem(14),\n overflow: 'auto',\n // Increase the specificity to override TableCell.\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the Toolbar component. */\n toolbar: {\n minHeight: 52,\n paddingRight: 2\n },\n\n /* Styles applied to the spacer element. */\n spacer: {\n flex: '1 1 100%'\n },\n\n /* Styles applied to the caption Typography components if `variant=\"caption\"`. */\n caption: {\n flexShrink: 0\n },\n // TODO v5: `.selectRoot` should be merged with `.input`\n\n /* Styles applied to the Select component root element. */\n selectRoot: {\n marginRight: 32,\n marginLeft: 8\n },\n\n /* Styles applied to the Select component `select` class. */\n select: {\n paddingLeft: 8,\n paddingRight: 24,\n textAlign: 'right',\n textAlignLast: 'right' // Align on Chrome.\n\n },\n // TODO v5: remove\n\n /* Styles applied to the Select component `icon` class. */\n selectIcon: {},\n\n /* Styles applied to the `InputBase` component. */\n input: {\n color: 'inherit',\n fontSize: 'inherit',\n flexShrink: 0\n },\n\n /* Styles applied to the MenuItem component. */\n menuItem: {},\n\n /* Styles applied to the internal `TablePaginationActions` component. */\n actions: {\n flexShrink: 0,\n marginLeft: 20\n }\n };\n};\n\nvar defaultLabelDisplayedRows = function defaultLabelDisplayedRows(_ref) {\n var from = _ref.from,\n to = _ref.to,\n count = _ref.count;\n return \"\".concat(from, \"-\").concat(to === -1 ? count : to, \" of \").concat(count !== -1 ? count : \"more than \".concat(to));\n};\n\nvar defaultRowsPerPageOptions = [10, 25, 50, 100];\n/**\n * A `TableCell` based component for placing inside `TableFooter` for pagination.\n */\n\nvar TablePagination = React.forwardRef(function TablePagination(props, ref) {\n var _props$ActionsCompone = props.ActionsComponent,\n ActionsComponent = _props$ActionsCompone === void 0 ? TablePaginationActions : _props$ActionsCompone,\n backIconButtonProps = props.backIconButtonProps,\n _props$backIconButton = props.backIconButtonText,\n backIconButtonText = _props$backIconButton === void 0 ? 'Previous page' : _props$backIconButton,\n classes = props.classes,\n className = props.className,\n colSpanProp = props.colSpan,\n _props$component = props.component,\n Component = _props$component === void 0 ? TableCell : _props$component,\n count = props.count,\n _props$labelDisplayed = props.labelDisplayedRows,\n labelDisplayedRows = _props$labelDisplayed === void 0 ? defaultLabelDisplayedRows : _props$labelDisplayed,\n _props$labelRowsPerPa = props.labelRowsPerPage,\n labelRowsPerPage = _props$labelRowsPerPa === void 0 ? 'Rows per page:' : _props$labelRowsPerPa,\n nextIconButtonProps = props.nextIconButtonProps,\n _props$nextIconButton = props.nextIconButtonText,\n nextIconButtonText = _props$nextIconButton === void 0 ? 'Next page' : _props$nextIconButton,\n onChangePage = props.onChangePage,\n onChangeRowsPerPage = props.onChangeRowsPerPage,\n page = props.page,\n rowsPerPage = props.rowsPerPage,\n _props$rowsPerPageOpt = props.rowsPerPageOptions,\n rowsPerPageOptions = _props$rowsPerPageOpt === void 0 ? defaultRowsPerPageOptions : _props$rowsPerPageOpt,\n _props$SelectProps = props.SelectProps,\n SelectProps = _props$SelectProps === void 0 ? {} : _props$SelectProps,\n other = _objectWithoutProperties(props, [\"ActionsComponent\", \"backIconButtonProps\", \"backIconButtonText\", \"classes\", \"className\", \"colSpan\", \"component\", \"count\", \"labelDisplayedRows\", \"labelRowsPerPage\", \"nextIconButtonProps\", \"nextIconButtonText\", \"onChangePage\", \"onChangeRowsPerPage\", \"page\", \"rowsPerPage\", \"rowsPerPageOptions\", \"SelectProps\"]);\n\n var colSpan;\n\n if (Component === TableCell || Component === 'td') {\n colSpan = colSpanProp || 1000; // col-span over everything\n }\n\n var MenuItemComponent = SelectProps.native ? 'option' : MenuItem;\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n colSpan: colSpan,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(Toolbar, {\n className: classes.toolbar\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classes.spacer\n }), rowsPerPageOptions.length > 1 && /*#__PURE__*/React.createElement(Typography, {\n color: \"inherit\",\n variant: \"body2\",\n className: classes.caption\n }, labelRowsPerPage), rowsPerPageOptions.length > 1 && /*#__PURE__*/React.createElement(Select, _extends({\n classes: {\n select: classes.select,\n icon: classes.selectIcon\n },\n input: /*#__PURE__*/React.createElement(InputBase, {\n className: clsx(classes.input, classes.selectRoot)\n }),\n value: rowsPerPage,\n onChange: onChangeRowsPerPage,\n inputProps: {\n 'aria-label': labelRowsPerPage\n }\n }, SelectProps), rowsPerPageOptions.map(function (rowsPerPageOption) {\n return /*#__PURE__*/React.createElement(MenuItemComponent, {\n className: classes.menuItem,\n key: rowsPerPageOption.value ? rowsPerPageOption.value : rowsPerPageOption,\n value: rowsPerPageOption.value ? rowsPerPageOption.value : rowsPerPageOption\n }, rowsPerPageOption.label ? rowsPerPageOption.label : rowsPerPageOption);\n })), /*#__PURE__*/React.createElement(Typography, {\n color: \"inherit\",\n variant: \"body2\",\n className: classes.caption\n }, labelDisplayedRows({\n from: count === 0 ? 0 : page * rowsPerPage + 1,\n to: count !== -1 ? Math.min(count, (page + 1) * rowsPerPage) : (page + 1) * rowsPerPage,\n count: count,\n page: page\n })), /*#__PURE__*/React.createElement(ActionsComponent, {\n className: classes.actions,\n backIconButtonProps: _extends({\n title: backIconButtonText,\n 'aria-label': backIconButtonText\n }, backIconButtonProps),\n count: count,\n nextIconButtonProps: _extends({\n title: nextIconButtonText,\n 'aria-label': nextIconButtonText\n }, nextIconButtonProps),\n onChangePage: onChangePage,\n page: page,\n rowsPerPage: rowsPerPage\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? TablePagination.propTypes = {\n /**\n * The component used for displaying the actions.\n * Either a string to use a HTML element or a component.\n */\n ActionsComponent: PropTypes.elementType,\n\n /**\n * Props applied to the back arrow [`IconButton`](/api/icon-button/) component.\n */\n backIconButtonProps: PropTypes.object,\n\n /**\n * Text label for the back arrow icon button.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n backIconButtonText: PropTypes.string,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n colSpan: PropTypes.number,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The total number of rows.\n *\n * To enable server side pagination for an unknown number of items, provide -1.\n */\n count: PropTypes.number.isRequired,\n\n /**\n * Customize the displayed rows label. Invoked with a `{ from, to, count, page }`\n * object.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n labelDisplayedRows: PropTypes.func,\n\n /**\n * Customize the rows per page label.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n labelRowsPerPage: PropTypes.string,\n\n /**\n * Props applied to the next arrow [`IconButton`](/api/icon-button/) element.\n */\n nextIconButtonProps: PropTypes.object,\n\n /**\n * Text label for the next arrow icon button.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n nextIconButtonText: PropTypes.string,\n\n /**\n * Callback fired when the page is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number} page The page selected.\n */\n onChangePage: PropTypes.func.isRequired,\n\n /**\n * Callback fired when the number of rows per page is changed.\n *\n * @param {object} event The event source of the callback.\n */\n onChangeRowsPerPage: PropTypes.func,\n\n /**\n * The zero-based index of the current page.\n */\n page: chainPropTypes(PropTypes.number.isRequired, function (props) {\n var count = props.count,\n page = props.page,\n rowsPerPage = props.rowsPerPage;\n\n if (count === -1) {\n return null;\n }\n\n var newLastPage = Math.max(0, Math.ceil(count / rowsPerPage) - 1);\n\n if (page < 0 || page > newLastPage) {\n return new Error('Material-UI: The page prop of a TablePagination is out of range ' + \"(0 to \".concat(newLastPage, \", but page is \").concat(page, \").\"));\n }\n\n return null;\n }),\n\n /**\n * The number of rows per page.\n */\n rowsPerPage: PropTypes.number.isRequired,\n\n /**\n * Customizes the options of the rows per page select field. If less than two options are\n * available, no select field will be displayed.\n */\n rowsPerPageOptions: PropTypes.array,\n\n /**\n * Props applied to the rows per page [`Select`](/api/select/) element.\n */\n SelectProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTablePagination'\n})(TablePagination);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport IconButton from '../IconButton';\r\nimport TextField from '../TextField';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport TablePagination from '@material-ui/core/TablePagination';\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ArrowEndLeftIcon from '@ellucian/ds-icons/lib/ArrowEndLeft';\r\nimport ArrowEndRightIcon from '@ellucian/ds-icons/lib/ArrowEndRight';\r\nimport ChevronRightIcon from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeftIcon from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport Typography from '../Typography';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { borderRadiusSmall, borderRadiusMedium, borderWidthThin, sizingSmall, sizingXLarge, spacing60, spacing50, spacing40, spacing30, spacing20, spacing80, fontSizeDefault, boxShadowFocusInset, widthFluid, colorGlobalBorderDefault } from '../styles/tokens';\r\n\r\n// PaginationAction Styles\r\nvar actionStyles = function actionStyles(theme) {\r\n var _root;\r\n\r\n return {\r\n root: (_root = {\r\n alignItems: 'center',\r\n display: 'flex',\r\n flex: 1,\r\n order: 2\r\n }, _defineProperty(_root, theme.breakpoints.down('md'), {\r\n flex: '1 1 100%',\r\n textAlign: 'center',\r\n paddingBottom: spacing30,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n marginBottom: spacing30,\r\n justifyContent: 'space-between'\r\n }), _defineProperty(_root, '& $paginationButtons', {\r\n // NOTE: Could create an 'icon' classes prop to handle this sizing\r\n '& svg': {\r\n width: sizingSmall,\r\n height: sizingSmall\r\n }\r\n }), _defineProperty(_root, '& $textField', {\r\n // NOTE: Remove when Textfield supports us overriding the classes prop\r\n width: sizingXLarge,\r\n marginLeft: spacing30,\r\n marginRight: spacing30,\r\n verticalAlign: 'baseline',\r\n '& input': {\r\n padding: '0.1rem',\r\n textAlign: 'center',\r\n fontSize: theme.typography.caption.fontSize\r\n }\r\n }), _root),\r\n typography: {\r\n display: 'flex',\r\n alignSelf: 'center'\r\n },\r\n // NOTE: This should be sent to the TextField classes.root\r\n // But our implementation doesn't allow this\r\n // textFieldRoot: {\r\n // width: 32,\r\n // marginLeft: 8,\r\n // marginRight: 8,\r\n // verticalAlign: 'baseline',\r\n // },\r\n // Remove if TextField can support classes override\r\n textField: {},\r\n // Remove after transparent IconButtons variant is created\r\n paginationButtons: {},\r\n pageNumberInput: _defineProperty({\r\n display: 'flex',\r\n margin: '0 ' + spacing80\r\n }, theme.breakpoints.down('md'), {\r\n margin: 0\r\n }),\r\n buttonSpacer: _defineProperty({\r\n marginRight: spacing50\r\n }, theme.breakpoints.down('md'), {\r\n marginRight: 0\r\n })\r\n };\r\n};\r\n\r\nvar PaginationActions = function (_React$Component) {\r\n _inherits(PaginationActions, _React$Component);\r\n\r\n function PaginationActions() {\r\n var _ref;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, PaginationActions);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = PaginationActions.__proto__ || Object.getPrototypeOf(PaginationActions)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\r\n pageNumberInput: _this.props.page + 1 || 1 // zero-based number\r\n }, _this.handleFirstPageButtonClick = function (event) {\r\n _this.setState({\r\n pageNumberInput: 1\r\n }, function () {\r\n return _this.props.onChangePage(event, 0);\r\n });\r\n }, _this.handleBackButtonClick = function (event) {\r\n var page = _this.props.page - 1;\r\n\r\n _this.setState({\r\n pageNumberInput: page + 1\r\n }, function () {\r\n return _this.props.onChangePage(event, page);\r\n });\r\n }, _this.handleNextButtonClick = function (event) {\r\n var page = _this.props.page + 1;\r\n _this.setState({\r\n pageNumberInput: page + 1\r\n }, function () {\r\n return _this.props.onChangePage(event, page);\r\n });\r\n }, _this.handleLastPageButtonClick = function (event) {\r\n // returns 0-based\r\n var page = Math.max(0, Math.ceil(_this.props.count / _this.props.rowsPerPage) - 1);\r\n\r\n // display value non-0 based\r\n _this.setState({\r\n pageNumberInput: page + 1\r\n }, function () {\r\n return _this.props.onChangePage(event, page);\r\n });\r\n }, _this.handleTextFieldOnChange = function (event) {\r\n var value = event.target.value;\r\n if (!isNaN(Number(value))) {\r\n _this.setState({\r\n pageNumberInput: value\r\n });\r\n }\r\n }, _this.handleTextFieldOnBlur = function (event) {\r\n event.preventDefault();\r\n if (_this.paginationPageTextField.value - 1 !== _this.props.page) {\r\n _this.handlePageChange(event);\r\n }\r\n }, _this.handleTextFieldFocus = function () {\r\n _this.paginationPageTextField.select();\r\n }, _this.handleEnterKeyPress = function (event) {\r\n if (event.key === 'Enter') {\r\n event.preventDefault();\r\n if (_this.paginationPageTextField.value - 1 !== _this.props.page) {\r\n _this.handlePageChange(event);\r\n }\r\n }\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n // Implementation Note: pageNumberInput is the value that appears in the \"page number\" text field.\r\n // It's distinguished from the incoming \"page\" prop because it needs to vary independently; on one\r\n // hand, it should update whenever the page changes, but it ALSO needs to change as the user types\r\n // in that field, without updating the page (until the field blurs)\r\n\r\n _createClass(PaginationActions, [{\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n var _this2 = this;\r\n\r\n if (prevProps.rowsPerPage !== this.props.rowsPerPage || prevProps.count !== this.props.count) {\r\n this.setState({\r\n pageNumberInput: 1\r\n }, function () {\r\n return _this2.props.onChangePage({}, 0);\r\n });\r\n }\r\n if (prevProps.page !== this.props.page && this.props.page !== this.state.pageNumberInput - 1) {\r\n this.setState({\r\n pageNumberInput: this.props.page + 1\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'handlePageChange',\r\n\r\n\r\n // Shared function to change page or alter state\r\n // Receives `value` from the TextField\r\n value: function handlePageChange(event) {\r\n var _this3 = this;\r\n\r\n // 1-based\r\n var value = this.paginationPageTextField.value;\r\n\r\n // 0-based\r\n var totalNumberOfPages = Math.max(0, Math.ceil(this.props.count / this.props.rowsPerPage) - 1);\r\n\r\n if (value <= 0) {\r\n // If value is zero or negative\r\n // Go to first page\r\n this.setState({ pageNumberInput: 1 }, function () {\r\n return _this3.props.onChangePage(event, 0);\r\n });\r\n } else if (value >= 1 && value <= totalNumberOfPages) {\r\n // If value is greater than 1\r\n // and value is less than or equal totalNumberOfPages\r\n this.setState({\r\n pageNumberInput: value\r\n }, this.props.onChangePage(event, Number(value) - 1));\r\n } else if (value >= totalNumberOfPages + 1) {\r\n // If value is greater than total number of pages\r\n // Go to last page\r\n this.setState({\r\n pageNumberInput: totalNumberOfPages + 1\r\n }, this.props.onChangePage(event, totalNumberOfPages));\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this4 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n count = _props.count,\r\n page = _props.page,\r\n rowsPerPage = _props.rowsPerPage,\r\n theme = _props.theme,\r\n edsContext = _props.edsContext;\r\n var pageNumberInput = this.state.pageNumberInput;\r\n\r\n\r\n var totalNumberOfPages = Math.max(0, Math.ceil(count / rowsPerPage) - 1);\r\n var disablePreviousButtons = page === 0;\r\n var disableNextButtons = page >= Math.ceil(count / rowsPerPage) - 1;\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: '' + classes.root },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.firstPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleFirstPageButtonClick,\r\n disabled: disablePreviousButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.firstPage'),\r\n className: classes.paginationButtons + ' ' + classes.buttonSpacer\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ArrowEndRightIcon, null) : React.createElement(ArrowEndLeftIcon, null)\r\n )\r\n ),\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.previousPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleBackButtonClick,\r\n disabled: disablePreviousButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.previousPage'),\r\n className: classes.paginationButtons\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ChevronRightIcon, null) : React.createElement(ChevronLeftIcon, null)\r\n )\r\n ),\r\n React.createElement(\r\n 'span',\r\n { className: classes.pageNumberInput + ' page-input' },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', className: classes.typography },\r\n edsContext.formatMessage('component.Pagination.page')\r\n ),\r\n React.createElement(TextField, {\r\n className: classNames(classes.textField),\r\n inputRef: function inputRef(input) {\r\n return _this4.paginationPageTextField = input;\r\n },\r\n value: pageNumberInput,\r\n inputProps: { 'aria-label': '' + pageNumberInput },\r\n onChange: this.handleTextFieldOnChange,\r\n margin: 'normal',\r\n onKeyPress: this.handleEnterKeyPress,\r\n onFocus: this.handleTextFieldFocus,\r\n onBlur: this.handleTextFieldOnBlur,\r\n disabled: totalNumberOfPages === 0\r\n }),\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', className: classes.typography },\r\n edsContext.formatMessage('component.Pagination.ofTotalCount', { count: totalNumberOfPages + 1 })\r\n )\r\n ),\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.nextPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleNextButtonClick,\r\n disabled: disableNextButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.nextPage'),\r\n className: classes.paginationButtons + ' ' + classes.buttonSpacer\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)\r\n )\r\n ),\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.lastPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleLastPageButtonClick,\r\n disabled: disableNextButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.lastPage'),\r\n className: classes.paginationButtons\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ArrowEndLeftIcon, null) : React.createElement(ArrowEndRightIcon, null)\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return PaginationActions;\r\n}(React.Component);\r\n\r\nPaginationActions.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n count: PropTypes.number.isRequired,\r\n onChangePage: PropTypes.func.isRequired,\r\n page: PropTypes.number.isRequired,\r\n rowsPerPage: PropTypes.number.isRequired,\r\n theme: PropTypes.object.isRequired,\r\n edsContext: PropTypes.object.isRequired\r\n};\r\n\r\nvar PaginationActionsWrapped = withEDSContext(withStyles(actionStyles, { withTheme: true })(PaginationActions));\r\n\r\n// Pagination Styles\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n // Target the \"Total results...\" text\r\n '& $caption:nth-last-child(2)': _defineProperty({\r\n order: 4,\r\n marginRight: 0,\r\n marginLeft: 'auto'\r\n }, theme.breakpoints.down('md'), {\r\n marginRight: spacing30\r\n })\r\n }, theme.breakpoints.down('md'), {\r\n width: widthFluid,\r\n paddingTop: spacing30,\r\n paddingBottom: spacing60,\r\n\r\n '&:last-child': {\r\n paddingTop: spacing30,\r\n paddingBottom: spacing60\r\n\r\n // TODO: To be used if it needs to be attached to bottom or made configurable\r\n // bottom: \"0\",\r\n // zIndex: \"99\",\r\n // background: \"rgba(255, 255, 255, 1)\",\r\n // position: \"fixed\",\r\n // left: 0,\r\n // boxShadow: \"0px -3px 10px #ccc\",\r\n } }),\r\n toolbar: _defineProperty({\r\n padding: 0,\r\n margin: '0 ' + spacing40 + ' ' + spacing40 + ' ' + spacing30,\r\n minHeight: '3.5rem'\r\n }, theme.breakpoints.down('md'), {\r\n justifyContent: 'flex-start',\r\n flexWrap: 'wrap',\r\n margin: '0 ' + spacing30 + ' 0 ' + spacing30\r\n }),\r\n spacer: {\r\n flex: 'none',\r\n order: 1\r\n },\r\n caption: {\r\n fontSize: theme.typography.caption.fontSize,\r\n color: theme.palette.grey[500],\r\n order: 3,\r\n marginRight: spacing40,\r\n marginLeft: spacing30\r\n },\r\n selectRoot: _defineProperty({\r\n marginRight: spacing80,\r\n\r\n '& $select': {\r\n paddingRight: spacing60,\r\n minHeight: 'auto'\r\n }\r\n\r\n }, theme.breakpoints.down('md'), {\r\n marginRight: 0\r\n }),\r\n selectIcon: {\r\n top: '0.4rem',\r\n right: spacing20,\r\n fill: theme.palette.grey[500],\r\n height: sizingSmall\r\n },\r\n select: {\r\n fontSize: theme.typography.caption.fontSize,\r\n '&:focus': {\r\n borderRadius: borderRadiusSmall,\r\n boxShadow: boxShadowFocusInset,\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n input: {\r\n order: 4\r\n },\r\n menuList: {\r\n border: colorGlobalBorderDefault + ' ' + borderWidthThin + ' solid',\r\n borderRadius: borderRadiusMedium\r\n },\r\n menuListItem: {\r\n '& :first-child': {\r\n borderTopRightRadius: borderRadiusSmall,\r\n borderTopLeftRadius: borderRadiusSmall\r\n },\r\n '& :last-child': {\r\n borderBottomRightRadius: borderRadiusSmall,\r\n borderBottomLeftRadius: borderRadiusSmall\r\n }\r\n },\r\n menuItem: {\r\n padding: spacing30 + ' 0.75rem',\r\n borderBottom: borderWidthThin + ' solid ' + colorGlobalBorderDefault,\r\n // Had to use `!important` below to override styles as MUI Pagination is adding inline styles.\r\n minWidth: spacing60 + ' !important',\r\n '&:last-child': {\r\n borderBottom: 'transparent ' + borderWidthThin + ' solid'\r\n },\r\n fontSize: fontSizeDefault,\r\n '&:hover': {\r\n color: theme.palette.grey[600],\r\n backgroundColor: theme.palette.grey[250]\r\n },\r\n //Using aria-selected as a workaround as accessing the selected styles of menuItem was not possible\r\n '&[aria-selected=true]': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.active\r\n }\r\n }\r\n },\r\n\r\n menuPaper: {\r\n boxShadow: 'none'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Pagination` to allow users to navigate large data sets by breaking out the data into smaller, more consumable \"pages.\"\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * PaginationExamples\r\n * PaginationWithListExamples\r\n * PaginationWithTableExamples\r\n */\r\n\r\nvar Pagination = function (_React$Component2) {\r\n _inherits(Pagination, _React$Component2);\r\n\r\n function Pagination() {\r\n _classCallCheck(this, Pagination);\r\n\r\n return _possibleConstructorReturn(this, (Pagination.__proto__ || Object.getPrototypeOf(Pagination)).apply(this, arguments));\r\n }\r\n\r\n _createClass(Pagination, [{\r\n key: 'render',\r\n value: function render() {\r\n var _props2 = this.props,\r\n classes = _props2.classes,\r\n rowsPerPageOptions = _props2.rowsPerPageOptions,\r\n count = _props2.count,\r\n edsContext = _props2.edsContext,\r\n rowsPerPageShowAll = _props2.rowsPerPageShowAll,\r\n labelRowsPerPage = _props2.labelRowsPerPage,\r\n SelectProps = _props2.SelectProps,\r\n rest = _objectWithoutProperties(_props2, ['classes', 'rowsPerPageOptions', 'count', 'edsContext', 'rowsPerPageShowAll', 'labelRowsPerPage', 'SelectProps']);\r\n\r\n // Append `count` to the Select input\r\n\r\n\r\n var _rowsPerPageOption = rowsPerPageOptions;\r\n if (rowsPerPageShowAll) {\r\n _rowsPerPageOption = [].concat(_toConsumableArray(rowsPerPageOptions), [count]);\r\n }\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n toolbar: classes.toolbar,\r\n spacer: classes.spacer,\r\n caption: classes.caption,\r\n selectRoot: classes.selectRoot,\r\n select: classes.select,\r\n selectIcon: classes.selectIcon,\r\n input: classes.input,\r\n menuItem: classes.menuItem\r\n };\r\n\r\n var selectProps = Object.assign({\r\n IconComponent: ChevronDownIcon,\r\n MenuProps: {\r\n classes: {\r\n paper: classes.menuPaper\r\n },\r\n MenuListProps: {\r\n dir: edsContext.dir,\r\n className: classes.menuList,\r\n disablePadding: true,\r\n classes: {\r\n root: classes.menuListItem\r\n }\r\n }\r\n }\r\n }, SelectProps);\r\n\r\n return React.createElement(TablePagination, Object.assign({\r\n ActionsComponent: PaginationActionsWrapped,\r\n classes: classOverrides,\r\n count: count,\r\n rowsPerPageOptions: _rowsPerPageOption,\r\n labelRowsPerPage: labelRowsPerPage === Pagination.defaultProps.labelRowsPerPage ? // translate unless a label was provided\r\n edsContext.formatMessage('component.Pagination.perPage') : labelRowsPerPage,\r\n labelDisplayedRows: function labelDisplayedRows(rows) {\r\n return edsContext.formatMessage('component.Pagination.totalResults') + ' ' + rows.count;\r\n },\r\n SelectProps: selectProps\r\n }, rest));\r\n }\r\n }]);\r\n\r\n return Pagination;\r\n}(React.Component);\r\n\r\n;\r\n\r\nPagination.muiName = 'Pagination';\r\n\r\nPagination.propTypes = {\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n * EX: Use TableCell if used within Table\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The total number of rows.\r\n */\r\n count: PropTypes.number.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Customize the rows per page label. Invoked with a `{ from, to, count, page }`\r\n * object.\r\n */\r\n labelRowsPerPage: PropTypes.node,\r\n /**\r\n * Callback fired when the page is changed.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {number} page The page selected\r\n */\r\n onChangePage: PropTypes.func.isRequired,\r\n /**\r\n * Callback fired when the number of rows per page is changed.\r\n *\r\n * @param {object} event The event source of the callback\r\n */\r\n onChangeRowsPerPage: PropTypes.func,\r\n /**\r\n * The zero-based index of the current page.\r\n */\r\n page: PropTypes.number,\r\n /**\r\n * The number of rows per page.\r\n */\r\n rowsPerPage: PropTypes.number.isRequired,\r\n /**\r\n * Customizes the options of the rows per page select field. If less than two options are\r\n * available, no select field will be displayed.\r\n */\r\n rowsPerPageOptions: PropTypes.array,\r\n /**\r\n * Set to `true` to render a total count option in the `Select` in the last index.\r\n */\r\n rowsPerPageShowAll: PropTypes.bool,\r\n /**\r\n * Properties applied to the rows per page `Select` element.\r\n */\r\n SelectProps: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nPagination.defaultProps = {\r\n labelRowsPerPage: 'Per page:',\r\n component: 'div',\r\n rowsPerPageOptions: [10, 20],\r\n rowsPerPageShowAll: false\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Pagination));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { createContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiList } from '@material-ui/core/List';\r\nimport { widthFluid } from '../styles/tokens';\r\nimport { getSpacingOptions } from './../globalSpacing';\r\nimport { spacingVariant } from '../globalSpacing';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.common.white,\r\n width: widthFluid\r\n }\r\n };\r\n};\r\n\r\nvar ListContext = createContext();\r\n\r\n/**\r\n * Use `List` to display a continuous, vertical index of text and/or images.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.15\r\n * @examples\r\n * PrimaryTextExample\r\n * SecondaryTextExample\r\n * ControlsExample\r\n * ListItemWithButtonExample\r\n * IconsExample\r\n * ComplexListExample\r\n * MultilineExample\r\n * NestedOptionsExample\r\n */\r\nvar List = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n spacingOptionsLocal = props.spacingOptions,\r\n rest = _objectWithoutProperties(props, ['classes', 'spacingOptions']);\r\n\r\n var spacingOptions = getSpacingOptions(spacingOptionsLocal);\r\n\r\n var classOverrides = Object.assign({\r\n // Style overrides\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(\r\n ListContext.Provider,\r\n { value: { spacingOptions: spacingOptions } },\r\n React.createElement(MuiList, Object.assign({}, rest, { classes: classOverrides, ref: ref }))\r\n );\r\n});\r\n\r\nList.muiName = 'List';\r\nList.displayName = 'List';\r\n\r\nList.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used for\r\n * the list and list items. The property is available to descendant components as the\r\n * `dense` context.\r\n */\r\n dense: PropTypes.bool,\r\n /**\r\n * If `true`, vertical padding will be removed from the list.\r\n */\r\n disablePadding: PropTypes.bool,\r\n /**\r\n * The content of the subheader, normally `ListSubheader`.\r\n */\r\n subheader: PropTypes.node,\r\n /**\r\n * Override global spacing options.\r\n * Available options are:\r\n * * `spacing: 'standard' | 'none'`\r\n * * Controls the padding around the `ListItems`.\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.string\r\n })\r\n};\r\n\r\nList.defaultProps = {\r\n dense: false,\r\n disablePadding: true,\r\n spacingOptions: { spacing: spacingVariant.STANDARD }\r\n};\r\n\r\nexport { ListContext };\r\nexport default withStyles(styles)(List);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItem } from '@material-ui/core/ListItem';\r\nimport { spacing30, spacing40 } from '../styles/tokens';\r\nimport { ListContext } from './List';\r\nimport classNames from 'classnames';\r\nimport { spacingVariant } from '../globalSpacing';\r\n\r\nvar FOCUS_VISIBLE_CLASSNAME = 'eds-list-item-focus-visible';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n paddingTop: spacing30,\r\n paddingBottom: spacing30\r\n },\r\n listButton: _defineProperty({\r\n cursor: 'pointer',\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey['250']\r\n }\r\n }, '&.' + FOCUS_VISIBLE_CLASSNAME, {\r\n backgroundColor: '' + theme.palette.grey['250']\r\n }),\r\n gutters: {\r\n // Reset MUI default padding\r\n paddingLeft: spacing40,\r\n paddingRight: spacing40\r\n },\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * An item in a list.\r\n */\r\nvar ListItem = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var _props$classes = props.classes,\r\n root = _props$classes.root,\r\n restOfClasses = _objectWithoutProperties(_props$classes, ['root']),\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var _useContext = useContext(ListContext),\r\n spacing = _useContext.spacingOptions.spacing;\r\n\r\n var classOverrides = {\r\n root: classNames(root, (_classNames = {}, _defineProperty(_classNames, restOfClasses.none, spacing === spacingVariant.NONE), _defineProperty(_classNames, restOfClasses.listButton, props.button === true), _classNames)),\r\n gutters: restOfClasses.gutters\r\n };\r\n\r\n return React.createElement(MuiListItem, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n focusVisibleClassName: FOCUS_VISIBLE_CLASSNAME,\r\n ref: ref\r\n }));\r\n});\r\n\r\nListItem.muiName = 'ListItem';\r\nListItem.displayName = 'ListItem';\r\n\r\nListItem.propTypes = {\r\n /**\r\n * If `true`, the list item will be a button (using `ButtonBase`).\r\n */\r\n button: PropTypes.bool,\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The container component used when a `ListItemSecondaryAction` is rendered.\r\n */\r\n ContainerComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Properties applied to the container element when the component\r\n * is used to display a `ListItemSecondaryAction`.\r\n */\r\n ContainerProps: PropTypes.object,\r\n /**\r\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\r\n */\r\n dense: PropTypes.bool,\r\n /**\r\n * If `true`, the list item will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the left and right padding is removed.\r\n */\r\n disableGutters: PropTypes.bool,\r\n /**\r\n * If `true`, a 1px light border is added to the bottom of the list item.\r\n */\r\n divider: PropTypes.bool\r\n};\r\n\r\nListItem.defaultProps = {\r\n button: false,\r\n ContainerComponent: 'li',\r\n dense: false,\r\n disabled: false,\r\n disableGutters: false,\r\n divider: false\r\n};\r\n\r\nexport default withStyles(styles)(ListItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from '../List/ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n minWidth: 56,\n flexShrink: 0\n },\n\n /* Styles applied to the root element when the parent `ListItem` uses `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n marginTop: 8\n }\n};\n/**\n * A simple wrapper to apply `List` styles to an `Avatar`.\n */\n\nvar ListItemAvatar = React.forwardRef(function ListItemAvatar(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n var context = React.useContext(ListContext);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, context.alignItems === 'flex-start' && classes.alignItemsFlexStart),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemAvatar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component – normally `Avatar`.\n */\n children: PropTypes.element.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemAvatar'\n})(ListItemAvatar);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemAvatar } from '@material-ui/core/ListItemAvatar';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A simple wrapper component to apply avavtar styles to ListItems.\r\n */\r\nvar ListItemAvatar = function ListItemAvatar(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemAvatar, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListItemAvatar.muiName = 'ListItemAvatar';\r\n\r\nListItemAvatar.propTypes = {\r\n /**\r\n * The content of the component – normally `Avatar`.\r\n */\r\n children: PropTypes.element.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ListItemAvatar.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ListItemAvatar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from '../List/ListContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n minWidth: 56,\n color: theme.palette.action.active,\n flexShrink: 0,\n display: 'inline-flex'\n },\n\n /* Styles applied to the root element when the parent `ListItem` uses `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n marginTop: 8\n }\n };\n};\n/**\n * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.\n */\n\nvar ListItemIcon = React.forwardRef(function ListItemIcon(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n var context = React.useContext(ListContext);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, context.alignItems === 'flex-start' && classes.alignItemsFlexStart),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally `Icon`, `SvgIcon`,\n * or a `@material-ui/icons` SVG icon element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemIcon'\n})(ListItemIcon);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemIcon } from '@material-ui/core/ListItemIcon';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A simple wrapper component to apply icon styles to ListItems.\r\n */\r\nvar ListItemIcon = function ListItemIcon(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemIcon, Object.assign({}, rest, {\r\n classes: classOverrides }));\r\n};\r\n\r\nListItemIcon.muiName = 'ListItemIcon';\r\n\r\nListItemIcon.propTypes = {\r\n /**\r\n * The content of the component, normally an icon\r\n */\r\n children: PropTypes.element.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(ListItemIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n position: 'absolute',\n right: 16,\n top: '50%',\n transform: 'translateY(-50%)'\n }\n};\n/**\n * Must be used as the last child of ListItem to function properly.\n */\n\nvar ListItemSecondaryAction = React.forwardRef(function ListItemSecondaryAction(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemSecondaryAction.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally an `IconButton` or selection control.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nListItemSecondaryAction.muiName = 'ListItemSecondaryAction';\nexport default withStyles(styles, {\n name: 'MuiListItemSecondaryAction'\n})(ListItemSecondaryAction);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemSecondaryAction } from '@material-ui/core/ListItemSecondaryAction';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A simple wrapper component to apply secondary action styles to ListItems.\r\n */\r\nvar ListItemSecondaryAction = function ListItemSecondaryAction(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemSecondaryAction, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListItemSecondaryAction.muiName = 'ListItemSecondaryAction';\r\n\r\nListItemSecondaryAction.propTypes = {\r\n /**\r\n * The content of the component, normally an `IconButton` or selection control.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ListItemSecondaryAction.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ListItemSecondaryAction);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport ListContext from '../List/ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto',\n minWidth: 0,\n marginTop: 4,\n marginBottom: 4\n },\n\n /* Styles applied to the `Typography` components if primary and secondary are set. */\n multiline: {\n marginTop: 6,\n marginBottom: 6\n },\n\n /* Styles applied to the `Typography` components if dense. */\n dense: {},\n\n /* Styles applied to the root element if `inset={true}`. */\n inset: {\n paddingLeft: 56\n },\n\n /* Styles applied to the primary `Typography` component. */\n primary: {},\n\n /* Styles applied to the secondary `Typography` component. */\n secondary: {}\n};\nvar ListItemText = React.forwardRef(function ListItemText(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n _props$inset = props.inset,\n inset = _props$inset === void 0 ? false : _props$inset,\n primaryProp = props.primary,\n primaryTypographyProps = props.primaryTypographyProps,\n secondaryProp = props.secondary,\n secondaryTypographyProps = props.secondaryTypographyProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"disableTypography\", \"inset\", \"primary\", \"primaryTypographyProps\", \"secondary\", \"secondaryTypographyProps\"]);\n\n var _React$useContext = React.useContext(ListContext),\n dense = _React$useContext.dense;\n\n var primary = primaryProp != null ? primaryProp : children;\n\n if (primary != null && primary.type !== Typography && !disableTypography) {\n primary = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: dense ? 'body2' : 'body1',\n className: classes.primary,\n component: \"span\",\n display: \"block\"\n }, primaryTypographyProps), primary);\n }\n\n var secondary = secondaryProp;\n\n if (secondary != null && secondary.type !== Typography && !disableTypography) {\n secondary = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: \"body2\",\n className: classes.secondary,\n color: \"textSecondary\",\n display: \"block\"\n }, secondaryTypographyProps), secondary);\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, dense && classes.dense, inset && classes.inset, primary && secondary && classes.multiline),\n ref: ref\n }, other), primary, secondary);\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemText.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Alias for the `primary` prop.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the children won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `children` (or `primary`) text, and optional `secondary` text\n * with the Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * If `true`, the children will be indented.\n * This should be used if there is no left avatar or left icon.\n */\n inset: PropTypes.bool,\n\n /**\n * The main content element.\n */\n primary: PropTypes.node,\n\n /**\n * These props will be forwarded to the primary typography component\n * (as long as disableTypography is not `true`).\n */\n primaryTypographyProps: PropTypes.object,\n\n /**\n * The secondary content element.\n */\n secondary: PropTypes.node,\n\n /**\n * These props will be forwarded to the secondary typography component\n * (as long as disableTypography is not `true`).\n */\n secondaryTypographyProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemText'\n})(ListItemText);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemText } from '@material-ui/core/ListItemText';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n margin: 0\r\n },\r\n multiline: {\r\n margin: 0 // Reset MUI margin\r\n },\r\n // Note that these styles propagate out to components that use List, e.g. Dropdown\r\n primary: { // Primary typography components\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: theme.typography.body2.lineHeight\r\n },\r\n secondary: { // Secondary typography components\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.caption.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: theme.typography.caption.lineHeight\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that applies correct text styling to ListItems.\r\n */\r\nvar ListItemText = function ListItemText(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n root: classes.root,\r\n primary: classes.primary,\r\n secondary: classes.secondary\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemText, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListItemText.muiName = 'ListItemText';\r\n\r\nListItemText.propTypes = {\r\n /**\r\n * Alias for the `primary` property.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the children won't be wrapped by a Typography component.\r\n * This can be useful to render an alternative Typography variant by wrapping\r\n * the `children` (or `primary`) text, and optional `secondary` text\r\n * with the Typography component.\r\n */\r\n disableTypography: PropTypes.bool,\r\n /**\r\n * If `true`, the children will be indented.\r\n * This should be used if there is no left avatar or left icon.\r\n */\r\n inset: PropTypes.bool,\r\n /**\r\n * The main content element.\r\n */\r\n primary: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the primary typography component\r\n * (as long as disableTypography is not `true`).\r\n */\r\n primaryTypographyProps: PropTypes.object,\r\n /**\r\n * The secondary content element.\r\n */\r\n secondary: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the secondary typography component\r\n * (as long as disableTypography is not `true`).\r\n */\r\n secondaryTypographyProps: PropTypes.object\r\n};\r\n\r\nListItemText.defaultProps = {\r\n disableTypography: false,\r\n inset: false\r\n};\r\n\r\nexport default withStyles(styles)(ListItemText);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n boxSizing: 'border-box',\n lineHeight: '48px',\n listStyle: 'none',\n color: theme.palette.text.secondary,\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(14)\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the root element if `inset={true}`. */\n inset: {\n paddingLeft: 72\n },\n\n /* Styles applied to the root element if `disableSticky={false}`. */\n sticky: {\n position: 'sticky',\n top: 0,\n zIndex: 1,\n backgroundColor: 'inherit'\n }\n };\n};\nvar ListSubheader = React.forwardRef(function ListSubheader(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'li' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$disableSticky = props.disableSticky,\n disableSticky = _props$disableSticky === void 0 ? false : _props$disableSticky,\n _props$inset = props.inset,\n inset = _props$inset === void 0 ? false : _props$inset,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"component\", \"disableGutters\", \"disableSticky\", \"inset\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'default' && classes[\"color\".concat(capitalize(color))], inset && classes.inset, !disableSticky && classes.sticky, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListSubheader.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'inherit']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the List Subheader will not have gutters.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, the List Subheader will not stick to the top during scroll.\n */\n disableSticky: PropTypes.bool,\n\n /**\n * If `true`, the List Subheader will be indented.\n */\n inset: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListSubheader'\n})(ListSubheader);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListSubheader } from '@material-ui/core/ListSubheader';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ListSubheader = function ListSubheader(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListSubheader, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListSubheader.muiName = 'ListSubheader';\r\n\r\nListSubheader.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The color of the component. It supports those theme colors that make sense for this component.\r\n */\r\n color: PropTypes.oneOf(['default', 'primary', 'inherit']),\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the List Subheader will not stick to the top during scroll.\r\n */\r\n disableSticky: PropTypes.bool,\r\n /**\r\n * If `true`, the List Subheader will be indented.\r\n */\r\n inset: PropTypes.bool\r\n};\r\n\r\nListSubheader.defaultProps = {\r\n color: 'default',\r\n component: 'li',\r\n disableSticky: false,\r\n inset: false\r\n};\r\n\r\nexport default withStyles(styles)(ListSubheader);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto'\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n marginLeft: 12,\n // half icon\n padding: '0 0 8px'\n },\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n position: 'absolute',\n top: 8 + 4,\n left: 'calc(-50% + 20px)',\n right: 'calc(50% + 20px)'\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the line element. */\n line: {\n display: 'block',\n borderColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n lineHorizontal: {\n borderTopStyle: 'solid',\n borderTopWidth: 1\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n lineVertical: {\n borderLeftStyle: 'solid',\n borderLeftWidth: 1,\n minHeight: 24\n }\n };\n};\nvar StepConnector = React.forwardRef(function StepConnector(props, ref) {\n var active = props.active,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n disabled = props.disabled,\n index = props.index,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"classes\", \"className\", \"completed\", \"disabled\", \"index\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel, active && classes.active, completed && classes.completed, disabled && classes.disabled),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.line, {\n 'horizontal': classes.lineHorizontal,\n 'vertical': classes.lineVertical\n }[orientation])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepConnector.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepConnector'\n})(StepConnector);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport StepConnector from '../StepConnector';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n padding: 24\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {\n flexDirection: 'row',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n alignItems: 'flex-start'\n }\n};\nvar defaultConnector = /*#__PURE__*/React.createElement(StepConnector, null);\nvar Stepper = React.forwardRef(function Stepper(props, ref) {\n var _props$activeStep = props.activeStep,\n activeStep = _props$activeStep === void 0 ? 0 : _props$activeStep,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$connector = props.connector,\n connectorProp = _props$connector === void 0 ? defaultConnector : _props$connector,\n _props$nonLinear = props.nonLinear,\n nonLinear = _props$nonLinear === void 0 ? false : _props$nonLinear,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n other = _objectWithoutProperties(props, [\"activeStep\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"connector\", \"nonLinear\", \"orientation\"]);\n\n var connector = React.isValidElement(connectorProp) ? React.cloneElement(connectorProp, {\n orientation: orientation\n }) : null;\n var childrenArray = React.Children.toArray(children);\n var steps = childrenArray.map(function (step, index) {\n var controlProps = {\n alternativeLabel: alternativeLabel,\n connector: connectorProp,\n last: index + 1 === childrenArray.length,\n orientation: orientation\n };\n var state = {\n index: index,\n active: false,\n completed: false,\n disabled: false\n };\n\n if (activeStep === index) {\n state.active = true;\n } else if (!nonLinear && activeStep > index) {\n state.completed = true;\n } else if (!nonLinear && activeStep < index) {\n state.disabled = true;\n }\n\n return [!alternativeLabel && connector && index !== 0 && React.cloneElement(connector, _extends({\n key: index\n }, state)), React.cloneElement(step, _extends(_extends(_extends({}, controlProps), state), step.props))];\n });\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n elevation: 0,\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel),\n ref: ref\n }, other), steps);\n});\nprocess.env.NODE_ENV !== \"production\" ? Stepper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the active step (zero based index).\n * Set to -1 to disable all the steps.\n */\n activeStep: PropTypes.number,\n\n /**\n * If set to 'true' and orientation is horizontal,\n * then the step label will be positioned under the icon.\n */\n alternativeLabel: PropTypes.bool,\n\n /**\n * Two or more `` components.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * An element to be placed between each step.\n */\n connector: PropTypes.element,\n\n /**\n * If set the `Stepper` will not assist in controlling steps for linear flow.\n */\n nonLinear: PropTypes.bool,\n\n /**\n * The stepper orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepper'\n})(Stepper);","export var STEP_PROGRESS_STEP_CLASSNAME = 'eds-step-progress-step';\r\nexport var MOBILE_STEPPER_LABEL_CLASSNAME = 'eds-mobile-stepper-label';\r\nexport var STEP_LABEL_CONTAINER_CLASSNAME = 'eds-step-label-container';\r\nexport var STEP_LABEL_CLASSNAME = 'eds-step-label';\r\nexport var STEP_LABEL_ERROR_CLASSNAME = 'eds-step-label-error';\r\nexport var STEP_LABEL_HAS_ERROR_CLASSNAME = 'eds-step-label-has-error';\r\nexport var ACTIVE_STEP_SCREEN_READER_TEXT = 'eds-active-step-screen-reader-text';","import * as React from 'react';\r\nexport default React.createContext({});","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect, useState, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { withEDSContext } from './../EDSContext/EDSContext';\r\nimport { Stepper as MuiStepper, StepConnector } from '@material-ui/core';\r\nimport Typography from '../Typography';\r\nimport { STEP_LABEL_CONTAINER_CLASSNAME, STEP_LABEL_CLASSNAME, STEP_PROGRESS_STEP_CLASSNAME, STEP_LABEL_ERROR_CLASSNAME, STEP_LABEL_HAS_ERROR_CLASSNAME, ACTIVE_STEP_SCREEN_READER_TEXT } from './internal/constants.js';\r\n\r\nimport { spacing30, spacing50 } from '../styles/tokens';\r\n\r\nimport StepProgressContext from './internal/StepProgressContext';\r\n\r\nimport makeStyles from '../makeStyles';\r\nimport { isNil } from 'lodash';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n background: 'transparent'\r\n },\r\n expansionless: {\r\n '& > div:first-child': {\r\n paddingLeft: '0px'\r\n },\r\n '& > div:last-child': {\r\n paddingRight: '0px'\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n root: {\r\n padding: '0 0 ' + spacing30,\r\n marginLeft: '0.75rem',\r\n minHeight: spacing50\r\n }\r\n };\r\n});\r\n\r\nvar ExpansionConnector = function ExpansionConnector() {\r\n var classes = useStyles();\r\n\r\n return React.createElement('div', { className: classes.root });\r\n};\r\n\r\n/**\r\n * Use `StepProgress` to display a user's progress through numbered steps.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.14\r\n * @examples\r\n * LinearHorizontalExample\r\n * NonLinearExample\r\n * AlternativeLabelExample\r\n * VerticalExample\r\n * ErrorStateExample\r\n * MobileStepperExample\r\n * NonLinearDisabledExample\r\n * VerticalExpansionExample\r\n */\r\nvar StepProgress = React.forwardRef(function (props, ref) {\r\n var _useState = useState(''),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n stepLabel = _useState2[0],\r\n setStepLabel = _useState2[1];\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n hasStepError = _useState4[0],\r\n setHasStepError = _useState4[1];\r\n\r\n var _useState5 = useState(''),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n errorLabel = _useState6[0],\r\n setErrorLabel = _useState6[1];\r\n\r\n var localRef = ref || useRef();\r\n\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n connector = props.connector,\r\n orientation = props.orientation,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext', 'connector', 'orientation']);\r\n\r\n var classOverrides = {\r\n root: cn(classes.root, _defineProperty({}, classes.expansionless, orientation !== 'vertical-expansion'))\r\n };\r\n\r\n // This effect sets the `aria-label` to say `, / \r\n // by the screen reader by extracting all the step labels\r\n useEffect(function () {\r\n var stepLabels = localRef.current.querySelectorAll('.' + STEP_LABEL_CLASSNAME);\r\n\r\n stepLabels.forEach(function (localStepLabel, i) {\r\n localStepLabel.setAttribute('aria-label', edsContext.formatMessage('component.StepProgress.a11yLabel', {\r\n label: localStepLabel.textContent.replace(/^[0-9]/, ''),\r\n step: i + 1,\r\n totalSteps: stepLabels.length\r\n }));\r\n\r\n localStepLabel.setAttribute('data-step-number', edsContext.formatMessage('component.StepProgress.errorOnStepLabel', {\r\n number: i + 1\r\n }));\r\n });\r\n }, [localRef, edsContext]);\r\n\r\n // This effect sets the div with current step content with error message if there is one.\r\n useEffect(function () {\r\n try {\r\n var stepLabels = localRef.current.querySelectorAll('.' + STEP_LABEL_CLASSNAME);\r\n var activeStep = stepLabels[props.activeStep];\r\n var localStepLabel = localRef.current.querySelectorAll('.' + STEP_PROGRESS_STEP_CLASSNAME)[props.activeStep];\r\n var localErrorLabel = localStepLabel && localStepLabel.querySelector('.' + STEP_LABEL_ERROR_CLASSNAME);\r\n var secondaryLabel = localErrorLabel ? localErrorLabel.textContent : '';\r\n setHasStepError(activeStep ? activeStep.classList.contains(STEP_LABEL_HAS_ERROR_CLASSNAME) : '');\r\n setErrorLabel(secondaryLabel);\r\n setStepLabel(props.activeStep + 1 > stepLabels.length ? edsContext.formatMessage('component.MobileStepper.allStepsCompleted') : activeStep && activeStep.getAttribute('aria-label'));\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }, [props.activeStep, localRef, edsContext]);\r\n\r\n var contextValue = React.useMemo(function () {\r\n return { expansion: orientation === 'vertical-expansion' };\r\n }, [orientation]);\r\n\r\n // Error message for the active step\r\n var getStepErrorMessage = function getStepErrorMessage() {\r\n var errorMessage = edsContext.formatMessage('component.StepProgress.errorMessage', {\r\n errorMessage: errorLabel\r\n });\r\n var text = stepLabel;\r\n\r\n text += hasStepError ? ', ' + edsContext.formatMessage('component.StepProgress.errorMessageTitle') : '';\r\n text += errorLabel.length ? ', ' + errorMessage : '';\r\n\r\n return text;\r\n };\r\n\r\n // All error messages to convey when user moves from one step to another\r\n // This is only when current step is not in error state.\r\n // If current step is in error state then current step's error message will take precedence.\r\n var getErrorMessagesForAllSteps = function getErrorMessagesForAllSteps() {\r\n if (hasStepError) {\r\n return '';\r\n }\r\n\r\n var text = '';\r\n var errors = localRef.current && localRef.current.querySelectorAll('.' + STEP_LABEL_CONTAINER_CLASSNAME);\r\n\r\n if (errors && errors.length) {\r\n errors.forEach(function (error) {\r\n var label = error.querySelector('.' + STEP_LABEL_HAS_ERROR_CLASSNAME);\r\n var number = label && label.getAttribute('data-step-number');\r\n var errorMessage = error.querySelector('.' + STEP_LABEL_ERROR_CLASSNAME);\r\n\r\n if (label) {\r\n text += (number || '') + ',' + (' ' + (label.textContent || '') + ',') + (' ' + (errorMessage ? errorMessage.textContent : '') + '. ');\r\n }\r\n });\r\n }\r\n\r\n return text ? edsContext.formatMessage('component.StepProgress.errors') + ', ' + text : '';\r\n };\r\n\r\n var localConnector = void 0;\r\n\r\n if (isNil(connector)) {\r\n localConnector = props.orientation === 'vertical-expansion' ? React.createElement(ExpansionConnector, null) : React.createElement(StepConnector, null);\r\n }\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n StepProgressContext.Provider,\r\n { value: contextValue },\r\n React.createElement(MuiStepper, Object.assign({}, rest, {\r\n connector: localConnector,\r\n orientation: orientation === 'vertical-expansion' ? 'vertical' : orientation,\r\n classes: classOverrides,\r\n ref: localRef\r\n })),\r\n React.createElement(\r\n Typography,\r\n { variant: 'srOnly',\r\n 'aria-live': 'assertive',\r\n className: ACTIVE_STEP_SCREEN_READER_TEXT\r\n },\r\n getStepErrorMessage() + ' ' + getErrorMessagesForAllSteps()\r\n )\r\n )\r\n );\r\n});\r\n\r\nStepProgress.muiName = 'Stepper';\r\nStepProgress.displayName = 'StepProgress';\r\n\r\nStepProgress.propTypes = {\r\n /**\r\n * Set the active step (zero based index).\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * If set to 'true' and orientation is `horizontal`,\r\n * then the step label will be positioned under the icon.\r\n */\r\n alternativeLabel: PropTypes.bool,\r\n /**\r\n * Two or more `` components.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * A component to be placed between each step.\r\n */\r\n connector: PropTypes.element,\r\n /**\r\n * If set the `StepProgress` will not assist in controlling steps for linear flow.\r\n */\r\n nonLinear: PropTypes.bool,\r\n /**\r\n * The stepper orientation (layout flow direction).\r\n */\r\n orientation: PropTypes.oneOf(['horizontal', 'vertical', 'vertical-expansion'])\r\n};\r\n\r\nStepProgress.defaultProps = {\r\n activeStep: 0,\r\n alternativeLabel: false,\r\n nonLinear: false,\r\n orientation: 'horizontal'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(StepProgress));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nimport { darken, lighten } from '../styles/colorManipulator';\nimport useTheme from '../styles/useTheme';\nvar TRANSITION_DURATION = 4; // seconds\n\nexport var styles = function styles(theme) {\n var getColor = function getColor(color) {\n return theme.palette.type === 'light' ? lighten(color, 0.62) : darken(color, 0.5);\n };\n\n var backgroundPrimary = getColor(theme.palette.primary.main);\n var backgroundSecondary = getColor(theme.palette.secondary.main);\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n overflow: 'hidden',\n height: 4,\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root and bar2 element if `color=\"primary\"`; bar2 if `variant=\"buffer\"`. */\n colorPrimary: {\n backgroundColor: backgroundPrimary\n },\n\n /* Styles applied to the root and bar2 elements if `color=\"secondary\"`; bar2 if `variant=\"buffer\"`. */\n colorSecondary: {\n backgroundColor: backgroundSecondary\n },\n\n /* Styles applied to the root element if `variant=\"determinate\"`. */\n determinate: {},\n\n /* Styles applied to the root element if `variant=\"indeterminate\"`. */\n indeterminate: {},\n\n /* Styles applied to the root element if `variant=\"buffer\"`. */\n buffer: {\n backgroundColor: 'transparent'\n },\n\n /* Styles applied to the root element if `variant=\"query\"`. */\n query: {\n transform: 'rotate(180deg)'\n },\n\n /* Styles applied to the additional bar element if `variant=\"buffer\"`. */\n dashed: {\n position: 'absolute',\n marginTop: 0,\n height: '100%',\n width: '100%',\n animation: '$buffer 3s infinite linear'\n },\n\n /* Styles applied to the additional bar element if `variant=\"buffer\"` and `color=\"primary\"`. */\n dashedColorPrimary: {\n backgroundImage: \"radial-gradient(\".concat(backgroundPrimary, \" 0%, \").concat(backgroundPrimary, \" 16%, transparent 42%)\"),\n backgroundSize: '10px 10px',\n backgroundPosition: '0px -23px'\n },\n\n /* Styles applied to the additional bar element if `variant=\"buffer\"` and `color=\"secondary\"`. */\n dashedColorSecondary: {\n backgroundImage: \"radial-gradient(\".concat(backgroundSecondary, \" 0%, \").concat(backgroundSecondary, \" 16%, transparent 42%)\"),\n backgroundSize: '10px 10px',\n backgroundPosition: '0px -23px'\n },\n\n /* Styles applied to the layered bar1 and bar2 elements. */\n bar: {\n width: '100%',\n position: 'absolute',\n left: 0,\n bottom: 0,\n top: 0,\n transition: 'transform 0.2s linear',\n transformOrigin: 'left'\n },\n\n /* Styles applied to the bar elements if `color=\"primary\"`; bar2 if `variant` not \"buffer\". */\n barColorPrimary: {\n backgroundColor: theme.palette.primary.main\n },\n\n /* Styles applied to the bar elements if `color=\"secondary\"`; bar2 if `variant` not \"buffer\". */\n barColorSecondary: {\n backgroundColor: theme.palette.secondary.main\n },\n\n /* Styles applied to the bar1 element if `variant=\"indeterminate or query\"`. */\n bar1Indeterminate: {\n width: 'auto',\n animation: '$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite'\n },\n\n /* Styles applied to the bar1 element if `variant=\"determinate\"`. */\n bar1Determinate: {\n transition: \"transform .\".concat(TRANSITION_DURATION, \"s linear\")\n },\n\n /* Styles applied to the bar1 element if `variant=\"buffer\"`. */\n bar1Buffer: {\n zIndex: 1,\n transition: \"transform .\".concat(TRANSITION_DURATION, \"s linear\")\n },\n\n /* Styles applied to the bar2 element if `variant=\"indeterminate or query\"`. */\n bar2Indeterminate: {\n width: 'auto',\n animation: '$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite'\n },\n\n /* Styles applied to the bar2 element if `variant=\"buffer\"`. */\n bar2Buffer: {\n transition: \"transform .\".concat(TRANSITION_DURATION, \"s linear\")\n },\n // Legends:\n // || represents the viewport\n // - represents a light background\n // x represents a dark background\n '@keyframes indeterminate1': {\n // |-----|---x-||-----||-----|\n '0%': {\n left: '-35%',\n right: '100%'\n },\n // |-----|-----||-----||xxxx-|\n '60%': {\n left: '100%',\n right: '-90%'\n },\n '100%': {\n left: '100%',\n right: '-90%'\n }\n },\n '@keyframes indeterminate2': {\n // |xxxxx|xxxxx||-----||-----|\n '0%': {\n left: '-200%',\n right: '100%'\n },\n // |-----|-----||-----||-x----|\n '60%': {\n left: '107%',\n right: '-8%'\n },\n '100%': {\n left: '107%',\n right: '-8%'\n }\n },\n '@keyframes buffer': {\n '0%': {\n opacity: 1,\n backgroundPosition: '0px -23px'\n },\n '50%': {\n opacity: 0,\n backgroundPosition: '0px -23px'\n },\n '100%': {\n opacity: 1,\n backgroundPosition: '-200px -23px'\n }\n }\n };\n};\n/**\n * ## ARIA\n *\n * If the progress bar is describing the loading progress of a particular region of a page,\n * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`\n * attribute to `true` on that region until it has finished loading.\n */\n\nvar LinearProgress = React.forwardRef(function LinearProgress(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n value = props.value,\n valueBuffer = props.valueBuffer,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'indeterminate' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"value\", \"valueBuffer\", \"variant\"]);\n\n var theme = useTheme();\n var rootProps = {};\n var inlineStyles = {\n bar1: {},\n bar2: {}\n };\n\n if (variant === 'determinate' || variant === 'buffer') {\n if (value !== undefined) {\n rootProps['aria-valuenow'] = Math.round(value);\n var transform = value - 100;\n\n if (theme.direction === 'rtl') {\n transform = -transform;\n }\n\n inlineStyles.bar1.transform = \"translateX(\".concat(transform, \"%)\");\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: You need to provide a value prop ' + 'when using the determinate or buffer variant of LinearProgress .');\n }\n }\n\n if (variant === 'buffer') {\n if (valueBuffer !== undefined) {\n var _transform = (valueBuffer || 0) - 100;\n\n if (theme.direction === 'rtl') {\n _transform = -_transform;\n }\n\n inlineStyles.bar2.transform = \"translateX(\".concat(_transform, \"%)\");\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');\n }\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, {\n 'determinate': classes.determinate,\n 'indeterminate': classes.indeterminate,\n 'buffer': classes.buffer,\n 'query': classes.query\n }[variant]),\n role: \"progressbar\"\n }, rootProps, {\n ref: ref\n }, other), variant === 'buffer' ? /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.dashed, classes[\"dashedColor\".concat(capitalize(color))])\n }) : null, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.bar, classes[\"barColor\".concat(capitalize(color))], (variant === 'indeterminate' || variant === 'query') && classes.bar1Indeterminate, {\n 'determinate': classes.bar1Determinate,\n 'buffer': classes.bar1Buffer\n }[variant]),\n style: inlineStyles.bar1\n }), variant === 'determinate' ? null : /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.bar, (variant === 'indeterminate' || variant === 'query') && classes.bar2Indeterminate, variant === 'buffer' ? [classes[\"color\".concat(capitalize(color))], classes.bar2Buffer] : classes[\"barColor\".concat(capitalize(color))]),\n style: inlineStyles.bar2\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? LinearProgress.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The value of the progress indicator for the determinate and buffer variants.\n * Value between 0 and 100.\n */\n value: PropTypes.number,\n\n /**\n * The value for the buffer variant.\n * Value between 0 and 100.\n */\n valueBuffer: PropTypes.number,\n\n /**\n * The variant to use.\n * Use indeterminate or query when there is no progress value.\n */\n variant: PropTypes.oneOf(['buffer', 'determinate', 'indeterminate', 'query'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiLinearProgress'\n})(LinearProgress);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport capitalize from '../utils/capitalize';\nimport LinearProgress from '../LinearProgress';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n background: theme.palette.background.default,\n padding: 8\n },\n\n /* Styles applied to the root element if `position=\"bottom\"`. */\n positionBottom: {\n position: 'fixed',\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: theme.zIndex.mobileStepper\n },\n\n /* Styles applied to the root element if `position=\"top\"`. */\n positionTop: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n zIndex: theme.zIndex.mobileStepper\n },\n\n /* Styles applied to the root element if `position=\"static\"`. */\n positionStatic: {},\n\n /* Styles applied to the dots container if `variant=\"dots\"`. */\n dots: {\n display: 'flex',\n flexDirection: 'row'\n },\n\n /* Styles applied to each dot if `variant=\"dots\"`. */\n dot: {\n backgroundColor: theme.palette.action.disabled,\n borderRadius: '50%',\n width: 8,\n height: 8,\n margin: '0 2px'\n },\n\n /* Styles applied to a dot if `variant=\"dots\"` and this is the active step. */\n dotActive: {\n backgroundColor: theme.palette.primary.main\n },\n\n /* Styles applied to the Linear Progress component if `variant=\"progress\"`. */\n progress: {\n width: '50%'\n }\n };\n};\nvar MobileStepper = React.forwardRef(function MobileStepper(props, ref) {\n var _props$activeStep = props.activeStep,\n activeStep = _props$activeStep === void 0 ? 0 : _props$activeStep,\n backButton = props.backButton,\n classes = props.classes,\n className = props.className,\n LinearProgressProps = props.LinearProgressProps,\n nextButton = props.nextButton,\n _props$position = props.position,\n position = _props$position === void 0 ? 'bottom' : _props$position,\n steps = props.steps,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'dots' : _props$variant,\n other = _objectWithoutProperties(props, [\"activeStep\", \"backButton\", \"classes\", \"className\", \"LinearProgressProps\", \"nextButton\", \"position\", \"steps\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n elevation: 0,\n className: clsx(classes.root, classes[\"position\".concat(capitalize(position))], className),\n ref: ref\n }, other), backButton, variant === 'text' && /*#__PURE__*/React.createElement(React.Fragment, null, activeStep + 1, \" / \", steps), variant === 'dots' && /*#__PURE__*/React.createElement(\"div\", {\n className: classes.dots\n }, _toConsumableArray(new Array(steps)).map(function (_, index) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: index,\n className: clsx(classes.dot, index === activeStep && classes.dotActive)\n });\n })), variant === 'progress' && /*#__PURE__*/React.createElement(LinearProgress, _extends({\n className: classes.progress,\n variant: \"determinate\",\n value: Math.ceil(activeStep / (steps - 1) * 100)\n }, LinearProgressProps)), nextButton);\n});\nprocess.env.NODE_ENV !== \"production\" ? MobileStepper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the active step (zero based index).\n * Defines which dot is highlighted when the variant is 'dots'.\n */\n activeStep: PropTypes.number,\n\n /**\n * A back button element. For instance, it can be a `Button` or an `IconButton`.\n */\n backButton: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Props applied to the `LinearProgress` element.\n */\n LinearProgressProps: PropTypes.object,\n\n /**\n * A next button element. For instance, it can be a `Button` or an `IconButton`.\n */\n nextButton: PropTypes.node,\n\n /**\n * Set the positioning type.\n */\n position: PropTypes.oneOf(['bottom', 'static', 'top']),\n\n /**\n * The total steps.\n */\n steps: PropTypes.number.isRequired,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['dots', 'progress', 'text'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMobileStepper'\n})(MobileStepper);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Typography from '../Typography';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperCounter = React.forwardRef(function (props, ref) {\r\n var activeStep = props.activeStep,\r\n steps = props.steps,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['activeStep', 'steps', 'edsContext']);\r\n\r\n return React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'body2' }, rest, { ref: ref }),\r\n edsContext.formatMessage('component.MobileStepper.step', {\r\n step: activeStep + 1 >= steps ? steps : activeStep + 1,\r\n count: steps\r\n })\r\n );\r\n});\r\n\r\nMobileStepperCounter.propTypes = {\r\n /**\r\n * Set the active step (zero based index). This should be the same value that is being sent to the component.\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * The total steps. This should be the same value that is being sent to the component.\r\n */\r\n steps: PropTypes.number.isRequired,\r\n /**\r\n * Props will be passed into the rendered `` component.\r\n */\r\n props: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nMobileStepperCounter.displayName = 'MobileStepperCounter';\r\n\r\nexport default withEDSContext(MobileStepperCounter);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport capitalize from 'lodash/capitalize';\r\nimport { withEDSContext } from './../EDSContext/EDSContext';\r\nimport { default as withStyles } from '../styles';\r\nimport { MobileStepper as MuiMobileStepper } from '@material-ui/core';\r\nimport MobileStepperCounter from './MobileStepperCounter';\r\nimport { MOBILE_STEPPER_LABEL_CLASSNAME } from './internal/constants';\r\nimport { spacing30, spacing50, sizingXxLarge1 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey[200],\r\n height: sizingXxLarge1,\r\n padding: '0 ' + spacing50\r\n },\r\n // StepCounter styles when position is bottom\r\n stepCounterBottom: {\r\n position: 'fixed',\r\n transform: 'translate(-50%, -50%)',\r\n textAlign: 'center',\r\n left: '50%',\r\n bottom: spacing30,\r\n zIndex: theme.zIndex.mobileStepper + 1 // MUI defined z-index + 1 to show on top of the MuiMobileStepper\r\n },\r\n // StepCounter styles when position is static\r\n stepCounterStatic: {\r\n position: 'relative',\r\n textAlign: 'center',\r\n top: 40\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Mobile step progress\r\n */\r\nvar MobileStepper = React.forwardRef(function (props, ref) {\r\n var _useState = useState(''),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n label = _useState2[0],\r\n setLabel = _useState2[1];\r\n\r\n var localRef = ref || useRef();\r\n\r\n var classes = props.classes,\r\n activeStep = props.activeStep,\r\n steps = props.steps,\r\n StepCounterContent = props.StepCounterContent,\r\n position = props.position,\r\n children = props.children,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'activeStep', 'steps', 'StepCounterContent', 'position', 'children', 'edsContext']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n var mobileStepperCounterClassName = classNames(classes['stepCounter' + capitalize(position)]);\r\n\r\n // This effect sets the div with current step content with error message if there is one.\r\n useEffect(function () {\r\n var mobileStepLabel = localRef.current.querySelector('.' + MOBILE_STEPPER_LABEL_CLASSNAME);\r\n setLabel(props.activeStep + 1 > steps ? edsContext.formatMessage('component.MobileStepper.allStepsCompleted') : edsContext.formatMessage('component.MobileStepper.a11yLabel', {\r\n label: mobileStepLabel && mobileStepLabel.textContent\r\n }));\r\n }, [props.activeStep, steps, edsContext, localRef]);\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: localRef },\r\n children,\r\n StepCounterContent ? React.createElement(\r\n 'div',\r\n { className: mobileStepperCounterClassName },\r\n StepCounterContent\r\n ) : React.createElement(\r\n 'div',\r\n { className: mobileStepperCounterClassName,\r\n 'aria-atomic': 'false',\r\n 'aria-live': 'assertive',\r\n 'aria-label': label\r\n },\r\n React.createElement(MobileStepperCounter, { activeStep: activeStep, steps: steps, position: position })\r\n ),\r\n React.createElement(MuiMobileStepper, Object.assign({\r\n steps: steps,\r\n activeStep: activeStep,\r\n position: position,\r\n classes: classOverrides,\r\n variant: null\r\n }, rest))\r\n );\r\n});\r\n\r\nMobileStepper.muiName = 'MobileStepper';\r\nMobileStepper.displayName = 'MobileStepper';\r\n\r\nMobileStepper.propTypes = {\r\n /**\r\n * Set the active step (zero based index).\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * A back button element. For instance, it can be be a `Button` or a `IconButton`.\r\n */\r\n backButton: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The children will be rendered before the `` and the bottom control bar.\r\n */\r\n children: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object, PropTypes.node]),\r\n /**\r\n * A next button element. For instance, it can be be a `Button` or a `IconButton`.\r\n */\r\n nextButton: PropTypes.node,\r\n /**\r\n * Set the positioning type.\r\n */\r\n position: PropTypes.oneOf(['bottom', 'static']),\r\n /**\r\n * The total steps.\r\n */\r\n steps: PropTypes.number.isRequired,\r\n /**\r\n * Sent in a custom step counter.\r\n */\r\n StepCounterContent: PropTypes.node\r\n};\r\n\r\n// default property values\r\nMobileStepper.defaultProps = {\r\n activeStep: 0,\r\n position: 'bottom'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(MobileStepper));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport { spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n currentStepContainer: {\r\n alignContent: 'stretch',\r\n alignItems: 'center',\r\n display: 'flex',\r\n flexDirection: 'row',\r\n flexWrap: 'nowrap',\r\n justifyContent: 'flex-start',\r\n marginBottom: spacing50\r\n },\r\n currentStep: {\r\n\r\n alignSelf: 'auto',\r\n backgroundColor: theme.palette.ctaColor.base,\r\n borderRadius: '100%',\r\n flex: '0 1 auto',\r\n height: spacing60,\r\n order: 0,\r\n textAlign: 'center',\r\n width: spacing60\r\n },\r\n currentStepNumber: {\r\n color: theme.palette.grey[100],\r\n position: 'relative',\r\n top: '0.3rem'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperStep = React.forwardRef(function (props, ref) {\r\n var activeStep = props.activeStep,\r\n classes = props.classes;\r\n\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.currentStepContainer, ref: ref },\r\n React.createElement(\r\n 'div',\r\n { className: classes.currentStep },\r\n React.createElement(\r\n Typography,\r\n { className: classes.currentStepNumber },\r\n activeStep + 1\r\n )\r\n ),\r\n props.children && props.children\r\n );\r\n});\r\n\r\nMobileStepperStep.propTypes = {\r\n /**\r\n * Set the active step (zero based index). This should be the same value that is being sent to the component.\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The step title component node.\r\n */\r\n children: PropTypes.node\r\n};\r\n\r\nMobileStepperStep.displayName = 'MobileStepperStep';\r\n\r\nexport default withStyles(styles)(MobileStepperStep);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport classnames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport { spacing30 } from '../styles/tokens';\r\nimport { MOBILE_STEPPER_LABEL_CLASSNAME } from './internal/constants';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n currentStepTitle: {\r\n order: 0,\r\n marginLeft: spacing30,\r\n flex: '1 1 auto',\r\n alignSelf: 'auto'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperLabel = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n return (\r\n /* These marker class names will be used by its parent component MobileStepper */\r\n React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h3',\r\n className: classnames(classes.currentStepTitle, MOBILE_STEPPER_LABEL_CLASSNAME),\r\n component: 'span'\r\n }, rest, {\r\n ref: ref\r\n }),\r\n props.children\r\n )\r\n );\r\n});\r\n\r\nMobileStepperLabel.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The step title component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Props will be passed into the rendered `` component.\r\n */\r\n props: PropTypes.object\r\n};\r\n\r\nMobileStepperLabel.displayName = 'MobileStepperLabel';\r\n\r\nexport default withStyles(styles)(MobileStepperLabel);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport Divider from '../Divider';\r\nimport { spacing50 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n marginBottom: spacing50\r\n }\r\n};\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperTitle = React.forwardRef(function (props, ref) {\r\n var withDivider = props.withDivider,\r\n children = props.children,\r\n classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['withDivider', 'children', 'classes']);\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.root, ref: ref },\r\n React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h2' }, rest),\r\n children\r\n ),\r\n withDivider && React.createElement(Divider, null)\r\n );\r\n});\r\n\r\nMobileStepperTitle.propTypes = {\r\n /**\r\n * The MobileStepper title value.\r\n */\r\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Props will be passed into the rendered `` component.\r\n */\r\n props: PropTypes.object,\r\n /**\r\n * Render the MobileStepperTitle with a divider. Set false to use without a Divider.\r\n */\r\n withDivider: PropTypes.bool\r\n};\r\n\r\nMobileStepperTitle.defaultProps = {\r\n withDivider: true\r\n};\r\n\r\nMobileStepperTitle.displayName = 'MobileStepperTitle';\r\n\r\nexport default withStyles(styles)(MobileStepperTitle);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {\n paddingLeft: 8,\n paddingRight: 8\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n flex: 1,\n position: 'relative'\n },\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {}\n};\nvar Step = React.forwardRef(function Step(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n connector = props.connector,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$expanded = props.expanded,\n expanded = _props$expanded === void 0 ? false : _props$expanded,\n index = props.index,\n last = props.last,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"connector\", \"disabled\", \"expanded\", \"index\", \"last\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel, completed && classes.completed),\n ref: ref\n }, other), connector && alternativeLabel && index !== 0 && React.cloneElement(connector, {\n orientation: orientation,\n alternativeLabel: alternativeLabel,\n index: index,\n active: active,\n completed: completed,\n disabled: disabled\n }), React.Children.map(children, function (child) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Step component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n return React.cloneElement(child, _extends({\n active: active,\n alternativeLabel: alternativeLabel,\n completed: completed,\n disabled: disabled,\n expanded: expanded,\n last: last,\n icon: index + 1,\n orientation: orientation\n }, child.props));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Step.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Sets the step as active. Is passed to child components.\n */\n active: PropTypes.bool,\n\n /**\n * Should be `Step` sub-components such as `StepLabel`, `StepContent`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Mark the step as completed. Is passed to child components.\n */\n completed: PropTypes.bool,\n\n /**\n * Mark the step as disabled, will also disable the button if\n * `StepButton` is a child of `Step`. Is passed to child components.\n */\n disabled: PropTypes.bool,\n\n /**\n * Expand the step.\n */\n expanded: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStep'\n})(Step);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { Step as MuiStep } from '@material-ui/core';\r\nimport StepProgressContext from './internal/StepProgressContext';\r\nimport { STEP_PROGRESS_STEP_CLASSNAME } from './internal/constants';\r\nimport cn from 'classnames';\r\n\r\nimport { borderRadiusMedium, spacing40 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n borderColor: theme.palette.ctaColor.base\r\n },\r\n expansion: {\r\n backgroundColor: '#FFFFFF',\r\n boxShadow: '\\n 0 19px 20px 0 rgba(0, 0, 0, 0.03),\\n 0 3px 8px 0 rgba(0, 0, 0, 0.06)\\n ',\r\n padding: spacing40,\r\n borderRadius: borderRadiusMedium\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A single step in a stepper\r\n */\r\nvar Step = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n var _React$useContext = React.useContext(StepProgressContext),\r\n expansion = _React$useContext.expansion;\r\n\r\n return (\r\n /* These marker class names will be used by its parent component StepProgress */\r\n React.createElement(MuiStep, Object.assign({}, rest, {\r\n className: cn(STEP_PROGRESS_STEP_CLASSNAME, _defineProperty({}, classes.expansion, expansion)),\r\n classes: classOverrides,\r\n ref: ref\r\n }))\r\n );\r\n});\r\n\r\nStep.muiName = 'Step';\r\nStep.displayName = 'Step';\r\n\r\nStep.propTypes = {\r\n /**\r\n * Sets the step as active. Is passed to child components.\r\n */\r\n active: PropTypes.bool,\r\n /**\r\n * Should be `Step` sub-components such as `StepLabel`, `StepContent`.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Mark the step as completed. Is passed to child components.\r\n */\r\n completed: PropTypes.bool,\r\n /**\r\n * Mark the step as disabled, will also disable the button if\r\n * `StepButton` is a child of `Step`. Is passed to child components.\r\n */\r\n disabled: PropTypes.bool\r\n};\r\n\r\n// NOTE: we are very intentionally NOT providing defaults for these props; if any\r\n// value is assigned to the active, completed, or disabled props, those values will\r\n// supercede the directives of the parent StepProgress; ie, if the stepper tries to\r\n// set a Step to active, any defaults we declare here will override those settings\r\n\r\nexport default withStyles(styles)(Step);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z\"\n}), 'CheckCircle');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"\n}), 'Warning');","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport CheckCircle from '../internal/svg-icons/CheckCircle';\nimport Warning from '../internal/svg-icons/Warning';\nimport withStyles from '../styles/withStyles';\nimport SvgIcon from '../SvgIcon';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n color: theme.palette.text.disabled,\n '&$completed': {\n color: theme.palette.primary.main\n },\n '&$active': {\n color: theme.palette.primary.main\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Styles applied to the SVG text element. */\n text: {\n fill: theme.palette.primary.contrastText,\n fontSize: theme.typography.caption.fontSize,\n fontFamily: theme.typography.fontFamily\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {}\n };\n};\n\nvar _ref = /*#__PURE__*/React.createElement(\"circle\", {\n cx: \"12\",\n cy: \"12\",\n r: \"12\"\n});\n\nvar StepIcon = React.forwardRef(function StepIcon(props, ref) {\n var _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n icon = props.icon,\n _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n classes = props.classes;\n\n if (typeof icon === 'number' || typeof icon === 'string') {\n var className = clsx(classes.root, active && classes.active, error && classes.error, completed && classes.completed);\n\n if (error) {\n return /*#__PURE__*/React.createElement(Warning, {\n className: className,\n ref: ref\n });\n }\n\n if (completed) {\n return /*#__PURE__*/React.createElement(CheckCircle, {\n className: className,\n ref: ref\n });\n }\n\n return /*#__PURE__*/React.createElement(SvgIcon, {\n className: className,\n ref: ref\n }, _ref, /*#__PURE__*/React.createElement(\"text\", {\n className: classes.text,\n x: \"12\",\n y: \"16\",\n textAnchor: \"middle\"\n }, icon));\n }\n\n return icon;\n});\nprocess.env.NODE_ENV !== \"production\" ? StepIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Whether this step is active.\n */\n active: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * Mark the step as completed. Is passed to child components.\n */\n completed: PropTypes.bool,\n\n /**\n * Mark the step as failed.\n */\n error: PropTypes.bool,\n\n /**\n * The label displayed in the step icon.\n */\n icon: PropTypes.node\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepIcon'\n})(StepIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport StepIcon from '../StepIcon';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n '&$alternativeLabel': {\n flexDirection: 'column'\n },\n '&$disabled': {\n cursor: 'default'\n }\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Styles applied to the `Typography` component which wraps `children`. */\n label: {\n color: theme.palette.text.secondary,\n '&$active': {\n color: theme.palette.text.primary,\n fontWeight: 500\n },\n '&$completed': {\n color: theme.palette.text.primary,\n fontWeight: 500\n },\n '&$alternativeLabel': {\n textAlign: 'center',\n marginTop: 16\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Pseudo-class applied to the `Typography` component if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the `Typography` component if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element and `Typography` component if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element and `Typography` component if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the `icon` container element. */\n iconContainer: {\n flexShrink: 0,\n // Fix IE 11 issue\n display: 'flex',\n paddingRight: 8,\n '&$alternativeLabel': {\n paddingRight: 0\n }\n },\n\n /* Pseudo-class applied to the root and icon container and `Typography` if `alternativeLabel={true}`. */\n alternativeLabel: {},\n\n /* Styles applied to the container element which wraps `Typography` and `optional`. */\n labelContainer: {\n width: '100%'\n }\n };\n};\nvar StepLabel = React.forwardRef(function StepLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n expanded = props.expanded,\n icon = props.icon,\n last = props.last,\n optional = props.optional,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n StepIconComponentProp = props.StepIconComponent,\n StepIconProps = props.StepIconProps,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"disabled\", \"error\", \"expanded\", \"icon\", \"last\", \"optional\", \"orientation\", \"StepIconComponent\", \"StepIconProps\"]);\n\n var StepIconComponent = StepIconComponentProp;\n\n if (icon && !StepIconComponent) {\n StepIconComponent = StepIcon;\n }\n\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, classes[orientation], className, disabled && classes.disabled, alternativeLabel && classes.alternativeLabel, error && classes.error),\n ref: ref\n }, other), icon || StepIconComponent ? /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.iconContainer, alternativeLabel && classes.alternativeLabel)\n }, /*#__PURE__*/React.createElement(StepIconComponent, _extends({\n completed: completed,\n active: active,\n error: error,\n icon: icon\n }, StepIconProps))) : null, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.labelContainer\n }, /*#__PURE__*/React.createElement(Typography, {\n variant: \"body2\",\n component: \"span\",\n className: clsx(classes.label, alternativeLabel && classes.alternativeLabel, completed && classes.completed, active && classes.active, error && classes.error),\n display: \"block\"\n }, children), optional));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepLabel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * In most cases will simply be a string containing a title for the label.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Mark the step as disabled, will also disable the button if\n * `StepLabelButton` is a child of `StepLabel`. Is passed to child components.\n */\n disabled: PropTypes.bool,\n\n /**\n * Mark the step as failed.\n */\n error: PropTypes.bool,\n\n /**\n * Override the default label of the step icon.\n */\n icon: PropTypes.node,\n\n /**\n * The optional node to display.\n */\n optional: PropTypes.node,\n\n /**\n * The component to render in place of the [`StepIcon`](/api/step-icon/).\n */\n StepIconComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`StepIcon`](/api/step-icon/) element.\n */\n StepIconProps: PropTypes.object\n} : void 0;\nStepLabel.muiName = 'StepLabel';\nexport default withStyles(styles, {\n name: 'MuiStepLabel'\n})(StepLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport StepLabel from '../StepLabel';\nimport isMuiElement from '../utils/isMuiElement';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: '100%',\n padding: '24px 16px',\n margin: '-24px -16px',\n boxSizing: 'content-box'\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n justifyContent: 'flex-start',\n padding: '8px',\n margin: '-8px'\n },\n\n /* Styles applied to the `ButtonBase` touch-ripple. */\n touchRipple: {\n color: 'rgba(0, 0, 0, 0.3)'\n }\n};\nvar StepButton = React.forwardRef(function StepButton(props, ref) {\n var active = props.active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n disabled = props.disabled,\n expanded = props.expanded,\n icon = props.icon,\n last = props.last,\n optional = props.optional,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"disabled\", \"expanded\", \"icon\", \"last\", \"optional\", \"orientation\"]);\n\n var childProps = {\n active: active,\n alternativeLabel: alternativeLabel,\n completed: completed,\n disabled: disabled,\n icon: icon,\n optional: optional,\n orientation: orientation\n };\n var child = isMuiElement(children, ['StepLabel']) ? React.cloneElement(children, childProps) : /*#__PURE__*/React.createElement(StepLabel, childProps, children);\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n disabled: disabled,\n TouchRippleProps: {\n className: classes.touchRipple\n },\n className: clsx(classes.root, classes[orientation], className),\n ref: ref\n }, other), child);\n});\nprocess.env.NODE_ENV !== \"production\" ? StepButton.propTypes = {\n /**\n * @ignore\n * Passed in via `Step` - passed through to `StepLabel`.\n */\n active: PropTypes.bool,\n\n /**\n * @ignore\n * Set internally by Stepper when it's supplied with the alternativeLabel property.\n */\n alternativeLabel: PropTypes.bool,\n\n /**\n * Can be a `StepLabel` or a node to place inside `StepLabel` as children.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n * Sets completed styling. Is passed to StepLabel.\n */\n completed: PropTypes.bool,\n\n /**\n * @ignore\n * Disables the button and sets disabled styling. Is passed to StepLabel.\n */\n disabled: PropTypes.bool,\n\n /**\n * @ignore\n * potentially passed from parent `Step`\n */\n expanded: PropTypes.bool,\n\n /**\n * The icon displayed by the step label.\n */\n icon: PropTypes.node,\n\n /**\n * @ignore\n */\n last: PropTypes.bool,\n\n /**\n * The optional node to display.\n */\n optional: PropTypes.node,\n\n /**\n * @ignore\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepButton'\n})(StepButton);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { StepButton as MuiStepButton } from '@material-ui/core';\r\nimport { borderWidthThick, colorBrandSecondary } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n outline: 'none',\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays progress through numbered steps.\r\n */\r\nvar StepButton = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiStepButton, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nStepButton.muiName = 'StepButton';\r\nStepButton.displayName = 'StepButton';\r\n\r\nStepButton.propTypes = {\r\n /**\r\n * Can be a `StepLabel` or a node to place inside `StepLabel` as children.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The icon displayed by the step label.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The optional node to display.\r\n */\r\n optional: PropTypes.node\r\n};\r\n\r\nexport default withStyles(styles)(StepButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Collapse from '../Collapse';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n marginTop: 8,\n marginLeft: 12,\n // half icon\n paddingLeft: 8 + 12,\n // margin + half icon\n paddingRight: 8,\n borderLeft: \"1px solid \".concat(theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600])\n },\n\n /* Styles applied to the root element if `last={true}` (controlled by `Step`). */\n last: {\n borderLeft: 'none'\n },\n\n /* Styles applied to the Transition component. */\n transition: {}\n };\n};\nvar StepContent = React.forwardRef(function StepContent(props, ref) {\n var active = props.active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n expanded = props.expanded,\n last = props.last,\n optional = props.optional,\n orientation = props.orientation,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"expanded\", \"last\", \"optional\", \"orientation\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (orientation !== 'vertical') {\n console.error('Material-UI: is only designed for use with the vertical stepper.');\n }\n }\n\n var transitionDuration = transitionDurationProp;\n\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, last && classes.last),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: active || expanded,\n className: classes.transition,\n timeout: transitionDuration,\n unmountOnExit: true\n }, TransitionProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Step content.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Adjust the duration of the content expand transition.\n * Passed as a prop to the transition component.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepContent'\n})(StepContent);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { StepContent as MuiStepContent, Collapse } from '@material-ui/core';\r\nimport StepProgressContext from './internal/StepProgressContext';\r\nimport cn from 'classnames';\r\n\r\nvar styles = {\r\n root: {},\r\n expansion: {\r\n borderLeft: 'none',\r\n marginTop: '0px'\r\n }\r\n};\r\n\r\n/**\r\n * A component that displays progress through numbered steps.\r\n */\r\nvar StepContent = React.forwardRef(function (props, ref) {\r\n var _cn;\r\n\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var _React$useContext = React.useContext(StepProgressContext),\r\n expansion = _React$useContext.expansion;\r\n\r\n var classOverrides = {\r\n root: cn((_cn = {}, _defineProperty(_cn, classes.expansion, expansion), _defineProperty(_cn, classes.root, true), _cn))\r\n };\r\n\r\n return React.createElement(MuiStepContent, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nStepContent.muiName = 'StepContent';\r\nStepContent.displayName = 'StepContent';\r\n\r\nStepContent.propTypes = {\r\n /**\r\n * Step content.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Collapse component.\r\n */\r\n TransitionComponent: PropTypes.elementType,\r\n /**\r\n * Adjust the duration of the content expand transition.\r\n * Passed as a property to the transition component.\r\n *\r\n * Set to 'auto' to automatically calculate transition time based on height.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number }), PropTypes.oneOf(['auto'])]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object\r\n};\r\n\r\nStepContent.defaultProps = {\r\n TransitionComponent: Collapse,\r\n transitionDuration: 'auto'\r\n};\r\n\r\nexport default withStyles(styles)(StepContent);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { StepLabel as MuiStepLabel } from '@material-ui/core';\r\nimport Warning from '@ellucian/ds-icons/lib/Warning';\r\nimport { sizingMedium, borderWidthThin } from '../styles/tokens';\r\nimport Typography from '../Typography';\r\nimport Tooltip from '../Tooltip';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { STEP_LABEL_ERROR_CLASSNAME, STEP_LABEL_HAS_ERROR_CLASSNAME, STEP_LABEL_CONTAINER_CLASSNAME, STEP_LABEL_CLASSNAME } from './internal/constants.js';\r\n\r\nimport StepProgressContext from './internal/StepProgressContext';\r\n\r\nimport { fontWeightNormal, fontWeightBold, fontSizeSmall, fontSizeHeader2 } from '../styles/tokens';\r\n\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ChevronUpIcon from '@ellucian/ds-icons/lib/ChevronUp';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n labelRoot: {\r\n fontFamily: theme.typography.body1.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n fontWeight: theme.typography.body1.fontWeight,\r\n lineHeight: theme.typography.body1.lineHeight,\r\n color: theme.palette.grey[500],\r\n flexGrow: 4\r\n },\r\n root: {\r\n width: '100%'\r\n },\r\n labelContainer: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n alignItems: 'center'\r\n },\r\n labelError: {\r\n color: theme.palette.status.error.fill,\r\n flexGrow: 1\r\n },\r\n labelErrorActive: {\r\n fontWeight: fontWeightBold\r\n },\r\n stepIconRoot: {\r\n color: theme.palette.grey[100],\r\n borderRadius: '100%',\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[500],\r\n '& > text': {\r\n fontSize: fontSizeSmall,\r\n fontWeight: fontWeightBold,\r\n textAnchor: 'middle'\r\n },\r\n '&$stepIconActive': {\r\n border: 'none',\r\n color: theme.palette.ctaColor.base,\r\n '&> text': {\r\n color: theme.palette.grey[100],\r\n fill: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n stepIconText: {\r\n fill: theme.palette.grey[500]\r\n },\r\n stepIconActive: {\r\n color: theme.palette.ctaColor.base\r\n },\r\n stepIconEnable: {\r\n color: theme.palette.grey[500]\r\n },\r\n stepIconCustomRoot: {\r\n border: 'none',\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n verticalAlign: 'middle'\r\n },\r\n stepIconError: {\r\n color: theme.palette.status.error.fill,\r\n fill: theme.palette.status.error.fill\r\n },\r\n stepIconCompleted: {\r\n color: theme.palette.ctaColor.base,\r\n fill: theme.palette.ctaColor.base\r\n },\r\n stepIconDisabled: {\r\n '& span > svg': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n '&> text': {\r\n fill: theme.palette.grey[400]\r\n }\r\n },\r\n '& div > svg': {\r\n fill: theme.palette.grey[400]\r\n }\r\n },\r\n stepLabelDisabled: {\r\n color: theme.palette.grey[400],\r\n fontWeight: fontWeightNormal\r\n },\r\n stepLabelActiveOrCompleted: {\r\n color: theme.palette.grey[600],\r\n fontWeight: fontWeightBold\r\n },\r\n expansionIcon: {\r\n paddingLeft: '8px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n fill: theme.palette.grey[500]\r\n },\r\n expansionIconOpen: {\r\n fill: theme.palette.grey[400]\r\n },\r\n expansionIconContainer: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n '& svg': {\r\n fontSize: fontSizeHeader2\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays progress through numbered steps.\r\n */\r\nvar StepLabel = React.forwardRef(function (props, ref) {\r\n var _classNames2;\r\n\r\n var className = props.className,\r\n classes = props.classes,\r\n children = props.children,\r\n error = props.error,\r\n completed = props.completed,\r\n optional = props.optional,\r\n disabled = props.disabled,\r\n StepIconProps = props.StepIconProps,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['className', 'classes', 'children', 'error', 'completed', 'optional', 'disabled', 'StepIconProps', 'edsContext']);\r\n\r\n var _React$useContext = React.useContext(StepProgressContext),\r\n expansion = _React$useContext.expansion;\r\n\r\n var defaultOverrides = {\r\n StepIconProps: Object.assign({\r\n classes: {\r\n root: classes.stepIconRoot,\r\n text: classes.stepIconText,\r\n active: classes.stepIconActive,\r\n completed: classes.stepIconActive,\r\n error: classes.stepIconError\r\n }\r\n }, StepIconProps)\r\n };\r\n\r\n var expansionIcon = function expansionIcon() {\r\n return React.createElement(\r\n 'span',\r\n { className: classes.expansionIcon },\r\n\r\n // eslint-disable-next-line react/prop-types\r\n props.active ? React.createElement(ChevronUpIcon, { className: classes.expansionIconOpen }) : React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.StepProgress.open'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(ChevronDownIcon, null)\r\n )\r\n );\r\n };\r\n\r\n defaultOverrides.optional = React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Typography,\r\n {\r\n variant: 'body3',\r\n color: 'textSecondary',\r\n align: props.alternativeLabel ? 'center' : 'left',\r\n classes: {\r\n body3: !error && disabled && classes.stepLabelDisabled\r\n },\r\n className: expansion ? classes.expansionIconContainer : null\r\n },\r\n optional,\r\n !expansion ? null : expansionIcon()\r\n )\r\n );\r\n\r\n if (error) {\r\n // Assign new error icon\r\n defaultOverrides.StepIconProps.icon = React.createElement(Warning, { className: classNames(classes.stepIconError, classes.stepIconCustomRoot) });\r\n\r\n // if error is a string make the optional prop print the error message\r\n if (error.length > 0) {\r\n /* These marker class names will be used by its parent component StepProgress */\r\n defaultOverrides.optional = React.createElement(\r\n 'div',\r\n { className: classes.expansionIconContainer },\r\n React.createElement(\r\n Typography,\r\n {\r\n variant: 'body3',\r\n className: classNames(classes.labelError, STEP_LABEL_ERROR_CLASSNAME),\r\n align: props.alternativeLabel ? 'center' : 'left'\r\n },\r\n error\r\n ),\r\n !expansion ? null : expansionIcon()\r\n );\r\n }\r\n }\r\n\r\n var classOverrides = {\r\n disabled: !error && disabled && classes.stepIconDisabled\r\n };\r\n\r\n if (expansion) {\r\n classOverrides = Object.assign(classOverrides, {\r\n labelContainer: classes.labelContainer,\r\n root: classes.root\r\n });\r\n }\r\n\r\n return React.createElement(\r\n MuiStepLabel,\r\n Object.assign({}, defaultOverrides, {\r\n classes: classOverrides,\r\n disabled: disabled,\r\n completed: completed,\r\n className: classNames(className, STEP_LABEL_CONTAINER_CLASSNAME)\r\n }, rest, {\r\n ref: ref\r\n }),\r\n React.createElement(\r\n 'span',\r\n { className: classNames(_defineProperty({}, classes.stepLabelActiveOrCompleted, (props.active || completed) && !error), classes.labelRoot, '' + STEP_LABEL_CLASSNAME, (_classNames2 = {}, _defineProperty(_classNames2, classes.labelError, error), _defineProperty(_classNames2, classes.labelErrorActive, error && props.active), _defineProperty(_classNames2, STEP_LABEL_HAS_ERROR_CLASSNAME, error), _defineProperty(_classNames2, classes.stepLabelDisabled, disabled && !error), _classNames2)) },\r\n children\r\n )\r\n );\r\n});\r\n\r\nStepLabel.muiName = 'StepLabel';\r\nStepLabel.displayName = 'StepLabel';\r\n\r\nStepLabel.propTypes = {\r\n /**\r\n * @ignore\r\n * Sets the step as active. Is passed to child components.\r\n */\r\n active: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Set internally by Stepper when it's supplied with the alternativeLabel property.\r\n */\r\n alternativeLabel: PropTypes.bool,\r\n /**\r\n * In most cases will simply be a string containing a title for the label.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Mark the step as completed. Is passed to child components.\r\n */\r\n completed: PropTypes.bool,\r\n /**\r\n * Mark the step as disabled, will also disable the button if\r\n * `StepLabelButton` is a child of `StepLabel`. Is passed to child components.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Used to mark the step in an error state and provide an error message.\r\n */\r\n error: PropTypes.any,\r\n /**\r\n * Override the default text label of the step icon.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The optional text to display.\r\n */\r\n optional: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\r\n};\r\n\r\nStepLabel.defaultProps = {\r\n error: false\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(StepLabel));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\n\nvar styles = function styles(theme) {\n return {\n thumb: {\n '&$open': {\n '& $offset': {\n transform: 'scale(1) translateY(-10px)'\n }\n }\n },\n open: {},\n offset: _extends(_extends({\n zIndex: 1\n }, theme.typography.body2), {}, {\n fontSize: theme.typography.pxToRem(12),\n lineHeight: 1.2,\n transition: theme.transitions.create(['transform'], {\n duration: theme.transitions.duration.shortest\n }),\n top: -34,\n transformOrigin: 'bottom center',\n transform: 'scale(0)',\n position: 'absolute'\n }),\n circle: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 32,\n height: 32,\n borderRadius: '50% 50% 50% 0',\n backgroundColor: 'currentColor',\n transform: 'rotate(-45deg)'\n },\n label: {\n color: theme.palette.primary.contrastText,\n transform: 'rotate(45deg)'\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\n\nfunction ValueLabel(props) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n open = props.open,\n value = props.value,\n valueLabelDisplay = props.valueLabelDisplay;\n\n if (valueLabelDisplay === 'off') {\n return children;\n }\n\n return React.cloneElement(children, {\n className: clsx(children.props.className, (open || valueLabelDisplay === 'on') && classes.open, classes.thumb)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.offset, className)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.circle\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, value))));\n}\n\nexport default withStyles(styles, {\n name: 'PrivateValueLabel'\n})(ValueLabel);","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport { fade, lighten, darken } from '../styles/colorManipulator';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport ownerDocument from '../utils/ownerDocument';\nimport useEventCallback from '../utils/useEventCallback';\nimport useForkRef from '../utils/useForkRef';\nimport capitalize from '../utils/capitalize';\nimport useControlled from '../utils/useControlled';\nimport ValueLabel from './ValueLabel';\n\nfunction asc(a, b) {\n return a - b;\n}\n\nfunction clamp(value, min, max) {\n return Math.min(Math.max(min, value), max);\n}\n\nfunction findClosest(values, currentValue) {\n var _values$reduce = values.reduce(function (acc, value, index) {\n var distance = Math.abs(currentValue - value);\n\n if (acc === null || distance < acc.distance || distance === acc.distance) {\n return {\n distance: distance,\n index: index\n };\n }\n\n return acc;\n }, null),\n closestIndex = _values$reduce.index;\n\n return closestIndex;\n}\n\nfunction trackFinger(event, touchId) {\n if (touchId.current !== undefined && event.changedTouches) {\n for (var i = 0; i < event.changedTouches.length; i += 1) {\n var touch = event.changedTouches[i];\n\n if (touch.identifier === touchId.current) {\n return {\n x: touch.clientX,\n y: touch.clientY\n };\n }\n }\n\n return false;\n }\n\n return {\n x: event.clientX,\n y: event.clientY\n };\n}\n\nfunction valueToPercent(value, min, max) {\n return (value - min) * 100 / (max - min);\n}\n\nfunction percentToValue(percent, min, max) {\n return (max - min) * percent + min;\n}\n\nfunction getDecimalPrecision(num) {\n // This handles the case when num is very small (0.00000001), js will turn this into 1e-8.\n // When num is bigger than 1 or less than -1 it won't get converted to this notation so it's fine.\n if (Math.abs(num) < 1) {\n var parts = num.toExponential().split('e-');\n var matissaDecimalPart = parts[0].split('.')[1];\n return (matissaDecimalPart ? matissaDecimalPart.length : 0) + parseInt(parts[1], 10);\n }\n\n var decimalPart = num.toString().split('.')[1];\n return decimalPart ? decimalPart.length : 0;\n}\n\nfunction roundValueToStep(value, step, min) {\n var nearest = Math.round((value - min) / step) * step + min;\n return Number(nearest.toFixed(getDecimalPrecision(step)));\n}\n\nfunction setValueIndex(_ref) {\n var values = _ref.values,\n source = _ref.source,\n newValue = _ref.newValue,\n index = _ref.index;\n\n // Performance shortcut\n if (values[index] === newValue) {\n return source;\n }\n\n var output = _toConsumableArray(values);\n\n output[index] = newValue;\n return output;\n}\n\nfunction focusThumb(_ref2) {\n var sliderRef = _ref2.sliderRef,\n activeIndex = _ref2.activeIndex,\n setActive = _ref2.setActive;\n\n if (!sliderRef.current.contains(document.activeElement) || Number(document.activeElement.getAttribute('data-index')) !== activeIndex) {\n sliderRef.current.querySelector(\"[role=\\\"slider\\\"][data-index=\\\"\".concat(activeIndex, \"\\\"]\")).focus();\n }\n\n if (setActive) {\n setActive(activeIndex);\n }\n}\n\nvar axisProps = {\n horizontal: {\n offset: function offset(percent) {\n return {\n left: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n width: \"\".concat(percent, \"%\")\n };\n }\n },\n 'horizontal-reverse': {\n offset: function offset(percent) {\n return {\n right: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n width: \"\".concat(percent, \"%\")\n };\n }\n },\n vertical: {\n offset: function offset(percent) {\n return {\n bottom: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n height: \"\".concat(percent, \"%\")\n };\n }\n }\n};\n\nvar Identity = function Identity(x) {\n return x;\n};\n\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 2,\n width: '100%',\n boxSizing: 'content-box',\n padding: '13px 0',\n display: 'inline-block',\n position: 'relative',\n cursor: 'pointer',\n touchAction: 'none',\n color: theme.palette.primary.main,\n WebkitTapHighlightColor: 'transparent',\n '&$disabled': {\n pointerEvents: 'none',\n cursor: 'default',\n color: theme.palette.grey[400]\n },\n '&$vertical': {\n width: 2,\n height: '100%',\n padding: '0 13px'\n },\n // The primary input mechanism of the device includes a pointing device of limited accuracy.\n '@media (pointer: coarse)': {\n // Reach 42px touch target, about ~8mm on screen.\n padding: '20px 0',\n '&$vertical': {\n padding: '0 20px'\n }\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {// TODO v5: move the style here\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `marks` is provided with at least one label. */\n marked: {\n marginBottom: 20,\n '&$vertical': {\n marginBottom: 'auto',\n marginRight: 20\n }\n },\n\n /* Pseudo-class applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Pseudo-class applied to the root and thumb element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the rail element. */\n rail: {\n display: 'block',\n position: 'absolute',\n width: '100%',\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor',\n opacity: 0.38,\n '$vertical &': {\n height: '100%',\n width: 2\n }\n },\n\n /* Styles applied to the track element. */\n track: {\n display: 'block',\n position: 'absolute',\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor',\n '$vertical &': {\n width: 2\n }\n },\n\n /* Styles applied to the track element if `track={false}`. */\n trackFalse: {\n '& $track': {\n display: 'none'\n }\n },\n\n /* Styles applied to the track element if `track=\"inverted\"`. */\n trackInverted: {\n '& $track': {\n backgroundColor: // Same logic as the LinearProgress track color\n theme.palette.type === 'light' ? lighten(theme.palette.primary.main, 0.62) : darken(theme.palette.primary.main, 0.5)\n },\n '& $rail': {\n opacity: 1\n }\n },\n\n /* Styles applied to the thumb element. */\n thumb: {\n position: 'absolute',\n width: 12,\n height: 12,\n marginLeft: -6,\n marginTop: -5,\n boxSizing: 'border-box',\n borderRadius: '50%',\n outline: 0,\n backgroundColor: 'currentColor',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n transition: theme.transitions.create(['box-shadow'], {\n duration: theme.transitions.duration.shortest\n }),\n '&::after': {\n position: 'absolute',\n content: '\"\"',\n borderRadius: '50%',\n // reach 42px hit target (2 * 15 + thumb diameter)\n left: -15,\n top: -15,\n right: -15,\n bottom: -15\n },\n '&$focusVisible,&:hover': {\n boxShadow: \"0px 0px 0px 8px \".concat(fade(theme.palette.primary.main, 0.16)),\n '@media (hover: none)': {\n boxShadow: 'none'\n }\n },\n '&$active': {\n boxShadow: \"0px 0px 0px 14px \".concat(fade(theme.palette.primary.main, 0.16))\n },\n '&$disabled': {\n width: 8,\n height: 8,\n marginLeft: -4,\n marginTop: -3,\n '&:hover': {\n boxShadow: 'none'\n }\n },\n '$vertical &': {\n marginLeft: -5,\n marginBottom: -6\n },\n '$vertical &$disabled': {\n marginLeft: -3,\n marginBottom: -4\n }\n },\n\n /* Styles applied to the thumb element if `color=\"primary\"`. */\n thumbColorPrimary: {// TODO v5: move the style here\n },\n\n /* Styles applied to the thumb element if `color=\"secondary\"`. */\n thumbColorSecondary: {\n '&$focusVisible,&:hover': {\n boxShadow: \"0px 0px 0px 8px \".concat(fade(theme.palette.secondary.main, 0.16))\n },\n '&$active': {\n boxShadow: \"0px 0px 0px 14px \".concat(fade(theme.palette.secondary.main, 0.16))\n }\n },\n\n /* Pseudo-class applied to the thumb element if it's active. */\n active: {},\n\n /* Pseudo-class applied to the thumb element if keyboard focused. */\n focusVisible: {},\n\n /* Styles applied to the thumb label element. */\n valueLabel: {},\n\n /* Styles applied to the mark element. */\n mark: {\n position: 'absolute',\n width: 2,\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor'\n },\n\n /* Styles applied to the mark element if active (depending on the value). */\n markActive: {\n backgroundColor: theme.palette.background.paper,\n opacity: 0.8\n },\n\n /* Styles applied to the mark label element. */\n markLabel: _extends(_extends({}, theme.typography.body2), {}, {\n color: theme.palette.text.secondary,\n position: 'absolute',\n top: 26,\n transform: 'translateX(-50%)',\n whiteSpace: 'nowrap',\n '$vertical &': {\n top: 'auto',\n left: 26,\n transform: 'translateY(50%)'\n },\n '@media (pointer: coarse)': {\n top: 40,\n '$vertical &': {\n left: 31\n }\n }\n }),\n\n /* Styles applied to the mark label element if active (depending on the value). */\n markLabelActive: {\n color: theme.palette.text.primary\n }\n };\n};\nvar Slider = React.forwardRef(function Slider(props, ref) {\n var ariaLabel = props['aria-label'],\n ariaLabelledby = props['aria-labelledby'],\n ariaValuetext = props['aria-valuetext'],\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'span' : _props$component,\n defaultValue = props.defaultValue,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n getAriaLabel = props.getAriaLabel,\n getAriaValueText = props.getAriaValueText,\n _props$marks = props.marks,\n marksProp = _props$marks === void 0 ? false : _props$marks,\n _props$max = props.max,\n max = _props$max === void 0 ? 100 : _props$max,\n _props$min = props.min,\n min = _props$min === void 0 ? 0 : _props$min,\n name = props.name,\n onChange = props.onChange,\n onChangeCommitted = props.onChangeCommitted,\n onMouseDown = props.onMouseDown,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$scale = props.scale,\n scale = _props$scale === void 0 ? Identity : _props$scale,\n _props$step = props.step,\n step = _props$step === void 0 ? 1 : _props$step,\n _props$ThumbComponent = props.ThumbComponent,\n ThumbComponent = _props$ThumbComponent === void 0 ? 'span' : _props$ThumbComponent,\n _props$track = props.track,\n track = _props$track === void 0 ? 'normal' : _props$track,\n valueProp = props.value,\n _props$ValueLabelComp = props.ValueLabelComponent,\n ValueLabelComponent = _props$ValueLabelComp === void 0 ? ValueLabel : _props$ValueLabelComp,\n _props$valueLabelDisp = props.valueLabelDisplay,\n valueLabelDisplay = _props$valueLabelDisp === void 0 ? 'off' : _props$valueLabelDisp,\n _props$valueLabelForm = props.valueLabelFormat,\n valueLabelFormat = _props$valueLabelForm === void 0 ? Identity : _props$valueLabelForm,\n other = _objectWithoutProperties(props, [\"aria-label\", \"aria-labelledby\", \"aria-valuetext\", \"classes\", \"className\", \"color\", \"component\", \"defaultValue\", \"disabled\", \"getAriaLabel\", \"getAriaValueText\", \"marks\", \"max\", \"min\", \"name\", \"onChange\", \"onChangeCommitted\", \"onMouseDown\", \"orientation\", \"scale\", \"step\", \"ThumbComponent\", \"track\", \"value\", \"ValueLabelComponent\", \"valueLabelDisplay\", \"valueLabelFormat\"]);\n\n var theme = useTheme();\n var touchId = React.useRef(); // We can't use the :active browser pseudo-classes.\n // - The active state isn't triggered when clicking on the rail.\n // - The active state isn't transfered when inversing a range slider.\n\n var _React$useState = React.useState(-1),\n active = _React$useState[0],\n setActive = _React$useState[1];\n\n var _React$useState2 = React.useState(-1),\n open = _React$useState2[0],\n setOpen = _React$useState2[1];\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Slider'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n valueDerived = _useControlled2[0],\n setValueState = _useControlled2[1];\n\n var range = Array.isArray(valueDerived);\n var instanceRef = React.useRef();\n var values = range ? _toConsumableArray(valueDerived).sort(asc) : [valueDerived];\n values = values.map(function (value) {\n return clamp(value, min, max);\n });\n var marks = marksProp === true && step !== null ? _toConsumableArray(Array(Math.floor((max - min) / step) + 1)).map(function (_, index) {\n return {\n value: min + step * index\n };\n }) : marksProp || [];\n instanceRef.current = {\n source: valueDerived // Keep track of the input value to leverage immutable state comparison.\n\n };\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n var _React$useState3 = React.useState(-1),\n focusVisible = _React$useState3[0],\n setFocusVisible = _React$useState3[1];\n\n var sliderRef = React.useRef();\n var handleFocusRef = useForkRef(focusVisibleRef, sliderRef);\n var handleRef = useForkRef(ref, handleFocusRef);\n var handleFocus = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n\n if (isFocusVisible(event)) {\n setFocusVisible(index);\n }\n\n setOpen(index);\n });\n var handleBlur = useEventCallback(function () {\n if (focusVisible !== -1) {\n setFocusVisible(-1);\n onBlurVisible();\n }\n\n setOpen(-1);\n });\n var handleMouseOver = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n setOpen(index);\n });\n var handleMouseLeave = useEventCallback(function () {\n setOpen(-1);\n });\n var isRtl = theme.direction === 'rtl';\n var handleKeyDown = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n var value = values[index];\n var tenPercents = (max - min) / 10;\n var marksValues = marks.map(function (mark) {\n return mark.value;\n });\n var marksIndex = marksValues.indexOf(value);\n var newValue;\n var increaseKey = isRtl ? 'ArrowLeft' : 'ArrowRight';\n var decreaseKey = isRtl ? 'ArrowRight' : 'ArrowLeft';\n\n switch (event.key) {\n case 'Home':\n newValue = min;\n break;\n\n case 'End':\n newValue = max;\n break;\n\n case 'PageUp':\n if (step) {\n newValue = value + tenPercents;\n }\n\n break;\n\n case 'PageDown':\n if (step) {\n newValue = value - tenPercents;\n }\n\n break;\n\n case increaseKey:\n case 'ArrowUp':\n if (step) {\n newValue = value + step;\n } else {\n newValue = marksValues[marksIndex + 1] || marksValues[marksValues.length - 1];\n }\n\n break;\n\n case decreaseKey:\n case 'ArrowDown':\n if (step) {\n newValue = value - step;\n } else {\n newValue = marksValues[marksIndex - 1] || marksValues[0];\n }\n\n break;\n\n default:\n return;\n } // Prevent scroll of the page\n\n\n event.preventDefault();\n\n if (step) {\n newValue = roundValueToStep(newValue, step, min);\n }\n\n newValue = clamp(newValue, min, max);\n\n if (range) {\n var previousValue = newValue;\n newValue = setValueIndex({\n values: values,\n source: valueDerived,\n newValue: newValue,\n index: index\n }).sort(asc);\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: newValue.indexOf(previousValue)\n });\n }\n\n setValueState(newValue);\n setFocusVisible(index);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n if (onChangeCommitted) {\n onChangeCommitted(event, newValue);\n }\n });\n var previousIndex = React.useRef();\n var axis = orientation;\n\n if (isRtl && orientation !== \"vertical\") {\n axis += '-reverse';\n }\n\n var getFingerNewValue = function getFingerNewValue(_ref3) {\n var finger = _ref3.finger,\n _ref3$move = _ref3.move,\n move = _ref3$move === void 0 ? false : _ref3$move,\n values2 = _ref3.values,\n source = _ref3.source;\n var slider = sliderRef.current;\n\n var _slider$getBoundingCl = slider.getBoundingClientRect(),\n width = _slider$getBoundingCl.width,\n height = _slider$getBoundingCl.height,\n bottom = _slider$getBoundingCl.bottom,\n left = _slider$getBoundingCl.left;\n\n var percent;\n\n if (axis.indexOf('vertical') === 0) {\n percent = (bottom - finger.y) / height;\n } else {\n percent = (finger.x - left) / width;\n }\n\n if (axis.indexOf('-reverse') !== -1) {\n percent = 1 - percent;\n }\n\n var newValue;\n newValue = percentToValue(percent, min, max);\n\n if (step) {\n newValue = roundValueToStep(newValue, step, min);\n } else {\n var marksValues = marks.map(function (mark) {\n return mark.value;\n });\n var closestIndex = findClosest(marksValues, newValue);\n newValue = marksValues[closestIndex];\n }\n\n newValue = clamp(newValue, min, max);\n var activeIndex = 0;\n\n if (range) {\n if (!move) {\n activeIndex = findClosest(values2, newValue);\n } else {\n activeIndex = previousIndex.current;\n }\n\n var previousValue = newValue;\n newValue = setValueIndex({\n values: values2,\n source: source,\n newValue: newValue,\n index: activeIndex\n }).sort(asc);\n activeIndex = newValue.indexOf(previousValue);\n previousIndex.current = activeIndex;\n }\n\n return {\n newValue: newValue,\n activeIndex: activeIndex\n };\n };\n\n var handleTouchMove = useEventCallback(function (event) {\n var finger = trackFinger(event, touchId);\n\n if (!finger) {\n return;\n }\n\n var _getFingerNewValue = getFingerNewValue({\n finger: finger,\n move: true,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue.newValue,\n activeIndex = _getFingerNewValue.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n });\n var handleTouchEnd = useEventCallback(function (event) {\n var finger = trackFinger(event, touchId);\n\n if (!finger) {\n return;\n }\n\n var _getFingerNewValue2 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue2.newValue;\n\n setActive(-1);\n\n if (event.type === 'touchend') {\n setOpen(-1);\n }\n\n if (onChangeCommitted) {\n onChangeCommitted(event, newValue);\n }\n\n touchId.current = undefined;\n var doc = ownerDocument(sliderRef.current);\n doc.removeEventListener('mousemove', handleTouchMove);\n doc.removeEventListener('mouseup', handleTouchEnd);\n doc.removeEventListener('touchmove', handleTouchMove);\n doc.removeEventListener('touchend', handleTouchEnd);\n });\n var handleTouchStart = useEventCallback(function (event) {\n // Workaround as Safari has partial support for touchAction: 'none'.\n event.preventDefault();\n var touch = event.changedTouches[0];\n\n if (touch != null) {\n // A number that uniquely identifies the current finger in the touch session.\n touchId.current = touch.identifier;\n }\n\n var finger = trackFinger(event, touchId);\n\n var _getFingerNewValue3 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue3.newValue,\n activeIndex = _getFingerNewValue3.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n var doc = ownerDocument(sliderRef.current);\n doc.addEventListener('touchmove', handleTouchMove);\n doc.addEventListener('touchend', handleTouchEnd);\n });\n React.useEffect(function () {\n var slider = sliderRef.current;\n slider.addEventListener('touchstart', handleTouchStart);\n var doc = ownerDocument(slider);\n return function () {\n slider.removeEventListener('touchstart', handleTouchStart);\n doc.removeEventListener('mousemove', handleTouchMove);\n doc.removeEventListener('mouseup', handleTouchEnd);\n doc.removeEventListener('touchmove', handleTouchMove);\n doc.removeEventListener('touchend', handleTouchEnd);\n };\n }, [handleTouchEnd, handleTouchMove, handleTouchStart]);\n var handleMouseDown = useEventCallback(function (event) {\n if (onMouseDown) {\n onMouseDown(event);\n }\n\n event.preventDefault();\n var finger = trackFinger(event, touchId);\n\n var _getFingerNewValue4 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue4.newValue,\n activeIndex = _getFingerNewValue4.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n var doc = ownerDocument(sliderRef.current);\n doc.addEventListener('mousemove', handleTouchMove);\n doc.addEventListener('mouseup', handleTouchEnd);\n });\n var trackOffset = valueToPercent(range ? values[0] : min, min, max);\n var trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;\n\n var trackStyle = _extends(_extends({}, axisProps[axis].offset(trackOffset)), axisProps[axis].leap(trackLeap));\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef,\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function (mark) {\n return mark.label;\n }) && classes.marked, track === false && classes.trackFalse, orientation === 'vertical' && classes.vertical, track === 'inverted' && classes.trackInverted),\n onMouseDown: handleMouseDown\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.rail\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.track,\n style: trackStyle\n }), /*#__PURE__*/React.createElement(\"input\", {\n value: values.join(','),\n name: name,\n type: \"hidden\"\n }), marks.map(function (mark, index) {\n var percent = valueToPercent(mark.value, min, max);\n var style = axisProps[axis].offset(percent);\n var markActive;\n\n if (track === false) {\n markActive = values.indexOf(mark.value) !== -1;\n } else {\n markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: mark.value\n }, /*#__PURE__*/React.createElement(\"span\", {\n style: style,\n \"data-index\": index,\n className: clsx(classes.mark, markActive && classes.markActive)\n }), mark.label != null ? /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true,\n \"data-index\": index,\n style: style,\n className: clsx(classes.markLabel, markActive && classes.markLabelActive)\n }, mark.label) : null);\n }), values.map(function (value, index) {\n var percent = valueToPercent(value, min, max);\n var style = axisProps[axis].offset(percent);\n return /*#__PURE__*/React.createElement(ValueLabelComponent, {\n key: index,\n valueLabelFormat: valueLabelFormat,\n valueLabelDisplay: valueLabelDisplay,\n className: classes.valueLabel,\n value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,\n index: index,\n open: open === index || active === index || valueLabelDisplay === 'on',\n disabled: disabled\n }, /*#__PURE__*/React.createElement(ThumbComponent, {\n className: clsx(classes.thumb, classes[\"thumbColor\".concat(capitalize(color))], active === index && classes.active, disabled && classes.disabled, focusVisible === index && classes.focusVisible),\n tabIndex: disabled ? null : 0,\n role: \"slider\",\n style: style,\n \"data-index\": index,\n \"aria-label\": getAriaLabel ? getAriaLabel(index) : ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n \"aria-orientation\": orientation,\n \"aria-valuemax\": scale(max),\n \"aria-valuemin\": scale(min),\n \"aria-valuenow\": scale(value),\n \"aria-valuetext\": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,\n onKeyDown: handleKeyDown,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onMouseOver: handleMouseOver,\n onMouseLeave: handleMouseLeave\n }));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Slider.propTypes = {\n /**\n * The label of the slider.\n */\n 'aria-label': chainPropTypes(PropTypes.string, function (props) {\n var range = Array.isArray(props.value || props.defaultValue);\n\n if (range && props['aria-label'] != null) {\n return new Error('Material-UI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.');\n }\n\n return null;\n }),\n\n /**\n * The id of the element containing a label for the slider.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * A string value that provides a user-friendly name for the current value of the slider.\n */\n 'aria-valuetext': chainPropTypes(PropTypes.string, function (props) {\n var range = Array.isArray(props.value || props.defaultValue);\n\n if (range && props['aria-valuetext'] != null) {\n return new Error('Material-UI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),\n\n /**\n * If `true`, the slider will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.\n *\n * @param {number} index The thumb label's index to format.\n * @returns {string}\n */\n getAriaLabel: PropTypes.func,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.\n *\n * @param {number} value The thumb label's value to format.\n * @param {number} index The thumb label's index to format.\n * @returns {string}\n */\n getAriaValueText: PropTypes.func,\n\n /**\n * Marks indicate predetermined values to which the user can move the slider.\n * If `true` the marks will be spaced according the value of the `step` prop.\n * If an array, it should contain objects with `value` and an optional `label` keys.\n */\n marks: PropTypes.oneOfType([PropTypes.bool, PropTypes.array]),\n\n /**\n * The maximum allowed value of the slider.\n * Should not be equal to min.\n */\n max: PropTypes.number,\n\n /**\n * The minimum allowed value of the slider.\n * Should not be equal to max.\n */\n min: PropTypes.number,\n\n /**\n * Name attribute of the hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback function that is fired when the slider's value changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number | number[]} value The new value.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback function that is fired when the `mouseup` is triggered.\n *\n * @param {object} event The event source of the callback.\n * @param {number | number[]} value The new value.\n */\n onChangeCommitted: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * The slider orientation.\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * A transformation function, to change the scale of the slider.\n */\n scale: PropTypes.func,\n\n /**\n * The granularity with which the slider can step through values. (A \"discrete\" slider.)\n * The `min` prop serves as the origin for the valid values.\n * We recommend (max - min) to be evenly divisible by the step.\n *\n * When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.\n */\n step: PropTypes.number,\n\n /**\n * The component used to display the value label.\n */\n ThumbComponent: PropTypes.elementType,\n\n /**\n * The track presentation:\n *\n * - `normal` the track will render a bar representing the slider value.\n * - `inverted` the track will render a bar representing the remaining slider value.\n * - `false` the track will render without a bar.\n */\n track: PropTypes.oneOf(['normal', false, 'inverted']),\n\n /**\n * The value of the slider.\n * For ranged sliders, provide an array with two values.\n */\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),\n\n /**\n * The value label component.\n */\n ValueLabelComponent: PropTypes.elementType,\n\n /**\n * Controls when the value label is displayed:\n *\n * - `auto` the value label will display when the thumb is hovered or focused.\n * - `on` will display persistently.\n * - `off` will never display.\n */\n valueLabelDisplay: PropTypes.oneOf(['on', 'auto', 'off']),\n\n /**\n * The format function the value label's value.\n *\n * When a function is provided, it should have the following signature:\n *\n * - {number} value The value label's value to format\n * - {number} index The value label's index to format\n */\n valueLabelFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.func])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSlider'\n})(Slider);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiSlider } from '@material-ui/core/Slider';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport Circle from '@ellucian/ds-icons/lib/Circle';\r\n\r\n// Necessary design tokens are imported here\r\nimport { boxShadowFocus, colorTextNeutral500, fontSizeSmall } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {\r\n color: theme.palette.ctaColor.base\r\n },\r\n\r\n disabled: {\r\n '& $thumb': {\r\n width: fontSizeSmall,\r\n height: fontSizeSmall,\r\n marginTop: '-5px',\r\n marginLeft: '-6px'\r\n },\r\n\r\n '&$vertical $thumb': {\r\n marginBottom: '-6px',\r\n marginLeft: '-5px'\r\n }\r\n\r\n },\r\n\r\n rail: {\r\n color: colorTextNeutral500\r\n },\r\n\r\n thumb: {\r\n '&:focus, &:hover': {\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n\r\n vertical: {}\r\n\r\n };\r\n};\r\n\r\n/**\r\n * A tool to select a value within a range.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * SliderExample\r\n */\r\nvar Slider = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root,\r\n disabled: classes.disabled,\r\n rail: classes.rail,\r\n thumb: classes.thumb,\r\n vertical: classes.vertical\r\n\r\n };\r\n\r\n return React.createElement(MuiSlider, Object.assign({}, rest, {\r\n thumb: React.createElement(Circle, { 'aria-label': edsContext.formatMessage('component.Slider.thumb') }),\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nSlider.muiName = 'Slider';\r\nSlider.displayName = 'Slider';\r\n\r\nSlider.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the slider will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * The maximum allowed value of the slider.\r\n * Should not be equal to min.\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * The minimum allowed value of the slider.\r\n * Should not be equal to max.\r\n */\r\n min: PropTypes.number,\r\n /**\r\n * Callback function that is fired when the slider's value changed.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The granularity the slider can step through values.\r\n */\r\n step: PropTypes.number,\r\n /**\r\n * @ignore\r\n */\r\n theme: PropTypes.object,\r\n /**\r\n * The value of the slider.\r\n */\r\n value: PropTypes.number.isRequired,\r\n /**\r\n * The slider orientation.\r\n */\r\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nSlider.defaultProps = {\r\n orientation: 'horizontal'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Slider));","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'Person');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Person from '../internal/svg-icons/Person';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none'\n },\n\n /* Styles applied to the root element if not `src` or `srcSet`. */\n colorDefault: {\n color: theme.palette.background.default,\n backgroundColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `variant=\"circle\"`. */\n circle: {},\n\n /* Styles applied to the root element if `variant=\"rounded\"`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"square\"`. */\n square: {\n borderRadius: 0\n },\n\n /* Styles applied to the img element if either `src` or `srcSet` is defined. */\n img: {\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE 11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n },\n\n /* Styles applied to the fallback icon */\n fallback: {\n width: '75%',\n height: '75%'\n }\n };\n};\n\nfunction useLoaded(_ref) {\n var src = _ref.src,\n srcSet = _ref.srcSet;\n\n var _React$useState = React.useState(false),\n loaded = _React$useState[0],\n setLoaded = _React$useState[1];\n\n React.useEffect(function () {\n if (!src && !srcSet) {\n return undefined;\n }\n\n setLoaded(false);\n var active = true;\n var image = new Image();\n image.src = src;\n image.srcSet = srcSet;\n\n image.onload = function () {\n if (!active) {\n return;\n }\n\n setLoaded('loaded');\n };\n\n image.onerror = function () {\n if (!active) {\n return;\n }\n\n setLoaded('error');\n };\n\n return function () {\n active = false;\n };\n }, [src, srcSet]);\n return loaded;\n}\n\nvar Avatar = React.forwardRef(function Avatar(props, ref) {\n var alt = props.alt,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n imgProps = props.imgProps,\n sizes = props.sizes,\n src = props.src,\n srcSet = props.srcSet,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'circle' : _props$variant,\n other = _objectWithoutProperties(props, [\"alt\", \"children\", \"classes\", \"className\", \"component\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"]);\n\n var children = null; // Use a hook instead of onError on the img element to support server-side rendering.\n\n var loaded = useLoaded({\n src: src,\n srcSet: srcSet\n });\n var hasImg = src || srcSet;\n var hasImgNotFailing = hasImg && loaded !== 'error';\n\n if (hasImgNotFailing) {\n children = /*#__PURE__*/React.createElement(\"img\", _extends({\n alt: alt,\n src: src,\n srcSet: srcSet,\n sizes: sizes,\n className: classes.img\n }, imgProps));\n } else if (childrenProp != null) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/React.createElement(Person, {\n className: classes.fallback\n });\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes.system, classes[variant], className, !hasImgNotFailing && classes.colorDefault),\n ref: ref\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes = {\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Attributes applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n */\n imgProps: PropTypes.object,\n\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n\n /**\n * The shape of the avatar.\n */\n variant: PropTypes.oneOf(['circle', 'rounded', 'square'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatar'\n})(Avatar);","import React from 'react';\r\n\r\nfunction AvatarUserIcon(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: \".75em\", height: \".75em\", xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 448 512\" }, props),\r\n React.createElement(\"path\", { d: \"M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z\" })\r\n );\r\n}\r\n\r\nexport default AvatarUserIcon;","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiAvatar } from '@material-ui/core/Avatar';\r\nimport { borderWidthThick, colorBorderGlobalFocus, fontFamilyHeader } from '../styles/tokens';\r\nimport AvatarUserIcon from './internal/AvatarUserIcon';\r\n\r\nexport var AVATAR_VARIANT_DEFAULT = 'default';\r\nexport var AVATAR_VARIANT_INTERACTIVE = 'interactive';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: '1.125rem'\r\n },\r\n interactiveRoot: {\r\n transition: theme.transitions.create(['background-color', 'border', 'box-shadow'], {\r\n duration: theme.transitions.duration.shortest\r\n })\r\n },\r\n colorDefault: {\r\n color: theme.palette.grey['600'],\r\n backgroundColor: theme.palette.grey['300'],\r\n '&$interactiveRoot': {\r\n color: theme.palette.grey['600'],\r\n backgroundColor: theme.palette.grey['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['300'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey['250'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['250']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.grey['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['400']\r\n },\r\n '&:focus': {\r\n outline: 'solid ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n },\r\n '&$purple': {\r\n backgroundColor: theme.palette.tertiary.purple['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.purple['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.purple['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.purple['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.purple['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.purple['400']\r\n }\r\n },\r\n '&$iris': {\r\n backgroundColor: theme.palette.tertiary.iris['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.iris['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.iris['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.iris['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.iris['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.iris['400']\r\n }\r\n },\r\n '&$fountain': {\r\n backgroundColor: theme.palette.tertiary.fountain['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.fountain['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.fountain['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.fountain['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.fountain['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.fountain['400']\r\n }\r\n },\r\n '&$meadow': {\r\n backgroundColor: theme.palette.tertiary.meadow['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.meadow['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.meadow['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.meadow['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.meadow['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.meadow['400']\r\n }\r\n },\r\n '&$kiwi': {\r\n backgroundColor: theme.palette.tertiary.kiwi['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.kiwi['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.kiwi['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.kiwi['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.kiwi['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.kiwi['400']\r\n }\r\n },\r\n '&$saffron': {\r\n backgroundColor: theme.palette.tertiary.saffron['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.saffron['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.saffron['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.saffron['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.saffron['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.saffron['400']\r\n }\r\n },\r\n '&$tangerine': {\r\n backgroundColor: theme.palette.tertiary.tangerine['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.tangerine['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.tangerine['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.tangerine['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.tangerine['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.tangerine['400']\r\n }\r\n }\r\n\r\n }\r\n },\r\n purple: {},\r\n iris: {},\r\n fountain: {},\r\n meadow: {},\r\n kiwi: {},\r\n saffron: {},\r\n tangerine: {},\r\n image: {\r\n color: theme.palette.grey['600'],\r\n border: 'none',\r\n // Set transition to 0 for image Avatars to prevent weird UI visual\r\n transition: theme.transitions.create(['border'], { duration: 0 }),\r\n '&:hover': {\r\n border: 'none'\r\n },\r\n '&:active': {\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['400']\r\n },\r\n '&:focus': {\r\n outline: 'solid ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n }\r\n },\r\n img: {\r\n // Needed to fix images when HTML button element used\r\n width: 40,\r\n height: 40,\r\n '&:hover': {\r\n opacity: '0.32'\r\n },\r\n '&:active': {\r\n opacity: '0.4'\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar TERTIARY_COLORS_MAP = ['default', 'purple', 'iris', 'fountain', 'meadow', 'kiwi', 'saffron', 'tangerine'];\r\n\r\n/**\r\n * A component that creates a graphical representation of a user.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * AvatarIcon\r\n * AvatarImage\r\n * AvatarLetter\r\n * AvatarInteractive\r\n * AvatarGroup\r\n */\r\nvar Avatar = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n src = props.src,\r\n srcSet = props.srcSet,\r\n internalVariant = props.variant,\r\n color = props.color,\r\n rest = _objectWithoutProperties(props, ['classes', 'src', 'srcSet', 'variant', 'color']);\r\n\r\n var propOverrides = {\r\n component: 'div'\r\n };\r\n\r\n var hasImg = src || srcSet;\r\n var isInteractive = internalVariant === AVATAR_VARIANT_INTERACTIVE;\r\n\r\n // If no img is sent in, render tertiary background\r\n var shouldBeTertiary = !hasImg && isInteractive;\r\n\r\n if (isInteractive) {\r\n propOverrides.component = 'button';\r\n }\r\n\r\n var classOverrides = {\r\n colorDefault: classes.colorDefault,\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.interactiveRoot, isInteractive), _defineProperty(_classNames, classes[color], shouldBeTertiary), _defineProperty(_classNames, classes.image, hasImg && isInteractive), _classNames)),\r\n img: classes.img\r\n };\r\n\r\n return React.createElement(\r\n MuiAvatar,\r\n Object.assign({\r\n ref: ref,\r\n src: src,\r\n srcSet: srcSet,\r\n classes: classOverrides\r\n }, propOverrides, rest),\r\n props.children === undefined ? React.createElement(AvatarUserIcon, null) : props.children\r\n );\r\n});\r\n\r\nAvatar.muiName = 'Avatar';\r\n\r\nAvatar.propTypes = {\r\n /**\r\n * Used in combination with src or srcSet to provide an alt attribute for the rendered img element.\r\n */\r\n alt: PropTypes.string,\r\n /**\r\n * Used to render icon or text elements inside the Avatar. src and alt props will not be used and no img will be rendered by default.\r\n * This can be an element, or just a string.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.node,\r\n /**\r\n * The color of the Avatar if the variant is set to `interactive`.\r\n */\r\n color: PropTypes.oneOf(TERTIARY_COLORS_MAP),\r\n /**\r\n * Attributes applied to the img element when the component is used to display an image.\r\n */\r\n imgProps: PropTypes.object,\r\n /**\r\n * The sizes attribute for the img element.\r\n */\r\n sizes: PropTypes.string,\r\n /**\r\n * The src attribute for the img element.\r\n */\r\n src: PropTypes.string,\r\n /**\r\n * The srcSet attribute for the img element.\r\n */\r\n srcSet: PropTypes.string,\r\n /**\r\n * The variant of the `Avatar` to render.\r\n */\r\n variant: PropTypes.oneOf([AVATAR_VARIANT_DEFAULT, AVATAR_VARIANT_INTERACTIVE])\r\n};\r\n\r\nAvatar.displayName = 'Avatar';\r\n\r\nAvatar.defaultProps = {\r\n variant: AVATAR_VARIANT_DEFAULT\r\n};\r\n\r\nexport default withStyles(styles)(Avatar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport { withStyles } from '@material-ui/core/styles';\nimport Avatar from '@material-ui/core/Avatar';\nvar SPACINGS = {\n small: -16,\n medium: null\n};\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex'\n },\n\n /* Styles applied to the avatar elements. */\n avatar: {\n border: \"2px solid \".concat(theme.palette.background.default),\n marginLeft: -8\n }\n };\n};\nvar AvatarGroup = React.forwardRef(function AvatarGroup(props, ref) {\n var childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 'medium' : _props$spacing,\n _props$max = props.max,\n max = _props$max === void 0 ? 5 : _props$max,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"spacing\", \"max\"]);\n\n var children = React.Children.toArray(childrenProp).filter(function (child) {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: the AvatarGroup component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n return React.isValidElement(child);\n });\n var extraAvatars = children.length > max ? children.length - max : 0;\n return React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), children.slice(0, children.length - extraAvatars).map(function (child, index) {\n return React.cloneElement(child, {\n className: clsx(child.props.className, classes.avatar),\n style: _extends({\n zIndex: children.length - index,\n marginLeft: spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing\n }, child.props.style)\n });\n }), extraAvatars ? React.createElement(Avatar, {\n className: classes.avatar,\n style: {\n zIndex: 0,\n marginLeft: spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing\n }\n }, \"+\", extraAvatars) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? AvatarGroup.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The avatars to stack.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Max avatars to show before +x.\n */\n max: PropTypes.number,\n\n /**\n * Spacing between avatars.\n */\n spacing: PropTypes.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.number])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatarGroup'\n})(AvatarGroup);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiAvatarGroup } from '@material-ui/lab/AvatarGroup';\r\nimport { borderWidthThick } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n avatar: {\r\n backgroundColor: theme.palette.grey['300'],\r\n fontSize: '1.125rem',\r\n color: theme.palette.grey['600'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['100'] + ' !important'\r\n }\r\n };\r\n};\r\n\r\nvar AvatarGroup = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n children = props.children,\r\n rest = _objectWithoutProperties(props, ['classes', 'children']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n avatar: classes.avatar\r\n };\r\n\r\n return React.createElement(\r\n MuiAvatarGroup,\r\n Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }),\r\n children\r\n );\r\n});\r\n\r\nAvatarGroup.muiName = 'AvatarGroup';\r\nAvatarGroup.displayName = 'AvatarGroup';\r\n\r\nAvatarGroup.propTypes = {\r\n /**\r\n * The avatars to stack.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Max avatars to show before +x.\r\n * * Value should be greater than or equal to two.\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * Spacing between avatars.\r\n * * number:\r\n * * Positive number would decrease space between Avatars\r\n * * Negative number would increase space between Avatars\r\n */\r\n spacing: PropTypes.oneOf(['medium', 'small', 'number'])\r\n};\r\n\r\nAvatarGroup.defaultProps = {\r\n spacing: 'medium',\r\n max: '5'\r\n};\r\n\r\nexport default withStyles(styles)(AvatarGroup);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiInputAdornment } from '@material-ui/core/InputAdornment';\r\nimport { spacing30, fontFamilyDefault, fontSizeDefault, fontSizeLarge, colorTextNeutral500 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeLarge,\r\n color: colorTextNeutral500\r\n },\r\n positionStart: {\r\n marginTop: '0.75rem',\r\n marginLeft: '.875rem',\r\n marginRight: 0,\r\n '&$smallTextField': {\r\n marginTop: 0,\r\n marginLeft: spacing30\r\n }\r\n },\r\n smallTextField: {\r\n fontSize: fontSizeDefault\r\n }\r\n};\r\n\r\n/**\r\n * Use `InputAdornment` to add a decoration to a `TextField`.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.13.0\r\n * @examples\r\n * InputAdornmentDemo\r\n */\r\nvar InputAdornment = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n positionStart: classNames(classes.positionStart, _defineProperty({}, classes.smallTextField, props.size === 'small')),\r\n positionEnd: classNames(_defineProperty({}, classes.smallTextField, props.size === 'small'))\r\n };\r\n //disableTypography={true}\r\n return React.createElement(MuiInputAdornment, Object.assign({ ref: ref, classes: classOverrides }, rest));\r\n});\r\n\r\nInputAdornment.muiName = 'InputAdornment';\r\n\r\nInputAdornment.propTypes = {\r\n /**\r\n * The content of the component, normally an `Icon` or string.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a HTML element or a component.\r\n */\r\n component: PropTypes.elementType,\r\n /**\r\n * Disable pointer events on the root.\r\n * This allows for the content of the adornment to focus the input on click.\r\n */\r\n disablePointerEvents: PropTypes.bool,\r\n /**\r\n * If children is a string then disable wrapping in a Typography component.\r\n */\r\n disableTypography: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n muiFormControl: PropTypes.object,\r\n /**\r\n * The position this adornment should appear relative to the `Input`.\r\n */\r\n position: PropTypes.oneOf(['start', 'end']),\r\n /**\r\n * @ignore\r\n * The size of the parent `TextField` or `FormControl` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n /**\r\n * @ignore\r\n * The variant to use.\r\n * Note: If you are using the `TextField` component or the `FormControl` component\r\n * you do not have to set this manually.\r\n */\r\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\r\n};\r\n\r\nInputAdornment.displayName = 'InputAdornment';\r\n\r\nInputAdornment.defaultProps = {\r\n component: 'div',\r\n disablePointerEvents: false,\r\n disableTypography: true\r\n};\r\n\r\nexport default withStyles(styles)(InputAdornment);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { default as MuiPopover } from '@material-ui/core/Popover';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n paperRoot: {}\r\n};\r\n\r\n/**\r\n * Use `Popover` to display additional content.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * PopoverExamples\r\n */\r\nvar Popover = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext']);\r\n\r\n // This component passes through to an internal paper element to style the pertinent area\r\n // By default it passes the paper class above, but that can be overridden by downstream\r\n // NOTE! There appears to be a problem preventing styling currently, see the expected behavior here: https://codesandbox.io/s/wq78039yol\r\n\r\n\r\n var PaperProps = {\r\n classes: {\r\n root: classes.paperRoot\r\n }\r\n };\r\n\r\n return React.createElement(MuiPopover, Object.assign({\r\n dir: edsContext.dir\r\n }, rest, {\r\n PaperProps: PaperProps,\r\n ref: ref\r\n }));\r\n});\r\n\r\nPopover.muiName = 'Popover';\r\nPopover.displayName = 'Popover';\r\n\r\nPopover.propTypes = {\r\n /**\r\n * This is callback property. It's called by the component on mount.\r\n * This is useful when you want to trigger an action programmatically.\r\n * It currently only supports updatePosition() action.\r\n *\r\n * @param {object} actions This object contains all posible actions\r\n * that can be triggered programmatically.\r\n */\r\n action: PropTypes.func,\r\n /**\r\n * This is the DOM element, or a function that returns the DOM element,\r\n * that may be used to set the position of the popover.\r\n */\r\n anchorEl: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * This is the point on the anchor where the popover's\r\n * `anchorEl` will attach to. This is not used when the\r\n * anchorReference is 'anchorPosition'.\r\n *\r\n * Options:\r\n * vertical: [top, center, bottom];\r\n * horizontal: [left, center, right].\r\n */\r\n anchorOrigin: PropTypes.shape({\r\n horizontal: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['left', 'center', 'right'])]),\r\n vertical: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['top', 'center', 'bottom'])])\r\n }),\r\n /**\r\n * This is the position that may be used\r\n * to set the position of the popover.\r\n * The coordinates are relative to\r\n * the application's client area.\r\n */\r\n anchorPosition: PropTypes.shape({\r\n top: PropTypes.number,\r\n left: PropTypes.number\r\n }),\r\n /**\r\n * This determines which anchor prop to refer to to set\r\n * the position of the popover.\r\n */\r\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\r\n /**\r\n * Supported props for the Backdrop of Popover:\r\n *\r\n * children: The content of the component.\r\n *\r\n * classes: Override or extend the styles applied to the component.\r\n *\r\n * invisible: If true, the backdrop is invisible.\r\n *\r\n * open: If true, the backdrop is open.\r\n *\r\n * transitionDuration: The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.\r\n *\r\n * See more detailed information here: https://material-ui.com/api/backdrop/\r\n */\r\n BackdropProps: PropTypes.object,\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * A node, component instance, or function that returns either.\r\n * The `container` will passed to the Modal component.\r\n * By default, it uses the body of the anchorEl's top-level document object,\r\n * so it's simply `document.body` most of the time.\r\n */\r\n container: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * The elevation of the popover.\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * This function is called in order to retrieve the content anchor element.\r\n * It's the opposite of the `anchorEl` property.\r\n * The content anchor element should be an element inside the popover.\r\n * It's used to correctly scroll and set the position of the popover.\r\n * The positioning strategy tries to make the content anchor element just above the\r\n * anchor element.\r\n */\r\n getContentAnchorEl: PropTypes.func,\r\n /**\r\n * Specifies how close to the edge of the window the popover can appear.\r\n */\r\n marginThreshold: PropTypes.number,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired before the component is entering.\r\n */\r\n onEnter: PropTypes.func,\r\n /**\r\n * Callback fired when the component has entered.\r\n */\r\n onEntered: PropTypes.func,\r\n /**\r\n * Callback fired when the component is entering.\r\n */\r\n onEntering: PropTypes.func,\r\n /**\r\n * Callback fired before the component is exiting.\r\n */\r\n onExit: PropTypes.func,\r\n /**\r\n * Callback fired when the component has exited.\r\n */\r\n onExited: PropTypes.func,\r\n /**\r\n * Callback fired when the component is exiting.\r\n */\r\n onExiting: PropTypes.func,\r\n /**\r\n * If `true`, the popover is visible.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Properties applied to the `Paper` element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n role: PropTypes.string,\r\n /**\r\n * This is the point on the popover which\r\n * will attach to the anchor's origin.\r\n *\r\n * Options:\r\n * vertical: [top, center, bottom, x(px)];\r\n * horizontal: [left, center, right, x(px)].\r\n */\r\n transformOrigin: PropTypes.shape({\r\n horizontal: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['left', 'center', 'right'])]),\r\n vertical: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['top', 'center', 'bottom'])])\r\n }),\r\n /**\r\n * Transition component.\r\n */\r\n TransitionComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Set to 'auto' to automatically calculate transition time based on height.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number }), PropTypes.oneOf(['auto'])]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// Popover.defaultProps = { };\r\n\r\nexport default withEDSContext(withStyles(styles)(Popover));","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\n}), 'Cancel');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport CancelIcon from '../internal/svg-icons/Cancel';\nimport withStyles from '../styles/withStyles';\nimport { emphasize, fade } from '../styles/colorManipulator';\nimport useForkRef from '../utils/useForkRef';\nimport unsupportedProp from '../utils/unsupportedProp';\nimport capitalize from '../utils/capitalize';\nimport ButtonBase from '../ButtonBase';\nexport var styles = function styles(theme) {\n var backgroundColor = theme.palette.type === 'light' ? theme.palette.grey[300] : theme.palette.grey[700];\n var deleteIconColor = fade(theme.palette.text.primary, 0.26);\n return {\n /* Styles applied to the root element. */\n root: {\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(13),\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 32,\n color: theme.palette.getContrastText(backgroundColor),\n backgroundColor: backgroundColor,\n borderRadius: 32 / 2,\n whiteSpace: 'nowrap',\n transition: theme.transitions.create(['background-color', 'box-shadow']),\n // label will inherit this from root, then `clickable` class overrides this for both\n cursor: 'default',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n textDecoration: 'none',\n border: 'none',\n // Remove `button` border\n padding: 0,\n // Remove `button` padding\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n '&$disabled': {\n opacity: 0.5,\n pointerEvents: 'none'\n },\n '& $avatar': {\n marginLeft: 5,\n marginRight: -6,\n width: 24,\n height: 24,\n color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],\n fontSize: theme.typography.pxToRem(12)\n },\n '& $avatarColorPrimary': {\n color: theme.palette.primary.contrastText,\n backgroundColor: theme.palette.primary.dark\n },\n '& $avatarColorSecondary': {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.dark\n },\n '& $avatarSmall': {\n marginLeft: 4,\n marginRight: -4,\n width: 18,\n height: 18,\n fontSize: theme.typography.pxToRem(10)\n }\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n height: 24\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `onClick` is defined or `clickable={true}`. */\n clickable: {\n userSelect: 'none',\n WebkitTapHighlightColor: 'transparent',\n cursor: 'pointer',\n '&:hover, &:focus': {\n backgroundColor: emphasize(backgroundColor, 0.08)\n },\n '&:active': {\n boxShadow: theme.shadows[1]\n }\n },\n\n /* Styles applied to the root element if `onClick` and `color=\"primary\"` is defined or `clickable={true}`. */\n clickableColorPrimary: {\n '&:hover, &:focus': {\n backgroundColor: emphasize(theme.palette.primary.main, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onClick` and `color=\"secondary\"` is defined or `clickable={true}`. */\n clickableColorSecondary: {\n '&:hover, &:focus': {\n backgroundColor: emphasize(theme.palette.secondary.main, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onDelete` is defined. */\n deletable: {\n '&:focus': {\n backgroundColor: emphasize(backgroundColor, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onDelete` and `color=\"primary\"` is defined. */\n deletableColorPrimary: {\n '&:focus': {\n backgroundColor: emphasize(theme.palette.primary.main, 0.2)\n }\n },\n\n /* Styles applied to the root element if `onDelete` and `color=\"secondary\"` is defined. */\n deletableColorSecondary: {\n '&:focus': {\n backgroundColor: emphasize(theme.palette.secondary.main, 0.2)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n backgroundColor: 'transparent',\n border: \"1px solid \".concat(theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.text.primary, theme.palette.action.hoverOpacity)\n },\n '& $avatar': {\n marginLeft: 4\n },\n '& $avatarSmall': {\n marginLeft: 2\n },\n '& $icon': {\n marginLeft: 4\n },\n '& $iconSmall': {\n marginLeft: 2\n },\n '& $deleteIcon': {\n marginRight: 5\n },\n '& $deleteIconSmall': {\n marginRight: 3\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"primary\"`. */\n outlinedPrimary: {\n color: theme.palette.primary.main,\n border: \"1px solid \".concat(theme.palette.primary.main),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"secondary\"`. */\n outlinedSecondary: {\n color: theme.palette.secondary.main,\n border: \"1px solid \".concat(theme.palette.secondary.main),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity)\n }\n },\n // TODO v5: remove\n\n /* Styles applied to the `avatar` element. */\n avatar: {},\n\n /* Styles applied to the `avatar` element if `size=\"small\"`. */\n avatarSmall: {},\n\n /* Styles applied to the `avatar` element if `color=\"primary\"`. */\n avatarColorPrimary: {},\n\n /* Styles applied to the `avatar` element if `color=\"secondary\"`. */\n avatarColorSecondary: {},\n\n /* Styles applied to the `icon` element. */\n icon: {\n color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],\n marginLeft: 5,\n marginRight: -6\n },\n\n /* Styles applied to the `icon` element if `size=\"small\"`. */\n iconSmall: {\n width: 18,\n height: 18,\n marginLeft: 4,\n marginRight: -4\n },\n\n /* Styles applied to the `icon` element if `color=\"primary\"`. */\n iconColorPrimary: {\n color: 'inherit'\n },\n\n /* Styles applied to the `icon` element if `color=\"secondary\"`. */\n iconColorSecondary: {\n color: 'inherit'\n },\n\n /* Styles applied to the label `span` element. */\n label: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n paddingLeft: 12,\n paddingRight: 12,\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the label `span` element if `size=\"small\"`. */\n labelSmall: {\n paddingLeft: 8,\n paddingRight: 8\n },\n\n /* Styles applied to the `deleteIcon` element. */\n deleteIcon: {\n WebkitTapHighlightColor: 'transparent',\n color: deleteIconColor,\n height: 22,\n width: 22,\n cursor: 'pointer',\n margin: '0 5px 0 -6px',\n '&:hover': {\n color: fade(deleteIconColor, 0.4)\n }\n },\n\n /* Styles applied to the `deleteIcon` element if `size=\"small\"`. */\n deleteIconSmall: {\n height: 16,\n width: 16,\n marginRight: 4,\n marginLeft: -4\n },\n\n /* Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"default\"`. */\n deleteIconColorPrimary: {\n color: fade(theme.palette.primary.contrastText, 0.7),\n '&:hover, &:active': {\n color: theme.palette.primary.contrastText\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"default\"`. */\n deleteIconColorSecondary: {\n color: fade(theme.palette.secondary.contrastText, 0.7),\n '&:hover, &:active': {\n color: theme.palette.secondary.contrastText\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"outlined\"`. */\n deleteIconOutlinedColorPrimary: {\n color: fade(theme.palette.primary.main, 0.7),\n '&:hover, &:active': {\n color: theme.palette.primary.main\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"outlined\"`. */\n deleteIconOutlinedColorSecondary: {\n color: fade(theme.palette.secondary.main, 0.7),\n '&:hover, &:active': {\n color: theme.palette.secondary.main\n }\n }\n };\n};\n\nfunction isDeleteKeyboardEvent(keyboardEvent) {\n return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';\n}\n/**\n * Chips represent complex entities in small blocks, such as a contact.\n */\n\n\nvar Chip = React.forwardRef(function Chip(props, ref) {\n var avatarProp = props.avatar,\n classes = props.classes,\n className = props.className,\n clickableProp = props.clickable,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n ComponentProp = props.component,\n deleteIconProp = props.deleteIcon,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n iconProp = props.icon,\n label = props.label,\n onClick = props.onClick,\n onDelete = props.onDelete,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'default' : _props$variant,\n other = _objectWithoutProperties(props, [\"avatar\", \"classes\", \"className\", \"clickable\", \"color\", \"component\", \"deleteIcon\", \"disabled\", \"icon\", \"label\", \"onClick\", \"onDelete\", \"onKeyDown\", \"onKeyUp\", \"size\", \"variant\"]);\n\n var chipRef = React.useRef(null);\n var handleRef = useForkRef(chipRef, ref);\n\n var handleDeleteIconClick = function handleDeleteIconClick(event) {\n // Stop the event from bubbling up to the `Chip`\n event.stopPropagation();\n\n if (onDelete) {\n onDelete(event);\n }\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {\n // will be handled in keyUp, otherwise some browsers\n // might init navigation\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleKeyUp = function handleKeyUp(event) {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target) {\n if (onDelete && isDeleteKeyboardEvent(event)) {\n onDelete(event);\n } else if (event.key === 'Escape' && chipRef.current) {\n chipRef.current.blur();\n }\n }\n\n if (onKeyUp) {\n onKeyUp(event);\n }\n };\n\n var clickable = clickableProp !== false && onClick ? true : clickableProp;\n var small = size === 'small';\n var Component = ComponentProp || (clickable ? ButtonBase : 'div');\n var moreProps = Component === ButtonBase ? {\n component: 'div'\n } : {};\n var deleteIcon = null;\n\n if (onDelete) {\n var customClasses = clsx(color !== 'default' && (variant === \"default\" ? classes[\"deleteIconColor\".concat(capitalize(color))] : classes[\"deleteIconOutlinedColor\".concat(capitalize(color))]), small && classes.deleteIconSmall);\n deleteIcon = deleteIconProp && React.isValidElement(deleteIconProp) ? React.cloneElement(deleteIconProp, {\n className: clsx(deleteIconProp.props.className, classes.deleteIcon, customClasses),\n onClick: handleDeleteIconClick\n }) : /*#__PURE__*/React.createElement(CancelIcon, {\n className: clsx(classes.deleteIcon, customClasses),\n onClick: handleDeleteIconClick\n });\n }\n\n var avatar = null;\n\n if (avatarProp && React.isValidElement(avatarProp)) {\n avatar = React.cloneElement(avatarProp, {\n className: clsx(classes.avatar, avatarProp.props.className, small && classes.avatarSmall, color !== 'default' && classes[\"avatarColor\".concat(capitalize(color))])\n });\n }\n\n var icon = null;\n\n if (iconProp && React.isValidElement(iconProp)) {\n icon = React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className, small && classes.iconSmall, color !== 'default' && classes[\"iconColor\".concat(capitalize(color))])\n });\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (avatar && icon) {\n console.error('Material-UI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');\n }\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n role: clickable || onDelete ? 'button' : undefined,\n className: clsx(classes.root, className, color !== 'default' && [classes[\"color\".concat(capitalize(color))], clickable && classes[\"clickableColor\".concat(capitalize(color))], onDelete && classes[\"deletableColor\".concat(capitalize(color))]], variant !== \"default\" && [classes.outlined, {\n 'primary': classes.outlinedPrimary,\n 'secondary': classes.outlinedSecondary\n }[color]], disabled && classes.disabled, small && classes.sizeSmall, clickable && classes.clickable, onDelete && classes.deletable),\n \"aria-disabled\": disabled ? true : undefined,\n tabIndex: clickable || onDelete ? 0 : undefined,\n onClick: onClick,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n ref: handleRef\n }, moreProps, other), avatar || icon, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.label, small && classes.labelSmall)\n }, label), deleteIcon);\n});\nprocess.env.NODE_ENV !== \"production\" ? Chip.propTypes = {\n /**\n * Avatar element.\n */\n avatar: PropTypes.element,\n\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the chip will appear clickable, and will raise when pressed,\n * even if the onClick prop is not defined.\n * If false, the chip will not be clickable, even if onClick prop is defined.\n * This can be used, for example,\n * along with the component prop to indicate an anchor Chip is clickable.\n */\n clickable: PropTypes.bool,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Override the default delete icon element. Shown only if `onDelete` is set.\n */\n deleteIcon: PropTypes.element,\n\n /**\n * If `true`, the chip should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * Icon element.\n */\n icon: PropTypes.element,\n\n /**\n * The content of the label.\n */\n label: PropTypes.node,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * Callback function fired when the delete icon is clicked.\n * If set, the delete icon will be shown.\n */\n onDelete: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The size of the chip.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['default', 'outlined'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiChip'\n})(Chip);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport cn from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiChip } from '@material-ui/core/Chip';\r\nimport CloseIcon from '@ellucian/ds-icons/lib/Close';\r\n\r\nimport { borderWidthThick, borderWidthThin, colorBrandSecondary, fontSizeDefault, borderRadiusCircle, sizingSmall, spacing40, spacing30, spacing20 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n color: theme.palette.grey[500],\r\n fontSize: fontSizeDefault\r\n },\r\n activatedRoot: {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n border: borderWidthThin + ' solid ' + theme.palette.ctaColor.base,\r\n color: theme.palette.ctaColor.base,\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&:active': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }\r\n },\r\n label: {\r\n paddingLeft: spacing40,\r\n paddingRight: spacing40,\r\n paddingBottom: '0.125rem' // Push label up by 2px to perfectly center\r\n },\r\n labelWithIcon: {\r\n paddingRight: '0.75rem'\r\n },\r\n clickable: {\r\n WebkitTapHighlightColor: 'transparent', // Remove grey highlight\r\n cursor: 'pointer',\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[100],\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.grey[300],\r\n boxShadow: 'none'\r\n },\r\n '&:active:focus': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&$activatedRoot': {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n border: borderWidthThin + ' solid ' + theme.palette.ctaColor.base,\r\n color: theme.palette.ctaColor.base,\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n },\r\n '&:active': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }\r\n }\r\n },\r\n deletable: {\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[100],\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n },\r\n '&$activatedRoot': {\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n }\r\n }\r\n },\r\n deleteIcon: {\r\n boxSizing: 'initial', // required to fix stylistic differences between storybook and doc site\r\n margin: '0 0.3125rem 0 -' + spacing30,\r\n height: sizingSmall,\r\n width: sizingSmall,\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[500],\r\n borderRadius: borderRadiusCircle,\r\n padding: spacing20,\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.grey[400]\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Chip` to represent a selected item or filter.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * ChipExamples\r\n * ChipActions\r\n * ChipGroup\r\n * ListActivatedChips\r\n * SelectedContentWithChips\r\n */\r\nvar Chip = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n activated = props.activated,\r\n rest = _objectWithoutProperties(props, ['classes', 'activated']);\r\n\r\n return React.createElement(MuiChip, Object.assign({\r\n classes: {\r\n root: cn(classes.root, _defineProperty({}, classes.activatedRoot, activated)),\r\n label: cn(classes.label, _defineProperty({}, classes.labelWithIcon, props.onDelete)),\r\n clickable: classes.clickable,\r\n deletable: classes.deletable,\r\n deleteIcon: classes.deleteIcon\r\n },\r\n deleteIcon: React.createElement(CloseIcon, null)\r\n }, rest, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nChip.muiName = 'Chip';\r\n\r\nChip.propTypes = {\r\n /**\r\n * Set the chip to active, using the theme CTA color.\r\n */\r\n activated: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If true, the chip will appear clickable, and will raise when pressed,\r\n * even if the onClick property is not defined. This can be used, for example,\r\n * along with the component property to indicate an anchor Chip is clickable.\r\n */\r\n clickable: PropTypes.bool,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The content of the `Chip` label.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * Callback to fire when the `Chip` is clicked on or `space` or `enter` keys are pressed when the Chip has focus.\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * Callback function fired when the delete icon is clicked or `backspace` key is pressed when the `Chip` has focus.\r\n * If set, the delete icon will be shown.\r\n */\r\n onDelete: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string])\r\n};\r\n\r\nChip.displayName = 'Chip';\r\n\r\nexport default withStyles(styles)(Chip);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport { default as withStyles } from '../styles';\r\nimport Typography from '../Typography';\r\n\r\nimport { spacing20, spacing30, borderRadiusXSmall, borderWidthThin } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {\r\n display: 'inline-block',\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body3.fontSize,\r\n padding: spacing20 + ' ' + spacing30,\r\n borderRadius: borderRadiusXSmall,\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n default: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.default.text,\r\n color: theme.palette.status.default.text\r\n },\r\n draft: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.warning.text,\r\n color: theme.palette.status.warning.text\r\n },\r\n error: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.error.text,\r\n color: theme.palette.status.error.text\r\n },\r\n pending: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.neutral.text,\r\n color: theme.palette.status.neutral.text\r\n },\r\n success: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.success.text,\r\n color: theme.palette.status.success.text\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use a `StatusLabel` to indicate the status or category of an item.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * StatusLabelExample\r\n * StatusLabelTableExample\r\n * StatusLabelText\r\n */\r\nvar StatusLabel = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n className = props.className,\r\n textProp = props.text,\r\n typeProp = props.type,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'text', 'type']);\r\n\r\n var text = textProp.toUpperCase();\r\n var type = typeProp.toLowerCase();\r\n\r\n var classOverrides = {\r\n //CSS classes to override from Material UI Typography CSS API\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.default, type === 'default'), _defineProperty(_classNames, classes.draft, type === 'draft'), _defineProperty(_classNames, classes.error, type === 'error'), _defineProperty(_classNames, classes.pending, type === 'pending'), _defineProperty(_classNames, classes.success, type === 'success'), _classNames), className)\r\n };\r\n\r\n return React.createElement(\r\n Typography,\r\n Object.assign({ component: 'span',\r\n classes: classOverrides,\r\n ref: ref\r\n }, rest),\r\n text\r\n );\r\n});\r\n\r\nStatusLabel.muiName = 'StatusLabel';\r\n\r\nStatusLabel.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Text for the component to display\r\n */\r\n text: PropTypes.string.isRequired,\r\n /**\r\n * Type of status to indicate (default, draft, error, pending, success)\r\n */\r\n type: PropTypes.oneOf(['default', 'draft', 'error', 'pending', 'success'])\r\n};\r\n\r\nStatusLabel.displayName = 'StatusLabel';\r\n\r\nStatusLabel.defaultProps = {\r\n type: 'default'\r\n};\r\n\r\nexport default withStyles(styles)(StatusLabel);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from '../';\r\n\r\n/**\r\n * Use `ConfirmationDialog` to require user action before closing a dialog.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * ConfirmationDialogExample\r\n * FormDialogExample\r\n */\r\nvar ConfirmationDialog = React.forwardRef(function (props, ref) {\r\n var content = props.content,\r\n contentText = props.contentText,\r\n DialogProps = props.DialogProps,\r\n DialogActionsProps = props.DialogActionsProps,\r\n DialogContentProps = props.DialogContentProps,\r\n DialogContentTextProps = props.DialogContentTextProps,\r\n DialogTitleProps = props.DialogTitleProps,\r\n id = props.id,\r\n open = props.open,\r\n PaperPropsProp = props.PaperProps,\r\n primaryActionOnClick = props.primaryActionOnClick,\r\n primaryActionProps = props.primaryActionProps,\r\n primaryActionText = props.primaryActionText,\r\n secondaryActionOnClick = props.secondaryActionOnClick,\r\n secondaryActionProps = props.secondaryActionProps,\r\n secondaryActionText = props.secondaryActionText,\r\n title = props.title;\r\n\r\n\r\n var internalPaperProps = {\r\n 'role': 'alertdialog'\r\n };\r\n\r\n var PaperProps = Object.assign(internalPaperProps, PaperPropsProp);\r\n\r\n /**\r\n * Override `disableBackdropClick` and `disableEscapeKeyDown` to true\r\n * Pass `open` for convenience\r\n */\r\n DialogProps['disableBackdropClick'] = true;\r\n DialogProps['disableEscapeKeyDown'] = true;\r\n DialogProps['maxWidth'] = false;\r\n DialogProps['open'] = open;\r\n DialogProps['showTitleBarClose'] = false;\r\n\r\n // Override color for primary action\r\n primaryActionProps['color'] = 'primary';\r\n primaryActionProps['onClick'] = primaryActionOnClick;\r\n\r\n // Override color for secondary action\r\n secondaryActionProps['color'] = 'secondary';\r\n secondaryActionProps['onClick'] = secondaryActionOnClick;\r\n\r\n return React.createElement(\r\n Dialog,\r\n Object.assign({}, DialogProps, {\r\n ref: ref,\r\n id: id,\r\n PaperProps: PaperProps\r\n }),\r\n React.createElement(\r\n DialogTitle,\r\n DialogTitleProps,\r\n title\r\n ),\r\n React.createElement(\r\n DialogContent,\r\n DialogContentProps,\r\n React.createElement(\r\n DialogContentText,\r\n DialogContentTextProps,\r\n contentText\r\n ),\r\n content\r\n ),\r\n React.createElement(\r\n DialogActions,\r\n DialogActionsProps,\r\n React.createElement(\r\n Button,\r\n secondaryActionProps,\r\n secondaryActionText\r\n ),\r\n React.createElement(\r\n Button,\r\n primaryActionProps,\r\n primaryActionText\r\n )\r\n )\r\n );\r\n});\r\n\r\nConfirmationDialog.muiName = 'ConfirmationDialog';\r\nConfirmationDialog.displayName = 'ConfirmationDialog';\r\n\r\nConfirmationDialog.propTypes = {\r\n /**\r\n * Content displayed by the `DialogContent` element.\r\n */\r\n content: PropTypes.node,\r\n /**\r\n * Text displayed by the `DialogContentText` element.\r\n */\r\n contentText: PropTypes.string,\r\n /**\r\n * Props that will be applied to the `Dialog` element.\r\n */\r\n DialogProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogActions` element.\r\n */\r\n DialogActionsProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogContent` element.\r\n */\r\n DialogContentProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogContentText` element.\r\n */\r\n DialogContentTextProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogTitle` element.\r\n */\r\n DialogTitleProps: PropTypes.object,\r\n /**\r\n * If `true`, the Dialog is open.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Properties applied to the dialog's internal Paper element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * onClick applied to the primary action Button element.\r\n */\r\n primaryActionOnClick: PropTypes.func.isRequired,\r\n /**\r\n * Props applied to the primary action Button element.\r\n */\r\n primaryActionProps: PropTypes.object.isRequired,\r\n /**\r\n * Text applied to the primary action Button element.\r\n */\r\n primaryActionText: PropTypes.string.isRequired,\r\n /**\r\n * onClick applied to the secondary action Button element.\r\n */\r\n secondaryActionOnClick: PropTypes.func.isRequired,\r\n /**\r\n * Props applied to the secondary action Button element.\r\n */\r\n secondaryActionProps: PropTypes.object.isRequired,\r\n /**\r\n * Text applied to the secondary action Button element.\r\n */\r\n secondaryActionText: PropTypes.string.isRequired,\r\n /**\r\n * Title displayed by the DialogTitle element.\r\n */\r\n title: PropTypes.string.isRequired\r\n};\r\n\r\nConfirmationDialog.defaultProps = {\r\n DialogProps: {},\r\n DialogActionsProps: {},\r\n DialogContentProps: {},\r\n DialogContentTextProps: {},\r\n DialogTitleProps: {},\r\n primaryActionProps: {},\r\n secondaryActionProps: {}\r\n};\r\n\r\nexport default ConfirmationDialog;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n/**\r\n * Safari on iOs don't respect the `overflow: hidden` style\r\n * and hence we can scroll the background with backdrop or dropdown etc.\r\n * This class is an attempt to prevent that scrolling.\r\n * TODO: Keep validating this against the latest Safari on iOs,\r\n * if the issue is fixed natively then get rid of this class\r\n * and associated code in other files.\r\n */\r\nvar IOSBodyScroll = function () {\r\n function IOSBodyScroll() {\r\n var _this = this;\r\n\r\n _classCallCheck(this, IOSBodyScroll);\r\n\r\n this.preventBodyScroll = function (e) {\r\n if (!e.target.closest(_this.selector)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n this.html = document.querySelector('html');\r\n this.body = document.body;\r\n this.selector = '';\r\n this.isIOS = /(iPhone|iPad|iPod)/.test(navigator.platform);\r\n }\r\n\r\n _createClass(IOSBodyScroll, [{\r\n key: 'lock',\r\n value: function lock(boundarySelector) {\r\n this.selector = boundarySelector;\r\n // Setting the passive option on your touch and wheel event listeners\r\n // can improve scrolling performance. if passive option is set to `true` then\r\n // `e.preventDefault()` will have no effect. Hence setting it to false.\r\n // For more details go here https://medium.com/@devlucky/about-passive-event-listeners-224ff620e68c\r\n this.isIOS && document.addEventListener('touchmove', this.preventBodyScroll, { passive: false });\r\n }\r\n }, {\r\n key: 'unlock',\r\n value: function unlock() {\r\n this.isIOS && document.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });\r\n }\r\n }]);\r\n\r\n return IOSBodyScroll;\r\n}();\r\n\r\nexport default new IOSBodyScroll();","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React, { cloneElement, Fragment } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport uuid from 'uuid/v4';\r\nimport get from 'lodash/get';\r\nimport flattenDeep from 'lodash/flattenDeep';\r\nimport filter from 'lodash/filter';\r\nimport reduce from 'lodash/reduce';\r\nimport isEqual from 'lodash/isEqual';\r\nimport isNil from 'lodash/isNil';\r\n\r\n// MUI imports\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport Select from '@material-ui/core/Select';\r\n\r\nimport Checkbox from '../Checkbox';\r\nimport { DropdownItem } from '../Dropdown';\r\nimport FormControl from '../FormControl';\r\nimport { FormHelperText } from '../FormControl';\r\n\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport IOSBodyScroll from './../IOSBodyScroll';\r\n\r\nimport withStyles from '../styles';\r\nimport { borderRadiusMedium, borderWidthThin, borderWidthThick, fontSizeLarge, fontSizeDefault, colorFillAlertError, boxShadowFocus, spacing30, spacing40, spacing50, widthInputFields } from '../styles/tokens';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\n\r\n// select all selection states\r\nvar ALL = 0;\r\nvar INDETERMINATE = 1;\r\nvar NONE = 2;\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n selectRoot: {\r\n // note -- putting this here instead of in the selectMenu class, so that it'll take precedence\r\n // over MUI's styles\r\n '&$select': {\r\n padding: spacing50 + ' 3.5rem ' + spacing30 + ' ' + spacing40,\r\n minHeight: 'auto'\r\n }\r\n },\r\n select: {\r\n backgroundColor: theme.palette.grey['100'],\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey['200'],\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey['100'],\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n selectIcon: {\r\n '&:hover': {\r\n '& $icon': {\r\n fill: theme.palette.ctaColor.active\r\n }\r\n }\r\n },\r\n paper: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)'\r\n },\r\n selectMenu: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey['400'],\r\n borderRadius: borderRadiusMedium,\r\n lineHeight: '1.3rem',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap'\r\n },\r\n nativeSelect: {\r\n backgroundColor: theme.palette.grey['100'],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey['400'],\r\n borderRadius: borderRadiusMedium,\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n width: 'calc(100% - 4.625rem)',\r\n height: 'auto',\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey['200'],\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey['100'],\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n icon: {\r\n right: spacing40,\r\n top: '1.1875rem',\r\n fill: theme.palette.grey['500']\r\n },\r\n inputLabelRoot: {\r\n fontSize: fontSizeLarge,\r\n color: theme.palette.grey['500'],\r\n left: '1.0625rem',\r\n top: '-0.375rem',\r\n zIndex: theme.zIndex.textFieldLabel,\r\n pointerEvents: 'none'\r\n },\r\n inputLabelShrink: {\r\n top: spacing30\r\n },\r\n disabled: {\r\n cursor: 'not-allowed'\r\n },\r\n zIndex: {\r\n zIndex: theme.zIndex.dropdown + 1\r\n },\r\n small: {\r\n fontSize: fontSizeDefault,\r\n '& $icon': {\r\n top: '0.75rem'\r\n },\r\n '& $inputLabelRoot': {\r\n top: '-0.75rem',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $selectMenu': {\r\n padding: '0.625rem 3.5rem 0.625rem 0.625rem',\r\n lineHeight: 'unset'\r\n },\r\n '& $nativeSelect': {\r\n padding: '0.625rem 3.5rem 0.625rem 0.625rem',\r\n lineHeight: 'unset'\r\n }\r\n },\r\n medium: {\r\n // we have to put the padding here (rather than with the nativeSelect class) because of an apparent bug in MUI's\r\n // dropdown; it lists its select class twice when applying padding (.MuiSelect-select-220.MuiSelect-select-220),\r\n // which appears to give it more specificity than our padding override\r\n '& $nativeSelect': {\r\n padding: spacing50 + ' 3.5rem ' + spacing30 + ' ' + spacing40\r\n }\r\n },\r\n inputLabelSmall: {\r\n top: '-0.75rem',\r\n left: '0.75rem',\r\n fontSize: fontSizeDefault,\r\n '&[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n },\r\n error: {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill,\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThin + ' ' + colorFillAlertError,\r\n '-webkit-box-shadow': '0 0 0 ' + borderWidthThin + ' ' + colorFillAlertError,\r\n '-moz-box-shadow:': '0 0 0 ' + borderWidthThin + ' ' + colorFillAlertError\r\n }\r\n },\r\n ffErrorTextAdjuster: {\r\n '-moz-transform': 'translateY(-' + spacing40 + ')'\r\n },\r\n formControlWidth: {\r\n maxWidth: widthInputFields\r\n }\r\n };\r\n};\r\n\r\nvar menuListClassName = 'menu-list';\r\n\r\n/**\r\n * Use `Dropdown` to make selections from a list.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * ControlledDropdownExample\r\n * ErrorDropdownExample\r\n * FullWidthDropdownExample\r\n * IconDropdownExample\r\n * LongTextDropdownExample\r\n * MultiSelectDropdownExample\r\n * SelectAllDropdownExample\r\n * PerformanceTestDropdownExample\r\n * NativeExample\r\n */\r\n\r\nvar Dropdown = function (_React$Component) {\r\n _inherits(Dropdown, _React$Component);\r\n\r\n function Dropdown(props) {\r\n _classCallCheck(this, Dropdown);\r\n\r\n // the internal value of the 'select all' item\r\n var _this = _possibleConstructorReturn(this, (Dropdown.__proto__ || Object.getPrototypeOf(Dropdown)).call(this, props));\r\n\r\n _this.onDropDownOpen = function (e) {\r\n var onOpen = _this.props.onOpen;\r\n\r\n\r\n IOSBodyScroll.lock('.' + menuListClassName);\r\n onOpen && onOpen(e);\r\n };\r\n\r\n _this.onDropDownClose = function (e) {\r\n var onClose = _this.props.onClose;\r\n\r\n\r\n IOSBodyScroll.unlock();\r\n onClose && onClose(e);\r\n };\r\n\r\n _this.selectAllValue = uuid();\r\n\r\n _this.state = {\r\n selectionState: NONE,\r\n allItems: {}\r\n };\r\n\r\n _this.onDropDownOpen = _this.onDropDownOpen.bind(_this);\r\n _this.onDropDownClose = _this.onDropDownClose.bind(_this);\r\n return _this;\r\n }\r\n\r\n /**\r\n * Called when the dropdown value changes\r\n *\r\n * @param {Event} event The event that spurred this callback\r\n * @param {object} child The react element that was selected\r\n */\r\n\r\n\r\n _createClass(Dropdown, [{\r\n key: 'handleChange',\r\n value: function handleChange(event, child) {\r\n var _this2 = this;\r\n\r\n // if the user click the 'select all' item in a multi-select dropdown\r\n if (this.props.multiple && event.target.value.indexOf(this.selectAllValue) > -1) {\r\n // if no items are selected, select everything; otherwise unselect everything\r\n var newState = this.state.selectionState === NONE ? ALL : NONE;\r\n\r\n // set the new select all state\r\n this.setState({ selectionState: newState }, function () {\r\n // either select or unselect everything (overriding the value in the\r\n // event with the results of doing so)\r\n if (_this2.state.selectionState === ALL) {\r\n event.target.value = Object.keys(_this2.state.allItems);\r\n } else {\r\n event.target.value = [];\r\n }\r\n\r\n // let the caller know\r\n _this2.props.onChange && _this2.props.onChange(event, child);\r\n });\r\n } else {\r\n this.props.onChange && this.props.onChange(event, child);\r\n }\r\n }\r\n\r\n /**\r\n * Grab the label/value of each item\r\n */\r\n\r\n }, {\r\n key: 'objectifyItems',\r\n value: function objectifyItems() {\r\n // grab all the dropdown items\r\n\r\n var filteredDropdownItems = filter(flattenDeep(this.props.children), function (item) {\r\n return get(item, 'type.muiName') === 'DropdownItem';\r\n });\r\n\r\n return reduce(filteredDropdownItems, function (mapping, item) {\r\n mapping[item.props.value] = item.props.label;\r\n return mapping;\r\n }, {});\r\n }\r\n\r\n /**\r\n * Render a single value.\r\n *\r\n * @param {*} val The value to render\r\n * @return The rendered value\r\n */\r\n\r\n }, {\r\n key: 'renderSingleValue',\r\n value: function renderSingleValue(val) {\r\n return this.state.allItems[val];\r\n }\r\n\r\n /**\r\n * Render multiple values.\r\n *\r\n * @param {Array.<*>} values The values to render\r\n * @return The rendered values\r\n */\r\n\r\n }, {\r\n key: 'renderMultipleValues',\r\n value: function renderMultipleValues(values) {\r\n var _this3 = this;\r\n\r\n return values.map(function (val) {\r\n return _this3.renderSingleValue(val);\r\n }).join(', ');\r\n }\r\n }, {\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n // retain a catalog of each dropdown item\r\n this.setState({\r\n allItems: this.objectifyItems()\r\n });\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n // if the list of items has changed, update our internal catalog\r\n var itemsHaveChanged = get(this.props, 'children.length', 0) !== get(prevProps, 'children.length', 0) || !isEqual(this.objectifyItems(), this.state.allItems);\r\n\r\n if (itemsHaveChanged) {\r\n this.setState({\r\n allItems: this.objectifyItems()\r\n });\r\n }\r\n\r\n // if the select-all item is visible, update it based on current selections\r\n if (this.props.multiple && this.props.showSelectAll) {\r\n var selectionState = NONE;\r\n\r\n if (this.props.value.length === Object.keys(this.state.allItems).length) {\r\n selectionState = ALL;\r\n } else if (this.props.value.length > 0) {\r\n selectionState = INDETERMINATE;\r\n }\r\n\r\n // if selection state changed, update it\r\n if (this.state.selectionState !== selectionState) {\r\n this.setState({\r\n selectionState: selectionState\r\n });\r\n }\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _classNames3, _classNames4;\r\n\r\n var _props = this.props,\r\n childrenProp = _props.children,\r\n classes = _props.classes,\r\n disabled = _props.disabled,\r\n error = _props.error,\r\n edsContext = _props.edsContext,\r\n helperText = _props.helperText,\r\n id = _props.id,\r\n inputProps = _props.inputProps,\r\n labelProp = _props.label,\r\n multiple = _props.multiple,\r\n required = _props.required,\r\n value = _props.value,\r\n size = _props.size,\r\n onChange = _props.onChange,\r\n showSelectAll = _props.showSelectAll,\r\n fullWidth = _props.fullWidth,\r\n FormControlProps = _props.FormControlProps,\r\n FormHelperTextProps = _props.FormHelperTextProps,\r\n rest = _objectWithoutProperties(_props, ['children', 'classes', 'disabled', 'error', 'edsContext', 'helperText', 'id', 'inputProps', 'label', 'multiple', 'required', 'value', 'size', 'onChange', 'showSelectAll', 'fullWidth', 'FormControlProps', 'FormHelperTextProps']);\r\n\r\n var cleanedId = id || uuid();\r\n var selectLabelId = cleanedId + '_label';\r\n var selectValueId = cleanedId + '_value';\r\n\r\n var newInputProps = Object.assign({}, inputProps, {\r\n id: cleanedId\r\n });\r\n\r\n var children = childrenProp;\r\n var label = labelProp;\r\n\r\n // we do this to handle a bug within MUI - if the initial value is nil, then the label does not correctly\r\n // shrink out of the way when an item is selected. so we set the initial value to empty string instead, which\r\n // appears to solve the issue\r\n var localValue = isNil(value) ? '' : value;\r\n\r\n if (multiple) {\r\n children = React.Children.map(childrenProp, function (child, index) {\r\n return cloneElement(child, { multiple: true });\r\n });\r\n\r\n // add the current selection count to the label\r\n if (localValue && this.state.allItems) {\r\n var countString = '(' + this.props.value.length + '/' + Object.keys(this.state.allItems).length + ')';\r\n label = labelProp + ' ' + countString;\r\n }\r\n }\r\n\r\n return React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: classNames(_defineProperty({}, classes.formControlWidth, !fullWidth))\r\n }, FormControlProps),\r\n React.createElement(\r\n Fragment,\r\n null,\r\n React.createElement(\r\n InputLabel,\r\n {\r\n id: selectLabelId,\r\n classes: {\r\n root: classes.inputLabelRoot,\r\n shrink: classes.inputLabelShrink,\r\n disabled: classNames(classes.disabled, classes.zIndex)\r\n },\r\n disabled: disabled,\r\n htmlFor: cleanedId,\r\n className: classNames(_defineProperty({}, classes.inputLabelSmall, size === 'small'))\r\n },\r\n required ? label + ' *' : label\r\n ),\r\n React.createElement(\r\n Select,\r\n Object.assign({\r\n className: classNames((_classNames3 = {}, _defineProperty(_classNames3, classes.small, size === 'small'), _defineProperty(_classNames3, classes.medium, size === 'medium'), _defineProperty(_classNames3, classes.selectIcon, !disabled), _classNames3)),\r\n classes: {\r\n root: classes.selectRoot,\r\n select: classNames((_classNames4 = {}, _defineProperty(_classNames4, classes.select, !this.props.native), _defineProperty(_classNames4, classes.nativeSelect, this.props.native), _defineProperty(_classNames4, classes.error, this.props.native && error), _classNames4)),\r\n selectMenu: classNames(classes.selectMenu, _defineProperty({}, classes.error, error)),\r\n icon: classes.icon,\r\n disabled: classes.disabled\r\n },\r\n onChange: this.handleChange.bind(this),\r\n disabled: disabled,\r\n disableUnderline: true,\r\n IconComponent: ChevronDown,\r\n inputProps: newInputProps,\r\n labelId: selectLabelId,\r\n id: selectValueId,\r\n MenuProps: {\r\n MenuListProps: {\r\n disablePadding: true,\r\n className: menuListClassName\r\n },\r\n classes: {\r\n paper: classes.paper\r\n }\r\n },\r\n multiple: multiple,\r\n renderValue: multiple ? this.renderMultipleValues.bind(this) : this.renderSingleValue.bind(this),\r\n value: localValue\r\n }, rest, {\r\n onOpen: this.onDropDownOpen,\r\n onClose: this.onDropDownClose\r\n }),\r\n showSelectAll && React.createElement(\r\n DropdownItem,\r\n {\r\n label: edsContext.formatMessage('component.Dropdown.selectAll'),\r\n selectAll: true,\r\n multiple: true,\r\n value: this.selectAllValue\r\n },\r\n React.createElement(Checkbox, {\r\n indeterminate: this.state.selectionState === INDETERMINATE,\r\n checked: this.state.selectionState !== NONE\r\n })\r\n ),\r\n children\r\n ),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n className: size === 'medium' && !this.props.native ? classes.ffErrorTextAdjuster : null,\r\n error: error,\r\n id: cleanedId + '_HelperText'\r\n }, FormHelperTextProps),\r\n helperText\r\n )\r\n )\r\n );\r\n }\r\n }, {\r\n key: 'componentWillUnmount',\r\n value: function componentWillUnmount() {\r\n // Just making sure to unlock the body scroll\r\n IOSBodyScroll.unlock();\r\n }\r\n }]);\r\n\r\n return Dropdown;\r\n}(React.Component);\r\n\r\n/**\r\n * The following should be used to enable Tooltip hover once bugs have been tested\r\n *\r\n \r\n \r\n \r\n */\r\n\r\nDropdown.muiName = 'Dropdown';\r\n\r\nDropdown.propTypes = {\r\n /**\r\n * If `true`, the width of the popover will automatically be set according to the items inside the\r\n * menu, otherwise it will be at least the width of the select input.\r\n */\r\n autoWidth: PropTypes.bool,\r\n /**\r\n * The elements to populate the select with.\r\n *\r\n * - If `native` it true, these must be `option` elements\r\n * - if `native` is false, these must be `DropdownItem` elements\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the dropdown will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the selected item is displayed even if its value is empty.\r\n */\r\n displayEmpty: PropTypes.bool,\r\n /**\r\n * If `true`, the dropdown will display in an error state\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * Properties applied to the [`FormControl`](#/components/FormControl) element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * If `true`, the dropdown will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * Text to be displayed by the FormHelperText component\r\n */\r\n helperText: PropTypes.string,\r\n /**\r\n * The icon that displays the arrow.\r\n */\r\n IconComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Id assigned to the input element and referenced by label element\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * An `Input` element; does not have to be a material-ui specific `Input`.\r\n */\r\n input: PropTypes.element,\r\n /**\r\n * Attributes applied to the `input` element. When `native` is `true`,\r\n * the attributes are applied on the `select` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Label that is attached to the `Dropdown`\r\n */\r\n label: PropTypes.string.isRequired,\r\n /**\r\n * Properties applied to the [`Menu`](https://material-ui.com/api/menu/) element.\r\n */\r\n MenuProps: PropTypes.object,\r\n /**\r\n * If true, `value` must be an array and the menu will support multiple selections.\r\n * This feature will only work if `native` is `false`.\r\n */\r\n multiple: PropTypes.bool,\r\n /**\r\n * If `true`, the component will be using a native `select` element.\r\n * Be sure to use the `option` element to create dropdown items when\r\n * `native` is set to `true`, instead of our `DropdownItem` component.\r\n */\r\n native: PropTypes.bool,\r\n /**\r\n * Callback function fired when a menu item is selected.\r\n *\r\n * Signature:\r\n * ```\r\n * function(event: object, child?: object) => void\r\n * ```\r\n * _event_: The event source of the callback. You can pull out the new value by accessing `event.target.value`.\r\n *\r\n * _child_: The react element that was selected\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n * Use in controlled mode (see open).\r\n *\r\n * Signature:\r\n * ```\r\n * function(event: object) => void\r\n * ```\r\n * _event_: The event source of the callback\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired when the component requests to be opened.\r\n * Use in controlled mode (see open).\r\n *\r\n * Signature:\r\n * ```\r\n * function(event: object) => void\r\n * ```\r\n *\r\n * _event_: The event source of the callback\r\n */\r\n onOpen: PropTypes.func,\r\n /**\r\n * Control `select` open state. You can only use it when the `native` property is `false` (default).\r\n *\r\n * If you use `onOpen` or `onClose` callbacks, you must always provide the `open` prop.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * Render the selected value.\r\n *\r\n * Signature:\r\n * ```\r\n * function(value: any) => ReactElement\r\n * ```\r\n *\r\n * _value_: The `value` provided to the component.\r\n */\r\n renderValue: PropTypes.func,\r\n /**\r\n * Whether this dropdown is required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Properties applied to the clickable div element.\r\n */\r\n SelectDisplayProps: PropTypes.object,\r\n /**\r\n * Whether to provide a \"select all\" option for multi-select dropdowns\r\n */\r\n showSelectAll: PropTypes.bool,\r\n /**\r\n * The input value.\r\n */\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]))]),\r\n /**\r\n * The size of the Dropdown. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium'])\r\n};\r\n\r\nDropdown.defaultProps = {\r\n autoWidth: false,\r\n displayEmpty: false,\r\n fullWidth: false,\r\n multiple: false,\r\n required: false,\r\n showSelectAll: false,\r\n size: 'medium',\r\n value: ''\r\n};\r\nexport default withEDSContext(withStyles(styles)(Dropdown));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\n// MUI imports\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\n\r\n// Design System imports\r\nimport Checkbox from '../Checkbox';\r\nimport { ListItemText } from '../List';\r\nimport withStyles from '../styles';\r\nimport { borderWidthThin, lineHeightParagraphMedium, sizingMedium } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey['100'],\r\n // note - can't use borderBottom for this because of an Edge bug that makes\r\n // bottom borders disappear: https://stackoverflow.com/questions/32313551/border-bottom-bug-in-microsoft-edge\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey['300'],\r\n color: theme.palette.grey['600'],\r\n display: 'flex',\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.fontSize,\r\n justifyContent: 'space-between',\r\n lineHeight: lineHeightParagraphMedium,\r\n minHeight: sizingMedium,\r\n whiteSpace: 'inherit',\r\n\r\n // updates to restore the MUI 3.x padding settings for dropdown items\r\n padding: '11px 16px',\r\n height: '24px',\r\n boxSizing: 'content-box',\r\n\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey['250'],\r\n color: theme.palette.grey['600']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey['100'],\r\n '& > svg': {\r\n fill: theme.palette.grey['100']\r\n }\r\n },\r\n '& > svg': {\r\n fill: theme.palette.grey['500']\r\n }\r\n\r\n },\r\n singleSelected: {\r\n '&$selected': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey['100'],\r\n '&:hover, &:hover&:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey['100']\r\n },\r\n '&:active, &:hover&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey['100']\r\n },\r\n '& > svg': {\r\n fill: theme.palette.grey['100']\r\n }\r\n }\r\n },\r\n multipleSelected: {\r\n '&$selected': {\r\n backgroundColor: theme.palette.grey['100'],\r\n color: theme.palette.grey['600'],\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey['250'],\r\n color: theme.palette.grey['600']\r\n }\r\n }\r\n },\r\n multipleActive: {\r\n '&:active': {\r\n backgroundColor: theme.palette.grey['250'],\r\n color: theme.palette.grey['600']\r\n }\r\n },\r\n textRoot: {\r\n paddingLeft: '16px',\r\n paddingRight: '16px',\r\n\r\n // only apply left/right padding if the menu text is *not* the first item in the menu\r\n // item; this will give us the correct padding when the item has icons at the\r\n // start/end\r\n '&:first-child': {\r\n paddingLeft: 0,\r\n paddingRight: 0\r\n }\r\n },\r\n textPrimary: {\r\n color: 'inherit',\r\n fontFamily: 'inherit',\r\n fontSize: 'inherit',\r\n '&:hover, &:active': {\r\n color: 'inherit'\r\n }\r\n },\r\n selected: {}\r\n };\r\n};\r\n\r\nvar DropdownItem = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var children = props.children,\r\n classes = props.classes,\r\n label = props.label,\r\n LeftIconComponent = props.LeftIconComponent,\r\n RightIconComponent = props.RightIconComponent,\r\n multiple = props.multiple,\r\n selectAll = props.selectAll,\r\n selected = props.selected,\r\n other = _objectWithoutProperties(props, ['children', 'classes', 'label', 'LeftIconComponent', 'RightIconComponent', 'multiple', 'selectAll', 'selected']);\r\n\r\n return React.createElement(\r\n MenuItem,\r\n Object.assign({\r\n className: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.multipleActive, multiple), _defineProperty(_classNames, classes.singleSelected, !multiple && selected), _defineProperty(_classNames, classes.multipleSelected, multiple && selected), _classNames), classes.selected),\r\n disableRipple: true,\r\n disableTouchRipple: true,\r\n selected: selected,\r\n ref: ref\r\n }, other),\r\n LeftIconComponent,\r\n React.createElement(ListItemText, {\r\n classes: {\r\n root: classes.textRoot,\r\n primary: classes.textPrimary\r\n },\r\n primary: label\r\n }),\r\n children,\r\n multiple && !selectAll && React.createElement(Checkbox, { checked: selected }),\r\n RightIconComponent\r\n );\r\n});\r\n\r\nDropdownItem.muiName = 'DropdownItem';\r\n\r\n// necessary to add an explicit display name, since docgen can't seem to\r\n// extract one from a forwardRef'd component\r\nDropdownItem.displayName = 'DropdownItem';\r\n\r\nDropdownItem.propTypes = {\r\n /**\r\n * Menu item contents.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n * See Classes API below for more details.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the left and right padding is removed.\r\n */\r\n disableGutters: PropTypes.bool,\r\n /**\r\n * Label of the DropdownItem to be displayed\r\n */\r\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),\r\n /**\r\n * Icon to be displayed to the the left of the text\r\n */\r\n LeftIconComponent: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n multiple: PropTypes.bool,\r\n /**\r\n * Icon to be displayed to the the right of the text\r\n */\r\n RightIconComponent: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n role: PropTypes.string,\r\n /**\r\n * Renders a DropdownItem for toggling SelectAll status\r\n * @ignore\r\n */\r\n selectAll: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n selected: PropTypes.bool\r\n};\r\n\r\nDropdownItem.defaultProps = {\r\n disableGutters: false,\r\n LeftIconComponent: null,\r\n RightIconComponent: null,\r\n role: 'menuitem',\r\n selectAll: false\r\n};\r\n\r\nexport default withStyles(styles, { name: 'DropdownItem' })(DropdownItem);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { Button, Dialog, DialogTitle, DialogContent, DialogActions } from '../';\r\n\r\nimport { spacing40, widthFluid } from '../styles/tokens';\r\n\r\nvar overlayActionsMobileStyles = {\r\n flexFlow: 'column',\r\n '& button': {\r\n marginBottom: spacing40,\r\n marginRight: 0,\r\n textAlign: 'center',\r\n width: widthFluid,\r\n '&:last-child': {\r\n marginBottom: 0\r\n }\r\n }\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n actionRoot: _defineProperty({\r\n justifyContent: 'flex-start',\r\n '& button': {\r\n marginRight: spacing40,\r\n marginLeft: 0\r\n },\r\n '& :not(:first-child)': {\r\n marginLeft: 0\r\n }\r\n }, theme.breakpoints.down('sm'), overlayActionsMobileStyles),\r\n actionsRight: _defineProperty({\r\n justifyContent: 'flex-end',\r\n '& button': _defineProperty({\r\n marginLeft: spacing40,\r\n marginRight: 0\r\n }, theme.breakpoints.down('sm'), {\r\n marginLeft: 0\r\n }),\r\n '& :not(:first-child)': {\r\n marginLeft: spacing40\r\n }\r\n }, theme.breakpoints.down('sm'), {\r\n overlayActionsMobileStyles: overlayActionsMobileStyles,\r\n '& :not(:first-child)': {\r\n marginLeft: 0\r\n }\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * Use `SimpleDialog` to create a dialog, without having to explicitly specify each individual aspect of it.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.13\r\n * @examples\r\n * SimpleDialogExample\r\n * SimpleDialogOverflowExample\r\n * SimpleDialogResponsiveExample\r\n */\r\n\r\nvar SimpleDialog = function (_React$Component) {\r\n _inherits(SimpleDialog, _React$Component);\r\n\r\n function SimpleDialog() {\r\n _classCallCheck(this, SimpleDialog);\r\n\r\n return _possibleConstructorReturn(this, (SimpleDialog.__proto__ || Object.getPrototypeOf(SimpleDialog)).apply(this, arguments));\r\n }\r\n\r\n _createClass(SimpleDialog, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n\r\n // complain if caller gave us more than 3 buttons\r\n if (this.props.buttonConfig.length > 3) {\r\n console.warn('Dialogs should not have more than three buttons');\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n DialogProps = _props.DialogProps,\r\n DialogActionsProps = _props.DialogActionsProps,\r\n DialogContentProps = _props.DialogContentProps,\r\n DialogTitleProps = _props.DialogTitleProps,\r\n rightAlignButtons = _props.rightAlignButtons,\r\n classes = _props.classes,\r\n maxWidth = _props.maxWidth,\r\n title = _props.title,\r\n showTitleBarClose = _props.showTitleBarClose,\r\n closeOnClickOut = _props.closeOnClickOut,\r\n fullScreen = _props.fullScreen,\r\n fullWidth = _props.fullWidth,\r\n buttonConfig = _props.buttonConfig,\r\n PaperProps = _props.PaperProps,\r\n children = _props.children,\r\n id = _props.id;\r\n\r\n\r\n var actionClassOverrides = {\r\n root: classes.actionRoot\r\n };\r\n\r\n return React.createElement(\r\n Dialog,\r\n Object.assign({}, DialogProps, {\r\n open: this.props.open,\r\n onClose: this.props.onClose,\r\n disableBackdropClick: !closeOnClickOut,\r\n showTitleBarClose: showTitleBarClose,\r\n fullScreen: fullScreen,\r\n fullWidth: fullWidth,\r\n PaperProps: PaperProps,\r\n maxWidth: maxWidth,\r\n id: id\r\n }),\r\n title && React.createElement(\r\n DialogTitle,\r\n DialogTitleProps,\r\n title\r\n ),\r\n React.createElement(\r\n DialogContent,\r\n DialogContentProps,\r\n children\r\n ),\r\n React.createElement(\r\n DialogActions,\r\n Object.assign({}, DialogActionsProps, {\r\n classes: actionClassOverrides,\r\n 'data-id': 'hed-simpleDialog-dialogActions',\r\n className: classNames(_defineProperty({}, classes.actionsRight, rightAlignButtons)) }),\r\n buttonConfig.slice(0).reverse().map(function (config, index) {\r\n return React.createElement(\r\n Button,\r\n {\r\n color: index === buttonConfig.length - 1 ? 'primary' : 'secondary',\r\n key: config.id,\r\n 'data-key': config.id,\r\n onClick: function onClick() {\r\n return _this2.props.handleButtonClick(config.id);\r\n }\r\n },\r\n config.title\r\n );\r\n })\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return SimpleDialog;\r\n}(React.Component);\r\n\r\n;\r\n\r\nSimpleDialog.muiName = 'SimpleDialog';\r\n\r\nSimpleDialog.propTypes = {\r\n /**\r\n * The contents of the dialog.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Props that will be applied to the `Dialog` element.\r\n */\r\n DialogProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogActions` element.\r\n */\r\n DialogActionsProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogContent` element.\r\n */\r\n DialogContentProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogTitle` element.\r\n */\r\n DialogTitleProps: PropTypes.object,\r\n /**\r\n * Whether the dialog is open\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * The dialog title.\r\n */\r\n title: PropTypes.string,\r\n /**\r\n * The buttons to display in the action area. An array of objects with the following properties:\r\n *\r\n * * `id`: The button's unique identifier\r\n * * `title`: The button title\r\n *\r\n * Dialogs should have a maximum of three buttons.\r\n */\r\n buttonConfig: PropTypes.arrayOf(PropTypes.object),\r\n /**\r\n * If true, shows an 'x' in the title bar, which closes the dialog\r\n */\r\n showTitleBarClose: PropTypes.bool,\r\n /**\r\n * If true, clicking outside the dialog will close it\r\n */\r\n closeOnClickOut: PropTypes.bool,\r\n /**\r\n * Determine the max width of the dialog.\r\n *\r\n * The dialog width grows with the size of the screen, this property is useful\r\n * on the desktop where you might need some different widths across your\r\n * application.\r\n *\r\n * Valid values:\r\n *\r\n * * `xs`\r\n * * `sm`\r\n * * `md`\r\n * * `lg`\r\n * * `false` (disables max width)\r\n */\r\n maxWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', false]),\r\n /**\r\n * If `true`, the dialog stretches to `maxWidth`.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * If true, dialog will appear in full screen\r\n */\r\n fullScreen: PropTypes.bool,\r\n /**\r\n * If true, the action buttons will be aligned right\r\n */\r\n rightAlignButtons: PropTypes.bool,\r\n /**\r\n * Invoked when the dialog wants to close\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Properties applied to the dialog's internal Paper element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Invoked when the user clicks on one of the buttons. Is passed a single argument, the button id.\r\n */\r\n handleButtonClick: PropTypes.func,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n id: PropTypes.string\r\n};\r\n\r\n// default prop values\r\nSimpleDialog.defaultProps = {\r\n showTitleBarClose: true,\r\n closeOnClickOut: true,\r\n fullScreen: false,\r\n fullWidth: false,\r\n rightAlignButtons: true,\r\n maxWidth: false,\r\n buttonConfig: []\r\n};\r\n\r\nexport default withStyles(styles)(SimpleDialog);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { IconButton, Logo, Typography, List, ListItem, ListItemIcon, ListItemText } from '../';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport withWidth, { isWidthDown } from './../withWidth';\r\nimport Grid from './../Grid';\r\nimport find from 'lodash/find';\r\nimport uuid from 'uuid/v4';\r\n\r\nimport { colorBrandNeutral600, colorTextDisabled, borderWidthThick, borderWidthThin, fontFamilyHeader, fontWeightBold, sizingSmall, spacing30, spacing40, spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _ref;\r\n\r\n return _ref = {\r\n\r\n megaMenu: {\r\n position: 'fixed',\r\n color: colorBrandNeutral600,\r\n bottom: 0,\r\n left: 0,\r\n right: 0,\r\n opacity: 1,\r\n willChange: 'opacity',\r\n backgroundColor: '#FFF',\r\n zIndex: theme.zIndex.megaMenu,\r\n overflowX: 'hidden',\r\n\r\n '&.useFluidTransition': {\r\n transition: 'all 0.15s ease-in-out',\r\n transformOrigin: '0 0'\r\n }\r\n\r\n },\r\n\r\n megaMenuHidden: {\r\n maxHeight: '0',\r\n overflowX: 'hidden'\r\n },\r\n\r\n wrapper: {\r\n padding: '6rem 5rem'\r\n }\r\n\r\n }, _defineProperty(_ref, theme.breakpoints.up('lg'), {\r\n wrapper: {\r\n padding: '6rem 10rem'\r\n }\r\n }), _defineProperty(_ref, 'staticAreaStart', {\r\n borderLeft: '1px solid black'\r\n }), _defineProperty(_ref, 'footerArea', {\r\n paddingTop: '5rem',\r\n justifyContent: 'center',\r\n display: 'flex'\r\n }), _defineProperty(_ref, 'listItemRoot', {\r\n backgroundColor: 'white',\r\n outline: '1px solid blue'\r\n }), _defineProperty(_ref, 'section', {\r\n\r\n // remove top padding to ensure that the top of the dividing line between static and dynamic area lines up correctly\r\n '&.first-row': {\r\n paddingTop: '0 !important'\r\n },\r\n\r\n '&.last-row': {\r\n paddingBottom: '0 !important'\r\n },\r\n\r\n '& .section-header': {\r\n color: theme.palette.grey[600],\r\n paddingBottom: spacing40\r\n },\r\n '& .section-link': {\r\n color: theme.palette.action.base,\r\n cursor: 'pointer',\r\n lineHeight: spacing50\r\n },\r\n '& .section-link:hover': {\r\n textDecoration: 'underline'\r\n },\r\n '& .section-link a': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n },\r\n '& .section-link.disabled': {\r\n color: colorTextDisabled,\r\n textDecoration: 'none',\r\n cursor: 'auto',\r\n pointerEvents: 'none'\r\n },\r\n '& .section-link.disabled a': {\r\n color: colorTextDisabled\r\n }\r\n }), _defineProperty(_ref, 'logo', {\r\n height: '0.875rem !important',\r\n marginTop: '0.3rem',\r\n minWidth: '0 !important',\r\n padding: '0 0 0 ' + spacing30 + ' !important',\r\n '& svg': {\r\n width: 'auto'\r\n }\r\n }), _defineProperty(_ref, 'topLevelMenuItem', {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_ref, 'smallListItemOverrides', {\r\n padding: '1rem 0 !important', // TODO this class always appears below native list item classes in precedence, so need the !important\r\n backgroundColor: 'transparent !important'\r\n }), _defineProperty(_ref, 'smallMenuTopLevelItemText', {\r\n fontFamily: fontFamilyHeader + ' !important'\r\n }), _defineProperty(_ref, 'smallMenu', {\r\n display: 'flex',\r\n flexDirection: 'column'\r\n }), _defineProperty(_ref, 'smallMenuHeader', {\r\n\r\n display: 'flex',\r\n borderBottom: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n padding: '0.5rem 0',\r\n minHeight: '3.375rem', // necessary to maintain consistent height in iOS Safari\r\n\r\n marginLeft: spacing50,\r\n marginRight: spacing50,\r\n\r\n '& > .back-nav': {\r\n marginLeft: '-1rem'\r\n },\r\n\r\n '& > .back-icon': {\r\n color: theme.palette.grey[600]\r\n },\r\n\r\n '& > .back-icon:hover': {\r\n cursor: 'pointer'\r\n },\r\n\r\n '& > .header-title': {\r\n margin: 'auto'\r\n }\r\n\r\n }), _defineProperty(_ref, 'smallMenuSubHeader', {\r\n borderBottom: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n padding: '1rem 0',\r\n marginLeft: spacing50,\r\n marginRight: spacing50,\r\n\r\n '& > .back-icon': {\r\n color: theme.palette.grey[600]\r\n },\r\n\r\n '& > .back-icon:hover': {\r\n cursor: 'pointer'\r\n },\r\n '& > .submenu-header-title': {\r\n margin: 'auto'\r\n },\r\n\r\n '& > .header-title': {\r\n paddingTop: '1.5rem'\r\n }\r\n\r\n }), _defineProperty(_ref, 'smallMenuIcon', {\r\n marginRight: 0,\r\n color: theme.palette.grey[600]\r\n }), _defineProperty(_ref, 'smallMenuList', {\r\n flexGrow: 1,\r\n margin: '0 ' + spacing50,\r\n width: 'auto !important'\r\n }), _defineProperty(_ref, 'smallMenuItem', {\r\n color: theme.palette.action.base,\r\n fontWeight: fontWeightBold,\r\n\r\n '& a': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n },\r\n '& a:visited': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n },\r\n '& a:hover': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n }\r\n }), _defineProperty(_ref, 'smallMenuItemContents', {\r\n display: 'flex',\r\n '&> div': {\r\n paddingRight: spacing40\r\n }\r\n }), _defineProperty(_ref, 'smallMenuItemDisabled', {\r\n color: theme.palette.grey[400],\r\n cursor: 'default'\r\n }), _defineProperty(_ref, 'menuFooter', {\r\n display: 'flex',\r\n margin: 'auto',\r\n padding: spacing60 + ' 0',\r\n\r\n '&.smallMenuFooter': {\r\n paddingBottom: '5rem'\r\n }\r\n }), _defineProperty(_ref, 'iconRoot', {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n }), _ref;\r\n};\r\n\r\n// detects when we've switched size classes that necessitate a change in the megamenu's form\r\nvar withMobileMegaMenu = function withMobileMegaMenu() {\r\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n return function (Component) {\r\n var _options$breakpoint = options.breakpoint,\r\n breakpoint = _options$breakpoint === undefined ? 'sm' : _options$breakpoint;\r\n\r\n\r\n function WithMobileMegaMenu(props) {\r\n return React.createElement(Component, Object.assign({ variant: isWidthDown(breakpoint, props.width) ? 'small' : 'large' }, props));\r\n }\r\n\r\n WithMobileMegaMenu.propTypes = {\r\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']).isRequired\r\n };\r\n\r\n return withWidth()(WithMobileMegaMenu);\r\n };\r\n};\r\n\r\n/**\r\n * Use `MegaMenu` to display all menu and utility options.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.15\r\n*/\r\n\r\nvar MegaMenu = function (_React$Component) {\r\n _inherits(MegaMenu, _React$Component);\r\n\r\n function MegaMenu() {\r\n var _ref2;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, MegaMenu);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref2 = MegaMenu.__proto__ || Object.getPrototypeOf(MegaMenu)).call.apply(_ref2, [this].concat(args))), _this), _this.state = {\r\n selectedItemKey: null,\r\n previousBodyScroll: 'auto'\r\n\r\n /**\r\n * Calculates dynamic styles for the menu (based on its size, and it's positioning)\r\n *\r\n * @returns {object} Dynamic menu styles\r\n */\r\n }, _this.previousSelected = function (event) {\r\n if (event.type !== 'keydown' || event.key === 'Enter') {\r\n _this.setState({\r\n selectedItemKey: null\r\n });\r\n }\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(MegaMenu, [{\r\n key: 'getMenuStyles',\r\n value: function getMenuStyles() {\r\n var _props = this.props,\r\n classes = _props.classes,\r\n parentElementRef = _props.parentElementRef,\r\n open = _props.open,\r\n topOffset = _props.topOffset,\r\n variant = _props.variant;\r\n\r\n // figure out the height of the megamenu\r\n\r\n var height = 'calc(100vh - ' + topOffset + 'px';\r\n\r\n var menuStyles = {\r\n display: variant === 'small' ? 'flex' : 'block',\r\n top: topOffset + 'px'\r\n };\r\n\r\n // if we're provided with a parent element, place the menu within that element\r\n if (parentElementRef && parentElementRef.current) {\r\n\r\n var el = parentElementRef.current;\r\n var rect = el.getBoundingClientRect();\r\n\r\n height = rect.height + 'px';\r\n\r\n // position the menu within the element\r\n menuStyles = Object.assign(menuStyles, {\r\n position: 'absolute',\r\n top: topOffset + 'px',\r\n left: 0,\r\n width: rect.width - classes.megaMenu.top + 'px'\r\n });\r\n }\r\n\r\n var menuHeight = open ? height : 0;\r\n\r\n // set the height of the megamenu\r\n Object.assign(menuStyles, {\r\n maxHeight: menuHeight, // need to specify max height as well, because transitions don't work with just height\r\n height: menuHeight\r\n });\r\n\r\n return menuStyles;\r\n }\r\n\r\n /**\r\n * Handle item selection.\r\n *\r\n * @param {object} item The selected item\r\n */\r\n\r\n }, {\r\n key: 'selectItem',\r\n value: function selectItem(event, item) {\r\n\r\n // if this element contains an href somewhere in its hierarchy, invoke it\r\n var anchor = event.target && event.target.querySelector('a');\r\n\r\n if (anchor) {\r\n anchor.click();\r\n } else {\r\n\r\n // do whatever our caller tells us to do\r\n if (this.props.onItemSelected) {\r\n this.props.onItemSelected(item);\r\n }\r\n\r\n // tell our caller that we're ready to close\r\n this.props.onClose();\r\n }\r\n }\r\n\r\n /**\r\n * Whether the item event should be handled.\r\n *\r\n * @param {Event} event Selection event\r\n * @param {object} item Selected item\r\n * @return {boolean} True if event should be handled\r\n */\r\n\r\n }, {\r\n key: 'shouldHandleSelection',\r\n value: function shouldHandleSelection(event, item) {\r\n return !item.disabled && ((event.type === 'keydown' || event.type === 'keypress') && event.key === 'Enter' || event.type === 'click');\r\n }\r\n\r\n /**\r\n * Handle larege menu item selection.\r\n *\r\n * @param {Event} event Selection event\r\n * @param {object} sectionItem The selected item\r\n */\r\n\r\n }, {\r\n key: 'largeMenuItemSelected',\r\n value: function largeMenuItemSelected(event, sectionItem) {\r\n\r\n // check if the event is a keypress event, then check for the key pressed\r\n if (this.shouldHandleSelection(event, sectionItem)) {\r\n this.selectItem(event, sectionItem);\r\n }\r\n }\r\n\r\n /**\r\n * Handle small menu item selection.\r\n *\r\n * @param {Event} event Selection event\r\n * @param {object} item Selected item\r\n */\r\n\r\n }, {\r\n key: 'smallMenuItemSelected',\r\n value: function smallMenuItemSelected(event, item) {\r\n\r\n if (this.shouldHandleSelection(event, item)) {\r\n\r\n // item has submenus, navigate to them\r\n if (item.items) {\r\n this.setState({\r\n selectedItemKey: item.key\r\n });\r\n\r\n // leaf node, engage selection apparatus\r\n } else {\r\n this.selectItem(event, item);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * We were asked to go up a level\r\n */\r\n\r\n }, {\r\n key: 'getSelectedItem',\r\n\r\n\r\n /**\r\n * Returns the item corresponding to the given key\r\n *\r\n * @param {string} key Item key\r\n * @return {object} Corresponding item\r\n */\r\n value: function getSelectedItem(key) {\r\n return find(this.props.menuDefinition.concat(this.props.utilityDefinition), function (item) {\r\n return item.key === key;\r\n });\r\n }\r\n\r\n /**\r\n * Renders a single small megamenu items\r\n *\r\n * @param {object} item Item to render\r\n * @return {Element} The rendered element\r\n */\r\n\r\n }, {\r\n key: 'renderSmallItem',\r\n value: function renderSmallItem(item) {\r\n var _this2 = this;\r\n\r\n var _props2 = this.props,\r\n classes = _props2.classes,\r\n edsContext = _props2.edsContext;\r\n\r\n // apply special header styling to text if we're at the top level of the menu\r\n\r\n var listItemClasses = this.state.selectedItemKey ? null : {\r\n primary: classes.smallMenuTopLevelItemText\r\n };\r\n\r\n return React.createElement(\r\n 'div',\r\n { key: item.key },\r\n React.createElement(\r\n ListItem,\r\n {\r\n classes: {\r\n root: classes.smallListItemOverrides\r\n },\r\n button: true,\r\n focusVisibleClassName: classes.listItemRoot,\r\n onClick: function onClick(event) {\r\n return _this2.smallMenuItemSelected(event, item);\r\n },\r\n onKeyPress: function onKeyPress(event) {\r\n return _this2.smallMenuItemSelected(event, item);\r\n },\r\n className: this.state.selectedItemKey ? null : classes.topLevelMenuItem,\r\n disabled: item.disabled,\r\n tabIndex: this.props.open ? 0 : -1\r\n },\r\n React.createElement(\r\n ListItemText,\r\n {\r\n classes: listItemClasses,\r\n className: item.disabled ? 'disabled' : null,\r\n primaryTypographyProps: this.getSmallListItemTypographyClass(item)\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: this.props.classes.smallMenuItemContents },\r\n React.createElement(\r\n 'div',\r\n null,\r\n item.megaMenuContent || item.content\r\n ),\r\n item.label && React.createElement(\r\n 'div',\r\n null,\r\n item.label\r\n )\r\n )\r\n ),\r\n item.items && React.createElement(\r\n ListItemIcon,\r\n { className: classes.smallMenuIcon },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronLeft, { className: classes.iconRoot }) : React.createElement(ChevronRight, { className: classes.iconRoot })\r\n )\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * Renders the small version of the menu\r\n *\r\n * @param {Array.} staticItems Static menu items\r\n * @param {Array.} dynamicItems Dynamic menu items\r\n *\r\n * @return {object} Rendered small menu\r\n */\r\n\r\n }, {\r\n key: 'renderSmallMenu',\r\n value: function renderSmallMenu(staticItems, dynamicItems, utilityItems) {\r\n var _this3 = this;\r\n\r\n var _props3 = this.props,\r\n classes = _props3.classes,\r\n edsContext = _props3.edsContext;\r\n\r\n\r\n var listItems = void 0;\r\n\r\n // we're displaying a submenu\r\n if (this.state.selectedItemKey) {\r\n listItems = this.getSelectedItem(this.state.selectedItemKey).items;\r\n\r\n // we're displaying the top-level menu\r\n } else {\r\n listItems = staticItems.concat(dynamicItems);\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n {\r\n className: classNames(classes.megaMenu, classes.smallMenu, this.props.useFluidTransition ? 'useFluidTransition' : null, !this.props.open ? classes.megaMenuHidden : null),\r\n 'data-megamenu-type': 'small',\r\n style: this.getMenuStyles(),\r\n 'aria-hidden': !this.props.open\r\n },\r\n !this.state.selectedItemKey && utilityItems.length > 0 && React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n 'div',\r\n { className: classes.smallMenuSubHeader },\r\n React.createElement(\r\n Typography,\r\n { variant: 'h3', className: 'header-title' },\r\n edsContext.formatMessage('component.MegaMenu.utilities')\r\n )\r\n ),\r\n React.createElement(\r\n List,\r\n { className: classNames('megamenu-menu-list', classes.smallMenuList), component: 'div' },\r\n utilityItems.filter(function (item) {\r\n return !item.hidden;\r\n }).map(function (item) {\r\n return _this3.renderSmallItem(item);\r\n })\r\n )\r\n ),\r\n this.state.selectedItemKey && React.createElement(\r\n 'div',\r\n { className: classes.smallMenuHeader },\r\n React.createElement(\r\n IconButton,\r\n { color: 'gray', onClick: this.previousSelected, onKeyPress: this.previousSelected, className: 'back-nav' },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronRight, { className: 'back-icon' }) : React.createElement(ChevronLeft, { className: 'back-icon' })\r\n ),\r\n React.createElement(\r\n Typography,\r\n { className: 'header-title' },\r\n this.getSelectedItem(this.state.selectedItemKey).label ? this.getSelectedItem(this.state.selectedItemKey).label : this.getSelectedItem(this.state.selectedItemKey).content\r\n )\r\n ),\r\n !this.state.selectedItemKey && React.createElement(\r\n 'div',\r\n { className: classes.smallMenuSubHeader },\r\n React.createElement(\r\n Typography,\r\n { variant: 'h3', className: 'header-title' },\r\n this.props.menuItemsHeader\r\n )\r\n ),\r\n React.createElement(\r\n List,\r\n { className: classNames('megamenu-menu-list', classes.smallMenuList), component: 'div' },\r\n listItems.filter(function (item) {\r\n return !item.hidden;\r\n }).map(function (item) {\r\n return _this3.renderSmallItem(item);\r\n })\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: classNames('megamenu-footer', classes.menuFooter, 'smallMenuFooter') },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', color: 'textSecondary' },\r\n edsContext.formatMessage('component.MegaMenu.poweredBy')\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(Logo, { logo: 'alternative', className: classes.logo })\r\n )\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * Construct list item typography override for small menu\r\n *\r\n * @param {object} item The menu item\r\n */\r\n\r\n }, {\r\n key: 'getSmallListItemTypographyClass',\r\n value: function getSmallListItemTypographyClass(item) {\r\n\r\n var classes = this.props.classes;\r\n\r\n var itemClasses = [];\r\n\r\n // grey out disabled items\r\n item.disabled && itemClasses.push(classes.smallMenuItemDisabled);\r\n\r\n // special formatting for items on the second level\r\n if (this.state.selectedItemKey) {\r\n itemClasses.push(classes.smallMenuItem);\r\n }\r\n\r\n return {\r\n classes: {\r\n root: itemClasses.join(' ')\r\n }\r\n };\r\n }\r\n }, {\r\n key: 'buildSectionData',\r\n value: function buildSectionData(sectionData) {\r\n var _this4 = this;\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: 'megamenu-section' },\r\n React.createElement(\r\n Typography,\r\n { className: 'section-header', variant: 'h3' },\r\n sectionData.content\r\n ),\r\n sectionData.items.filter(function (sectionItem) {\r\n return !sectionItem.hidden;\r\n }).map(function (sectionItem) {\r\n\r\n return React.createElement(\r\n Typography,\r\n {\r\n className: classNames('section-link', { 'disabled': sectionItem.disabled }),\r\n key: sectionItem.key,\r\n variant: 'body2',\r\n onClick: function onClick(event) {\r\n _this4.largeMenuItemSelected(event, sectionItem);\r\n },\r\n onKeyPress: function onKeyPress(event) {\r\n _this4.largeMenuItemSelected(event, sectionItem);\r\n },\r\n tabIndex: !_this4.props.open || sectionItem.disabled ? -1 : 0\r\n },\r\n sectionItem.content\r\n );\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * Build a single section in the mega menu. A section consists of a header and a series of child links.\r\n *\r\n * @param {object} sectionData The section data\r\n * @param {boolean} isFirstRow Whether this section appears on the first row\r\n * @param {boolean} isLastRow Whether this section appears on the last row\r\n * @param {boolean} isStaticAreaStart Whether this represents the first column of a static area\r\n * @param {number} sectionsPerRow The number of sections to display in a single row\r\n *\r\n * @return {object} Rendered large menu\r\n */\r\n\r\n }, {\r\n key: 'buildSection',\r\n value: function buildSection(sectionData, isFirstRow, isLastRow, isStaticAreaStart, sectionsPerRow) {\r\n\r\n return React.createElement(\r\n Grid,\r\n {\r\n item: true,\r\n xs: 12 / sectionsPerRow,\r\n key: sectionData && sectionData.key || uuid(),\r\n className: classNames(this.props.classes.section, isFirstRow ? 'first-row' : null, isLastRow ? 'last-row' : null, isStaticAreaStart ? this.props.classes.staticAreaStart : null, sectionData ? sectionData.dynamic ? 'megamenu-dynamic-section' : 'megamenu-static-section' : null)\r\n },\r\n sectionData ? this.buildSectionData(sectionData) : null\r\n );\r\n }\r\n }, {\r\n key: 'renderLargeMenu',\r\n\r\n\r\n /**\r\n * Renders the large version of the menu\r\n *\r\n * @param {Array.} staticItems Static menu items\r\n * @param {Array.} dynamicItems Dynamic menu items\r\n */\r\n value: function renderLargeMenu(staticItems, dynamicItems) {\r\n var _props4 = this.props,\r\n classes = _props4.classes,\r\n edsContext = _props4.edsContext;\r\n\r\n\r\n var hasDynamicItems = dynamicItems.length > 0;\r\n var sectionsPerRow = hasDynamicItems ? 4 : 3;\r\n\r\n // figure out how many rows we're displahing on the megamnu (which will be the max of the number of static and\r\n // dynamic rows)\r\n var numStaticRows = Math.ceil(staticItems.length / 3);\r\n var numRows = Math.max(numStaticRows, dynamicItems.length);\r\n\r\n var allItems = [];\r\n\r\n // loop through all the items, building section for each and putting them in the right place\r\n for (var rowIndex = 0; rowIndex < numRows; rowIndex++) {\r\n\r\n var isFirstRow = rowIndex === 0;\r\n var isLastRow = rowIndex === numRows - 1;\r\n\r\n // first item in the row is always\r\n if (hasDynamicItems) {\r\n // const dynamicItem = dynamicItems[rowIndex];\r\n allItems.push(this.buildSection(dynamicItems[rowIndex], isFirstRow, isLastRow, false, sectionsPerRow));\r\n }\r\n\r\n for (var colIndex = 0; colIndex < 3; colIndex++) {\r\n var staticItemsIndex = rowIndex * 3 + colIndex;\r\n allItems.push(this.buildSection(staticItems[staticItemsIndex], isFirstRow, isLastRow, hasDynamicItems && colIndex === 0, sectionsPerRow));\r\n }\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n {\r\n className: classNames(classes.megaMenu, !this.props.open ? classes.megaMenuHidden : null, this.props.useFluidTransition ? 'useFluidTransition' : null),\r\n 'data-megamenu-type': 'large',\r\n style: this.getMenuStyles(),\r\n 'aria-hidden': !this.props.open\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: classes.wrapper },\r\n React.createElement(\r\n Grid,\r\n { container: true, spacing: 4 },\r\n allItems.map(function (item) {\r\n return item;\r\n }),\r\n React.createElement(\r\n Grid,\r\n { item: true, xs: 12 },\r\n React.createElement(\r\n 'div',\r\n { className: classNames('megamenu-footer', classes.footerArea) },\r\n React.createElement(\r\n 'div',\r\n { className: classes.menuFooter },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', color: 'textSecondary' },\r\n edsContext.formatMessage('component.MegaMenu.poweredBy')\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(Logo, { logo: 'alternative', className: classes.logo })\r\n )\r\n )\r\n )\r\n )\r\n )\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * Toggle scrolling in the document \r\n *\r\n * @param {boolean} enable Whether to enable body scrolling\r\n */\r\n\r\n }, {\r\n key: 'toggleBodyScroll',\r\n value: function toggleBodyScroll(enable) {\r\n document.body.style.overflow = enable ? this.state.previousBodyScroll : 'hidden';\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n\r\n if (this.props.open !== prevProps.open) {\r\n\r\n // remember current body overflow value when opening\r\n if (this.props.open) {\r\n this.setState({\r\n previousBodyScroll: document.body.style.overflow\r\n });\r\n }\r\n\r\n // clear selected item when the menu closes\r\n else {\r\n this.setState({\r\n selectedItemKey: null\r\n });\r\n }\r\n\r\n // enable/disable body scrolling\r\n this.toggleBodyScroll(!this.props.open);\r\n }\r\n }\r\n }, {\r\n key: 'componentWillUnmount',\r\n value: function componentWillUnmount() {\r\n // make sure body scroll is re-enabled\r\n this.toggleBodyScroll(true);\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _props5 = this.props,\r\n menuDefinition = _props5.menuDefinition,\r\n utilityDefinition = _props5.utilityDefinition,\r\n variant = _props5.variant;\r\n // separate dynamic-area from static-area items\r\n\r\n var dynamicItems = menuDefinition.filter(function (def) {\r\n return def.dynamic;\r\n });\r\n var staticItems = menuDefinition.filter(function (def) {\r\n return !def.dynamic;\r\n });\r\n\r\n if (variant === 'small') {\r\n return this.renderSmallMenu(staticItems, dynamicItems, utilityDefinition);\r\n } else {\r\n return this.renderLargeMenu(staticItems, dynamicItems);\r\n }\r\n }\r\n }]);\r\n\r\n return MegaMenu;\r\n}(React.Component);\r\n\r\n;\r\n\r\nMegaMenu.propTypes = {\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * Whether the menu is open\r\n */\r\n open: PropTypes.bool.isRequired,\r\n\r\n /**\r\n * The offset from the top at which the menu should be positioned (in pixels)\r\n */\r\n topOffset: PropTypes.number,\r\n\r\n /**\r\n * If the megamenu should appear within a DOM element (and be constrained within its borders), you must\r\n * provide a [ref](https://reactjs.org/docs/refs-and-the-dom.html) representing the containing element.\r\n */\r\n parentElementRef: PropTypes.object,\r\n\r\n /**\r\n * The menu items. An array of objects with the following format:\r\n *\r\n * - `key*`: A unique key, identifying the item\r\n * - `content`: Accepts straight text, or a component with some sort of visual representation - *Icon*, *NavLink*, etc.\r\n * - `dynamic`: Whether the item should appear in the dynamic area of the mega menu\r\n * - `items`: If the object has child items (eg, a menu), it can specify them in an array of objects\r\n *\r\n * The *items* objects take the following form:\r\n *\r\n * - `key`: A unique key\r\n * - `content`: Accepts straight text, or a component with some sort of visual representation - *Icon*, *NavLink*, etc.\r\n * - `disabled`: A boolean indicating whether the item is disabled\r\n * - `hidden`: A boolean indicating whether the item is hidden\r\n */\r\n menuDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * The utility items definition (design TBD)\r\n */\r\n utilityDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Invoked when an item is selected. The function is passed the key of the selected item.\r\n */\r\n onItemSelected: PropTypes.func,\r\n\r\n /**\r\n * Invoked when the menu wants to close\r\n */\r\n onClose: PropTypes.func.isRequired,\r\n\r\n /**\r\n * Whether the megamenu should use a fluid transition when opening/closing\r\n */\r\n useFluidTransition: PropTypes.bool,\r\n\r\n /**\r\n * The header that appears above the menu items portion of the small menu header\r\n */\r\n menuItemsHeader: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Determines the layout of the mega menu's contents\r\n */\r\n variant: PropTypes.oneOf(['small', 'large'])\r\n\r\n};\r\n\r\n// default properties\r\nMegaMenu.defaultProps = {\r\n menuDefinition: [],\r\n utilityDefinition: [],\r\n topOffset: 64,\r\n useFluidTransition: false,\r\n variant: 'large'\r\n};\r\n\r\nexport default withEDSContext(withMobileMegaMenu()(withStyles(styles)(MegaMenu)));","export var SEARCH_WIDTH_WITH_CATEGORY_MENU = '25.6rem';","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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport List from './../../List';\r\nimport ListItem from './../../List/ListItem';\r\nimport ListItemText from './../../List/ListItemText';\r\nimport { withEDSContext } from '../../EDSContext/EDSContext';\r\nimport ListItemIcon from './../../List/ListItemIcon';\r\nimport Icon from '@ellucian/ds-icons/lib/Icon';\r\nimport { default as withStyles } from '../../styles';\r\nimport { SEARCH_WIDTH_WITH_CATEGORY_MENU } from './constants';\r\nimport { borderRadiusMedium, widthInputFields, borderWidthThin, colorTextNeutral500, spacing70 } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n height: 'auto',\r\n '&$listWidth': {\r\n width: '' + widthInputFields\r\n },\r\n '&$listWidthWithCategory': {\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU\r\n },\r\n '&$listRootFullWidth': {\r\n width: '100%'\r\n },\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)',\r\n marginTop: '.25rem',\r\n position: 'absolute',\r\n zIndex: theme.zIndex.dropdown\r\n },\r\n listItemHover: {\r\n '&:hover': {\r\n backgroundColor: 'initial !important',\r\n cursor: 'unset'\r\n },\r\n color: colorTextNeutral500\r\n },\r\n listRootFullWidth: {},\r\n listWidth: {},\r\n listIcon: {\r\n minWidth: spacing70\r\n },\r\n listWidthWithCategory: {}\r\n };\r\n};\r\n\r\nvar SearchStatus = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n loading = props.loading,\r\n noData = props.noData,\r\n showCategoryMenu = props.showCategoryMenu,\r\n edsContext = props.edsContext;\r\n\r\n return React.createElement(\r\n List,\r\n {\r\n 'aria-busy': loading,\r\n 'aria-label': edsContext.formatMessage('component.Search.noresult'),\r\n className: classNames(classes.listWidth, (_classNames = {}, _defineProperty(_classNames, classes.listRootFullWidth, props.fullWidth), _defineProperty(_classNames, classes.listWidthWithCategory, showCategoryMenu), _classNames)),\r\n classes: {\r\n root: classes.root\r\n }\r\n },\r\n React.createElement(\r\n ListItem,\r\n { classes: {\r\n root: classes.listItemHover\r\n } },\r\n noData && React.createElement(ListItemText, { primary: edsContext.formatMessage('component.Search.noresult') }),\r\n loading && React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n ListItemIcon,\r\n { classes: {\r\n root: classes.listIcon\r\n } },\r\n React.createElement(Icon, {\r\n name: 'spinner',\r\n large: true,\r\n spin: true\r\n })\r\n ),\r\n React.createElement(ListItemText, { primary: edsContext.formatMessage('component.Search.loading') })\r\n )\r\n )\r\n );\r\n});\r\n\r\nSearchStatus.propTypes = {\r\n // To display loader.\r\n loading: PropTypes.bool,\r\n\r\n // To display no result found message.\r\n noData: PropTypes.bool,\r\n\r\n //the List will take up the full width of its container if value is true.\r\n fullWidth: PropTypes.bool\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(SearchStatus));","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport uuid from 'uuid';\r\nimport { default as withStyles } from '../styles';\r\nimport List from '@material-ui/core/List';\r\nimport ListItem from '@material-ui/core/ListItem';\r\nimport ListItemText from '@material-ui/core/ListItemText';\r\nimport Menu from '@material-ui/core/Menu';\r\nimport NativeSelect from '@material-ui/core/NativeSelect';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport { spacing30, boxShadowFocus, borderRadiusMedium, borderWidthThin, spacing50, spacing20, sizingLarge } from '../styles/tokens';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport isNil from 'lodash/isNil';\r\n\r\nvar ITEM_HEIGHT = 44;\r\nvar DEFAULT_SELECTED_INDEX = 0;\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // SelectionMenu\r\n root: {\r\n display: 'inline-flex'\r\n },\r\n icon: {\r\n fill: theme.palette.grey[500]\r\n },\r\n listPadding: {\r\n paddingTop: '0.125rem',\r\n paddingBottom: '0.125rem'\r\n },\r\n\r\n listItemRoot: {\r\n paddingTop: '0.125rem',\r\n paddingBottom: '0.125rem',\r\n paddingLeft: spacing30,\r\n paddingRight: spacing30,\r\n\r\n '&:hover $icon': {\r\n fill: theme.palette.ctaColor.hover,\r\n color: theme.palette.ctaColor.hover\r\n },\r\n\r\n '&$listItemDisabled': {\r\n opacity: '1',\r\n '&:hover $icon': {\r\n fill: theme.palette.grey[400]\r\n }\r\n }\r\n },\r\n listItemDisabled: {},\r\n\r\n listItemButton: {\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid transparent',\r\n height: sizingLarge,\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n },\r\n '&:focus': {\r\n backgroundColor: 'transparent',\r\n borderColor: theme.palette.grey[300],\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n\r\n disabled: {\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[400]\r\n },\r\n listItemTextRoot: {\r\n paddingRight: spacing30\r\n },\r\n menuRoot: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)'\r\n },\r\n\r\n // Native styles\r\n nativeSelectRoot: {\r\n marginRight: spacing20,\r\n height: sizingLarge,\r\n '&:hover $nativeIcon': {\r\n fill: theme.palette.ctaColor.hover\r\n },\r\n '&:hover $nativeIconDisabled': {\r\n fill: theme.palette.grey[400]\r\n }\r\n },\r\n nativeSelect: {\r\n height: 'auto',\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid transparent',\r\n width: 'calc(100% - ' + spacing50 + ')',\r\n paddingLeft: spacing30,\r\n paddingRight: spacing50,\r\n '&:focus': {\r\n backgroundColor: 'transparent',\r\n borderColor: theme.palette.grey[300],\r\n boxShadow: boxShadowFocus,\r\n borderRadius: borderRadiusMedium\r\n },\r\n '&:disabled': {\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n nativeIcon: {\r\n top: 'calc(50% - .5rem)',\r\n fill: theme.palette.grey[500]\r\n },\r\n nativeIconDisabled: {\r\n fill: theme.palette.grey[400]\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use this smaller dropdown when space is limited and the dropdown does not need to be prominent.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v2.6.0\r\n * @examples\r\n * SelectionMenuExample\r\n * SelectionMenuDisabled\r\n * SelectionMenuControlled\r\n * CardSelectionMenu\r\n * CustomizedSelectionMenu\r\n * SelectionMenuNative\r\n */\r\n\r\nvar SelectionMenu = function (_React$Component) {\r\n _inherits(SelectionMenu, _React$Component);\r\n\r\n function SelectionMenu(props) {\r\n _classCallCheck(this, SelectionMenu);\r\n\r\n var _this = _possibleConstructorReturn(this, (SelectionMenu.__proto__ || Object.getPrototypeOf(SelectionMenu)).call(this, props));\r\n\r\n _initialiseProps.call(_this);\r\n\r\n _this.state = {\r\n anchorEl: null,\r\n selectedIndex: _this.props.selectedIndex || DEFAULT_SELECTED_INDEX\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(SelectionMenu, [{\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n idProp = _props.id,\r\n classes = _props.classes,\r\n disabled = _props.disabled,\r\n childrenProp = _props.children,\r\n ContainerProps = _props.ContainerProps,\r\n edsContext = _props.edsContext,\r\n ListProps = _props.ListProps,\r\n ListItemProps = _props.ListItemProps,\r\n ListItemTextProps = _props.ListItemTextProps,\r\n MenuProps = _props.MenuProps,\r\n native = _props.native,\r\n selectedIndexProp = _props.selectedIndex,\r\n rest = _objectWithoutProperties(_props, ['id', 'classes', 'disabled', 'children', 'ContainerProps', 'edsContext', 'ListProps', 'ListItemProps', 'ListItemTextProps', 'MenuProps', 'native', 'selectedIndex']);\r\n\r\n var _state = this.state,\r\n anchorEl = _state.anchorEl,\r\n selectedIndex = _state.selectedIndex;\r\n\r\n var id = idProp || uuid();\r\n\r\n var _ref = ListItemTextProps || {},\r\n listItemTextPropClasses = _ref.classes,\r\n ListItemTextPropsRest = _objectWithoutProperties(_ref, ['classes']);\r\n\r\n var _ref2 = listItemTextPropClasses || {},\r\n listItemTextPropClassesRoot = _ref2.root,\r\n restOfClasses = _objectWithoutProperties(_ref2, ['root']);\r\n\r\n var overrideClasses = Object.assign({\r\n root: cn(classes.listItemTextRoot, listItemTextPropClassesRoot)\r\n }, restOfClasses);\r\n\r\n var children = childrenProp;\r\n\r\n if (!native) {\r\n children = React.Children.map(childrenProp, function (child, index) {\r\n return React.cloneElement(child, {\r\n onClick: function onClick(event) {\r\n _this2.handleMenuItemClick(event, index);\r\n if (child.props.onClick) {\r\n child.props.onClick(event);\r\n }\r\n },\r\n selected: index === selectedIndex\r\n });\r\n });\r\n }\r\n\r\n // Assume Array is sent in, else show empty label\r\n var selectedIndexLabel = Array.isArray(children) && children[selectedIndex].props.children || '';\r\n var ariaControlProp = Boolean(anchorEl) ? { 'aria-controls': id } : {};\r\n\r\n return native ? React.createElement(\r\n NativeSelect,\r\n Object.assign({\r\n id: id,\r\n disabled: disabled,\r\n IconComponent: ChevronDown,\r\n classes: {\r\n root: classes.nativeSelectRoot,\r\n select: classes.nativeSelect,\r\n icon: cn(classes.nativeIcon, _defineProperty({}, classes.nativeIconDisabled, disabled))\r\n },\r\n disableUnderline: true\r\n }, rest),\r\n children\r\n ) : React.createElement(\r\n 'div',\r\n Object.assign({ className: classes.root }, ContainerProps),\r\n React.createElement(\r\n List,\r\n Object.assign({\r\n id: id + '-container',\r\n component: 'nav',\r\n disablePadding: true\r\n }, ListProps),\r\n React.createElement(\r\n ListItem,\r\n Object.assign({\r\n button: true,\r\n disabled: disabled,\r\n disableGutters: true,\r\n 'aria-haspopup': 'true',\r\n onClick: this.handleOpenMenu,\r\n classes: {\r\n root: classes.listItemRoot,\r\n button: classes.listItemButton,\r\n disabled: classes.listItemDisabled\r\n }\r\n }, ariaControlProp, ListItemProps),\r\n React.createElement(ListItemText, Object.assign({\r\n primary: selectedIndexLabel,\r\n classes: overrideClasses,\r\n primaryTypographyProps: {\r\n className: cn(_defineProperty({}, classes.disabled, disabled))\r\n }\r\n }, ListItemTextPropsRest)),\r\n React.createElement(ChevronDown, {\r\n className: cn(classes.icon, _defineProperty({}, classes.disabled, disabled))\r\n })\r\n )\r\n ),\r\n React.createElement(\r\n Menu,\r\n Object.assign({\r\n id: id,\r\n anchorEl: anchorEl,\r\n open: Boolean(anchorEl),\r\n onClose: this.handleClose,\r\n MenuListProps: {\r\n disablePadding: true\r\n },\r\n classes: {\r\n paper: classes.menuRoot\r\n },\r\n PaperProps: {\r\n dir: edsContext.dir,\r\n style: {\r\n maxHeight: ITEM_HEIGHT * 7\r\n }\r\n }\r\n }, MenuProps),\r\n children\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return SelectionMenu;\r\n}(React.Component);\r\n\r\nSelectionMenu.getDerivedStateFromProps = function (props, state) {\r\n var index = null;\r\n\r\n if (!isNil(props.selectedIndex)) {\r\n if (props.selectedIndex < 0 || props.selectedIndex > props.children.length - 1 || typeof props.selectedIndex !== 'number') {\r\n console.warn('The value ' + props.selectedIndex + ' passed to selectedIndex is invalid. Resetting selectedIndex to 0.');\r\n index = DEFAULT_SELECTED_INDEX;\r\n props.onChange(index);\r\n return {\r\n anchorEl: state.anchorEl,\r\n selectedIndex: index\r\n };\r\n } else {\r\n return {\r\n anchorEl: state.anchorEl,\r\n selectedIndex: props.selectedIndex\r\n };\r\n }\r\n }\r\n\r\n return null; // Indicates no change to the state\r\n};\r\n\r\nvar _initialiseProps = function _initialiseProps() {\r\n var _this3 = this;\r\n\r\n this.handleOpenMenu = function (event) {\r\n _this3.setState({ anchorEl: event.currentTarget });\r\n };\r\n\r\n this.handleMenuItemClick = function (event, index) {\r\n !isNil(_this3.props.selectedIndex) ? _this3.setState({ anchorEl: null }, _this3.props.onChange(index)) : _this3.setState({ selectedIndex: index, anchorEl: null });\r\n };\r\n\r\n this.handleClose = function () {\r\n _this3.setState({ anchorEl: null });\r\n };\r\n};\r\n\r\nSelectionMenu.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The unique HTML `id`. This is internally used to assist with accessibility of the nodes rendered.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * The items to select from, most commonly `SelectionMenuItem`.\r\n *\r\n * If `native` is `true`, `children` should be the HTML `option` element.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * If `true`, the `SelectionMenu` will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Properties applied to the wrapping `div` component. This prop should not be used if `native` is `true`.\r\n */\r\n ContainerProps: PropTypes.object,\r\n /**\r\n * Properties applied to the `Menu` component. Any other properties supplied\r\n * will be spread to the root element `Popover`. This prop should not be used if `native` is `true`.\r\n */\r\n MenuProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`List`](#/components/List) component. This prop should not be used if `native` is `true`.\r\n */\r\n ListProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`ListItem`](#/components/List) component. This prop should not be used if `native` is `true`.\r\n */\r\n ListItemProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`ListItemText`](#/components/List) component. This prop should not be used if `native` is `true`.\r\n */\r\n ListItemTextProps: PropTypes.object,\r\n /**\r\n * The (0-based) index of the child that will be marked as selected.\r\n *\r\n * Specifying this prop makes the `SelectionMenu` a controlled component.\r\n */\r\n selectedIndex: PropTypes.number,\r\n /**\r\n * If `true`, render a native HTML `select` element.\r\n */\r\n native: PropTypes.bool,\r\n /**\r\n * Properties applied to the HTML `input` element, if `native` is `true`.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Callback function fired when a menu item is selected if `native` or `selectedIndex` is provided\r\n *\r\n * `onChange` for `selectedIndex` menus:\r\n *\r\n * * Signature: `function(index) => void`\r\n *\r\n *\r\n * `onChange` for `native` menus:\r\n *\r\n * * Signature: `function(event: object) => void`\r\n *\r\n * * `event`: The event source of the callback. You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The value of the HTML `input` element, if `native` is `true`.\r\n */\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nSelectionMenu.defaultProps = {};\r\n\r\nexport default withEDSContext(withStyles(styles)(SelectionMenu));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { borderWidthThin, fontSizeDefault, lineHeightHeader3, sizingXxLarge } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n menuRoot: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n },\r\n menuItemRoot: {\r\n fontSize: fontSizeDefault,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n paddingTop: '.75rem',\r\n paddingBottom: '.75rem',\r\n '&:focus, &:hover': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.grey[600]\r\n },\r\n '&:last-child': {\r\n borderBottom: 'none'\r\n },\r\n '&$menuItemSelected': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n },\r\n minHeight: sizingXxLarge,\r\n lineHeight: lineHeightHeader3\r\n },\r\n menuItemSelected: {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n '&:focus:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar SelectionMenuItem = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n children = props.children,\r\n disabled = props.disabled,\r\n rest = _objectWithoutProperties(props, ['classes', 'children', 'disabled']);\r\n\r\n return React.createElement(\r\n MenuItem,\r\n Object.assign({\r\n classes: {\r\n root: classes.menuItemRoot,\r\n selected: classes.menuItemSelected\r\n },\r\n disabled: disabled,\r\n 'aria-disabled': disabled ? true : false,\r\n ref: ref\r\n }, rest),\r\n children\r\n );\r\n});\r\n\r\n// necessary to add an explicit display name, since docgen can't seem to\r\n// extract one from a forwardRef'd component\r\nSelectionMenuItem.displayName = 'SelectionMenuItem';\r\n\r\nSelectionMenuItem.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The text of the item.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * If `true`, the item will be disabled.\r\n */\r\n disabled: PropTypes.bool\r\n};\r\n\r\nexport default withStyles(styles, { name: 'SelectionMenuItem' })(SelectionMenuItem);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport _debounce from 'lodash/debounce';\r\nimport _isEmpty from 'lodash/isEmpty';\r\nimport _isNil from 'lodash/isNil';\r\nimport classNames from 'classnames';\r\nimport uuid from 'uuid/v4';\r\nimport SearchStatus from './internal/SearchStatus';\r\nimport List from '../List/List';\r\nimport TextField from '../TextField/TextField';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport SelectionMenu from '../SelectionMenu/SelectionMenu';\r\nimport SelectionMenuItem from '../SelectionMenu/SelectionMenuItem';\r\nimport useWidth from '../useWidth';\r\nimport { SEARCH_WIDTH_WITH_CATEGORY_MENU } from './internal/constants';\r\n\r\nimport { borderRadiusMedium, borderWidthThick, borderWidthThin, boxShadowError, colorBorderAlertError, colorTextNeutral100, heightInputFields, sizingSmall, sizingXLarge, spacing60, spacing40, spacing30, spacing20, widthFluid, widthInputFields } from '../styles/tokens';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport { default as MuiTextField } from '@material-ui/core/TextField';\r\nimport SearchIcon from '@ellucian/ds-icons/lib/Search';\r\nimport CloseIcon from '@ellucian/ds-icons/lib/Close';\r\n\r\nexport var VARIANTS = {\r\n STANDALONE: 'standalone',\r\n STANDARD: 'standard'\r\n};\r\n\r\nexport var COLORS = {\r\n LIGHT: 'light',\r\n DARK: 'dark'\r\n};\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n var _searchInput;\r\n\r\n return {\r\n listRoot: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n height: 'auto',\r\n '&$listWidth': {\r\n width: '' + widthInputFields\r\n },\r\n '&$listRootFullWidth': {\r\n width: '100%'\r\n },\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)',\r\n marginTop: spacing20,\r\n maxHeight: '20rem',\r\n overflow: 'auto',\r\n position: 'absolute',\r\n zIndex: theme.zIndex.dropdown,\r\n '&$resultListWidthWithCategoryMenu': {\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU\r\n }\r\n },\r\n resultListWidthWithCategoryMenu: {},\r\n listWidth: {},\r\n inputBackground: {\r\n // with label\r\n position: 'absolute',\r\n top: '0',\r\n left: '0',\r\n borderColor: 'transparent',\r\n boxShadow: 'none',\r\n color: theme.palette.grey[500],\r\n borderRadius: borderRadiusMedium,\r\n height: heightInputFields,\r\n width: widthInputFields,\r\n outline: '0',\r\n paddingTop: '0.8125rem', // 13px\r\n paddingLeft: '0.9375rem', // 15px\r\n fontSize: theme.typography.body1.fontSize,\r\n fontFamily: theme.typography.fontFamily,\r\n backgroundColor: theme.palette.grey[100],\r\n '&$error': {\r\n // standard with label\r\n paddingTop: '0.875rem', // 14px\r\n paddingLeft: spacing40 // 16px\r\n },\r\n '&$standaloneInput': {\r\n backgroundColor: 'transparent',\r\n paddingLeft: '2.375rem', // 38px\r\n top: '-' + spacing30,\r\n width: 0,\r\n '&$error$inputBackgroundWithoutLabel': {\r\n paddingTop: 1\r\n }\r\n },\r\n '&$standaloneInputExpanded': {\r\n paddingLeft: '1.84375rem', // 29.5px\r\n paddingTop: '0.125rem' // 2px\r\n },\r\n '&$standaloneInputOpen': {\r\n width: widthInputFields\r\n },\r\n '&$standaloneInputOpenFluid': {\r\n width: widthFluid,\r\n paddingLeft: '2.375rem !important' // 38px\r\n },\r\n '&$error$inputBackgroundWithoutLabel': {\r\n paddingTop: spacing20 // 4px\r\n }\r\n },\r\n inputBackgroundCategoryMenu: {\r\n // with label\r\n position: 'absolute',\r\n borderColor: 'transparent',\r\n boxShadow: 'none',\r\n opacity: 1,\r\n border: 0,\r\n color: theme.palette.grey[500],\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0',\r\n height: '100%',\r\n width: 'auto',\r\n outline: '0',\r\n margin: 0,\r\n paddingTop: '0.875rem', // 14px\r\n paddingLeft: '1.0625rem', // 17px\r\n fontSize: theme.typography.body1.fontSize,\r\n fontFamily: theme.typography.fontFamily,\r\n '&$inputBackgroundWithoutLabel': {\r\n paddingTop: '0.0625rem', // 1px\r\n paddingLeft: '1.0625rem' // 17px\r\n }\r\n },\r\n\r\n standaloneInput: {},\r\n standaloneInputExpanded: {},\r\n standaloneInputOpen: {\r\n width: widthInputFields\r\n },\r\n standaloneInputOpenFluid: {\r\n width: '100%'\r\n },\r\n\r\n searchInputWrapper: {\r\n position: 'relative'\r\n },\r\n\r\n searchInputWrapperCategoryMenu: {\r\n position: 'relative',\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU,\r\n display: 'flex',\r\n height: heightInputFields,\r\n '&.eds-full-width': {\r\n width: '100%'\r\n }\r\n },\r\n\r\n // ensures that the typeahead text is visible through the main textfield\r\n searchBackground: {\r\n '& label + div': {\r\n background: 'transparent'\r\n },\r\n '& > div': {\r\n background: 'transparent'\r\n },\r\n '& div input': {\r\n textOverflow: 'ellipsis'\r\n },\r\n '& > input + div': {\r\n textOverflow: 'ellipsis',\r\n backgroundColor: colorTextNeutral100\r\n }\r\n },\r\n inputBackgroundWithoutLabel: {\r\n paddingTop: '0.125rem', // 2px\r\n paddingLeft: '0.9375rem' // 15px\r\n },\r\n iOSAlignmentWithLabel: {\r\n paddingLeft: spacing40, // 16px\r\n paddingTop: spacing40, // 16px\r\n '&$error': {\r\n paddingLeft: '1.0625rem', // 17px\r\n paddingTop: '1.125rem' // 18px\r\n }\r\n },\r\n iOSAlignmentWithoutLabel: {\r\n paddingLeft: '.99rem',\r\n paddingTop: '.3rem',\r\n '&$error': {\r\n paddingLeft: '1.0625rem', // 17px\r\n paddingTop: spacing30 // 8px\r\n },\r\n '&$standaloneInput': {\r\n paddingTop: '0.375rem', // 6px\r\n paddingLeft: '2.4375rem' // 39px\r\n },\r\n '&$standaloneInputExpanded': {\r\n paddingLeft: '2.4375rem' // 39px\r\n },\r\n '&$standaloneInputOpen': {\r\n paddingLeft: '2.4375rem' // 39px\r\n },\r\n '&$standaloneInputOpenFluid': {\r\n paddingLeft: '2.4375rem !important', // 39px\r\n paddingTop: '0.3125rem' // 5px\r\n }\r\n },\r\n searchContainer: {\r\n minWidth: '2.625rem', // IconButton width plus focus box shadow width\r\n position: 'relative',\r\n '&.eds-inline-search-category-menu': {\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU\r\n },\r\n '&.eds-inline-search': {\r\n width: widthInputFields\r\n }\r\n },\r\n searchContainerFullWidth: {\r\n position: 'relative',\r\n width: '100%'\r\n },\r\n searchContainerFullWidthClosed: {\r\n width: '2.625rem' // IconButton width plus focus box shadow width\r\n },\r\n\r\n searchContainerFullWidthClosedHelperText: {\r\n width: 'auto'\r\n },\r\n\r\n inputBackgroundFullWidth: {\r\n width: '100%',\r\n '&$standaloneInputExpanded': {\r\n paddingLeft: '2.1875rem' // 35px\r\n }\r\n },\r\n listRootFullWidth: {},\r\n\r\n inputError: {},\r\n\r\n // standalone search\r\n standaloneFormControl: {\r\n width: 0,\r\n borderBottom: 'solid ' + borderWidthThick + ' transparent',\r\n transition: theme.transitions.create(['border', 'width'], {\r\n duration: theme.transitions.duration.standard,\r\n easing: theme.transitions.easing.easeInOut\r\n })\r\n },\r\n standaloneFormControlOpen: {\r\n borderBottom: 'solid ' + borderWidthThick + ' ' + theme.palette.grey[500],\r\n width: widthInputFields,\r\n '&$disabled': {\r\n borderColor: theme.palette.disabled.background\r\n },\r\n '&$inputError': {\r\n borderColor: colorBorderAlertError\r\n },\r\n '&$standaloneLight': {\r\n borderBottom: 'solid ' + borderWidthThick + ' ' + theme.palette.grey[100],\r\n '&$disabled': {\r\n borderColor: theme.palette.disabled.background\r\n }\r\n }\r\n },\r\n standaloneFormControlOpenFullWidth: {\r\n width: widthFluid\r\n },\r\n searchInput: (_searchInput = {\r\n width: 0,\r\n opacity: 0,\r\n WebkitTransition: theme.transitions.create(['border', 'width', 'opacity'], {\r\n duration: theme.transitions.duration.standard,\r\n easing: theme.transitions.easing.easeInOut\r\n }),\r\n transition: theme.transitions.create(['border', 'width', 'opacity'], {\r\n duration: theme.transitions.duration.standard,\r\n easing: theme.transitions.easing.easeInOut\r\n })\r\n }, _defineProperty(_searchInput, '&[type=\"search\"]::-webkit-search-decoration,\\n &[type=\"search\"]::-webkit-search-cancel-button,\\n &[type=\"search\"]::-webkit-search-results-button,\\n &[type=\"search\"]::-webkit-search-results-decoration', {\r\n display: 'none'\r\n }), _defineProperty(_searchInput, '&[type=\"search\"]', {\r\n '-webkit-appearance': 'none'\r\n }), _defineProperty(_searchInput, '&[type=search]::-ms-clear', {\r\n display: 'none',\r\n width: 0,\r\n height: 0\r\n }), _searchInput),\r\n standaloneLight: {},\r\n standaloneInputLight: {\r\n color: theme.palette.grey[100]\r\n },\r\n standaloneSearchIconExpanded: {\r\n width: sizingXLarge,\r\n height: sizingXLarge,\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center'\r\n },\r\n searchIcon: {\r\n width: sizingSmall,\r\n height: sizingSmall\r\n },\r\n searchIconExpanded: {\r\n fill: theme.palette.grey[500],\r\n '&$light': {\r\n fill: theme.palette.grey[100]\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background,\r\n fill: theme.palette.disabled.background\r\n }\r\n },\r\n light: {},\r\n disabled: {},\r\n searchInputOpen: {\r\n opacity: 1,\r\n width: widthFluid\r\n },\r\n\r\n categoryMenuRoot: {\r\n backgroundColor: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRight: 'none',\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium,\r\n display: 'inline-block',\r\n maxWidth: '30%',\r\n '&.eds-category-search-inline': {\r\n maxWidth: '40%'\r\n },\r\n '& svg': {\r\n position: 'absolute',\r\n right: spacing40\r\n },\r\n '& $categoryListButton': {\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium,\r\n height: '100%',\r\n padding: '.6rem ' + spacing40,\r\n paddingRight: spacing60,\r\n '&:focus': {\r\n 'zIndex': 2 // ensures that the focus ring appears *over* the adjacent search field\r\n }\r\n },\r\n '&$error': {\r\n border: 'none'\r\n }\r\n },\r\n\r\n error: {},\r\n\r\n categoryListButton: {\r\n '&$error': {\r\n border: borderWidthThick + ' solid ' + colorBorderAlertError,\r\n borderRight: 'none',\r\n boxSizing: 'border-box',\r\n height: heightInputFields,\r\n '&:focus': {\r\n boxShadow: boxShadowError,\r\n borderRightColor: colorBorderAlertError\r\n }\r\n }\r\n },\r\n\r\n categoryMenuRootDisabled: {\r\n backgroundColor: theme.palette.grey[200],\r\n cursor: 'not-allowed'\r\n },\r\n\r\n // truncates category list menu text\r\n categoryListText: {\r\n '& > span': {\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis'\r\n }\r\n },\r\n\r\n searchFieldRoot: {\r\n // border overrides when category sidecar is present\r\n '& $searchWithCategory': {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0',\r\n '& $error;': {\r\n borderLeftColor: colorBorderAlertError\r\n }\r\n },\r\n // allows the textfield to span the full width of the search container, so that the typeahead\r\n // menu does as well\r\n '&$searchWithCategoryWidthOverride': {\r\n width: '100%'\r\n }\r\n },\r\n\r\n searchWithCategory: {\r\n height: heightInputFields,\r\n '&$error': {\r\n borderLeftColor: colorBorderAlertError\r\n }\r\n },\r\n searchWithCategoryWidthOverride: {},\r\n\r\n searchFieldContainer: {\r\n flexGrow: 1, // search field takes all available excess space\r\n width: '7rem',\r\n backgroundColor: theme.palette.grey[100],\r\n borderRadius: borderRadiusMedium\r\n },\r\n\r\n searchResultsList: {\r\n top: '3.375rem',\r\n position: 'absolute',\r\n width: '100%',\r\n '&$searchResultsListStandalone': {\r\n top: '2.5rem'\r\n }\r\n },\r\n searchResultsListStandalone: {}\r\n };\r\n}, { index: 2 });\r\n\r\nvar DEFAULT_PLACEHOLDER = 'Search';\r\n\r\n// figure out context\r\nvar isIOS = /(iPhone|iPad|iPod)/.test(navigator.platform);\r\n\r\n/**\r\n * A search field that can appear as both a full-fledged textfield, and a collapsible search control. It supports\r\n * typehead searching in both variants.\r\n *\r\n * @done true\r\n * @updated true\r\n * @versionAdded v3.6.0\r\n * @examples\r\n * SearchCountryNameMockExample\r\n * SearchCountryNameAPIExample\r\n * DefaultSearchStandalone\r\n * OpenSearchExample\r\n * SearchStandaloneTypeahead\r\n * CategorySearchExample\r\n * ErrorHelperTextExample\r\n */\r\nvar Search = React.forwardRef(function (props, ref) {\r\n var _classNames6, _classNames8, _classNames9, _classNames10, _classNames11;\r\n\r\n var childrenProp = props.children,\r\n value = props.value,\r\n onSearchInvokedProp = props.onSearchInvoked,\r\n expanded = props.expanded,\r\n color = props.color,\r\n fullWidth = props.fullWidth,\r\n variant = props.variant,\r\n label = props.label,\r\n ariaLabel = props['aria-label'],\r\n typeaheadOptions = props.typeaheadOptions,\r\n edsContext = props.edsContext,\r\n searchCategories = props.searchCategories,\r\n placeholderProp = props.placeholder,\r\n error = props.error,\r\n helperText = props.helperText,\r\n FormHelperTextProps = props.FormHelperTextProps,\r\n inputProps = props.inputProps,\r\n hideCategoryAllOption = props.hideCategoryAllOption,\r\n hideCategoryMenuXs = props.hideCategoryMenuXs;\r\n var loading = typeaheadOptions.loading,\r\n _typeaheadOptions$sea = typeaheadOptions.searchDelay,\r\n searchDelay = _typeaheadOptions$sea === undefined ? 500 : _typeaheadOptions$sea,\r\n onFilterProp = typeaheadOptions.onFilter,\r\n onItemSelectProp = typeaheadOptions.onItemSelect;\r\n\r\n\r\n var cleanedId = props.id || uuid();\r\n\r\n // show the category menu if (a) the caller passed in categories; (b) we're not in an xs viewport, unless hideCategoryMenuXs is false\r\n var showCategoryMenu = searchCategories && (!hideCategoryMenuXs ? true : useWidth() !== 'xs');\r\n\r\n var typeahead = !_isEmpty(typeaheadOptions);\r\n var classes = useStyles();\r\n\r\n var _useState = useState(false),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n resultListOpen = _useState2[0],\r\n setResultListOpen = _useState2[1]; // handles visibility of search results list\r\n\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n standaloneInputOpen = _useState4[0],\r\n setStandaloneInputOpen = _useState4[1]; // handles standalone expanded state\r\n\r\n\r\n var placeholder = placeholderProp === DEFAULT_PLACEHOLDER ? edsContext.formatMessage('component.Search.placeholder') : placeholderProp;\r\n\r\n // the selected index of the category search\r\n\r\n var _useState5 = useState(-1),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n currentCategoryIndex = _useState6[0],\r\n setCurrentCategoryIndex = _useState6[1];\r\n\r\n // disable the standalone search close behavior on blur; used to keep the search open when the user clicks\r\n // on a menu item\r\n\r\n\r\n var suppressSearchClose = false;\r\n\r\n var _useState7 = useState(-1),\r\n _useState8 = _slicedToArray(_useState7, 2),\r\n activeItemIndex = _useState8[0],\r\n setActiveItemIndex = _useState8[1];\r\n\r\n var _useState9 = useState(''),\r\n _useState10 = _slicedToArray(_useState9, 2),\r\n tooltipText = _useState10[0],\r\n setTooltipText = _useState10[1];\r\n\r\n var inputRef = React.useRef(null);\r\n var searchIconButtonRef = React.createRef();\r\n var standaloneRef = React.createRef();\r\n\r\n var children = childrenProp;\r\n\r\n React.useImperativeHandle(ref, function () {\r\n return {\r\n focus: function focus() {\r\n inputRef.current.focus();\r\n }\r\n };\r\n });\r\n\r\n // warn if the caller is trying to use search categories with a standalone search\r\n React.useEffect(function () {\r\n if (searchCategories && variant === VARIANTS.STANDALONE) {\r\n console.warn('Search categories cannot be used with standalone variants of search');\r\n }\r\n }, [variant, searchCategories]);\r\n\r\n // Event triggers when user selects a list item.\r\n var onItemSelect = function onItemSelect(event, index, option) {\r\n setResultListOpen(false);\r\n if (inputRef && inputRef.current) {\r\n inputRef.current.focus();\r\n }\r\n setActiveItemIndex(-1);\r\n if (onItemSelectProp) {\r\n onItemSelectProp(event, index, option);\r\n }\r\n };\r\n\r\n // Event triggers when user enters data into textfield for search.\r\n var onChange = function onChange(event) {\r\n setActiveItemIndex(-1);\r\n if (tooltipText.length > 0) {\r\n setTooltipText('');\r\n }\r\n\r\n if (props.onChange) {\r\n props.onChange(event);\r\n }\r\n\r\n // if there's a delay before invoking the onFilter fuction, call the debounced version\r\n if (searchDelay > 0) {\r\n memoizedOnFilter(event);\r\n\r\n // no delay, call it directly\r\n } else {\r\n onFilter(event);\r\n }\r\n\r\n // Execute the persist method of event object to pass SyntheticEvent in callback methods.\r\n // https://reactjs.org/docs/events.html#event-pooling\r\n event.persist();\r\n };\r\n\r\n // opens up the typeahead list, then calls the passed-in onFilter function\r\n var onFilter = function onFilter(event) {\r\n if (event.target.value.length) {\r\n setResultListOpen(true);\r\n } else {\r\n setResultListOpen(false);\r\n }\r\n if (onFilterProp) {\r\n onFilterProp(event.target.value, _isNil(currentCategoryIndex) ? null : currentCategoryIndex, event);\r\n }\r\n };\r\n\r\n // the debounced version of onFilter\r\n //\r\n // it's memoized by useCallback, so that it's only defined once, no many how many times Search is rendered;\r\n // if any of its dependent values change, it'll be redefined, etc.\r\n var memoizedOnFilter = React.useCallback(_debounce(onFilter, searchDelay), [props.onFilter, currentCategoryIndex, searchDelay]);\r\n\r\n // Refer following link for more details about escaping regex characters\r\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\r\n var escapeRegExp = function escapeRegExp(string) {\r\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\r\n };\r\n\r\n // Method to check whether the first item in the result list starts with the search string.\r\n // This will help us to display ghost/suggestion text in the background.\r\n var getFirstItemFromResult = function getFirstItemFromResult(exactResult) {\r\n var firstItem = '';\r\n try {\r\n if (resultListOpen && !loading && children && children.length > 0 && value.length > 0) {\r\n firstItem = children[0].props.children;\r\n var firstItemRegex = new RegExp('^' + escapeRegExp(value), 'i');\r\n if (!children[0].props.disabled && firstItemRegex.test(firstItem)) {\r\n // unless we've been asked for an exact result, retain the case of the\r\n // typed-in portion of the match\r\n if (!exactResult) {\r\n firstItem = firstItem.replace(firstItemRegex, value);\r\n }\r\n\r\n // Hide suggested text if content is more than the TextField width.\r\n if (inputRef.current && inputRef.current.clientWidth < inputRef.current.scrollWidth) {\r\n firstItem = '';\r\n }\r\n } else {\r\n firstItem = '';\r\n }\r\n }\r\n } catch (err) {\r\n console.error('Error while fetching first item from the list', err);\r\n }\r\n return firstItem;\r\n };\r\n\r\n // Triggers when the search text needs to be cleared\r\n var onClear = function onClear(event) {\r\n setResultListOpen(false);\r\n if (props.onClear) {\r\n props.onClear(event);\r\n }\r\n\r\n // stop the event that led to the clear from propagating up\r\n // to the search field (we don't want this to invoke any search events)\r\n event.preventDefault();\r\n event.stopPropagation();\r\n\r\n // refocus search field\r\n inputRef.current.focus();\r\n };\r\n\r\n var onClickOutside = function onClickOutside(event) {\r\n if (variant === VARIANTS.STANDALONE) {\r\n setStandaloneInputOpen(false);\r\n }\r\n setResultListOpen(false);\r\n };\r\n\r\n var onSearchInvoked = function onSearchInvoked(searchValue, event) {\r\n if (onSearchInvokedProp) {\r\n onSearchInvokedProp(searchValue, _isNil(currentCategoryIndex) ? null : currentCategoryIndex, event);\r\n }\r\n };\r\n\r\n if (children && children.length) {\r\n children = React.Children.map(childrenProp, function (child, index) {\r\n return React.cloneElement(child, {\r\n onClick: function onClick(event) {\r\n onItemSelect(event, index, child.props.option);\r\n },\r\n onMouseDown: function onMouseDown() {\r\n // we don't want the loss of focus resulting from clicking this item to close\r\n // the standalone search; use this flag to temporarily suppress the blur handler's\r\n // desire to close it\r\n suppressSearchClose = true;\r\n },\r\n onKeyDown: function onKeyDown(event) {\r\n onKeyDownHandler(event);\r\n },\r\n isActive: activeItemIndex === index,\r\n searchString: value\r\n });\r\n });\r\n }\r\n\r\n // Down arrow: increment the index\r\n var handleDownArrow = function handleDownArrow(event) {\r\n if (activeItemIndex < children.length - 1) {\r\n setActiveItemIndex(activeItemIndex + 1);\r\n }\r\n // prevents page from excecuting excess scrolling in list, prevents arrow keys from leaving list\r\n event.preventDefault();\r\n };\r\n\r\n // Up arrow: Decrement the index.\r\n var handleUpArrow = function handleUpArrow(event) {\r\n if (activeItemIndex > 0) {\r\n setActiveItemIndex(activeItemIndex - 1);\r\n } else {\r\n setActiveItemIndex(-1);\r\n inputRef.current.focus();\r\n }\r\n event.preventDefault();\r\n };\r\n\r\n // Enter: if focus is on list item.\r\n var handleOnEnter = function handleOnEnter(event) {\r\n if (typeahead && activeItemIndex >= 0) {\r\n event.preventDefault();\r\n setActiveItemIndex(-1);\r\n onItemSelect(event, activeItemIndex, children[activeItemIndex].props.option);\r\n\r\n // get the text of the selected item\r\n onSearchInvoked(children[activeItemIndex].props.children, event);\r\n } else {\r\n // get the search text\r\n onSearchInvoked(event.target.value, event);\r\n }\r\n\r\n // Close result list\r\n setResultListOpen(false);\r\n };\r\n\r\n // Tab: Selects suggested ghost content.\r\n var handleTab = function handleTab(event) {\r\n // grab the completed value (exactly as it appears in the result list)\r\n var selectedValue = getFirstItemFromResult(true);\r\n\r\n if (selectedValue.length > 0) {\r\n event.preventDefault();\r\n setActiveItemIndex(-1);\r\n onItemSelect(event, 0, children[0].props.option);\r\n onSearchInvoked(selectedValue, event);\r\n } else {\r\n setResultListOpen(false);\r\n }\r\n };\r\n\r\n // Right arrow: Selects first item if it starts with search string\r\n var handleRightArrow = function handleRightArrow(event) {\r\n if (getFirstItemFromResult().length > 0) {\r\n event.preventDefault();\r\n setActiveItemIndex(-1);\r\n onItemSelect(event, 0, children[0].props.option);\r\n }\r\n };\r\n\r\n // Esc button: Closes search results list and standalone input\r\n var handleEscape = function handleEscape(event) {\r\n event.preventDefault();\r\n setResultListOpen(false);\r\n if (variant === VARIANTS.STANDALONE) {\r\n setStandaloneInputOpen(false);\r\n searchIconButtonRef.current.focus(); // focus icon button after input closes\r\n }\r\n };\r\n\r\n // Standalone blur: close standalone input\r\n var onStandaloneBlurHandler = function onStandaloneBlurHandler(event) {\r\n // determine if the focus has left the component entirely\r\n var departed = !standaloneRef.current.contains(event.relatedTarget);\r\n\r\n // if it has close the input; but first make sure the result list isn't open; we don't want blurs\r\n // that occur as a result of selecting an item from the list to close the search\r\n if (departed && !suppressSearchClose) {\r\n setStandaloneInputOpen(false);\r\n setResultListOpen(false);\r\n suppressSearchClose = false;\r\n }\r\n };\r\n\r\n var onKeyDownHandler = function onKeyDownHandler(event) {\r\n // Executes appropriate event handler if list is open.\r\n if (resultListOpen || standaloneInputOpen) {\r\n switch (event.keyCode) {\r\n case 9:\r\n if (!event.shiftKey) {\r\n handleTab(event);\r\n }\r\n break;\r\n case 13:\r\n handleOnEnter(event);\r\n break;\r\n case 27:\r\n handleEscape(event);\r\n break;\r\n case 38:\r\n handleUpArrow(event);\r\n break;\r\n case 39:\r\n handleRightArrow(event);\r\n break;\r\n case 40:\r\n handleDownArrow(event);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n if (props.onKeyDown) {\r\n props.onKeyDown(event);\r\n }\r\n };\r\n\r\n // Logic to update tooltip content.\r\n React.useEffect(function () {\r\n if (inputRef.current && inputRef.current.clientWidth < inputRef.current.scrollWidth) {\r\n setTooltipText(value);\r\n }\r\n }, [value]);\r\n\r\n // Get Icon color\r\n var getIconColor = function getIconColor() {\r\n return color === COLORS.LIGHT ? 'white' : 'gray';\r\n };\r\n\r\n // Get element to recreate search result text 'within' search input field\r\n var getFakeInput = function getFakeInput(hasCategoryMenu) {\r\n var _classNames;\r\n\r\n return React.createElement('input', {\r\n 'aria-hidden': 'true',\r\n autoComplete: 'off',\r\n className: classNames((_classNames = {}, _defineProperty(_classNames, classes.inputBackground, !hasCategoryMenu), _defineProperty(_classNames, classes.inputBackgroundCategoryMenu, hasCategoryMenu), _defineProperty(_classNames, classes.inputBackgroundFullWidth, fullWidth && !hasCategoryMenu), _defineProperty(_classNames, classes.inputBackgroundWithoutLabel, !label && !isIOS), _defineProperty(_classNames, classes.iOSAlignmentWithLabel, label && isIOS), _defineProperty(_classNames, classes.iOSAlignmentWithoutLabel, !label && isIOS), _defineProperty(_classNames, classes.standaloneInput, variant === VARIANTS.STANDALONE), _defineProperty(_classNames, classes.standaloneInputExpanded, expanded), _defineProperty(_classNames, classes.standaloneInputOpen, standaloneInputOpen), _defineProperty(_classNames, classes.standaloneInputOpenFluid, standaloneInputOpen && fullWidth), _defineProperty(_classNames, classes.error, error), _classNames)),\r\n readOnly: true,\r\n spellCheck: 'false',\r\n value: getFirstItemFromResult(),\r\n tabIndex: '-1'\r\n\r\n // this is here to mollify overzealous accessibility checkers that demand all inputs have a label (even, apparently, hidden ones)\r\n , 'aria-label': 'hidden-search-input'\r\n\r\n });\r\n };\r\n\r\n // Shared utility function that gets result list for search query\r\n var getResultsList = function getResultsList() {\r\n var widthClass = classNames(_defineProperty({}, classes.resultListWidthWithCategoryMenu, !fullWidth && showCategoryMenu));\r\n\r\n return (\r\n // See if we can componentize this\r\n React.createElement(\r\n 'div',\r\n { className: classNames(classes.searchResultsList, _defineProperty({}, classes.searchResultsListStandalone, variant === VARIANTS.STANDALONE)) },\r\n resultListOpen && loading && React.createElement(SearchStatus, { loading: true, showCategoryMenu: showCategoryMenu, fullWidth: fullWidth }),\r\n resultListOpen && (!children || children.length <= 0) && !loading && React.createElement(SearchStatus, { noData: true, showCategoryMenu: showCategoryMenu, fullWidth: fullWidth }),\r\n resultListOpen && children && children.length > 0 && !loading && React.createElement(\r\n List,\r\n {\r\n className: classNames(classes.listWidth, _defineProperty({}, classes.listRootFullWidth, fullWidth)),\r\n classes: {\r\n root: classes.listRoot + ' ' + widthClass\r\n }\r\n },\r\n children\r\n )\r\n )\r\n );\r\n };\r\n\r\n // Toggle visibility of the standalone input\r\n var toggleStandaloneInput = function toggleStandaloneInput() {\r\n\r\n setStandaloneInputOpen(function (prev) {\r\n // Set focus on input if previous state was closed\r\n if (!prev) {\r\n inputRef.current.focus();\r\n }\r\n return !prev;\r\n });\r\n };\r\n\r\n // Helper function to return start input adornment for the standalone search\r\n var getStartInputAdornment = function getStartInputAdornment() {\r\n var _classNames5;\r\n\r\n return expanded ? React.createElement(\r\n 'span',\r\n { className: classes.standaloneSearchIconExpanded },\r\n React.createElement(SearchIcon, {\r\n className: classNames(classes.searchIcon, (_classNames5 = {}, _defineProperty(_classNames5, classes.searchIconExpanded, expanded), _defineProperty(_classNames5, classes.light, color === COLORS.LIGHT), _defineProperty(_classNames5, classes.disabled, props.disabled), _classNames5)),\r\n disabled: props.disabled,\r\n onBlur: onStandaloneBlurHandler\r\n })\r\n ) : React.createElement(\r\n Tooltip,\r\n {\r\n title: standaloneInputOpen ? edsContext.formatMessage('component.Search.close') : edsContext.formatMessage('component.Search.open'),\r\n placement: edsContext.dir === 'rtl' ? 'bottom-start' : 'bottom-end',\r\n disableFocusListener: true,\r\n disableTouchListener: true,\r\n disableHoverListener: props.disabled\r\n },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: getIconColor(),\r\n disabled: props.disabled,\r\n onClick: toggleStandaloneInput,\r\n onBlur: onStandaloneBlurHandler,\r\n 'aria-label': standaloneInputOpen ? edsContext.formatMessage('component.Search.close') : edsContext.formatMessage('component.Search.open'),\r\n ref: searchIconButtonRef,\r\n tabIndex: 0,\r\n component: 'div',\r\n role: 'search'\r\n },\r\n React.createElement(SearchIcon, { className: classes.searchIcon })\r\n )\r\n );\r\n };\r\n\r\n // Helper function to return end input adornment for the standalone search\r\n var getEndInputAdornment = function getEndInputAdornment() {\r\n if ((standaloneInputOpen || expanded) && value.length !== 0 && props.onClear && !props.disabled) {\r\n return React.createElement(\r\n Tooltip,\r\n {\r\n title: edsContext.formatMessage('component.Search.clear')\r\n },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: getIconColor(),\r\n onClick: onClear,\r\n onBlur: onStandaloneBlurHandler,\r\n 'aria-label': edsContext.formatMessage('component.Search.clear')\r\n },\r\n React.createElement(CloseIcon, { className: classes.searchIcon })\r\n )\r\n );\r\n }\r\n };\r\n\r\n var categorySearchList = void 0;\r\n\r\n // build the list of category search options, if any were requested\r\n if (searchCategories) {\r\n categorySearchList = [].concat(_toConsumableArray(searchCategories));\r\n if (!hideCategoryAllOption) {\r\n categorySearchList.unshift(edsContext.formatMessage('component.Search.categorySearch.All'));\r\n }\r\n }\r\n\r\n // create the category menu, if necessary\r\n\r\n // note: we create this here, outside the confines of the search control, because it always\r\n // has to be built -- even it doesn't appear (ie, for xs viewports). we can't *conditionally* create\r\n // the menu without running afoul of hook restrictions that require hook invocations to be\r\n // consistent across renders: if we only sometimes create the search category menu, React\r\n // will throw exceptions, becauses the hooks defined in SelectionMenu could change as the viewport\r\n // changes, leading to differences in hook invocation\r\n var categoryMenu = !searchCategories ? null : React.createElement(\r\n SelectionMenu,\r\n {\r\n disabled: props.disabled,\r\n classes: {\r\n root: classNames(classes.categoryMenuRoot, (_classNames6 = {}, _defineProperty(_classNames6, classes.categoryMenuRootDisabled, props.disabled), _defineProperty(_classNames6, 'eds-category-search-inline', !fullWidth && showCategoryMenu), _defineProperty(_classNames6, classes.error, error), _classNames6)),\r\n listItemButton: classNames(classes.categoryListButton, _defineProperty({}, classes.error, error)),\r\n listItemDisabled: classes.categoryListRootDisabled,\r\n listItemTextRoot: classes.categoryListText\r\n }\r\n },\r\n categorySearchList.map(function (category, index) {\r\n return React.createElement(\r\n SelectionMenuItem,\r\n {\r\n key: index,\r\n onClick: function onClick(event) {\r\n\r\n // because we want to report a zero-index category value, relative to the category list\r\n // passed in, subtract one\r\n setCurrentCategoryIndex(index - 1);\r\n\r\n // clear any extant search results\r\n onClear(event);\r\n }\r\n },\r\n category\r\n );\r\n })\r\n );\r\n\r\n var tooltipProps = {\r\n title: tooltipText,\r\n placement: edsContext.dir === 'rtl' ? 'bottom-start' : 'bottom-end',\r\n disableFocusListener: true,\r\n disableTouchListener: true,\r\n disableHoverListener: props.disabled\r\n };\r\n\r\n return variant === VARIANTS.STANDALONE ? React.createElement(\r\n 'div',\r\n {\r\n className: classNames((_classNames8 = {}, _defineProperty(_classNames8, classes.searchContainer, !fullWidth), _defineProperty(_classNames8, classes.searchContainerFullWidth, fullWidth && (standaloneInputOpen || expanded)), _defineProperty(_classNames8, classes.searchContainerFullWidthClosed, fullWidth && !standaloneInputOpen & !expanded), _defineProperty(_classNames8, classes.searchContainerFullWidthClosedHelperText, fullWidth && !standaloneInputOpen & !expanded && helperText), _classNames8)),\r\n ref: standaloneRef\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: classes.searchInputWrapper },\r\n getFakeInput(),\r\n React.createElement(\r\n Tooltip,\r\n tooltipProps,\r\n React.createElement(MuiTextField, {\r\n id: cleanedId,\r\n className: props.className,\r\n disabled: props.disabled,\r\n fullWidth: fullWidth,\r\n InputProps: {\r\n classes: {\r\n root: classNames(classes.standaloneFormControl, (_classNames9 = {}, _defineProperty(_classNames9, classes.standaloneFormControlOpen, standaloneInputOpen || expanded), _defineProperty(_classNames9, classes.standaloneFormControlOpenFullWidth, fullWidth && (standaloneInputOpen || expanded)), _defineProperty(_classNames9, classes.standaloneLight, color === COLORS.LIGHT), _defineProperty(_classNames9, classes.disabled, props.disabled), _classNames9)),\r\n input: classNames(classes.searchInput, (_classNames10 = {}, _defineProperty(_classNames10, classes.searchInputOpen, standaloneInputOpen || expanded), _defineProperty(_classNames10, classes.standaloneInputLight, color === COLORS.LIGHT), _classNames10)),\r\n error: classes.inputError\r\n },\r\n disableUnderline: true,\r\n startAdornment: getStartInputAdornment(),\r\n endAdornment: getEndInputAdornment()\r\n },\r\n inputProps: Object.assign({\r\n tabIndex: standaloneInputOpen || expanded ? 0 : -1,\r\n 'aria-label': ariaLabel || edsContext.formatMessage('component.Search.placeholder')\r\n }, inputProps),\r\n inputRef: inputRef,\r\n label: '' // don't want consumers to use labels with standalone\r\n , name: props.name,\r\n onBlur: onStandaloneBlurHandler,\r\n onChange: onChange,\r\n onKeyDown: onKeyDownHandler,\r\n placeholder: placeholder,\r\n type: 'search',\r\n value: value,\r\n error: error,\r\n helperText: helperText,\r\n FormHelperTextProps: FormHelperTextProps\r\n })\r\n )\r\n ),\r\n typeahead && getResultsList()\r\n ) : React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: onClickOutside },\r\n React.createElement(\r\n 'div',\r\n { className: classNames(classes.searchContainer, { 'eds-inline-search': !fullWidth && !showCategoryMenu }, { 'eds-inline-search-category-menu': !fullWidth && showCategoryMenu }) },\r\n React.createElement(\r\n 'div',\r\n { className: classNames((_classNames11 = {}, _defineProperty(_classNames11, classes.searchInputWrapper, !showCategoryMenu), _defineProperty(_classNames11, classes.searchInputWrapperCategoryMenu, showCategoryMenu), _defineProperty(_classNames11, 'eds-full-width', showCategoryMenu && fullWidth), _classNames11)) },\r\n showCategoryMenu && categoryMenu,\r\n React.createElement(\r\n 'div',\r\n { className: showCategoryMenu ? classes.searchFieldContainer : undefined },\r\n getFakeInput(showCategoryMenu),\r\n React.createElement(\r\n Tooltip,\r\n tooltipProps,\r\n React.createElement(TextField, {\r\n autoComplete: 'off',\r\n classes: showCategoryMenu ? {\r\n root: classes.searchFieldRoot,\r\n inputRoot: classNames(classes.searchWithCategory, _defineProperty({}, classes.error, error)),\r\n // allows the textfield to span the full width of the search container, so that the typeahead\r\n // menu does as well\r\n constrainedWidth: classes.searchWithCategoryWidthOverride\r\n } : undefined,\r\n className: classNames(props.className, classes.searchBackground),\r\n disabled: props.disabled,\r\n fullWidth: fullWidth,\r\n id: cleanedId,\r\n inputRef: inputRef,\r\n inputProps: Object.assign({\r\n 'aria-label': ariaLabel,\r\n 'aria-describedby': showCategoryMenu && cleanedId + '-helper-text'\r\n }, inputProps),\r\n label: label,\r\n name: props.name,\r\n onChange: onChange,\r\n onClearClick: onClear,\r\n onEnterPress: function onEnterPress(event) {\r\n onSearchInvoked(event.target.value, event);\r\n },\r\n onKeyDown: onKeyDownHandler,\r\n placeholder: placeholder,\r\n type: 'search',\r\n value: value,\r\n error: error,\r\n helperText: !showCategoryMenu ? helperText : undefined,\r\n FormHelperTextProps: !showCategoryMenu ? FormHelperTextProps : undefined\r\n })\r\n )\r\n )\r\n ),\r\n showCategoryMenu && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n id: cleanedId + '-helper-text',\r\n error: error\r\n }, FormHelperTextProps),\r\n helperText\r\n ),\r\n typeahead && getResultsList()\r\n )\r\n );\r\n});\r\n\r\nSearch.displayName = 'Search';\r\n\r\nSearch.propTypes = {\r\n /**\r\n * Use this object to enable the typeahead feature of the `Search` component.\r\n *\r\n * The object accepts the following properties:\r\n *\r\n * * `loading` (boolean): If `true`, the component is in a loading state.\r\n * * `searchDelay` (number): Specifies the amount of time to wait (in milliseconds) before triggering a typeahead search (via the `onFilter` function).\r\n * * `onFilter` (func): Callback fired to prompt the retrieval of search results. It is triggered when the user enters text, after an optional interval specified by the `searchDelay` prop.\r\n * * `onItemSelect` (func) Callback fired when an item is selected from the typeahead search result list. Use this to set the `value` of the search.\r\n *\r\n * Signature of `onFilter`:\r\n *\r\n * ```\r\n * function(searchValue: string, categoryIndex: number, event: object )\r\n * ```\r\n * `@param {string} searchValue` The current search value \r\n * `@param {number} categoryIndex` Index of the selected category; -1 if no category selected \r\n * `@param {SyntheticEvent} event` The event source of the callback. \r\n *\r\n * Signature of `onItemSelect`:\r\n * ```\r\n * function(event: React.SyntheticEvent, index: number, option?: object) => void\r\n * ```\r\n * `@param {SyntheticEvent} event` The event source of the callback. \r\n * `@param {number} index` Index of the selected item from the list. \r\n * `@param {option} option` Prop value assigned while construction `SearchItem` array.\r\n */\r\n typeaheadOptions: PropTypes.shape({\r\n loading: PropTypes.bool,\r\n onFilter: PropTypes.func,\r\n onItemSelect: PropTypes.func,\r\n searchDelay: PropTypes.number\r\n }),\r\n /**\r\n * The color of the standalone `Search` to be rendered.\r\n *\r\n * **Only valid when `variant=VARIANT.STANDALONE`.**\r\n */\r\n color: PropTypes.oneOf([COLORS.LIGHT, COLORS.DARK]),\r\n /**\r\n * If `true`, the input will be always expanded.\r\n *\r\n * **Only valid when `variant=VARIANT.STANDALONE`.**\r\n */\r\n expanded: PropTypes.bool,\r\n /**\r\n * The variant of the input to be rendered.\r\n */\r\n variant: PropTypes.oneOf([VARIANTS.STANDALONE, VARIANTS.STANDARD]),\r\n /**\r\n * The elements to populate typeahead search results. These must be an array of `SearchItem` elements.\r\n *\r\n * **Only valid when typeahead is enabled.**\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * If `true`, the input will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * This function fetches resource string translations. It comes from the withEDSContext HOC.\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * If `true`, the input will render with an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the input will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.string,\r\n /**\r\n * Hides the 'All' option of the category search.\r\n */\r\n hideCategoryAllOption: PropTypes.bool,\r\n /**\r\n * If false, the category sidecar will not show up in xs viewports\r\n */\r\n hideCategoryMenuXs: PropTypes.bool,\r\n /**\r\n * The id of the `input` element.\r\n * Use that property to make `label` accessible for screen readers.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Properties applied to the native `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Props applied to the `FormHelperText` element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * The label content.\r\n *\r\n * **Only valid when `variant=VARIANT.STANDALONE`.**\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * The aria-label used for accessibility of the input.\r\n */\r\n 'aria-label': PropTypes.node,\r\n /**\r\n * The placeholder content. A placeholder should be provided when `variant=VARIANT.STANDALONE`.\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * Name attribute of the `input` element.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Callback fired when the value is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onChange: PropTypes.func.isRequired,\r\n /**\r\n * Callback fired when the clear icon is clicked. If nothing is passed to this prop,\r\n * no clear icon will be displayed when text is entered into the input.\r\n */\r\n onClear: PropTypes.func,\r\n /**\r\n * Callback fired when a key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n *\r\n * Use `event.key` to get the current search value.\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * Callback fired when a search is invoked. A search is invoked in a couple of ways:\r\n *\r\n * 1. Entering text and pressing the enter key\r\n * 2. Typeahead suggestions are accepted by pressing the tab key (typeahead only)\r\n * 3. An Item is selected from the typeahead result list (typeahead only)\r\n *\r\n * ```\r\n * function(searchValue: string, categoryIndex: number, event: React.SyntheticEvent) => void\r\n * ```\r\n *\r\n * `@param {string} searchValue` The value to search on \r\n * `@param {number} categoryIndex` The index of the selected category; -1 if no category selected \r\n * `@param {SyntheticEvent} event` The event source of the callback \r\n *\r\n */\r\n onSearchInvoked: PropTypes.func,\r\n /**\r\n * A list of search categories, which can be used as an additional filter for searches.\r\n *\r\n * If a list is provided, a category sidecar will appear beside the search field. The first option\r\n * of the category list will be \"All\", following by the categories provided in this prop.\r\n *\r\n * When the user selects a category, it is provided to the caller via the following callbacks:\r\n *\r\n * * onSearchInvoked: Called when a search is performed\r\n * * typeaheadOptions.onFilter: (for typeahead searches) Called to request a list of matches for the typeahead list\r\n *\r\n * In both cases, the selected category index is provided as an argument, if present. The value is zero-indexed,\r\n * relative to the given list of categories. A value of -1 indicates that no category was selected.\r\n *\r\n * Selecting a category will clear any current selections (by invoking the *onClear* callback).\r\n *\r\n * **Only valid when `variant=VARIANT.STANDARD`.**\r\n */\r\n searchCategories: PropTypes.array,\r\n /**\r\n * The value of the `Input` element.\r\n */\r\n value: PropTypes.string.isRequired\r\n};\r\n\r\nSearch.defaultProps = {\r\n color: COLORS.DARK,\r\n expanded: false,\r\n hideCategoryMenuXs: true,\r\n hideCategoryAllOption: false,\r\n value: '',\r\n variant: VARIANTS.STANDARD,\r\n placeholder: DEFAULT_PLACEHOLDER,\r\n typeaheadOptions: {}\r\n};\r\n\r\nexport default withEDSContext(Search);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\n\r\nimport Divider from '../Divider/Divider';\r\nimport ListItem from '../List/ListItem';\r\nimport ListItemText from '../List/ListItemText';\r\nimport classNames from 'classnames';\r\n\r\nimport { colorTextNeutral500 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n item: {\r\n outline: 'none'\r\n },\r\n divider: {\r\n margin: '0 !important'\r\n },\r\n mark: {\r\n color: colorTextNeutral500,\r\n backgroundColor: 'initial'\r\n },\r\n disabled: {\r\n cursor: 'unset'\r\n },\r\n itemHover: {\r\n backgroundColor: theme.palette.grey['200']\r\n }\r\n };\r\n};\r\n\r\nvar SearchItem = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n childrenProp = props.children,\r\n disabled = props.disabled,\r\n searchString = props.searchString,\r\n divider = props.divider,\r\n onClick = props.onClick,\r\n isActive = props.isActive,\r\n rest = _objectWithoutProperties(props, ['classes', 'children', 'disabled', 'searchString', 'divider', 'onClick', 'isActive']);\r\n\r\n var children = childrenProp;\r\n var label = children;\r\n var itemRef = React.createRef();\r\n\r\n // disabling warning for missing dpendency of itemRef\r\n // refer to the following link for more details on why this is the best option for this case\r\n // https://stackoverflow.com/questions/55840294/how-to-fix-missing-dependency-warning-when-using-useeffect-react-hook\r\n useEffect(function () {\r\n if (isActive) {\r\n itemRef.current.focus();\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [isActive]);\r\n\r\n // Refer following link for more details about escaping regex characters\r\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\r\n var escapeRegExp = function escapeRegExp(string) {\r\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\r\n };\r\n\r\n if (children && searchString) {\r\n var regex = new RegExp(escapeRegExp(searchString), 'gi');\r\n children = children.replace(regex, function (val) {\r\n return '' + val + '';\r\n });\r\n }\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n ListItem,\r\n Object.assign({\r\n classes: {\r\n root: disabled ? classes.disabled : isActive ? classes.itemHover : ''\r\n },\r\n className: classNames(classes.item, props.className),\r\n disabled: disabled,\r\n 'aria-disabled': disabled ? true : false,\r\n 'aria-label': label,\r\n ref: itemRef,\r\n onClick: disabled ? null : onClick\r\n }, rest, {\r\n tabIndex: 0,\r\n role: 'button'\r\n }),\r\n React.createElement(\r\n ListItemText,\r\n null,\r\n React.createElement('span', { dangerouslySetInnerHTML: { __html: children } })\r\n )\r\n ),\r\n divider && React.createElement(Divider, { classes: { root: classes.divider }, component: 'li' })\r\n );\r\n});\r\n\r\nSearchItem.displayName = 'SearchItem';\r\n\r\nSearchItem.propTypes = {\r\n /**\r\n * The text of the item.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * If `true`, the item will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, a 1px light border is added to the bottom of the list item.\r\n */\r\n divider: PropTypes.bool,\r\n /**\r\n * Value of this prop would be returned when user clicks on list item.\r\n */\r\n option: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles, { name: 'SearchItem' })(SearchItem);","import invariant from 'invariant';\n\nvar noop = function noop() {};\n\nfunction readOnlyPropType(handler, name) {\n return function (props, propName) {\n if (props[propName] !== undefined) {\n if (!props[handler]) {\n return new Error(\"You have provided a `\" + propName + \"` prop to `\" + name + \"` \" + (\"without an `\" + handler + \"` handler prop. This will render a read-only field. \") + (\"If the field should be mutable use `\" + defaultKey(propName) + \"`. \") + (\"Otherwise, set `\" + handler + \"`.\"));\n }\n }\n };\n}\n\nexport function uncontrolledPropTypes(controlledValues, displayName) {\n var propTypes = {};\n Object.keys(controlledValues).forEach(function (prop) {\n // add default propTypes for folks that use runtime checks\n propTypes[defaultKey(prop)] = noop;\n\n if (process.env.NODE_ENV !== 'production') {\n var handler = controlledValues[prop];\n !(typeof handler === 'string' && handler.trim().length) ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Uncontrollable - [%s]: the prop `%s` needs a valid handler key name in order to make it uncontrollable', displayName, prop) : invariant(false) : void 0;\n propTypes[prop] = readOnlyPropType(handler, displayName);\n }\n });\n return propTypes;\n}\nexport function isProp(props, prop) {\n return props[prop] !== undefined;\n}\nexport function defaultKey(key) {\n return 'default' + key.charAt(0).toUpperCase() + key.substr(1);\n}\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nexport function canAcceptRef(component) {\n return !!component && (typeof component !== 'function' || component.prototype && component.prototype.isReactComponent);\n}","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nfunction componentWillMount() {\n // Call this.constructor.gDSFP to support sub-classes.\n var state = this.constructor.getDerivedStateFromProps(this.props, this.state);\n if (state !== null && state !== undefined) {\n this.setState(state);\n }\n}\n\nfunction componentWillReceiveProps(nextProps) {\n // Call this.constructor.gDSFP to support sub-classes.\n // Use the setState() updater to ensure state isn't stale in certain edge cases.\n function updater(prevState) {\n var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);\n return state !== null && state !== undefined ? state : null;\n }\n // Binding \"this\" is important for shallow renderer support.\n this.setState(updater.bind(this));\n}\n\nfunction componentWillUpdate(nextProps, nextState) {\n try {\n var prevProps = this.props;\n var prevState = this.state;\n this.props = nextProps;\n this.state = nextState;\n this.__reactInternalSnapshotFlag = true;\n this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(\n prevProps,\n prevState\n );\n } finally {\n this.props = prevProps;\n this.state = prevState;\n }\n}\n\n// React may warn about cWM/cWRP/cWU methods being deprecated.\n// Add a flag to suppress these warnings for this special case.\ncomponentWillMount.__suppressDeprecationWarning = true;\ncomponentWillReceiveProps.__suppressDeprecationWarning = true;\ncomponentWillUpdate.__suppressDeprecationWarning = true;\n\nfunction polyfill(Component) {\n var prototype = Component.prototype;\n\n if (!prototype || !prototype.isReactComponent) {\n throw new Error('Can only polyfill class components');\n }\n\n if (\n typeof Component.getDerivedStateFromProps !== 'function' &&\n typeof prototype.getSnapshotBeforeUpdate !== 'function'\n ) {\n return Component;\n }\n\n // If new component APIs are defined, \"unsafe\" lifecycles won't be called.\n // Error if any of these lifecycles are present,\n // Because they would work differently between older and newer (16.3+) versions of React.\n var foundWillMountName = null;\n var foundWillReceivePropsName = null;\n var foundWillUpdateName = null;\n if (typeof prototype.componentWillMount === 'function') {\n foundWillMountName = 'componentWillMount';\n } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {\n foundWillMountName = 'UNSAFE_componentWillMount';\n }\n if (typeof prototype.componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'componentWillReceiveProps';\n } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';\n }\n if (typeof prototype.componentWillUpdate === 'function') {\n foundWillUpdateName = 'componentWillUpdate';\n } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {\n foundWillUpdateName = 'UNSAFE_componentWillUpdate';\n }\n if (\n foundWillMountName !== null ||\n foundWillReceivePropsName !== null ||\n foundWillUpdateName !== null\n ) {\n var componentName = Component.displayName || Component.name;\n var newApiName =\n typeof Component.getDerivedStateFromProps === 'function'\n ? 'getDerivedStateFromProps()'\n : 'getSnapshotBeforeUpdate()';\n\n throw Error(\n 'Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n' +\n componentName +\n ' uses ' +\n newApiName +\n ' but also contains the following legacy lifecycles:' +\n (foundWillMountName !== null ? '\\n ' + foundWillMountName : '') +\n (foundWillReceivePropsName !== null\n ? '\\n ' + foundWillReceivePropsName\n : '') +\n (foundWillUpdateName !== null ? '\\n ' + foundWillUpdateName : '') +\n '\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\n' +\n 'https://fb.me/react-async-component-lifecycle-hooks'\n );\n }\n\n // React <= 16.2 does not support static getDerivedStateFromProps.\n // As a workaround, use cWM and cWRP to invoke the new static lifecycle.\n // Newer versions of React will ignore these lifecycles if gDSFP exists.\n if (typeof Component.getDerivedStateFromProps === 'function') {\n prototype.componentWillMount = componentWillMount;\n prototype.componentWillReceiveProps = componentWillReceiveProps;\n }\n\n // React <= 16.2 does not support getSnapshotBeforeUpdate.\n // As a workaround, use cWU to invoke the new lifecycle.\n // Newer versions of React will ignore that lifecycle if gSBU exists.\n if (typeof prototype.getSnapshotBeforeUpdate === 'function') {\n if (typeof prototype.componentDidUpdate !== 'function') {\n throw new Error(\n 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'\n );\n }\n\n prototype.componentWillUpdate = componentWillUpdate;\n\n var componentDidUpdate = prototype.componentDidUpdate;\n\n prototype.componentDidUpdate = function componentDidUpdatePolyfill(\n prevProps,\n prevState,\n maybeSnapshot\n ) {\n // 16.3+ will not execute our will-update method;\n // It will pass a snapshot value to did-update though.\n // Older versions will require our polyfilled will-update value.\n // We need to handle both cases, but can't just check for the presence of \"maybeSnapshot\",\n // Because for <= 15.x versions this might be a \"prevContext\" object.\n // We also can't just check \"__reactInternalSnapshot\",\n // Because get-snapshot might return a falsy value.\n // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.\n var snapshot = this.__reactInternalSnapshotFlag\n ? this.__reactInternalSnapshot\n : maybeSnapshot;\n\n componentDidUpdate.call(this, prevProps, prevState, snapshot);\n };\n }\n\n return Component;\n}\n\nexport { polyfill };\n","var MILI = 'milliseconds'\n , SECONDS = 'seconds'\n , MINUTES = 'minutes'\n , HOURS = 'hours'\n , DAY = 'day'\n , WEEK = 'week'\n , MONTH = 'month'\n , YEAR = 'year'\n , DECADE = 'decade'\n , CENTURY = 'century';\n\nvar multiplierMilli = {\n 'milliseconds': 1,\n 'seconds': 1000,\n 'minutes': 60 * 1000,\n 'hours': 60 * 60 * 1000,\n 'day': 24 * 60 * 60 * 1000,\n 'week': 7 * 24 * 60 * 60 * 1000 \n}\n\nvar multiplierMonth = {\n 'month': 1,\n 'year': 12,\n 'decade': 10 * 12,\n 'century': 100 * 12\n}\n\nfunction daysOf(year) {\n return [31, daysInFeb(year), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]\n}\n\nfunction daysInFeb(year) {\n return (\n year % 4 === 0 \n && year % 100 !== 0\n ) || year % 400 === 0\n ? 29\n : 28\n}\n\nexport function add(d, num, unit) {\n d = new Date(d)\n\n switch (unit){\n case MILI:\n case SECONDS:\n case MINUTES:\n case HOURS:\n case DAY:\n case WEEK:\n return addMillis(d, num * multiplierMilli[unit])\n case MONTH:\n case YEAR:\n case DECADE:\n case CENTURY:\n return addMonths(d, num * multiplierMonth[unit])\n }\n\n throw new TypeError('Invalid units: \"' + unit + '\"')\n}\n\nfunction addMillis(d, num) {\n var nextDate = new Date(+(d) + num)\n\n return solveDST(d, nextDate)\n}\n\nfunction addMonths(d, num) {\n var year = d.getFullYear()\n , month = d.getMonth()\n , day = d.getDate()\n , totalMonths = year * 12 + month + num\n , nextYear = Math.trunc(totalMonths / 12)\n , nextMonth = totalMonths % 12\n , nextDay = Math.min(day, daysOf(nextYear)[nextMonth])\n\n var nextDate = new Date(d)\n nextDate.setFullYear(nextYear)\n\n // To avoid a bug when sets the Feb month\n // with a date > 28 or date > 29 (leap year)\n nextDate.setDate(1)\n\n nextDate.setMonth(nextMonth)\n nextDate.setDate(nextDay)\n\n return nextDate\n}\n\nfunction solveDST(currentDate, nextDate) {\n var currentOffset = currentDate.getTimezoneOffset()\n , nextOffset = nextDate.getTimezoneOffset()\n\n // if is DST, add the difference in minutes\n // else the difference is zero\n var diffMinutes = (nextOffset - currentOffset)\n\n return new Date(+(nextDate) + diffMinutes * multiplierMilli['minutes'])\n}\n\nexport function subtract(d, num, unit) {\n return add(d, -num, unit)\n}\n\nexport function startOf(d, unit, firstOfWeek) {\n d = new Date(d)\n\n switch (unit) {\n case CENTURY:\n case DECADE:\n case YEAR:\n d = month(d, 0);\n case MONTH:\n d = date(d, 1);\n case WEEK:\n case DAY:\n d = hours(d, 0);\n case HOURS:\n d = minutes(d, 0);\n case MINUTES:\n d = seconds(d, 0);\n case SECONDS:\n d = milliseconds(d, 0);\n }\n\n if (unit === DECADE)\n d = subtract(d, year(d) % 10, 'year')\n\n if (unit === CENTURY)\n d = subtract(d, year(d) % 100, 'year')\n\n if (unit === WEEK)\n d = weekday(d, 0, firstOfWeek);\n\n return d\n}\n\nexport function endOf(d, unit, firstOfWeek){\n d = new Date(d)\n d = startOf(d, unit, firstOfWeek)\n switch (unit) {\n case CENTURY:\n case DECADE:\n case YEAR:\n case MONTH:\n case WEEK:\n d = add(d, 1, unit)\n d = subtract(d, 1, DAY)\n d.setHours(23, 59, 59, 999)\n break;\n case DAY:\n d.setHours(23, 59, 59, 999)\n break;\n case HOURS:\n case MINUTES:\n case SECONDS:\n d = add(d, 1, unit)\n d = subtract(d, 1, MILI)\n }\n return d\n}\n\nexport var eq = createComparer(function(a, b){ return a === b })\nexport var neq = createComparer(function(a, b){ return a !== b })\nexport var gt = createComparer(function(a, b){ return a > b })\nexport var gte = createComparer(function(a, b){ return a >= b })\nexport var lt = createComparer(function(a, b){ return a < b })\nexport var lte = createComparer(function(a, b){ return a <= b })\n\nexport function min(){\n return new Date(Math.min.apply(Math, arguments))\n}\n\nexport function max(){\n return new Date(Math.max.apply(Math, arguments))\n}\n\nexport function inRange(day, min, max, unit){\n unit = unit || 'day'\n\n return (!min || gte(day, min, unit))\n && (!max || lte(day, max, unit))\n}\n\nexport var milliseconds = createAccessor('Milliseconds')\nexport var seconds = createAccessor('Seconds')\nexport var minutes = createAccessor('Minutes')\nexport var hours = createAccessor('Hours')\nexport var day = createAccessor('Day')\nexport var date = createAccessor('Date')\nexport var month = createAccessor('Month')\nexport var year = createAccessor('FullYear')\n\nexport function decade(d, val) {\n return val === undefined\n ? year(startOf(d, DECADE))\n : add(d, val + 10, YEAR);\n}\n\nexport function century(d, val) {\n return val === undefined\n ? year(startOf(d, CENTURY))\n : add(d, val + 100, YEAR);\n}\n\nexport function weekday(d, val, firstDay) {\n var w = (day(d) + 7 - (firstDay || 0) ) % 7;\n\n return val === undefined\n ? w\n : add(d, val - w, DAY);\n}\n\nexport function diff(date1, date2, unit, asFloat) {\n var dividend, divisor, result;\n\n switch (unit) {\n case MILI:\n case SECONDS:\n case MINUTES:\n case HOURS:\n case DAY:\n case WEEK:\n dividend = date2.getTime() - date1.getTime(); break;\n case MONTH:\n case YEAR:\n case DECADE:\n case CENTURY:\n dividend = (year(date2) - year(date1)) * 12 + month(date2) - month(date1); break;\n default:\n throw new TypeError('Invalid units: \"' + unit + '\"');\n }\n\n switch (unit) {\n case MILI:\n divisor = 1; break;\n case SECONDS:\n divisor = 1000; break;\n case MINUTES:\n divisor = 1000 * 60; break;\n case HOURS:\n divisor = 1000 * 60 * 60; break;\n case DAY:\n divisor = 1000 * 60 * 60 * 24; break;\n case WEEK:\n divisor = 1000 * 60 * 60 * 24 * 7; break;\n case MONTH:\n divisor = 1; break;\n case YEAR:\n divisor = 12; break;\n case DECADE:\n divisor = 120; break;\n case CENTURY:\n divisor = 1200; break;\n default:\n throw new TypeError('Invalid units: \"' + unit + '\"');\n }\n\n result = dividend / divisor;\n\n return asFloat ? result : Math.round(result);\n}\n\nfunction createAccessor(method){\n var hourLength = (function(method) { \n switch(method) {\n case 'Milliseconds':\n return 3600000;\n case 'Seconds':\n return 3600;\n case 'Minutes':\n return 60;\n case 'Hours':\n return 1;\n default:\n return null;\n }\n })(method);\n \n return function(d, val){\n if (val === undefined)\n return d['get' + method]()\n\n var dateOut = new Date(d)\n dateOut['set' + method](val)\n \n if(hourLength && dateOut['get'+method]() != val && (method === 'Hours' || val >=hourLength && (dateOut.getHours()-d.getHours() length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nexport default baseSlice;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","import eq from './eq.js';\nimport isArrayLike from './isArrayLike.js';\nimport isIndex from './_isIndex.js';\nimport isObject from './isObject.js';\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nexport default isIterateeCall;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import toNumber from './toNumber.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nexport default toFinite;\n","import toFinite from './toFinite.js';\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nexport default toInteger;\n","import baseSlice from './_baseSlice.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\nfunction chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n}\n\nexport default chunk;\n","/**\n * Returns the owner document of a given element.\n * \n * @param node the element\n */\nexport default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","var rUpper = /([A-Z])/g;\nexport default function hyphenate(string) {\n return string.replace(rUpper, '-$1').toLowerCase();\n}","/**\n * Copyright 2013-2014, Facebook, Inc.\n * All rights reserved.\n * https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js\n */\nimport hyphenate from './hyphenate';\nvar msPattern = /^ms-/;\nexport default function hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}","var supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;\nexport default function isTransform(value) {\n return !!(value && supportedTransforms.test(value));\n}","import getComputedStyle from './getComputedStyle';\nimport hyphenate from './hyphenateStyle';\nimport isTransform from './isTransform';\n\nfunction style(node, property) {\n var css = '';\n var transforms = '';\n\n if (typeof property === 'string') {\n return node.style.getPropertyValue(hyphenate(property)) || getComputedStyle(node).getPropertyValue(hyphenate(property));\n }\n\n Object.keys(property).forEach(function (key) {\n var value = property[key];\n\n if (!value && value !== 0) {\n node.style.removeProperty(hyphenate(key));\n } else if (isTransform(key)) {\n transforms += key + \"(\" + value + \") \";\n } else {\n css += hyphenate(key) + \": \" + value + \";\";\n }\n });\n\n if (transforms) {\n css += \"transform: \" + transforms + \";\";\n }\n\n node.style.cssText += \";\" + css;\n}\n\nexport default style;","import ownerWindow from './ownerWindow';\n/**\n * Returns one or all computed style properties of an element.\n * \n * @param node the element\n * @param psuedoElement the style property\n */\n\nexport default function getComputedStyle(node, psuedoElement) {\n return ownerWindow(node).getComputedStyle(node, psuedoElement);\n}","import ownerDocument from './ownerDocument';\n/**\n * Returns the owner window of a given element.\n * \n * @param node the element\n */\n\nexport default function ownerWindow(node) {\n var doc = ownerDocument(node);\n return doc && doc.defaultView || window;\n}","/* eslint-disable no-bitwise, no-cond-assign */\n\n/**\n * Checks if an element contains another given element.\n * \n * @param context the context element\n * @param node the element to check\n */\nexport default function contains(context, node) {\n // HTML DOM and SVG DOM may have different support levels,\n // so we need to check on context instead of a document root element.\n if (context.contains) return context.contains(node);\n if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);\n}","import isDocument from './isDocument';\nexport default function isWindow(node) {\n if ('window' in node && node.window === node) return node;\n if (isDocument(node)) return node.defaultView || false;\n return false;\n}","export default function isDocument(element) {\n return 'nodeType' in element && element.nodeType === document.DOCUMENT_NODE;\n}","import isWindow from './isWindow';\nexport default function getscrollAccessor(offset) {\n var prop = offset === 'pageXOffset' ? 'scrollLeft' : 'scrollTop';\n\n function scrollAccessor(node, val) {\n var win = isWindow(node);\n\n if (val === undefined) {\n return win ? win[offset] : node[prop];\n }\n\n if (win) {\n win.scrollTo(win[offset], val);\n } else {\n node[prop] = val;\n }\n }\n\n return scrollAccessor;\n}","import getScrollAccessor from './getScrollAccessor';\n/**\n * Gets or sets the scroll left position of a given element.\n * \n * @param node the element\n * @param val the position to set\n */\n\nexport default getScrollAccessor('pageXOffset');","import getScrollAccessor from './getScrollAccessor';\n/**\n * Gets or sets the scroll top position of a given element.\n * \n * @param node the element\n * @param val the position to set\n */\n\nexport default getScrollAccessor('pageYOffset');","import contains from './contains';\nimport ownerDocument from './ownerDocument';\nimport scrollLeft from './scrollLeft';\nimport scrollTop from './scrollTop';\n/**\n * Returns the offset of a given element, including top and left positions, width and height.\n * \n * @param node the element\n */\n\nexport default function offset(node) {\n var doc = ownerDocument(node);\n var box = {\n top: 0,\n left: 0,\n height: 0,\n width: 0\n };\n var docElem = doc && doc.documentElement; // Make sure it's not a disconnected DOM node\n\n if (!docElem || !contains(docElem, node)) return box;\n if (node.getBoundingClientRect !== undefined) box = node.getBoundingClientRect();\n box = {\n top: box.top + scrollTop(docElem) - (docElem.clientTop || 0),\n left: box.left + scrollLeft(docElem) - (docElem.clientLeft || 0),\n width: box.width,\n height: box.height\n };\n return box;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport css from './css';\nimport getOffset from './offset';\nimport getOffsetParent from './offsetParent';\nimport scrollLeft from './scrollLeft';\nimport scrollTop from './scrollTop';\n\nvar nodeName = function nodeName(node) {\n return node.nodeName && node.nodeName.toLowerCase();\n};\n/**\n * Returns the relative position of a given element.\n * \n * @param node the element\n * @param offsetParent the offset parent\n */\n\n\nexport default function position(node, offsetParent) {\n var parentOffset = {\n top: 0,\n left: 0\n };\n var offset; // Fixed elements are offset from window (parentOffset = {top:0, left: 0},\n // because it is its only offset parent\n\n if (css(node, 'position') === 'fixed') {\n offset = node.getBoundingClientRect();\n } else {\n var parent = offsetParent || getOffsetParent(node);\n offset = getOffset(node);\n if (nodeName(parent) !== 'html') parentOffset = getOffset(parent);\n var borderTop = String(css(parent, 'borderTopWidth') || 0);\n parentOffset.top += parseInt(borderTop, 10) - scrollTop(parent) || 0;\n var borderLeft = String(css(parent, 'borderLeftWidth') || 0);\n parentOffset.left += parseInt(borderLeft, 10) - scrollLeft(parent) || 0;\n }\n\n var marginTop = String(css(node, 'marginTop') || 0);\n var marginLeft = String(css(node, 'marginLeft') || 0); // Subtract parent offsets and node margins\n\n return _extends({}, offset, {\n top: offset.top - parentOffset.top - (parseInt(marginTop, 10) || 0),\n left: offset.left - parentOffset.left - (parseInt(marginLeft, 10) || 0)\n });\n}","import css from './css';\nimport ownerDocument from './ownerDocument';\n\nvar isHTMLElement = function isHTMLElement(e) {\n return !!e && 'offsetParent' in e;\n};\n\nexport default function offsetParent(node) {\n var doc = ownerDocument(node);\n var parent = node && node.offsetParent;\n\n while (isHTMLElement(parent) && parent.nodeName !== 'HTML' && css(parent, 'position') === 'static') {\n parent = parent.offsetParent;\n }\n\n return parent || doc.documentElement;\n}","export default !!(typeof window !== 'undefined' && window.document && window.document.createElement);","import canUseDOM from './canUseDOM';\n\n/* https://github.com/component/raf */\nvar prev = new Date().getTime();\n\nfunction fallback(fn) {\n var curr = new Date().getTime();\n var ms = Math.max(0, 16 - (curr - prev));\n var handle = setTimeout(fn, ms);\n prev = curr;\n return handle;\n}\n\nvar vendors = ['', 'webkit', 'moz', 'o', 'ms'];\nvar cancelMethod = 'clearTimeout';\nvar rafImpl = fallback; // eslint-disable-next-line import/no-mutable-exports\n\nvar getKey = function getKey(vendor, k) {\n return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + \"AnimationFrame\";\n};\n\nif (canUseDOM) {\n vendors.some(function (vendor) {\n var rafMethod = getKey(vendor, 'request');\n\n if (rafMethod in window) {\n cancelMethod = getKey(vendor, 'cancel'); // @ts-ignore\n\n rafImpl = function rafImpl(cb) {\n return window[rafMethod](cb);\n };\n }\n\n return !!rafImpl;\n });\n}\n\nexport var cancel = function cancel(id) {\n // @ts-ignore\n if (typeof window[cancelMethod] === 'function') window[cancelMethod](id);\n};\nexport var request = rafImpl;","import { useState } from 'react';\n/**\n * A convenience hook around `useState` designed to be paired with\n * the component [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) api.\n * Callback refs are useful over `useRef()` when you need to respond to the ref being set\n * instead of lazily accessing it in an effect.\n *\n * ```ts\n * const [element, attachRef] = useCallbackRef()\n *\n * useEffect(() => {\n * if (!element) return\n *\n * const calendar = new FullCalendar.Calendar(element)\n *\n * return () => {\n * calendar.destroy()\n * }\n * }, [element])\n *\n * return \n * ```\n *\n * @category refs\n */\n\nexport default function useCallbackRef() {\n return useState(null);\n}","import { useMemo } from 'react';\n\nvar toFnRef = function toFnRef(ref) {\n return !ref || typeof ref === 'function' ? ref : function (value) {\n ref.current = value;\n };\n};\n\nexport function mergeRefs(refA, refB) {\n var a = toFnRef(refA);\n var b = toFnRef(refB);\n return function (value) {\n if (a) a(value);\n if (b) b(value);\n };\n}\n/**\n * Create and returns a single callback ref composed from two other Refs.\n *\n * ```tsx\n * const Button = React.forwardRef((props, ref) => {\n * const [element, attachRef] = useCallbackRef();\n * const mergedRef = useMergedRefs(ref, attachRef);\n *\n * return \n * })\n * ```\n *\n * @param refA A Callback or mutable Ref\n * @param refB A Callback or mutable Ref\n * @category refs\n */\n\nfunction useMergedRefs(refA, refB) {\n return useMemo(function () {\n return mergeRefs(refA, refB);\n }, [refA, refB]);\n}\n\nexport default useMergedRefs;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PopperJS from 'popper.js';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nvar initialPopperStyles = {\n position: 'absolute',\n top: '0',\n left: '0',\n opacity: '0',\n pointerEvents: 'none'\n};\nvar initialArrowStyles = {};\n/**\n * Position an element relative some reference element using Popper.js\n *\n * @param {HTMLElement} referenceElement The element\n * @param {HTMLElement} popperElement\n * @param {Object} options\n * @param {Object} options.modifiers Popper.js modifiers\n * @param {Boolean} options.enabled toggle the popper functionality on/off\n * @param {String} options.placement The popper element placement relative to the reference element\n * @param {Boolean} options.positionFixed use fixed positioning\n * @param {Boolean} options.eventsEnabled have Popper listen on window resize events to reposition the element\n */\n\nexport default function usePopper(referenceElement, popperElement, _temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$enabled = _ref.enabled,\n enabled = _ref$enabled === void 0 ? true : _ref$enabled,\n _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,\n _ref$positionFixed = _ref.positionFixed,\n positionFixed = _ref$positionFixed === void 0 ? false : _ref$positionFixed,\n _ref$eventsEnabled = _ref.eventsEnabled,\n eventsEnabled = _ref$eventsEnabled === void 0 ? true : _ref$eventsEnabled,\n _ref$modifiers = _ref.modifiers,\n modifiers = _ref$modifiers === void 0 ? {} : _ref$modifiers;\n\n var popperInstanceRef = useRef();\n var hasArrow = !!(modifiers.arrow && modifiers.arrow.element);\n var scheduleUpdate = useCallback(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.scheduleUpdate();\n }\n }, []);\n\n var _useState = useState({\n placement: placement,\n scheduleUpdate: scheduleUpdate,\n outOfBoundaries: false,\n styles: initialPopperStyles,\n arrowStyles: initialArrowStyles\n }),\n state = _useState[0],\n setState = _useState[1]; // A placement difference in state means popper determined a new placement\n // apart from the props value. By the time the popper element is rendered with\n // the new position Popper has already measured it, if the place change triggers\n // a size change it will result in a misaligned popper. So we schedule an update to be sure.\n\n\n useEffect(function () {\n scheduleUpdate();\n }, [state.placement, scheduleUpdate]);\n /** Toggle Events */\n\n useEffect(function () {\n if (popperInstanceRef.current) {\n // eslint-disable-next-line no-unused-expressions\n eventsEnabled ? popperInstanceRef.current.enableEventListeners() : popperInstanceRef.current.disableEventListeners();\n }\n }, [eventsEnabled]);\n useEffect(function () {\n if (!enabled || referenceElement == null || popperElement == null) {\n return undefined;\n }\n\n var arrow = modifiers.arrow && _extends({}, modifiers.arrow, {\n element: modifiers.arrow.element\n });\n\n popperInstanceRef.current = new PopperJS(referenceElement, popperElement, {\n placement: placement,\n positionFixed: positionFixed,\n modifiers: _extends({}, modifiers, {\n arrow: arrow,\n applyStyle: {\n enabled: false\n },\n updateStateModifier: {\n enabled: true,\n order: 900,\n fn: function fn(data) {\n setState({\n scheduleUpdate: scheduleUpdate,\n styles: _extends({\n position: data.offsets.popper.position\n }, data.styles),\n arrowStyles: data.arrowStyles,\n outOfBoundaries: data.hide,\n placement: data.placement\n });\n }\n }\n })\n });\n return function () {\n if (popperInstanceRef.current !== null) {\n popperInstanceRef.current.destroy();\n popperInstanceRef.current = null;\n }\n }; // intentionally NOT re-running on new modifiers\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [enabled, placement, positionFixed, referenceElement, popperElement, hasArrow]);\n return state;\n}","/* eslint-disable no-return-assign */\nimport canUseDOM from './canUseDOM';\nexport var optionsSupported = false;\nexport var onceSupported = false;\n\ntry {\n var options = {\n get passive() {\n return optionsSupported = true;\n },\n\n get once() {\n // eslint-disable-next-line no-multi-assign\n return onceSupported = optionsSupported = true;\n }\n\n };\n\n if (canUseDOM) {\n window.addEventListener('test', options, options);\n window.removeEventListener('test', options, true);\n }\n} catch (e) {\n /* */\n}\n\n/**\n * An `addEventListener` ponyfill, supports the `once` option\n * \n * @param node the element\n * @param eventName the event name\n * @param handle the handler\n * @param options event options\n */\nfunction addEventListener(node, eventName, handler, options) {\n if (options && typeof options !== 'boolean' && !onceSupported) {\n var once = options.once,\n capture = options.capture;\n var wrappedHandler = handler;\n\n if (!onceSupported && once) {\n wrappedHandler = handler.__once || function onceHandler(event) {\n this.removeEventListener(eventName, onceHandler, capture);\n handler.call(this, event);\n };\n\n handler.__once = wrappedHandler;\n }\n\n node.addEventListener(eventName, wrappedHandler, optionsSupported ? options : capture);\n }\n\n node.addEventListener(eventName, handler, options);\n}\n\nexport default addEventListener;","import addEventListener from './addEventListener';\nimport removeEventListener from './removeEventListener';\n\nfunction listen(node, eventName, handler, options) {\n addEventListener(node, eventName, handler, options);\n return function () {\n removeEventListener(node, eventName, handler, options);\n };\n}\n\nexport default listen;","/**\n * A `removeEventListener` ponyfill\n * \n * @param node the element\n * @param eventName the event name\n * @param handle the handler\n * @param options event options\n */\nfunction removeEventListener(node, eventName, handler, options) {\n var capture = options && typeof options !== 'boolean' ? options.capture : options;\n node.removeEventListener(eventName, handler, capture);\n\n if (handler.__once) {\n node.removeEventListener(eventName, handler.__once, capture);\n }\n}\n\nexport default removeEventListener;","import { useCallback } from 'react';\nimport useCommittedRef from './useCommittedRef';\nexport default function useEventCallback(fn) {\n var ref = useCommittedRef(fn);\n return useCallback(function () {\n return ref.current && ref.current.apply(ref, arguments);\n }, [ref]);\n}","import { useEffect, useRef } from 'react';\n/**\n * Creates a `Ref` whose value is updated in an effect, ensuring the most recent\n * value is the one rendered with. Generally only required for Concurrent mode usage\n * where previous work in `render()` may be discarded befor being used.\n *\n * This is safe to access in an event handler.\n *\n * @param value The `Ref` value\n */\n\nfunction useCommittedRef(value) {\n var ref = useRef(value);\n useEffect(function () {\n ref.current = value;\n }, [value]);\n return ref;\n}\n\nexport default useCommittedRef;","import contains from 'dom-helpers/contains';\nimport listen from 'dom-helpers/listen';\nimport { useCallback, useEffect, useRef } from 'react';\nimport useEventCallback from '@restart/hooks/useEventCallback';\nimport warning from 'warning';\nimport ownerDocument from './utils/ownerDocument';\nvar escapeKeyCode = 27;\n\nvar noop = function noop() {};\n\nfunction isLeftClickEvent(event) {\n return event.button === 0;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n/**\n * The `useRootClose` hook registers your callback on the document\n * when rendered. Powers the `` component. This is used achieve modal\n * style behavior where your callback is triggered when the user tries to\n * interact with the rest of the document or hits the `esc` key.\n *\n * @param {Ref|HTMLElement} ref The element boundary\n * @param {function} onRootClose\n * @param {object} options\n * @param {boolean} options.disabled\n * @param {string} options.clickTrigger The DOM event name (click, mousedown, etc) to attach listeners on\n */\n\n\nfunction useRootClose(ref, onRootClose, _temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n disabled = _ref.disabled,\n _ref$clickTrigger = _ref.clickTrigger,\n clickTrigger = _ref$clickTrigger === void 0 ? 'click' : _ref$clickTrigger;\n\n var preventMouseRootCloseRef = useRef(false);\n var onClose = onRootClose || noop;\n var handleMouseCapture = useCallback(function (e) {\n var currentTarget = ref && ('current' in ref ? ref.current : ref);\n warning(!!currentTarget, 'RootClose captured a close event but does not have a ref to compare it to. ' + 'useRootClose(), should be passed a ref that resolves to a DOM node');\n preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || contains(currentTarget, e.target);\n }, [ref]);\n var handleMouse = useEventCallback(function (e) {\n if (!preventMouseRootCloseRef.current) {\n onClose(e);\n }\n });\n var handleKeyUp = useEventCallback(function (e) {\n if (e.keyCode === escapeKeyCode) {\n onClose(e);\n }\n });\n useEffect(function () {\n if (disabled || ref == null) return undefined;\n var doc = ownerDocument(ref.current); // Use capture for this listener so it fires before React's listener, to\n // avoid false positives in the contains() check below if the target DOM\n // element is removed in the React mouse callback.\n\n var removeMouseCaptureListener = listen(doc, clickTrigger, handleMouseCapture, true);\n var removeMouseListener = listen(doc, clickTrigger, handleMouse);\n var removeKeyupListener = listen(doc, 'keyup', handleKeyUp);\n var mobileSafariHackListeners = [];\n\n if ('ontouchstart' in doc.documentElement) {\n mobileSafariHackListeners = [].slice.call(doc.body.children).map(function (el) {\n return listen(el, 'mousemove', noop);\n });\n }\n\n return function () {\n removeMouseCaptureListener();\n removeMouseListener();\n removeKeyupListener();\n mobileSafariHackListeners.forEach(function (remove) {\n return remove();\n });\n };\n }, [ref, disabled, clickTrigger, handleMouseCapture, handleMouse, handleKeyUp]);\n}\n\nexport default useRootClose;","import ownerDocument from 'dom-helpers/ownerDocument';\nimport { useState, useEffect } from 'react';\n\nvar resolveRef = function resolveRef(ref) {\n if (typeof document === 'undefined') return undefined;\n if (ref == null) return ownerDocument().body;\n if (typeof ref === 'function') ref = ref();\n if (ref && ref.current) ref = ref.current;\n if (ref && ref.nodeType) return ref;\n return null;\n};\n\nexport default function useWaitForDOMRef(ref, onResolved) {\n var _useState = useState(function () {\n return resolveRef(ref);\n }),\n resolvedRef = _useState[0],\n setRef = _useState[1];\n\n if (!resolvedRef) {\n var earlyRef = resolveRef(ref);\n if (earlyRef) setRef(earlyRef);\n }\n\n useEffect(function () {\n if (onResolved && resolvedRef) {\n onResolved(resolvedRef);\n }\n }, [onResolved, resolvedRef]);\n useEffect(function () {\n var nextRef = resolveRef(ref);\n\n if (nextRef !== resolvedRef) {\n setRef(nextRef);\n }\n }, [ref, resolvedRef]);\n return resolvedRef;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport PopperJS from 'popper.js';\nimport PropTypes from 'prop-types';\nimport React, { useState } from 'react';\nimport ReactDOM from 'react-dom';\nimport useCallbackRef from '@restart/hooks/useCallbackRef';\nimport useMergedRefs from '@restart/hooks/useMergedRefs';\nimport usePopper from './usePopper';\nimport useRootClose from './useRootClose';\nimport useWaitForDOMRef from './utils/useWaitForDOMRef';\n/**\n * Built on top of `Popper.js`, the overlay component is\n * great for custom tooltip overlays.\n */\n\nvar Overlay = React.forwardRef(function (props, outerRef) {\n var flip = props.flip,\n placement = props.placement,\n containerPadding = props.containerPadding,\n _props$popperConfig = props.popperConfig,\n popperConfig = _props$popperConfig === void 0 ? {} : _props$popperConfig,\n Transition = props.transition;\n\n var _useCallbackRef = useCallbackRef(),\n rootElement = _useCallbackRef[0],\n attachRef = _useCallbackRef[1];\n\n var _useCallbackRef2 = useCallbackRef(),\n arrowElement = _useCallbackRef2[0],\n attachArrowRef = _useCallbackRef2[1];\n\n var mergedRef = useMergedRefs(attachRef, outerRef);\n var container = useWaitForDOMRef(props.container);\n var target = useWaitForDOMRef(props.target);\n\n var _useState = useState(!props.show),\n exited = _useState[0],\n setExited = _useState[1];\n\n var _popperConfig$modifie = popperConfig.modifiers,\n modifiers = _popperConfig$modifie === void 0 ? {} : _popperConfig$modifie;\n\n var _usePopper = usePopper(target, rootElement, _extends({}, popperConfig, {\n placement: placement || 'bottom',\n enableEvents: props.show,\n modifiers: _extends({}, modifiers, {\n preventOverflow: _extends({\n padding: containerPadding || 5\n }, modifiers.preventOverflow),\n arrow: _extends({}, modifiers.arrow, {\n enabled: !!arrowElement,\n element: arrowElement\n }),\n flip: _extends({\n enabled: !!flip\n }, modifiers.preventOverflow)\n })\n })),\n styles = _usePopper.styles,\n arrowStyles = _usePopper.arrowStyles,\n popper = _objectWithoutPropertiesLoose(_usePopper, [\"styles\", \"arrowStyles\"]);\n\n if (props.show) {\n if (exited) setExited(false);\n } else if (!props.transition && !exited) {\n setExited(true);\n }\n\n var handleHidden = function handleHidden() {\n setExited(true);\n\n if (props.onExited) {\n props.onExited.apply(props, arguments);\n }\n }; // Don't un-render the overlay while it's transitioning out.\n\n\n var mountOverlay = props.show || Transition && !exited;\n useRootClose(rootElement, props.onHide, {\n disabled: !props.rootClose || props.rootCloseDisabled,\n clickTrigger: props.rootCloseEvent\n });\n\n if (!mountOverlay) {\n // Don't bother showing anything if we don't have to.\n return null;\n }\n\n var child = props.children(_extends({}, popper, {\n show: props.show,\n props: {\n style: styles,\n ref: mergedRef\n },\n arrowProps: {\n style: arrowStyles,\n ref: attachArrowRef\n }\n }));\n\n if (Transition) {\n var onExit = props.onExit,\n onExiting = props.onExiting,\n onEnter = props.onEnter,\n onEntering = props.onEntering,\n onEntered = props.onEntered;\n child = React.createElement(Transition, {\n \"in\": props.show,\n appear: true,\n onExit: onExit,\n onExiting: onExiting,\n onExited: handleHidden,\n onEnter: onEnter,\n onEntering: onEntering,\n onEntered: onEntered\n }, child);\n }\n\n return container ? ReactDOM.createPortal(child, container) : null;\n});\nOverlay.displayName = 'Overlay';\nOverlay.propTypes = {\n /**\n * Set the visibility of the Overlay\n */\n show: PropTypes.bool,\n\n /** Specify where the overlay element is positioned in relation to the target element */\n placement: PropTypes.oneOf(PopperJS.placements),\n\n /**\n * A DOM Element, Ref to an element, or function that returns either. The `target` element is where\n * the overlay is positioned relative to.\n */\n target: PropTypes.any,\n\n /**\n * A DOM Element, Ref to an element, or function that returns either. The `container` will have the Portal children\n * appended to it.\n */\n container: PropTypes.any,\n\n /**\n * Enables the Popper.js `flip` modifier, allowing the Overlay to\n * automatically adjust it's placement in case of overlap with the viewport or toggle.\n * Refer to the [flip docs](https://popper.js.org/popper-documentation.html#modifiers..flip.enabled) for more info\n */\n flip: PropTypes.bool,\n\n /**\n * A render prop that returns an element to overlay and position. See\n * the [react-popper documentation](https://github.com/FezVrasta/react-popper#children) for more info.\n *\n * @type {Function ({\n * show: boolean,\n * placement: Placement,\n * outOfBoundaries: ?boolean,\n * scheduleUpdate: () => void,\n * props: {\n * ref: (?HTMLElement) => void,\n * style: { [string]: string | number },\n * aria-labelledby: ?string\n * },\n * arrowProps: {\n * ref: (?HTMLElement) => void,\n * style: { [string]: string | number },\n * },\n * }) => React.Element}\n */\n children: PropTypes.func.isRequired,\n\n /**\n * Control how much space there is between the edge of the boundary element and overlay.\n * A convenience shortcut to setting `popperConfig.modfiers.preventOverflow.padding`\n */\n containerPadding: PropTypes.number,\n\n /**\n * A set of popper options and props passed directly to react-popper's Popper component.\n */\n popperConfig: PropTypes.object,\n\n /**\n * Specify whether the overlay should trigger `onHide` when the user clicks outside the overlay\n */\n rootClose: PropTypes.bool,\n\n /**\n * Specify event for toggling overlay\n */\n rootCloseEvent: PropTypes.oneOf(['click', 'mousedown']),\n\n /**\n * Specify disabled for disable RootCloseWrapper\n */\n rootCloseDisabled: PropTypes.bool,\n\n /**\n * A Callback fired by the Overlay when it wishes to be hidden.\n *\n * __required__ when `rootClose` is `true`.\n *\n * @type func\n */\n onHide: function onHide(props) {\n var propType = PropTypes.func;\n\n if (props.rootClose) {\n propType = propType.isRequired;\n }\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return propType.apply(void 0, [props].concat(args));\n },\n\n /**\n * A `react-transition-group@2.0.0` `` component\n * used to animate the overlay as it changes visibility.\n */\n transition: PropTypes.elementType,\n\n /**\n * Callback fired before the Overlay transitions in\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired as the Overlay begins to transition in\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the Overlay finishes transitioning in\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired right before the Overlay transitions out\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired as the Overlay begins to transition out\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the Overlay finishes transitioning out\n */\n onExited: PropTypes.func\n};\nOverlay.defaultProps = {\n containerPadding: 5\n};\nexport default Overlay;","import ReactDOM from 'react-dom';\nimport ownerDocument from 'dom-helpers/ownerDocument';\nexport default function (componentOrElement) {\n return ownerDocument(ReactDOM.findDOMNode(componentOrElement));\n}","import getWindow from './isWindow';\nimport offset from './offset';\n/**\n * Returns the height of a given element.\n * \n * @param node the element\n * @param client whether to use `clientHeight` if possible\n */\n\nexport default function height(node, client) {\n var win = getWindow(node);\n return win ? win.innerHeight : client ? node.clientHeight : offset(node).height;\n}","var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);\n/**\n * Runs `querySelectorAll` on a given element.\n * \n * @param element the element\n * @param selector the selector\n */\n\nexport default function qsa(element, selector) {\n return toArray(element.querySelectorAll(selector));\n}","var matchesImpl;\n/**\n * Checks if a given element matches a selector.\n * \n * @param node the element\n * @param selector the selector\n */\n\nexport default function matches(node, selector) {\n if (!matchesImpl) {\n var body = document.body;\n var nativeMatch = body.matches || body.matchesSelector || body.webkitMatchesSelector || body.mozMatchesSelector || body.msMatchesSelector;\n\n matchesImpl = function matchesImpl(n, s) {\n return nativeMatch.call(n, s);\n };\n }\n\n return matchesImpl(node, selector);\n}","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nexport default baseFindIndex;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import MapCache from './_MapCache.js';\nimport setCacheAdd from './_setCacheAdd.js';\nimport setCacheHas from './_setCacheHas.js';\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nexport default SetCache;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nexport default setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nexport default setCacheHas;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nexport default arraySome;\n","import SetCache from './_SetCache.js';\nimport arraySome from './_arraySome.js';\nimport cacheHas from './_cacheHas.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nexport default equalArrays;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nexport default cacheHas;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nexport default mapToArray;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nexport default setToArray;\n","import Symbol from './_Symbol.js';\nimport Uint8Array from './_Uint8Array.js';\nimport eq from './eq.js';\nimport equalArrays from './_equalArrays.js';\nimport mapToArray from './_mapToArray.js';\nimport setToArray from './_setToArray.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nexport default equalByTag;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import getAllKeys from './_getAllKeys.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nexport default equalObjects;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","import Stack from './_Stack.js';\nimport equalArrays from './_equalArrays.js';\nimport equalByTag from './_equalByTag.js';\nimport equalObjects from './_equalObjects.js';\nimport getTag from './_getTag.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nexport default baseIsEqualDeep;\n","import baseIsEqualDeep from './_baseIsEqualDeep.js';\nimport isObjectLike from './isObjectLike.js';\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nexport default baseIsEqual;\n","import isObject from './isObject.js';\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nexport default isStrictComparable;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nexport default matchesStrictComparable;\n","import baseIsMatch from './_baseIsMatch.js';\nimport getMatchData from './_getMatchData.js';\nimport matchesStrictComparable from './_matchesStrictComparable.js';\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nexport default baseMatches;\n","import isStrictComparable from './_isStrictComparable.js';\nimport keys from './keys.js';\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nexport default getMatchData;\n","import Stack from './_Stack.js';\nimport baseIsEqual from './_baseIsEqual.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nexport default baseIsMatch;\n","import isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nexport default isKey;\n","import MapCache from './_MapCache.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nexport default memoize;\n","import memoizeCapped from './_memoizeCapped.js';\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nexport default stringToPath;\n","import memoize from './memoize.js';\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nexport default memoizeCapped;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","import isArray from './isArray.js';\nimport isKey from './_isKey.js';\nimport stringToPath from './_stringToPath.js';\nimport toString from './toString.js';\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nexport default castPath;\n","import isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default toKey;\n","import castPath from './_castPath.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nexport default baseGet;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nexport default baseHasIn;\n","import baseHasIn from './_baseHasIn.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nexport default hasIn;\n","import castPath from './_castPath.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isIndex from './_isIndex.js';\nimport isLength from './isLength.js';\nimport toKey from './_toKey.js';\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nexport default hasPath;\n","import baseIsEqual from './_baseIsEqual.js';\nimport get from './get.js';\nimport hasIn from './hasIn.js';\nimport isKey from './_isKey.js';\nimport isStrictComparable from './_isStrictComparable.js';\nimport matchesStrictComparable from './_matchesStrictComparable.js';\nimport toKey from './_toKey.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nexport default baseMatchesProperty;\n","import baseGet from './_baseGet.js';\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nexport default get;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nexport default identity;\n","import baseProperty from './_baseProperty.js';\nimport basePropertyDeep from './_basePropertyDeep.js';\nimport isKey from './_isKey.js';\nimport toKey from './_toKey.js';\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nexport default property;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nexport default baseProperty;\n","import baseGet from './_baseGet.js';\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nexport default basePropertyDeep;\n","import baseMatches from './_baseMatches.js';\nimport baseMatchesProperty from './_baseMatchesProperty.js';\nimport identity from './identity.js';\nimport isArray from './isArray.js';\nimport property from './property.js';\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nexport default baseIteratee;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIteratee from './_baseIteratee.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nexport default findIndex;\n","/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nexport default baseRange;\n","import createRange from './_createRange.js';\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nexport default range;\n","import baseRange from './_baseRange.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport toFinite from './toFinite.js';\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nexport default createRange;\n","var safeIsNaN = Number.isNaN ||\n function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n };\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n return false;\n}\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nexport default memoizeOne;\n","import Symbol from './_Symbol.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nexport default isFlattenable;\n","import arrayPush from './_arrayPush.js';\nimport isFlattenable from './_isFlattenable.js';\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nexport default baseFlatten;\n","import createBaseFor from './_createBaseFor.js';\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nexport default baseFor;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nexport default createBaseFor;\n","import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseEach from './_baseEach.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nexport default baseMap;\n","import isSymbol from './isSymbol.js';\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nexport default compareAscending;\n","import arrayMap from './_arrayMap.js';\nimport baseGet from './_baseGet.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseMap from './_baseMap.js';\nimport baseSortBy from './_baseSortBy.js';\nimport baseUnary from './_baseUnary.js';\nimport compareMultiple from './_compareMultiple.js';\nimport identity from './identity.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nexport default baseOrderBy;\n","/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nexport default baseSortBy;\n","import compareAscending from './_compareAscending.js';\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nexport default compareMultiple;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nexport default apply;\n","import apply from './_apply.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nexport default overRest;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","import constant from './constant.js';\nimport defineProperty from './_defineProperty.js';\nimport identity from './identity.js';\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nexport default baseSetToString;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nexport default constant;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nexport default shortOut;\n","import baseSetToString from './_baseSetToString.js';\nimport shortOut from './_shortOut.js';\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nexport default setToString;\n","import identity from './identity.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nexport default baseRest;\n","import baseFlatten from './_baseFlatten.js';\nimport baseOrderBy from './_baseOrderBy.js';\nimport baseRest from './_baseRest.js';\nimport isIterateeCall from './_isIterateeCall.js';\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nexport default sortBy;\n","import getWindow from './isWindow';\nimport offset from './offset';\n/**\n * Returns the width of a given element.\n * \n * @param node the element\n * @param client whether to use `clientWidth` if possible\n */\n\nexport default function getWidth(node, client) {\n var win = getWindow(node);\n return win ? win.innerWidth : client ? node.clientWidth : offset(node).width;\n}","import canUseDOM from './canUseDOM';\nvar size;\nexport default function scrollbarSize(recalc) {\n if (!size && size !== 0 || recalc) {\n if (canUseDOM) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n }\n }\n\n return size;\n}","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n/**\n * Removes a CSS class from a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nexport default copyObject;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nexport default getSymbolsIn;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\nimport keysIn from './keysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nexport default copyArray;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","import castPath from './_castPath.js';\nimport last from './last.js';\nimport parent from './_parent.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nexport default baseUnset;\n","import baseGet from './_baseGet.js';\nimport baseSlice from './_baseSlice.js';\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nexport default parent;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nexport default last;\n","import baseGetTag from './_baseGetTag.js';\nimport getPrototype from './_getPrototype.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nexport default isPlainObject;\n","import isPlainObject from './isPlainObject.js';\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nexport default customOmitClone;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import arrayMap from './_arrayMap.js';\nimport baseClone from './_baseClone.js';\nimport baseUnset from './_baseUnset.js';\nimport castPath from './_castPath.js';\nimport copyObject from './_copyObject.js';\nimport customOmitClone from './_customOmitClone.js';\nimport flatRest from './_flatRest.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\nvar omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n});\n\nexport default omit;\n","import flatten from './flatten.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nexport default flatRest;\n","import baseRest from './_baseRest.js';\nimport eq from './eq.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport keysIn from './keysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nexport default defaults;\n","import arrayEach from './_arrayEach.js';\nimport baseCreate from './_baseCreate.js';\nimport baseForOwn from './_baseForOwn.js';\nimport baseIteratee from './_baseIteratee.js';\nimport getPrototype from './_getPrototype.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isTypedArray from './isTypedArray.js';\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = baseIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n}\n\nexport default transform;\n","import baseAssignValue from './_baseAssignValue.js';\nimport baseForOwn from './_baseForOwn.js';\nimport baseIteratee from './_baseIteratee.js';\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\n\nexport default mapValues;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport PropTypes from 'prop-types';\nimport React, { Component } from 'react';\nimport { uncontrollable } from 'uncontrollable';\nimport clsx from 'clsx';\nimport invariant from 'invariant';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport { findDOMNode } from 'react-dom';\nimport { eq, add, startOf, endOf, lte, hours, minutes, seconds, milliseconds, lt, gte, month, max, min, gt, inRange as inRange$1 } from 'date-arithmetic';\nimport chunk from 'lodash-es/chunk';\nimport getPosition from 'dom-helpers/position';\nimport { request, cancel } from 'dom-helpers/animationFrame';\nimport getOffset from 'dom-helpers/offset';\nimport getScrollTop from 'dom-helpers/scrollTop';\nimport getScrollLeft from 'dom-helpers/scrollLeft';\nimport Overlay from 'react-overlays/Overlay';\nimport getHeight from 'dom-helpers/height';\nimport qsa from 'dom-helpers/querySelectorAll';\nimport contains from 'dom-helpers/contains';\nimport closest from 'dom-helpers/closest';\nimport listen from 'dom-helpers/listen';\nimport findIndex from 'lodash-es/findIndex';\nimport range$1 from 'lodash-es/range';\nimport memoize from 'memoize-one';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport sortBy from 'lodash-es/sortBy';\nimport getWidth from 'dom-helpers/width';\nimport scrollbarSize from 'dom-helpers/scrollbarSize';\nimport addClass from 'dom-helpers/addClass';\nimport removeClass from 'dom-helpers/removeClass';\nimport omit from 'lodash-es/omit';\nimport defaults from 'lodash-es/defaults';\nimport transform from 'lodash-es/transform';\nimport mapValues from 'lodash-es/mapValues';\n\nfunction NoopWrapper(props) {\n return props.children;\n}\n\nvar navigate = {\n PREVIOUS: 'PREV',\n NEXT: 'NEXT',\n TODAY: 'TODAY',\n DATE: 'DATE'\n};\nvar views = {\n MONTH: 'month',\n WEEK: 'week',\n WORK_WEEK: 'work_week',\n DAY: 'day',\n AGENDA: 'agenda'\n};\n\nvar viewNames = Object.keys(views).map(function (k) {\n return views[k];\n});\nvar accessor = PropTypes.oneOfType([PropTypes.string, PropTypes.func]);\nvar dateFormat = PropTypes.any;\nvar dateRangeFormat = PropTypes.func;\n/**\n * accepts either an array of builtin view names:\n *\n * ```\n * views={['month', 'day', 'agenda']}\n * ```\n *\n * or an object hash of the view name and the component (or boolean for builtin)\n *\n * ```\n * views={{\n * month: true,\n * week: false,\n * workweek: WorkWeekViewComponent,\n * }}\n * ```\n */\n\nvar views$1 = PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOf(viewNames)), PropTypes.objectOf(function (prop, key) {\n var isBuiltinView = viewNames.indexOf(key) !== -1 && typeof prop[key] === 'boolean';\n\n if (isBuiltinView) {\n return null;\n } else {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n return PropTypes.elementType.apply(PropTypes, [prop, key].concat(args));\n }\n})]);\nvar DayLayoutAlgorithmPropType = PropTypes.oneOfType([PropTypes.oneOf(['overlap', 'no-overlap']), PropTypes.func]);\n\nfunction notify(handler, args) {\n handler && handler.apply(null, [].concat(args));\n}\n\nvar localePropType = PropTypes.oneOfType([PropTypes.string, PropTypes.func]);\n\nfunction _format(localizer, formatter, value, format, culture) {\n var result = typeof format === 'function' ? format(value, culture, localizer) : formatter.call(localizer, value, format, culture);\n !(result == null || typeof result === 'string') ? process.env.NODE_ENV !== \"production\" ? invariant(false, '`localizer format(..)` must return a string, null, or undefined') : invariant(false) : void 0;\n return result;\n}\n\nvar DateLocalizer = function DateLocalizer(spec) {\n var _this = this;\n\n !(typeof spec.format === 'function') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'date localizer `format(..)` must be a function') : invariant(false) : void 0;\n !(typeof spec.firstOfWeek === 'function') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'date localizer `firstOfWeek(..)` must be a function') : invariant(false) : void 0;\n this.propType = spec.propType || localePropType;\n this.startOfWeek = spec.firstOfWeek;\n this.formats = spec.formats;\n\n this.format = function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _format.apply(void 0, [_this, spec.format].concat(args));\n };\n};\nfunction mergeWithDefaults(localizer, culture, formatOverrides, messages) {\n var formats = _extends({}, localizer.formats, formatOverrides);\n\n return _extends({}, localizer, {\n messages: messages,\n startOfWeek: function startOfWeek() {\n return localizer.startOfWeek(culture);\n },\n format: function format(value, _format2) {\n return localizer.format(value, formats[_format2] || _format2, culture);\n }\n });\n}\n\nvar defaultMessages = {\n date: 'Date',\n time: 'Time',\n event: 'Event',\n allDay: 'All Day',\n week: 'Week',\n work_week: 'Work Week',\n day: 'Day',\n month: 'Month',\n previous: 'Back',\n next: 'Next',\n yesterday: 'Yesterday',\n tomorrow: 'Tomorrow',\n today: 'Today',\n agenda: 'Agenda',\n noEventsInRange: 'There are no events in this range.',\n showMore: function showMore(total) {\n return \"+\" + total + \" more\";\n }\n};\nfunction messages(msgs) {\n return _extends({}, defaultMessages, msgs);\n}\n\n/* eslint no-fallthrough: off */\nvar MILLI = {\n seconds: 1000,\n minutes: 1000 * 60,\n hours: 1000 * 60 * 60,\n day: 1000 * 60 * 60 * 24\n};\nfunction firstVisibleDay(date, localizer) {\n var firstOfMonth = startOf(date, 'month');\n return startOf(firstOfMonth, 'week', localizer.startOfWeek());\n}\nfunction lastVisibleDay(date, localizer) {\n var endOfMonth = endOf(date, 'month');\n return endOf(endOfMonth, 'week', localizer.startOfWeek());\n}\nfunction visibleDays(date, localizer) {\n var current = firstVisibleDay(date, localizer),\n last = lastVisibleDay(date, localizer),\n days = [];\n\n while (lte(current, last, 'day')) {\n days.push(current);\n current = add(current, 1, 'day');\n }\n\n return days;\n}\nfunction ceil(date, unit) {\n var floor = startOf(date, unit);\n return eq(floor, date) ? floor : add(floor, 1, unit);\n}\nfunction range(start, end, unit) {\n if (unit === void 0) {\n unit = 'day';\n }\n\n var current = start,\n days = [];\n\n while (lte(current, end, unit)) {\n days.push(current);\n current = add(current, 1, unit);\n }\n\n return days;\n}\nfunction merge(date, time) {\n if (time == null && date == null) return null;\n if (time == null) time = new Date();\n if (date == null) date = new Date();\n date = startOf(date, 'day');\n date = hours(date, hours(time));\n date = minutes(date, minutes(time));\n date = seconds(date, seconds(time));\n return milliseconds(date, milliseconds(time));\n}\nfunction isJustDate(date) {\n return hours(date) === 0 && minutes(date) === 0 && seconds(date) === 0 && milliseconds(date) === 0;\n}\nfunction diff(dateA, dateB, unit) {\n if (!unit || unit === 'milliseconds') return Math.abs(+dateA - +dateB); // the .round() handles an edge case\n // with DST where the total won't be exact\n // since one day in the range may be shorter/longer by an hour\n\n return Math.round(Math.abs(+startOf(dateA, unit) / MILLI[unit] - +startOf(dateB, unit) / MILLI[unit]));\n}\n\nvar EventCell =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(EventCell, _React$Component);\n\n function EventCell() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = EventCell.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n style = _this$props.style,\n className = _this$props.className,\n event = _this$props.event,\n selected = _this$props.selected,\n isAllDay = _this$props.isAllDay,\n onSelect = _this$props.onSelect,\n _onDoubleClick = _this$props.onDoubleClick,\n localizer = _this$props.localizer,\n continuesPrior = _this$props.continuesPrior,\n continuesAfter = _this$props.continuesAfter,\n accessors = _this$props.accessors,\n getters = _this$props.getters,\n children = _this$props.children,\n _this$props$component = _this$props.components,\n Event = _this$props$component.event,\n EventWrapper = _this$props$component.eventWrapper,\n slotStart = _this$props.slotStart,\n slotEnd = _this$props.slotEnd,\n props = _objectWithoutPropertiesLoose(_this$props, [\"style\", \"className\", \"event\", \"selected\", \"isAllDay\", \"onSelect\", \"onDoubleClick\", \"localizer\", \"continuesPrior\", \"continuesAfter\", \"accessors\", \"getters\", \"children\", \"components\", \"slotStart\", \"slotEnd\"]);\n\n var title = accessors.title(event);\n var tooltip = accessors.tooltip(event);\n var end = accessors.end(event);\n var start = accessors.start(event);\n var allDay = accessors.allDay(event);\n var showAsAllDay = isAllDay || allDay || diff(start, ceil(end, 'day'), 'day') > 1;\n var userProps = getters.eventProp(event, start, end, selected);\n var content = React.createElement(\"div\", {\n className: \"rbc-event-content\",\n title: tooltip || undefined\n }, Event ? React.createElement(Event, {\n event: event,\n continuesPrior: continuesPrior,\n continuesAfter: continuesAfter,\n title: title,\n isAllDay: allDay,\n localizer: localizer,\n slotStart: slotStart,\n slotEnd: slotEnd\n }) : title);\n return React.createElement(EventWrapper, _extends({}, this.props, {\n type: \"date\"\n }), React.createElement(\"div\", _extends({}, props, {\n tabIndex: 0,\n style: _extends({}, userProps.style, style),\n className: clsx('rbc-event', className, userProps.className, {\n 'rbc-selected': selected,\n 'rbc-event-allday': showAsAllDay,\n 'rbc-event-continues-prior': continuesPrior,\n 'rbc-event-continues-after': continuesAfter\n }),\n onClick: function onClick(e) {\n return onSelect && onSelect(event, e);\n },\n onDoubleClick: function onDoubleClick(e) {\n return _onDoubleClick && _onDoubleClick(event, e);\n }\n }), typeof children === 'function' ? children(content) : content));\n };\n\n return EventCell;\n}(React.Component);\n\nEventCell.propTypes = process.env.NODE_ENV !== \"production\" ? {\n event: PropTypes.object.isRequired,\n slotStart: PropTypes.instanceOf(Date),\n slotEnd: PropTypes.instanceOf(Date),\n selected: PropTypes.bool,\n isAllDay: PropTypes.bool,\n continuesPrior: PropTypes.bool,\n continuesAfter: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object,\n onSelect: PropTypes.func,\n onDoubleClick: PropTypes.func\n} : {};\n\nfunction isSelected(event, selected) {\n if (!event || selected == null) return false;\n return [].concat(selected).indexOf(event) !== -1;\n}\nfunction slotWidth(rowBox, slots) {\n var rowWidth = rowBox.right - rowBox.left;\n var cellWidth = rowWidth / slots;\n return cellWidth;\n}\nfunction getSlotAtX(rowBox, x, rtl, slots) {\n var cellWidth = slotWidth(rowBox, slots);\n return rtl ? slots - 1 - Math.floor((x - rowBox.left) / cellWidth) : Math.floor((x - rowBox.left) / cellWidth);\n}\nfunction pointInBox(box, _ref) {\n var x = _ref.x,\n y = _ref.y;\n return y >= box.top && y <= box.bottom && x >= box.left && x <= box.right;\n}\nfunction dateCellSelection(start, rowBox, box, slots, rtl) {\n var startIdx = -1;\n var endIdx = -1;\n var lastSlotIdx = slots - 1;\n var cellWidth = slotWidth(rowBox, slots); // cell under the mouse\n\n var currentSlot = getSlotAtX(rowBox, box.x, rtl, slots); // Identify row as either the initial row\n // or the row under the current mouse point\n\n var isCurrentRow = rowBox.top < box.y && rowBox.bottom > box.y;\n var isStartRow = rowBox.top < start.y && rowBox.bottom > start.y; // this row's position relative to the start point\n\n var isAboveStart = start.y > rowBox.bottom;\n var isBelowStart = rowBox.top > start.y;\n var isBetween = box.top < rowBox.top && box.bottom > rowBox.bottom; // this row is between the current and start rows, so entirely selected\n\n if (isBetween) {\n startIdx = 0;\n endIdx = lastSlotIdx;\n }\n\n if (isCurrentRow) {\n if (isBelowStart) {\n startIdx = 0;\n endIdx = currentSlot;\n } else if (isAboveStart) {\n startIdx = currentSlot;\n endIdx = lastSlotIdx;\n }\n }\n\n if (isStartRow) {\n // select the cell under the initial point\n startIdx = endIdx = rtl ? lastSlotIdx - Math.floor((start.x - rowBox.left) / cellWidth) : Math.floor((start.x - rowBox.left) / cellWidth);\n\n if (isCurrentRow) {\n if (currentSlot < startIdx) startIdx = currentSlot;else endIdx = currentSlot; //select current range\n } else if (start.y < box.y) {\n // the current row is below start row\n // select cells to the right of the start cell\n endIdx = lastSlotIdx;\n } else {\n // select cells to the left of the start cell\n startIdx = 0;\n }\n }\n\n return {\n startIdx: startIdx,\n endIdx: endIdx\n };\n}\n\nvar Popup =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Popup, _React$Component);\n\n function Popup() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Popup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n var _this$props = this.props,\n _this$props$popupOffs = _this$props.popupOffset,\n popupOffset = _this$props$popupOffs === void 0 ? 5 : _this$props$popupOffs,\n popperRef = _this$props.popperRef,\n _getOffset = getOffset(popperRef.current),\n top = _getOffset.top,\n left = _getOffset.left,\n width = _getOffset.width,\n height = _getOffset.height,\n viewBottom = window.innerHeight + getScrollTop(window),\n viewRight = window.innerWidth + getScrollLeft(window),\n bottom = top + height,\n right = left + width;\n\n if (bottom > viewBottom || right > viewRight) {\n var topOffset, leftOffset;\n if (bottom > viewBottom) topOffset = bottom - viewBottom + (popupOffset.y || +popupOffset || 0);\n if (right > viewRight) leftOffset = right - viewRight + (popupOffset.x || +popupOffset || 0);\n this.setState({\n topOffset: topOffset,\n leftOffset: leftOffset\n }); //eslint-disable-line\n }\n };\n\n _proto.render = function render() {\n var _this$props2 = this.props,\n events = _this$props2.events,\n selected = _this$props2.selected,\n getters = _this$props2.getters,\n accessors = _this$props2.accessors,\n components = _this$props2.components,\n onSelect = _this$props2.onSelect,\n onDoubleClick = _this$props2.onDoubleClick,\n slotStart = _this$props2.slotStart,\n slotEnd = _this$props2.slotEnd,\n localizer = _this$props2.localizer,\n popperRef = _this$props2.popperRef;\n var width = this.props.position.width,\n topOffset = (this.state || {}).topOffset || 0,\n leftOffset = (this.state || {}).leftOffset || 0;\n var style = {\n top: -topOffset,\n left: -leftOffset,\n minWidth: width + width / 2\n };\n return React.createElement(\"div\", {\n style: _extends({}, this.props.style, style),\n className: \"rbc-overlay\",\n ref: popperRef\n }, React.createElement(\"div\", {\n className: \"rbc-overlay-header\"\n }, localizer.format(slotStart, 'dayHeaderFormat')), events.map(function (event, idx) {\n return React.createElement(EventCell, {\n key: idx,\n type: \"popup\",\n event: event,\n getters: getters,\n onSelect: onSelect,\n accessors: accessors,\n components: components,\n onDoubleClick: onDoubleClick,\n continuesPrior: lt(accessors.end(event), slotStart, 'day'),\n continuesAfter: gte(accessors.start(event), slotEnd, 'day'),\n slotStart: slotStart,\n slotEnd: slotEnd,\n selected: isSelected(event, selected)\n });\n }));\n };\n\n return Popup;\n}(React.Component);\n\nPopup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n position: PropTypes.object,\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number\n })]),\n events: PropTypes.array,\n selected: PropTypes.object,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n onSelect: PropTypes.func,\n onDoubleClick: PropTypes.func,\n slotStart: PropTypes.instanceOf(Date),\n slotEnd: PropTypes.number,\n popperRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({\n current: PropTypes.Element\n })])\n /**\n * The Overlay component, of react-overlays, creates a ref that is passed to the Popup, and\n * requires proper ref forwarding to be used without error\n */\n\n} : {};\nvar Popup$1 = React.forwardRef(function (props, ref) {\n return React.createElement(Popup, _extends({\n popperRef: ref\n }, props));\n});\n\nfunction addEventListener(type, handler, target) {\n if (target === void 0) {\n target = document;\n }\n\n return listen(target, type, handler, {\n passive: false\n });\n}\n\nfunction isOverContainer(container, x, y) {\n return !container || contains(container, document.elementFromPoint(x, y));\n}\n\nfunction getEventNodeFromPoint(node, _ref) {\n var clientX = _ref.clientX,\n clientY = _ref.clientY;\n var target = document.elementFromPoint(clientX, clientY);\n return closest(target, '.rbc-event', node);\n}\nfunction isEvent(node, bounds) {\n return !!getEventNodeFromPoint(node, bounds);\n}\n\nfunction getEventCoordinates(e) {\n var target = e;\n\n if (e.touches && e.touches.length) {\n target = e.touches[0];\n }\n\n return {\n clientX: target.clientX,\n clientY: target.clientY,\n pageX: target.pageX,\n pageY: target.pageY\n };\n}\n\nvar clickTolerance = 5;\nvar clickInterval = 250;\n\nvar Selection =\n/*#__PURE__*/\nfunction () {\n function Selection(node, _temp) {\n var _ref2 = _temp === void 0 ? {} : _temp,\n _ref2$global = _ref2.global,\n global = _ref2$global === void 0 ? false : _ref2$global,\n _ref2$longPressThresh = _ref2.longPressThreshold,\n longPressThreshold = _ref2$longPressThresh === void 0 ? 250 : _ref2$longPressThresh;\n\n this.isDetached = false;\n this.container = node;\n this.globalMouse = !node || global;\n this.longPressThreshold = longPressThreshold;\n this._listeners = Object.create(null);\n this._handleInitialEvent = this._handleInitialEvent.bind(this);\n this._handleMoveEvent = this._handleMoveEvent.bind(this);\n this._handleTerminatingEvent = this._handleTerminatingEvent.bind(this);\n this._keyListener = this._keyListener.bind(this);\n this._dropFromOutsideListener = this._dropFromOutsideListener.bind(this);\n this._dragOverFromOutsideListener = this._dragOverFromOutsideListener.bind(this); // Fixes an iOS 10 bug where scrolling could not be prevented on the window.\n // https://github.com/metafizzy/flickity/issues/457#issuecomment-254501356\n\n this._removeTouchMoveWindowListener = addEventListener('touchmove', function () {}, window);\n this._removeKeyDownListener = addEventListener('keydown', this._keyListener);\n this._removeKeyUpListener = addEventListener('keyup', this._keyListener);\n this._removeDropFromOutsideListener = addEventListener('drop', this._dropFromOutsideListener);\n this._onDragOverfromOutisde = addEventListener('dragover', this._dragOverFromOutsideListener);\n\n this._addInitialEventListener();\n }\n\n var _proto = Selection.prototype;\n\n _proto.on = function on(type, handler) {\n var handlers = this._listeners[type] || (this._listeners[type] = []);\n handlers.push(handler);\n return {\n remove: function remove() {\n var idx = handlers.indexOf(handler);\n if (idx !== -1) handlers.splice(idx, 1);\n }\n };\n };\n\n _proto.emit = function emit(type) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var result;\n var handlers = this._listeners[type] || [];\n handlers.forEach(function (fn) {\n if (result === undefined) result = fn.apply(void 0, args);\n });\n return result;\n };\n\n _proto.teardown = function teardown() {\n this.isDetached = true;\n this.listeners = Object.create(null);\n this._removeTouchMoveWindowListener && this._removeTouchMoveWindowListener();\n this._removeInitialEventListener && this._removeInitialEventListener();\n this._removeEndListener && this._removeEndListener();\n this._onEscListener && this._onEscListener();\n this._removeMoveListener && this._removeMoveListener();\n this._removeKeyUpListener && this._removeKeyUpListener();\n this._removeKeyDownListener && this._removeKeyDownListener();\n this._removeDropFromOutsideListener && this._removeDropFromOutsideListener();\n };\n\n _proto.isSelected = function isSelected(node) {\n var box = this._selectRect;\n if (!box || !this.selecting) return false;\n return objectsCollide(box, getBoundsForNode(node));\n };\n\n _proto.filter = function filter(items) {\n var box = this._selectRect; //not selecting\n\n if (!box || !this.selecting) return [];\n return items.filter(this.isSelected, this);\n } // Adds a listener that will call the handler only after the user has pressed on the screen\n // without moving their finger for 250ms.\n ;\n\n _proto._addLongPressListener = function _addLongPressListener(handler, initialEvent) {\n var _this = this;\n\n var timer = null;\n var removeTouchMoveListener = null;\n var removeTouchEndListener = null;\n\n var handleTouchStart = function handleTouchStart(initialEvent) {\n timer = setTimeout(function () {\n cleanup();\n handler(initialEvent);\n }, _this.longPressThreshold);\n removeTouchMoveListener = addEventListener('touchmove', function () {\n return cleanup();\n });\n removeTouchEndListener = addEventListener('touchend', function () {\n return cleanup();\n });\n };\n\n var removeTouchStartListener = addEventListener('touchstart', handleTouchStart);\n\n var cleanup = function cleanup() {\n if (timer) {\n clearTimeout(timer);\n }\n\n if (removeTouchMoveListener) {\n removeTouchMoveListener();\n }\n\n if (removeTouchEndListener) {\n removeTouchEndListener();\n }\n\n timer = null;\n removeTouchMoveListener = null;\n removeTouchEndListener = null;\n };\n\n if (initialEvent) {\n handleTouchStart(initialEvent);\n }\n\n return function () {\n cleanup();\n removeTouchStartListener();\n };\n } // Listen for mousedown and touchstart events. When one is received, disable the other and setup\n // future event handling based on the type of event.\n ;\n\n _proto._addInitialEventListener = function _addInitialEventListener() {\n var _this2 = this;\n\n var removeMouseDownListener = addEventListener('mousedown', function (e) {\n _this2._removeInitialEventListener();\n\n _this2._handleInitialEvent(e);\n\n _this2._removeInitialEventListener = addEventListener('mousedown', _this2._handleInitialEvent);\n });\n var removeTouchStartListener = addEventListener('touchstart', function (e) {\n _this2._removeInitialEventListener();\n\n _this2._removeInitialEventListener = _this2._addLongPressListener(_this2._handleInitialEvent, e);\n });\n\n this._removeInitialEventListener = function () {\n removeMouseDownListener();\n removeTouchStartListener();\n };\n };\n\n _proto._dropFromOutsideListener = function _dropFromOutsideListener(e) {\n var _getEventCoordinates = getEventCoordinates(e),\n pageX = _getEventCoordinates.pageX,\n pageY = _getEventCoordinates.pageY,\n clientX = _getEventCoordinates.clientX,\n clientY = _getEventCoordinates.clientY;\n\n this.emit('dropFromOutside', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n e.preventDefault();\n };\n\n _proto._dragOverFromOutsideListener = function _dragOverFromOutsideListener(e) {\n var _getEventCoordinates2 = getEventCoordinates(e),\n pageX = _getEventCoordinates2.pageX,\n pageY = _getEventCoordinates2.pageY,\n clientX = _getEventCoordinates2.clientX,\n clientY = _getEventCoordinates2.clientY;\n\n this.emit('dragOverFromOutside', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n e.preventDefault();\n };\n\n _proto._handleInitialEvent = function _handleInitialEvent(e) {\n if (this.isDetached) {\n return;\n }\n\n var _getEventCoordinates3 = getEventCoordinates(e),\n clientX = _getEventCoordinates3.clientX,\n clientY = _getEventCoordinates3.clientY,\n pageX = _getEventCoordinates3.pageX,\n pageY = _getEventCoordinates3.pageY;\n\n var node = this.container(),\n collides,\n offsetData; // Right clicks\n\n if (e.which === 3 || e.button === 2 || !isOverContainer(node, clientX, clientY)) return;\n\n if (!this.globalMouse && node && !contains(node, e.target)) {\n var _normalizeDistance = normalizeDistance(0),\n top = _normalizeDistance.top,\n left = _normalizeDistance.left,\n bottom = _normalizeDistance.bottom,\n right = _normalizeDistance.right;\n\n offsetData = getBoundsForNode(node);\n collides = objectsCollide({\n top: offsetData.top - top,\n left: offsetData.left - left,\n bottom: offsetData.bottom + bottom,\n right: offsetData.right + right\n }, {\n top: pageY,\n left: pageX\n });\n if (!collides) return;\n }\n\n var result = this.emit('beforeSelect', this._initialEventData = {\n isTouch: /^touch/.test(e.type),\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n if (result === false) return;\n\n switch (e.type) {\n case 'mousedown':\n this._removeEndListener = addEventListener('mouseup', this._handleTerminatingEvent);\n this._onEscListener = addEventListener('keydown', this._handleTerminatingEvent);\n this._removeMoveListener = addEventListener('mousemove', this._handleMoveEvent);\n break;\n\n case 'touchstart':\n this._handleMoveEvent(e);\n\n this._removeEndListener = addEventListener('touchend', this._handleTerminatingEvent);\n this._removeMoveListener = addEventListener('touchmove', this._handleMoveEvent);\n break;\n\n default:\n break;\n }\n };\n\n _proto._handleTerminatingEvent = function _handleTerminatingEvent(e) {\n var _getEventCoordinates4 = getEventCoordinates(e),\n pageX = _getEventCoordinates4.pageX,\n pageY = _getEventCoordinates4.pageY;\n\n this.selecting = false;\n this._removeEndListener && this._removeEndListener();\n this._removeMoveListener && this._removeMoveListener();\n if (!this._initialEventData) return;\n var inRoot = !this.container || contains(this.container(), e.target);\n var bounds = this._selectRect;\n var click = this.isClick(pageX, pageY);\n this._initialEventData = null;\n\n if (e.key === 'Escape') {\n return this.emit('reset');\n }\n\n if (!inRoot) {\n return this.emit('reset');\n }\n\n if (click && inRoot) {\n return this._handleClickEvent(e);\n } // User drag-clicked in the Selectable area\n\n\n if (!click) return this.emit('select', bounds);\n };\n\n _proto._handleClickEvent = function _handleClickEvent(e) {\n var _getEventCoordinates5 = getEventCoordinates(e),\n pageX = _getEventCoordinates5.pageX,\n pageY = _getEventCoordinates5.pageY,\n clientX = _getEventCoordinates5.clientX,\n clientY = _getEventCoordinates5.clientY;\n\n var now = new Date().getTime();\n\n if (this._lastClickData && now - this._lastClickData.timestamp < clickInterval) {\n // Double click event\n this._lastClickData = null;\n return this.emit('doubleClick', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n } // Click event\n\n\n this._lastClickData = {\n timestamp: now\n };\n return this.emit('click', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n };\n\n _proto._handleMoveEvent = function _handleMoveEvent(e) {\n if (this._initialEventData === null || this.isDetached) {\n return;\n }\n\n var _this$_initialEventDa = this._initialEventData,\n x = _this$_initialEventDa.x,\n y = _this$_initialEventDa.y;\n\n var _getEventCoordinates6 = getEventCoordinates(e),\n pageX = _getEventCoordinates6.pageX,\n pageY = _getEventCoordinates6.pageY;\n\n var w = Math.abs(x - pageX);\n var h = Math.abs(y - pageY);\n var left = Math.min(pageX, x),\n top = Math.min(pageY, y),\n old = this.selecting; // Prevent emitting selectStart event until mouse is moved.\n // in Chrome on Windows, mouseMove event may be fired just after mouseDown event.\n\n if (this.isClick(pageX, pageY) && !old && !(w || h)) {\n return;\n }\n\n this.selecting = true;\n this._selectRect = {\n top: top,\n left: left,\n x: pageX,\n y: pageY,\n right: left + w,\n bottom: top + h\n };\n\n if (!old) {\n this.emit('selectStart', this._initialEventData);\n }\n\n if (!this.isClick(pageX, pageY)) this.emit('selecting', this._selectRect);\n e.preventDefault();\n };\n\n _proto._keyListener = function _keyListener(e) {\n this.ctrl = e.metaKey || e.ctrlKey;\n };\n\n _proto.isClick = function isClick(pageX, pageY) {\n var _this$_initialEventDa2 = this._initialEventData,\n x = _this$_initialEventDa2.x,\n y = _this$_initialEventDa2.y,\n isTouch = _this$_initialEventDa2.isTouch;\n return !isTouch && Math.abs(pageX - x) <= clickTolerance && Math.abs(pageY - y) <= clickTolerance;\n };\n\n return Selection;\n}();\n/**\n * Resolve the disance prop from either an Int or an Object\n * @return {Object}\n */\n\n\nfunction normalizeDistance(distance) {\n if (distance === void 0) {\n distance = 0;\n }\n\n if (typeof distance !== 'object') distance = {\n top: distance,\n left: distance,\n right: distance,\n bottom: distance\n };\n return distance;\n}\n/**\n * Given two objects containing \"top\", \"left\", \"offsetWidth\" and \"offsetHeight\"\n * properties, determine if they collide.\n * @param {Object|HTMLElement} a\n * @param {Object|HTMLElement} b\n * @return {bool}\n */\n\n\nfunction objectsCollide(nodeA, nodeB, tolerance) {\n if (tolerance === void 0) {\n tolerance = 0;\n }\n\n var _getBoundsForNode = getBoundsForNode(nodeA),\n aTop = _getBoundsForNode.top,\n aLeft = _getBoundsForNode.left,\n _getBoundsForNode$rig = _getBoundsForNode.right,\n aRight = _getBoundsForNode$rig === void 0 ? aLeft : _getBoundsForNode$rig,\n _getBoundsForNode$bot = _getBoundsForNode.bottom,\n aBottom = _getBoundsForNode$bot === void 0 ? aTop : _getBoundsForNode$bot;\n\n var _getBoundsForNode2 = getBoundsForNode(nodeB),\n bTop = _getBoundsForNode2.top,\n bLeft = _getBoundsForNode2.left,\n _getBoundsForNode2$ri = _getBoundsForNode2.right,\n bRight = _getBoundsForNode2$ri === void 0 ? bLeft : _getBoundsForNode2$ri,\n _getBoundsForNode2$bo = _getBoundsForNode2.bottom,\n bBottom = _getBoundsForNode2$bo === void 0 ? bTop : _getBoundsForNode2$bo;\n\n return !( // 'a' bottom doesn't touch 'b' top\n aBottom - tolerance < bTop || // 'a' top doesn't touch 'b' bottom\n aTop + tolerance > bBottom || // 'a' right doesn't touch 'b' left\n aRight - tolerance < bLeft || // 'a' left doesn't touch 'b' right\n aLeft + tolerance > bRight);\n}\n/**\n * Given a node, get everything needed to calculate its boundaries\n * @param {HTMLElement} node\n * @return {Object}\n */\n\nfunction getBoundsForNode(node) {\n if (!node.getBoundingClientRect) return node;\n var rect = node.getBoundingClientRect(),\n left = rect.left + pageOffset('left'),\n top = rect.top + pageOffset('top');\n return {\n top: top,\n left: left,\n right: (node.offsetWidth || 0) + left,\n bottom: (node.offsetHeight || 0) + top\n };\n}\n\nfunction pageOffset(dir) {\n if (dir === 'left') return window.pageXOffset || document.body.scrollLeft || 0;\n if (dir === 'top') return window.pageYOffset || document.body.scrollTop || 0;\n}\n\nvar BackgroundCells =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(BackgroundCells, _React$Component);\n\n function BackgroundCells(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n _this.state = {\n selecting: false\n };\n return _this;\n }\n\n var _proto = BackgroundCells.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.props.selectable && this._selectable();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._teardownSelectable();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n if (nextProps.selectable && !this.props.selectable) this._selectable();\n if (!nextProps.selectable && this.props.selectable) this._teardownSelectable();\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n range = _this$props.range,\n getNow = _this$props.getNow,\n getters = _this$props.getters,\n currentDate = _this$props.date,\n Wrapper = _this$props.components.dateCellWrapper;\n var _this$state = this.state,\n selecting = _this$state.selecting,\n startIdx = _this$state.startIdx,\n endIdx = _this$state.endIdx;\n var current = getNow();\n return React.createElement(\"div\", {\n className: \"rbc-row-bg\"\n }, range.map(function (date, index) {\n var selected = selecting && index >= startIdx && index <= endIdx;\n\n var _getters$dayProp = getters.dayProp(date),\n className = _getters$dayProp.className,\n style = _getters$dayProp.style;\n\n return React.createElement(Wrapper, {\n key: index,\n value: date,\n range: range\n }, React.createElement(\"div\", {\n style: style,\n className: clsx('rbc-day-bg', className, selected && 'rbc-selected-cell', eq(date, current, 'day') && 'rbc-today', currentDate && month(currentDate) !== month(date) && 'rbc-off-range-bg')\n }));\n }));\n };\n\n _proto._selectable = function _selectable() {\n var _this2 = this;\n\n var node = findDOMNode(this);\n var selector = this._selector = new Selection(this.props.container, {\n longPressThreshold: this.props.longPressThreshold\n });\n\n var selectorClicksHandler = function selectorClicksHandler(point, actionType) {\n if (!isEvent(findDOMNode(_this2), point)) {\n var rowBox = getBoundsForNode(node);\n var _this2$props = _this2.props,\n range = _this2$props.range,\n rtl = _this2$props.rtl;\n\n if (pointInBox(rowBox, point)) {\n var currentCell = getSlotAtX(rowBox, point.x, rtl, range.length);\n\n _this2._selectSlot({\n startIdx: currentCell,\n endIdx: currentCell,\n action: actionType,\n box: point\n });\n }\n }\n\n _this2._initial = {};\n\n _this2.setState({\n selecting: false\n });\n };\n\n selector.on('selecting', function (box) {\n var _this2$props2 = _this2.props,\n range = _this2$props2.range,\n rtl = _this2$props2.rtl;\n var startIdx = -1;\n var endIdx = -1;\n\n if (!_this2.state.selecting) {\n notify(_this2.props.onSelectStart, [box]);\n _this2._initial = {\n x: box.x,\n y: box.y\n };\n }\n\n if (selector.isSelected(node)) {\n var nodeBox = getBoundsForNode(node);\n\n var _dateCellSelection = dateCellSelection(_this2._initial, nodeBox, box, range.length, rtl);\n\n startIdx = _dateCellSelection.startIdx;\n endIdx = _dateCellSelection.endIdx;\n }\n\n _this2.setState({\n selecting: true,\n startIdx: startIdx,\n endIdx: endIdx\n });\n });\n selector.on('beforeSelect', function (box) {\n if (_this2.props.selectable !== 'ignoreEvents') return;\n return !isEvent(findDOMNode(_this2), box);\n });\n selector.on('click', function (point) {\n return selectorClicksHandler(point, 'click');\n });\n selector.on('doubleClick', function (point) {\n return selectorClicksHandler(point, 'doubleClick');\n });\n selector.on('select', function (bounds) {\n _this2._selectSlot(_extends({}, _this2.state, {\n action: 'select',\n bounds: bounds\n }));\n\n _this2._initial = {};\n\n _this2.setState({\n selecting: false\n });\n\n notify(_this2.props.onSelectEnd, [_this2.state]);\n });\n };\n\n _proto._teardownSelectable = function _teardownSelectable() {\n if (!this._selector) return;\n\n this._selector.teardown();\n\n this._selector = null;\n };\n\n _proto._selectSlot = function _selectSlot(_ref) {\n var endIdx = _ref.endIdx,\n startIdx = _ref.startIdx,\n action = _ref.action,\n bounds = _ref.bounds,\n box = _ref.box;\n if (endIdx !== -1 && startIdx !== -1) this.props.onSelectSlot && this.props.onSelectSlot({\n start: startIdx,\n end: endIdx,\n action: action,\n bounds: bounds,\n box: box\n });\n };\n\n return BackgroundCells;\n}(React.Component);\n\nBackgroundCells.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date),\n getNow: PropTypes.func.isRequired,\n getters: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n container: PropTypes.func,\n dayPropGetter: PropTypes.func,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onSelectSlot: PropTypes.func.isRequired,\n onSelectEnd: PropTypes.func,\n onSelectStart: PropTypes.func,\n range: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n rtl: PropTypes.bool,\n type: PropTypes.string\n} : {};\n\n/* eslint-disable react/prop-types */\n\nvar EventRowMixin = {\n propTypes: {\n slotMetrics: PropTypes.object.isRequired,\n selected: PropTypes.object,\n isAllDay: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n onSelect: PropTypes.func,\n onDoubleClick: PropTypes.func\n },\n defaultProps: {\n segments: [],\n selected: {}\n },\n renderEvent: function renderEvent(props, event) {\n var selected = props.selected,\n _ = props.isAllDay,\n accessors = props.accessors,\n getters = props.getters,\n onSelect = props.onSelect,\n onDoubleClick = props.onDoubleClick,\n localizer = props.localizer,\n slotMetrics = props.slotMetrics,\n components = props.components;\n var continuesPrior = slotMetrics.continuesPrior(event);\n var continuesAfter = slotMetrics.continuesAfter(event);\n return React.createElement(EventCell, {\n event: event,\n getters: getters,\n localizer: localizer,\n accessors: accessors,\n components: components,\n onSelect: onSelect,\n onDoubleClick: onDoubleClick,\n continuesPrior: continuesPrior,\n continuesAfter: continuesAfter,\n slotStart: slotMetrics.first,\n slotEnd: slotMetrics.last,\n selected: isSelected(event, selected)\n });\n },\n renderSpan: function renderSpan(slots, len, key, content) {\n if (content === void 0) {\n content = ' ';\n }\n\n var per = Math.abs(len) / slots * 100 + '%';\n return React.createElement(\"div\", {\n key: key,\n className: \"rbc-row-segment\" // IE10/11 need max-width. flex-basis doesn't respect box-sizing\n ,\n style: {\n WebkitFlexBasis: per,\n flexBasis: per,\n maxWidth: per\n }\n }, content);\n }\n};\n\nvar EventRow =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(EventRow, _React$Component);\n\n function EventRow() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = EventRow.prototype;\n\n _proto.render = function render() {\n var _this = this;\n\n var _this$props = this.props,\n segments = _this$props.segments,\n slots = _this$props.slotMetrics.slots,\n className = _this$props.className;\n var lastEnd = 1;\n return React.createElement(\"div\", {\n className: clsx(className, 'rbc-row')\n }, segments.reduce(function (row, _ref, li) {\n var event = _ref.event,\n left = _ref.left,\n right = _ref.right,\n span = _ref.span;\n var key = '_lvl_' + li;\n var gap = left - lastEnd;\n var content = EventRowMixin.renderEvent(_this.props, event);\n if (gap) row.push(EventRowMixin.renderSpan(slots, gap, key + \"_gap\"));\n row.push(EventRowMixin.renderSpan(slots, span, key, content));\n lastEnd = right + 1;\n return row;\n }, []));\n };\n\n return EventRow;\n}(React.Component);\n\nEventRow.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({\n segments: PropTypes.array\n}, EventRowMixin.propTypes) : {};\nEventRow.defaultProps = _extends({}, EventRowMixin.defaultProps);\n\nfunction endOfRange(dateRange, unit) {\n if (unit === void 0) {\n unit = 'day';\n }\n\n return {\n first: dateRange[0],\n last: add(dateRange[dateRange.length - 1], 1, unit)\n };\n}\nfunction eventSegments(event, range, accessors) {\n var _endOfRange = endOfRange(range),\n first = _endOfRange.first,\n last = _endOfRange.last;\n\n var slots = diff(first, last, 'day');\n var start = max(startOf(accessors.start(event), 'day'), first);\n var end = min(ceil(accessors.end(event), 'day'), last);\n var padding = findIndex(range, function (x) {\n return eq(x, start, 'day');\n });\n var span = diff(start, end, 'day');\n span = Math.min(span, slots);\n span = Math.max(span, 1);\n return {\n event: event,\n span: span,\n left: padding + 1,\n right: Math.max(padding + span, 1)\n };\n}\nfunction eventLevels(rowSegments, limit) {\n if (limit === void 0) {\n limit = Infinity;\n }\n\n var i,\n j,\n seg,\n levels = [],\n extra = [];\n\n for (i = 0; i < rowSegments.length; i++) {\n seg = rowSegments[i];\n\n for (j = 0; j < levels.length; j++) {\n if (!segsOverlap(seg, levels[j])) break;\n }\n\n if (j >= limit) {\n extra.push(seg);\n } else {\n (levels[j] || (levels[j] = [])).push(seg);\n }\n }\n\n for (i = 0; i < levels.length; i++) {\n levels[i].sort(function (a, b) {\n return a.left - b.left;\n }); //eslint-disable-line\n }\n\n return {\n levels: levels,\n extra: extra\n };\n}\nfunction inRange(e, start, end, accessors) {\n var eStart = startOf(accessors.start(e), 'day');\n var eEnd = accessors.end(e);\n var startsBeforeEnd = lte(eStart, end, 'day'); // when the event is zero duration we need to handle a bit differently\n\n var endsAfterStart = !eq(eStart, eEnd, 'minutes') ? gt(eEnd, start, 'minutes') : gte(eEnd, start, 'minutes');\n return startsBeforeEnd && endsAfterStart;\n}\nfunction segsOverlap(seg, otherSegs) {\n return otherSegs.some(function (otherSeg) {\n return otherSeg.left <= seg.right && otherSeg.right >= seg.left;\n });\n}\nfunction sortEvents(evtA, evtB, accessors) {\n var startSort = +startOf(accessors.start(evtA), 'day') - +startOf(accessors.start(evtB), 'day');\n var durA = diff(accessors.start(evtA), ceil(accessors.end(evtA), 'day'), 'day');\n var durB = diff(accessors.start(evtB), ceil(accessors.end(evtB), 'day'), 'day');\n return startSort || // sort by start Day first\n Math.max(durB, 1) - Math.max(durA, 1) || // events spanning multiple days go first\n !!accessors.allDay(evtB) - !!accessors.allDay(evtA) || // then allDay single day events\n +accessors.start(evtA) - +accessors.start(evtB); // then sort by start time\n}\n\nvar isSegmentInSlot = function isSegmentInSlot(seg, slot) {\n return seg.left <= slot && seg.right >= slot;\n};\n\nvar eventsInSlot = function eventsInSlot(segments, slot) {\n return segments.filter(function (seg) {\n return isSegmentInSlot(seg, slot);\n }).length;\n};\n\nvar EventEndingRow =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(EventEndingRow, _React$Component);\n\n function EventEndingRow() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = EventEndingRow.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n segments = _this$props.segments,\n slots = _this$props.slotMetrics.slots;\n var rowSegments = eventLevels(segments).levels[0];\n var current = 1,\n lastEnd = 1,\n row = [];\n\n while (current <= slots) {\n var key = '_lvl_' + current;\n\n var _ref = rowSegments.filter(function (seg) {\n return isSegmentInSlot(seg, current);\n })[0] || {},\n event = _ref.event,\n left = _ref.left,\n right = _ref.right,\n span = _ref.span; //eslint-disable-line\n\n\n if (!event) {\n current++;\n continue;\n }\n\n var gap = Math.max(0, left - lastEnd);\n\n if (this.canRenderSlotEvent(left, span)) {\n var content = EventRowMixin.renderEvent(this.props, event);\n\n if (gap) {\n row.push(EventRowMixin.renderSpan(slots, gap, key + '_gap'));\n }\n\n row.push(EventRowMixin.renderSpan(slots, span, key, content));\n lastEnd = current = right + 1;\n } else {\n if (gap) {\n row.push(EventRowMixin.renderSpan(slots, gap, key + '_gap'));\n }\n\n row.push(EventRowMixin.renderSpan(slots, 1, key, this.renderShowMore(segments, current)));\n lastEnd = current = current + 1;\n }\n }\n\n return React.createElement(\"div\", {\n className: \"rbc-row\"\n }, row);\n };\n\n _proto.canRenderSlotEvent = function canRenderSlotEvent(slot, span) {\n var segments = this.props.segments;\n return range$1(slot, slot + span).every(function (s) {\n var count = eventsInSlot(segments, s);\n return count === 1;\n });\n };\n\n _proto.renderShowMore = function renderShowMore(segments, slot) {\n var _this = this;\n\n var localizer = this.props.localizer;\n var count = eventsInSlot(segments, slot);\n return count ? React.createElement(\"a\", {\n key: 'sm_' + slot,\n href: \"#\",\n className: 'rbc-show-more',\n onClick: function onClick(e) {\n return _this.showMore(slot, e);\n }\n }, localizer.messages.showMore(count)) : false;\n };\n\n _proto.showMore = function showMore(slot, e) {\n e.preventDefault();\n this.props.onShowMore(slot, e.target);\n };\n\n return EventEndingRow;\n}(React.Component);\n\nEventEndingRow.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({\n segments: PropTypes.array,\n slots: PropTypes.number,\n onShowMore: PropTypes.func\n}, EventRowMixin.propTypes) : {};\nEventEndingRow.defaultProps = _extends({}, EventRowMixin.defaultProps);\n\nvar isSegmentInSlot$1 = function isSegmentInSlot(seg, slot) {\n return seg.left <= slot && seg.right >= slot;\n};\n\nvar isEqual = function isEqual(a, b) {\n return a[0].range === b[0].range && a[0].events === b[0].events;\n};\n\nfunction getSlotMetrics() {\n return memoize(function (options) {\n var range = options.range,\n events = options.events,\n maxRows = options.maxRows,\n minRows = options.minRows,\n accessors = options.accessors;\n\n var _endOfRange = endOfRange(range),\n first = _endOfRange.first,\n last = _endOfRange.last;\n\n var segments = events.map(function (evt) {\n return eventSegments(evt, range, accessors);\n });\n\n var _eventLevels = eventLevels(segments, Math.max(maxRows - 1, 1)),\n levels = _eventLevels.levels,\n extra = _eventLevels.extra;\n\n while (levels.length < minRows) {\n levels.push([]);\n }\n\n return {\n first: first,\n last: last,\n levels: levels,\n extra: extra,\n range: range,\n slots: range.length,\n clone: function clone(args) {\n var metrics = getSlotMetrics();\n return metrics(_extends({}, options, args));\n },\n getDateForSlot: function getDateForSlot(slotNumber) {\n return range[slotNumber];\n },\n getSlotForDate: function getSlotForDate(date) {\n return range.find(function (r) {\n return eq(r, date, 'day');\n });\n },\n getEventsForSlot: function getEventsForSlot(slot) {\n return segments.filter(function (seg) {\n return isSegmentInSlot$1(seg, slot);\n }).map(function (seg) {\n return seg.event;\n });\n },\n continuesPrior: function continuesPrior(event) {\n return lt(accessors.start(event), first, 'day');\n },\n continuesAfter: function continuesAfter(event) {\n var eventEnd = accessors.end(event);\n var singleDayDuration = eq(accessors.start(event), eventEnd, 'minutes');\n return singleDayDuration ? gte(eventEnd, last, 'minutes') : gt(eventEnd, last, 'minutes');\n }\n };\n }, isEqual);\n}\n\nvar DateContentRow =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DateContentRow, _React$Component);\n\n function DateContentRow() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.handleSelectSlot = function (slot) {\n var _this$props = _this.props,\n range = _this$props.range,\n onSelectSlot = _this$props.onSelectSlot;\n onSelectSlot(range.slice(slot.start, slot.end + 1), slot);\n };\n\n _this.handleShowMore = function (slot, target) {\n var _this$props2 = _this.props,\n range = _this$props2.range,\n onShowMore = _this$props2.onShowMore;\n\n var metrics = _this.slotMetrics(_this.props);\n\n var row = qsa(findDOMNode(_assertThisInitialized(_this)), '.rbc-row-bg')[0];\n var cell;\n if (row) cell = row.children[slot - 1];\n var events = metrics.getEventsForSlot(slot);\n onShowMore(events, range[slot - 1], cell, slot, target);\n };\n\n _this.createHeadingRef = function (r) {\n _this.headingRow = r;\n };\n\n _this.createEventRef = function (r) {\n _this.eventRow = r;\n };\n\n _this.getContainer = function () {\n var container = _this.props.container;\n return container ? container() : findDOMNode(_assertThisInitialized(_this));\n };\n\n _this.renderHeadingCell = function (date, index) {\n var _this$props3 = _this.props,\n renderHeader = _this$props3.renderHeader,\n getNow = _this$props3.getNow;\n return renderHeader({\n date: date,\n key: \"header_\" + index,\n className: clsx('rbc-date-cell', eq(date, getNow(), 'day') && 'rbc-now')\n });\n };\n\n _this.renderDummy = function () {\n var _this$props4 = _this.props,\n className = _this$props4.className,\n range = _this$props4.range,\n renderHeader = _this$props4.renderHeader;\n return React.createElement(\"div\", {\n className: className\n }, React.createElement(\"div\", {\n className: \"rbc-row-content\"\n }, renderHeader && React.createElement(\"div\", {\n className: \"rbc-row\",\n ref: _this.createHeadingRef\n }, range.map(_this.renderHeadingCell)), React.createElement(\"div\", {\n className: \"rbc-row\",\n ref: _this.createEventRef\n }, React.createElement(\"div\", {\n className: \"rbc-row-segment\"\n }, React.createElement(\"div\", {\n className: \"rbc-event\"\n }, React.createElement(\"div\", {\n className: \"rbc-event-content\"\n }, \"\\xA0\"))))));\n };\n\n _this.slotMetrics = getSlotMetrics();\n return _this;\n }\n\n var _proto = DateContentRow.prototype;\n\n _proto.getRowLimit = function getRowLimit() {\n var eventHeight = getHeight(this.eventRow);\n var headingHeight = this.headingRow ? getHeight(this.headingRow) : 0;\n var eventSpace = getHeight(findDOMNode(this)) - headingHeight;\n return Math.max(Math.floor(eventSpace / eventHeight), 1);\n };\n\n _proto.render = function render() {\n var _this$props5 = this.props,\n date = _this$props5.date,\n rtl = _this$props5.rtl,\n range = _this$props5.range,\n className = _this$props5.className,\n selected = _this$props5.selected,\n selectable = _this$props5.selectable,\n renderForMeasure = _this$props5.renderForMeasure,\n accessors = _this$props5.accessors,\n getters = _this$props5.getters,\n components = _this$props5.components,\n getNow = _this$props5.getNow,\n renderHeader = _this$props5.renderHeader,\n onSelect = _this$props5.onSelect,\n localizer = _this$props5.localizer,\n onSelectStart = _this$props5.onSelectStart,\n onSelectEnd = _this$props5.onSelectEnd,\n onDoubleClick = _this$props5.onDoubleClick,\n resourceId = _this$props5.resourceId,\n longPressThreshold = _this$props5.longPressThreshold,\n isAllDay = _this$props5.isAllDay;\n if (renderForMeasure) return this.renderDummy();\n var metrics = this.slotMetrics(this.props);\n var levels = metrics.levels,\n extra = metrics.extra;\n var WeekWrapper = components.weekWrapper;\n var eventRowProps = {\n selected: selected,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n components: components,\n onSelect: onSelect,\n onDoubleClick: onDoubleClick,\n resourceId: resourceId,\n slotMetrics: metrics\n };\n return React.createElement(\"div\", {\n className: className\n }, React.createElement(BackgroundCells, {\n date: date,\n getNow: getNow,\n rtl: rtl,\n range: range,\n selectable: selectable,\n container: this.getContainer,\n getters: getters,\n onSelectStart: onSelectStart,\n onSelectEnd: onSelectEnd,\n onSelectSlot: this.handleSelectSlot,\n components: components,\n longPressThreshold: longPressThreshold\n }), React.createElement(\"div\", {\n className: \"rbc-row-content\"\n }, renderHeader && React.createElement(\"div\", {\n className: \"rbc-row \",\n ref: this.createHeadingRef\n }, range.map(this.renderHeadingCell)), React.createElement(WeekWrapper, _extends({\n isAllDay: isAllDay\n }, eventRowProps), levels.map(function (segs, idx) {\n return React.createElement(EventRow, _extends({\n key: idx,\n segments: segs\n }, eventRowProps));\n }), !!extra.length && React.createElement(EventEndingRow, _extends({\n segments: extra,\n onShowMore: this.handleShowMore\n }, eventRowProps)))));\n };\n\n return DateContentRow;\n}(React.Component);\n\nDateContentRow.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date),\n events: PropTypes.array.isRequired,\n range: PropTypes.array.isRequired,\n rtl: PropTypes.bool,\n resourceId: PropTypes.any,\n renderForMeasure: PropTypes.bool,\n renderHeader: PropTypes.func,\n container: PropTypes.func,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onShowMore: PropTypes.func,\n onSelectSlot: PropTypes.func,\n onSelect: PropTypes.func,\n onSelectEnd: PropTypes.func,\n onSelectStart: PropTypes.func,\n onDoubleClick: PropTypes.func,\n dayPropGetter: PropTypes.func,\n getNow: PropTypes.func.isRequired,\n isAllDay: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n minRows: PropTypes.number.isRequired,\n maxRows: PropTypes.number.isRequired\n} : {};\nDateContentRow.defaultProps = {\n minRows: 0,\n maxRows: Infinity\n};\n\nvar Header = function Header(_ref) {\n var label = _ref.label;\n return React.createElement(\"span\", null, label);\n};\n\nHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: PropTypes.node\n} : {};\n\nvar DateHeader = function DateHeader(_ref) {\n var label = _ref.label,\n drilldownView = _ref.drilldownView,\n onDrillDown = _ref.onDrillDown;\n\n if (!drilldownView) {\n return React.createElement(\"span\", null, label);\n }\n\n return React.createElement(\"a\", {\n href: \"#\",\n onClick: onDrillDown\n }, label);\n};\n\nDateHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: PropTypes.node,\n date: PropTypes.instanceOf(Date),\n drilldownView: PropTypes.string,\n onDrillDown: PropTypes.func,\n isOffRange: PropTypes.bool\n} : {};\n\nvar eventsForWeek = function eventsForWeek(evts, start, end, accessors) {\n return evts.filter(function (e) {\n return inRange(e, start, end, accessors);\n });\n};\n\nvar MonthView =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(MonthView, _React$Component);\n\n function MonthView() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.getContainer = function () {\n return findDOMNode(_assertThisInitialized(_this));\n };\n\n _this.renderWeek = function (week, weekIdx) {\n var _this$props = _this.props,\n events = _this$props.events,\n components = _this$props.components,\n selectable = _this$props.selectable,\n getNow = _this$props.getNow,\n selected = _this$props.selected,\n date = _this$props.date,\n localizer = _this$props.localizer,\n longPressThreshold = _this$props.longPressThreshold,\n accessors = _this$props.accessors,\n getters = _this$props.getters;\n var _this$state = _this.state,\n needLimitMeasure = _this$state.needLimitMeasure,\n rowLimit = _this$state.rowLimit;\n events = eventsForWeek(events, week[0], week[week.length - 1], accessors);\n events.sort(function (a, b) {\n return sortEvents(a, b, accessors);\n });\n return React.createElement(DateContentRow, {\n key: weekIdx,\n ref: weekIdx === 0 ? _this.slotRowRef : undefined,\n container: _this.getContainer,\n className: \"rbc-month-row\",\n getNow: getNow,\n date: date,\n range: week,\n events: events,\n maxRows: rowLimit,\n selected: selected,\n selectable: selectable,\n components: components,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n renderHeader: _this.readerDateHeading,\n renderForMeasure: needLimitMeasure,\n onShowMore: _this.handleShowMore,\n onSelect: _this.handleSelectEvent,\n onDoubleClick: _this.handleDoubleClickEvent,\n onSelectSlot: _this.handleSelectSlot,\n longPressThreshold: longPressThreshold,\n rtl: _this.props.rtl\n });\n };\n\n _this.readerDateHeading = function (_ref) {\n var date = _ref.date,\n className = _ref.className,\n props = _objectWithoutPropertiesLoose(_ref, [\"date\", \"className\"]);\n\n var _this$props2 = _this.props,\n currentDate = _this$props2.date,\n getDrilldownView = _this$props2.getDrilldownView,\n localizer = _this$props2.localizer;\n var isOffRange = month(date) !== month(currentDate);\n var isCurrent = eq(date, currentDate, 'day');\n var drilldownView = getDrilldownView(date);\n var label = localizer.format(date, 'dateFormat');\n var DateHeaderComponent = _this.props.components.dateHeader || DateHeader;\n return React.createElement(\"div\", _extends({}, props, {\n className: clsx(className, isOffRange && 'rbc-off-range', isCurrent && 'rbc-current')\n }), React.createElement(DateHeaderComponent, {\n label: label,\n date: date,\n drilldownView: drilldownView,\n isOffRange: isOffRange,\n onDrillDown: function onDrillDown(e) {\n return _this.handleHeadingClick(date, drilldownView, e);\n }\n }));\n };\n\n _this.handleSelectSlot = function (range, slotInfo) {\n _this._pendingSelection = _this._pendingSelection.concat(range);\n clearTimeout(_this._selectTimer);\n _this._selectTimer = setTimeout(function () {\n return _this.selectDates(slotInfo);\n });\n };\n\n _this.handleHeadingClick = function (date, view, e) {\n e.preventDefault();\n\n _this.clearSelection();\n\n notify(_this.props.onDrillDown, [date, view]);\n };\n\n _this.handleSelectEvent = function () {\n _this.clearSelection();\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this.handleDoubleClickEvent = function () {\n _this.clearSelection();\n\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n notify(_this.props.onDoubleClickEvent, args);\n };\n\n _this.handleShowMore = function (events, date, cell, slot, target) {\n var _this$props3 = _this.props,\n popup = _this$props3.popup,\n onDrillDown = _this$props3.onDrillDown,\n onShowMore = _this$props3.onShowMore,\n getDrilldownView = _this$props3.getDrilldownView; //cancel any pending selections so only the event click goes through.\n\n _this.clearSelection();\n\n if (popup) {\n var position = getPosition(cell, findDOMNode(_assertThisInitialized(_this)));\n\n _this.setState({\n overlay: {\n date: date,\n events: events,\n position: position,\n target: target\n }\n });\n } else {\n notify(onDrillDown, [date, getDrilldownView(date) || views.DAY]);\n }\n\n notify(onShowMore, [events, date, slot]);\n };\n\n _this._bgRows = [];\n _this._pendingSelection = [];\n _this.slotRowRef = React.createRef();\n _this.state = {\n rowLimit: 5,\n needLimitMeasure: true\n };\n return _this;\n }\n\n var _proto = MonthView.prototype;\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(_ref2) {\n var date = _ref2.date;\n this.setState({\n needLimitMeasure: !eq(date, this.props.date, 'month')\n });\n };\n\n _proto.componentDidMount = function componentDidMount() {\n var _this2 = this;\n\n var running;\n if (this.state.needLimitMeasure) this.measureRowLimit(this.props);\n window.addEventListener('resize', this._resizeListener = function () {\n if (!running) {\n request(function () {\n running = false;\n\n _this2.setState({\n needLimitMeasure: true\n }); //eslint-disable-line\n\n });\n }\n }, false);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n if (this.state.needLimitMeasure) this.measureRowLimit(this.props);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener('resize', this._resizeListener, false);\n };\n\n _proto.render = function render() {\n var _this$props4 = this.props,\n date = _this$props4.date,\n localizer = _this$props4.localizer,\n className = _this$props4.className,\n month = visibleDays(date, localizer),\n weeks = chunk(month, 7);\n this._weekCount = weeks.length;\n return React.createElement(\"div\", {\n className: clsx('rbc-month-view', className)\n }, React.createElement(\"div\", {\n className: \"rbc-row rbc-month-header\"\n }, this.renderHeaders(weeks[0])), weeks.map(this.renderWeek), this.props.popup && this.renderOverlay());\n };\n\n _proto.renderHeaders = function renderHeaders(row) {\n var _this$props5 = this.props,\n localizer = _this$props5.localizer,\n components = _this$props5.components;\n var first = row[0];\n var last = row[row.length - 1];\n var HeaderComponent = components.header || Header;\n return range(first, last, 'day').map(function (day, idx) {\n return React.createElement(\"div\", {\n key: 'header_' + idx,\n className: \"rbc-header\"\n }, React.createElement(HeaderComponent, {\n date: day,\n localizer: localizer,\n label: localizer.format(day, 'weekdayFormat')\n }));\n });\n };\n\n _proto.renderOverlay = function renderOverlay() {\n var _this3 = this;\n\n var overlay = this.state && this.state.overlay || {};\n var _this$props6 = this.props,\n accessors = _this$props6.accessors,\n localizer = _this$props6.localizer,\n components = _this$props6.components,\n getters = _this$props6.getters,\n selected = _this$props6.selected,\n popupOffset = _this$props6.popupOffset;\n return React.createElement(Overlay, {\n rootClose: true,\n placement: \"bottom\",\n show: !!overlay.position,\n onHide: function onHide() {\n return _this3.setState({\n overlay: null\n });\n },\n target: function target() {\n return overlay.target;\n }\n }, function (_ref3) {\n var props = _ref3.props;\n return React.createElement(Popup$1, _extends({}, props, {\n popupOffset: popupOffset,\n accessors: accessors,\n getters: getters,\n selected: selected,\n components: components,\n localizer: localizer,\n position: overlay.position,\n events: overlay.events,\n slotStart: overlay.date,\n slotEnd: overlay.end,\n onSelect: _this3.handleSelectEvent,\n onDoubleClick: _this3.handleDoubleClickEvent\n }));\n });\n };\n\n _proto.measureRowLimit = function measureRowLimit() {\n this.setState({\n needLimitMeasure: false,\n rowLimit: this.slotRowRef.current.getRowLimit()\n });\n };\n\n _proto.selectDates = function selectDates(slotInfo) {\n var slots = this._pendingSelection.slice();\n\n this._pendingSelection = [];\n slots.sort(function (a, b) {\n return +a - +b;\n });\n notify(this.props.onSelectSlot, {\n slots: slots,\n start: slots[0],\n end: slots[slots.length - 1],\n action: slotInfo.action,\n bounds: slotInfo.bounds,\n box: slotInfo.box\n });\n };\n\n _proto.clearSelection = function clearSelection() {\n clearTimeout(this._selectTimer);\n this._pendingSelection = [];\n };\n\n return MonthView;\n}(React.Component);\n\nMonthView.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array.isRequired,\n date: PropTypes.instanceOf(Date),\n min: PropTypes.instanceOf(Date),\n max: PropTypes.instanceOf(Date),\n step: PropTypes.number,\n getNow: PropTypes.func.isRequired,\n scrollToTime: PropTypes.instanceOf(Date),\n rtl: PropTypes.bool,\n width: PropTypes.number,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onNavigate: PropTypes.func,\n onSelectSlot: PropTypes.func,\n onSelectEvent: PropTypes.func,\n onDoubleClickEvent: PropTypes.func,\n onShowMore: PropTypes.func,\n onDrillDown: PropTypes.func,\n getDrilldownView: PropTypes.func.isRequired,\n popup: PropTypes.bool,\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number\n })])\n} : {};\n\nMonthView.range = function (date, _ref4) {\n var localizer = _ref4.localizer;\n var start = firstVisibleDay(date, localizer);\n var end = lastVisibleDay(date, localizer);\n return {\n start: start,\n end: end\n };\n};\n\nMonthView.navigate = function (date, action) {\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -1, 'month');\n\n case navigate.NEXT:\n return add(date, 1, 'month');\n\n default:\n return date;\n }\n};\n\nMonthView.title = function (date, _ref5) {\n var localizer = _ref5.localizer;\n return localizer.format(date, 'monthHeaderFormat');\n};\n\nvar getDstOffset = function getDstOffset(start, end) {\n return start.getTimezoneOffset() - end.getTimezoneOffset();\n};\n\nvar getKey = function getKey(min, max, step, slots) {\n return \"\" + +startOf(min, 'minutes') + (\"\" + +startOf(max, 'minutes')) + (step + \"-\" + slots);\n};\n\nfunction getSlotMetrics$1(_ref) {\n var start = _ref.min,\n end = _ref.max,\n step = _ref.step,\n timeslots = _ref.timeslots;\n var key = getKey(start, end, step, timeslots); // if the start is on a DST-changing day but *after* the moment of DST\n // transition we need to add those extra minutes to our minutesFromMidnight\n\n var daystart = startOf(start, 'day');\n var daystartdstoffset = getDstOffset(daystart, start);\n var totalMin = 1 + diff(start, end, 'minutes') + getDstOffset(start, end);\n var minutesFromMidnight = diff(daystart, start, 'minutes') + daystartdstoffset;\n var numGroups = Math.ceil(totalMin / (step * timeslots));\n var numSlots = numGroups * timeslots;\n var groups = new Array(numGroups);\n var slots = new Array(numSlots); // Each slot date is created from \"zero\", instead of adding `step` to\n // the previous one, in order to avoid DST oddities\n\n for (var grp = 0; grp < numGroups; grp++) {\n groups[grp] = new Array(timeslots);\n\n for (var slot = 0; slot < timeslots; slot++) {\n var slotIdx = grp * timeslots + slot;\n var minFromStart = slotIdx * step; // A date with total minutes calculated from the start of the day\n\n slots[slotIdx] = groups[grp][slot] = new Date(start.getFullYear(), start.getMonth(), start.getDate(), 0, minutesFromMidnight + minFromStart, 0, 0);\n }\n } // Necessary to be able to select up until the last timeslot in a day\n\n\n var lastSlotMinFromStart = slots.length * step;\n slots.push(new Date(start.getFullYear(), start.getMonth(), start.getDate(), 0, minutesFromMidnight + lastSlotMinFromStart, 0, 0));\n\n function positionFromDate(date) {\n var diff$1 = diff(start, date, 'minutes') + getDstOffset(start, date);\n return Math.min(diff$1, totalMin);\n }\n\n return {\n groups: groups,\n update: function update(args) {\n if (getKey(args) !== key) return getSlotMetrics$1(args);\n return this;\n },\n dateIsInGroup: function dateIsInGroup(date, groupIndex) {\n var nextGroup = groups[groupIndex + 1];\n return inRange$1(date, groups[groupIndex][0], nextGroup ? nextGroup[0] : end, 'minutes');\n },\n nextSlot: function nextSlot(slot) {\n var next = slots[Math.min(slots.indexOf(slot) + 1, slots.length - 1)]; // in the case of the last slot we won't a long enough range so manually get it\n\n if (next === slot) next = add(slot, step, 'minutes');\n return next;\n },\n closestSlotToPosition: function closestSlotToPosition(percent) {\n var slot = Math.min(slots.length - 1, Math.max(0, Math.floor(percent * numSlots)));\n return slots[slot];\n },\n closestSlotFromPoint: function closestSlotFromPoint(point, boundaryRect) {\n var range = Math.abs(boundaryRect.top - boundaryRect.bottom);\n return this.closestSlotToPosition((point.y - boundaryRect.top) / range);\n },\n closestSlotFromDate: function closestSlotFromDate(date, offset) {\n if (offset === void 0) {\n offset = 0;\n }\n\n if (lt(date, start, 'minutes')) return slots[0];\n var diffMins = diff(start, date, 'minutes');\n return slots[(diffMins - diffMins % step) / step + offset];\n },\n startsBeforeDay: function startsBeforeDay(date) {\n return lt(date, start, 'day');\n },\n startsAfterDay: function startsAfterDay(date) {\n return gt(date, end, 'day');\n },\n startsBefore: function startsBefore(date) {\n return lt(merge(start, date), start, 'minutes');\n },\n startsAfter: function startsAfter(date) {\n return gt(merge(end, date), end, 'minutes');\n },\n getRange: function getRange(rangeStart, rangeEnd, ignoreMin, ignoreMax) {\n if (!ignoreMin) rangeStart = min(end, max(start, rangeStart));\n if (!ignoreMax) rangeEnd = min(end, max(start, rangeEnd));\n var rangeStartMin = positionFromDate(rangeStart);\n var rangeEndMin = positionFromDate(rangeEnd);\n var top = rangeEndMin > step * (numSlots - 1) && !eq(end, rangeEnd) ? (rangeStartMin - step) / (step * numSlots) * 100 : rangeStartMin / (step * numSlots) * 100;\n return {\n top: top,\n height: rangeEndMin / (step * numSlots) * 100 - top,\n start: positionFromDate(rangeStart),\n startDate: rangeStart,\n end: positionFromDate(rangeEnd),\n endDate: rangeEnd\n };\n },\n getCurrentTimePosition: function getCurrentTimePosition(rangeStart) {\n var rangeStartMin = positionFromDate(rangeStart);\n var top = rangeStartMin / (step * numSlots) * 100;\n return top;\n }\n };\n}\n\nvar Event =\n/*#__PURE__*/\nfunction () {\n function Event(data, _ref) {\n var accessors = _ref.accessors,\n slotMetrics = _ref.slotMetrics;\n\n var _slotMetrics$getRange = slotMetrics.getRange(accessors.start(data), accessors.end(data)),\n start = _slotMetrics$getRange.start,\n startDate = _slotMetrics$getRange.startDate,\n end = _slotMetrics$getRange.end,\n endDate = _slotMetrics$getRange.endDate,\n top = _slotMetrics$getRange.top,\n height = _slotMetrics$getRange.height;\n\n this.start = start;\n this.end = end;\n this.startMs = +startDate;\n this.endMs = +endDate;\n this.top = top;\n this.height = height;\n this.data = data;\n }\n /**\n * The event's width without any overlap.\n */\n\n\n _createClass(Event, [{\n key: \"_width\",\n get: function get() {\n // The container event's width is determined by the maximum number of\n // events in any of its rows.\n if (this.rows) {\n var columns = this.rows.reduce(function (max, row) {\n return Math.max(max, row.leaves.length + 1);\n }, // add itself\n 0) + 1; // add the container\n\n return 100 / columns;\n }\n\n var availableWidth = 100 - this.container._width; // The row event's width is the space left by the container, divided\n // among itself and its leaves.\n\n if (this.leaves) {\n return availableWidth / (this.leaves.length + 1);\n } // The leaf event's width is determined by its row's width\n\n\n return this.row._width;\n }\n /**\n * The event's calculated width, possibly with extra width added for\n * overlapping effect.\n */\n\n }, {\n key: \"width\",\n get: function get() {\n var noOverlap = this._width;\n var overlap = Math.min(100, this._width * 1.7); // Containers can always grow.\n\n if (this.rows) {\n return overlap;\n } // Rows can grow if they have leaves.\n\n\n if (this.leaves) {\n return this.leaves.length > 0 ? overlap : noOverlap;\n } // Leaves can grow unless they're the last item in a row.\n\n\n var leaves = this.row.leaves;\n var index = leaves.indexOf(this);\n return index === leaves.length - 1 ? noOverlap : overlap;\n }\n }, {\n key: \"xOffset\",\n get: function get() {\n // Containers have no offset.\n if (this.rows) return 0; // Rows always start where their container ends.\n\n if (this.leaves) return this.container._width; // Leaves are spread out evenly on the space left by its row.\n\n var _this$row = this.row,\n leaves = _this$row.leaves,\n xOffset = _this$row.xOffset,\n _width = _this$row._width;\n var index = leaves.indexOf(this) + 1;\n return xOffset + index * _width;\n }\n }]);\n\n return Event;\n}();\n/**\n * Return true if event a and b is considered to be on the same row.\n */\n\n\nfunction onSameRow(a, b, minimumStartDifference) {\n return (// Occupies the same start slot.\n Math.abs(b.start - a.start) < minimumStartDifference || // A's start slot overlaps with b's end slot.\n b.start > a.start && b.start < a.end\n );\n}\n\nfunction sortByRender(events) {\n var sortedByTime = sortBy(events, ['startMs', function (e) {\n return -e.endMs;\n }]);\n var sorted = [];\n\n while (sortedByTime.length > 0) {\n var event = sortedByTime.shift();\n sorted.push(event);\n\n for (var i = 0; i < sortedByTime.length; i++) {\n var test = sortedByTime[i]; // Still inside this event, look for next.\n\n if (event.endMs > test.startMs) continue; // We've found the first event of the next event group.\n // If that event is not right next to our current event, we have to\n // move it here.\n\n if (i > 0) {\n var _event = sortedByTime.splice(i, 1)[0];\n sorted.push(_event);\n } // We've already found the next event group, so stop looking.\n\n\n break;\n }\n }\n\n return sorted;\n}\n\nfunction getStyledEvents(_ref2) {\n var events = _ref2.events,\n minimumStartDifference = _ref2.minimumStartDifference,\n slotMetrics = _ref2.slotMetrics,\n accessors = _ref2.accessors;\n // Create proxy events and order them so that we don't have\n // to fiddle with z-indexes.\n var proxies = events.map(function (event) {\n return new Event(event, {\n slotMetrics: slotMetrics,\n accessors: accessors\n });\n });\n var eventsInRenderOrder = sortByRender(proxies); // Group overlapping events, while keeping order.\n // Every event is always one of: container, row or leaf.\n // Containers can contain rows, and rows can contain leaves.\n\n var containerEvents = [];\n\n var _loop = function _loop(i) {\n var event = eventsInRenderOrder[i]; // Check if this event can go into a container event.\n\n var container = containerEvents.find(function (c) {\n return c.end > event.start || Math.abs(event.start - c.start) < minimumStartDifference;\n }); // Couldn't find a container — that means this event is a container.\n\n if (!container) {\n event.rows = [];\n containerEvents.push(event);\n return \"continue\";\n } // Found a container for the event.\n\n\n event.container = container; // Check if the event can be placed in an existing row.\n // Start looking from behind.\n\n var row = null;\n\n for (var j = container.rows.length - 1; !row && j >= 0; j--) {\n if (onSameRow(container.rows[j], event, minimumStartDifference)) {\n row = container.rows[j];\n }\n }\n\n if (row) {\n // Found a row, so add it.\n row.leaves.push(event);\n event.row = row;\n } else {\n // Couldn't find a row – that means this event is a row.\n event.leaves = [];\n container.rows.push(event);\n }\n };\n\n for (var i = 0; i < eventsInRenderOrder.length; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n } // Return the original events, along with their styles.\n\n\n return eventsInRenderOrder.map(function (event) {\n return {\n event: event.data,\n style: {\n top: event.top,\n height: event.height,\n width: event.width,\n xOffset: Math.max(0, event.xOffset)\n }\n };\n });\n}\n\nfunction getMaxIdxDFS(node, maxIdx, visited) {\n for (var i = 0; i < node.friends.length; ++i) {\n if (visited.indexOf(node.friends[i]) > -1) continue;\n maxIdx = maxIdx > node.friends[i].idx ? maxIdx : node.friends[i].idx; // TODO : trace it by not object but kinda index or something for performance\n\n visited.push(node.friends[i]);\n var newIdx = getMaxIdxDFS(node.friends[i], maxIdx, visited);\n maxIdx = maxIdx > newIdx ? maxIdx : newIdx;\n }\n\n return maxIdx;\n}\n\nfunction noOverlap (_ref) {\n var events = _ref.events,\n minimumStartDifference = _ref.minimumStartDifference,\n slotMetrics = _ref.slotMetrics,\n accessors = _ref.accessors;\n var styledEvents = getStyledEvents({\n events: events,\n minimumStartDifference: minimumStartDifference,\n slotMetrics: slotMetrics,\n accessors: accessors\n });\n styledEvents.sort(function (a, b) {\n a = a.style;\n b = b.style;\n if (a.top !== b.top) return a.top > b.top ? 1 : -1;else return a.top + a.height < b.top + b.height ? 1 : -1;\n });\n\n for (var i = 0; i < styledEvents.length; ++i) {\n styledEvents[i].friends = [];\n delete styledEvents[i].style.left;\n delete styledEvents[i].style.left;\n delete styledEvents[i].idx;\n delete styledEvents[i].size;\n }\n\n for (var _i = 0; _i < styledEvents.length - 1; ++_i) {\n var se1 = styledEvents[_i];\n var y1 = se1.style.top;\n var y2 = se1.style.top + se1.style.height;\n\n for (var j = _i + 1; j < styledEvents.length; ++j) {\n var se2 = styledEvents[j];\n var y3 = se2.style.top;\n var y4 = se2.style.top + se2.style.height; // be friends when overlapped\n\n if (y3 <= y1 && y1 < y4 || y1 <= y3 && y3 < y2) {\n // TODO : hashmap would be effective for performance\n se1.friends.push(se2);\n se2.friends.push(se1);\n }\n }\n }\n\n for (var _i2 = 0; _i2 < styledEvents.length; ++_i2) {\n var se = styledEvents[_i2];\n var bitmap = [];\n\n for (var _j = 0; _j < 100; ++_j) {\n bitmap.push(1);\n } // 1 means available\n\n\n for (var _j2 = 0; _j2 < se.friends.length; ++_j2) {\n if (se.friends[_j2].idx !== undefined) bitmap[se.friends[_j2].idx] = 0;\n } // 0 means reserved\n\n\n se.idx = bitmap.indexOf(1);\n }\n\n for (var _i3 = 0; _i3 < styledEvents.length; ++_i3) {\n var size = 0;\n if (styledEvents[_i3].size) continue;\n var allFriends = [];\n var maxIdx = getMaxIdxDFS(styledEvents[_i3], 0, allFriends);\n size = 100 / (maxIdx + 1);\n styledEvents[_i3].size = size;\n\n for (var _j3 = 0; _j3 < allFriends.length; ++_j3) {\n allFriends[_j3].size = size;\n }\n }\n\n for (var _i4 = 0; _i4 < styledEvents.length; ++_i4) {\n var e = styledEvents[_i4];\n e.style.left = e.idx * e.size; // stretch to maximum\n\n var _maxIdx = 0;\n\n for (var _j4 = 0; _j4 < e.friends.length; ++_j4) {\n var idx = e.friends[_j4];\n _maxIdx = _maxIdx > idx ? _maxIdx : idx;\n }\n\n if (_maxIdx <= e.idx) e.size = 100 - e.idx * e.size; // padding between events\n // for this feature, `width` is not percentage based unit anymore\n // it will be used with calc()\n\n var padding = e.idx === 0 ? 0 : 3;\n e.style.width = \"calc(\" + e.size + \"% - \" + padding + \"px)\";\n e.style.height = \"calc(\" + e.style.height + \"% - 2px)\";\n e.style.xOffset = \"calc(\" + e.style.left + \"% + \" + padding + \"px)\";\n }\n\n return styledEvents;\n}\n\n/*eslint no-unused-vars: \"off\"*/\nvar DefaultAlgorithms = {\n overlap: getStyledEvents,\n 'no-overlap': noOverlap\n};\n\nfunction isFunction(a) {\n return !!(a && a.constructor && a.call && a.apply);\n} //\n\n\nfunction getStyledEvents$1(_ref) {\n var events = _ref.events,\n minimumStartDifference = _ref.minimumStartDifference,\n slotMetrics = _ref.slotMetrics,\n accessors = _ref.accessors,\n dayLayoutAlgorithm = _ref.dayLayoutAlgorithm;\n var algorithm = null;\n if (dayLayoutAlgorithm in DefaultAlgorithms) algorithm = DefaultAlgorithms[dayLayoutAlgorithm];\n\n if (!isFunction(algorithm)) {\n // invalid algorithm\n return [];\n }\n\n return algorithm.apply(this, arguments);\n}\n\nvar TimeSlotGroup =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TimeSlotGroup, _Component);\n\n function TimeSlotGroup() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = TimeSlotGroup.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n renderSlot = _this$props.renderSlot,\n resource = _this$props.resource,\n group = _this$props.group,\n getters = _this$props.getters,\n _this$props$component = _this$props.components;\n _this$props$component = _this$props$component === void 0 ? {} : _this$props$component;\n var _this$props$component2 = _this$props$component.timeSlotWrapper,\n Wrapper = _this$props$component2 === void 0 ? NoopWrapper : _this$props$component2;\n var groupProps = getters ? getters.slotGroupProp() : {};\n return React.createElement(\"div\", _extends({\n className: \"rbc-timeslot-group\"\n }, groupProps), group.map(function (value, idx) {\n var slotProps = getters ? getters.slotProp(value, resource) : {};\n return React.createElement(Wrapper, {\n key: idx,\n value: value,\n resource: resource\n }, React.createElement(\"div\", _extends({}, slotProps, {\n className: clsx('rbc-time-slot', slotProps.className)\n }), renderSlot && renderSlot(value, idx)));\n }));\n };\n\n return TimeSlotGroup;\n}(Component);\nTimeSlotGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n renderSlot: PropTypes.func,\n group: PropTypes.array.isRequired,\n resource: PropTypes.any,\n components: PropTypes.object,\n getters: PropTypes.object\n} : {};\n\nfunction stringifyPercent(v) {\n return typeof v === 'string' ? v : v + '%';\n}\n/* eslint-disable react/prop-types */\n\n\nfunction TimeGridEvent(props) {\n var _extends2;\n\n var style = props.style,\n className = props.className,\n event = props.event,\n accessors = props.accessors,\n rtl = props.rtl,\n selected = props.selected,\n label = props.label,\n continuesEarlier = props.continuesEarlier,\n continuesLater = props.continuesLater,\n getters = props.getters,\n onClick = props.onClick,\n onDoubleClick = props.onDoubleClick,\n _props$components = props.components,\n Event = _props$components.event,\n EventWrapper = _props$components.eventWrapper;\n var title = accessors.title(event);\n var tooltip = accessors.tooltip(event);\n var end = accessors.end(event);\n var start = accessors.start(event);\n var userProps = getters.eventProp(event, start, end, selected);\n var height = style.height,\n top = style.top,\n width = style.width,\n xOffset = style.xOffset;\n var inner = [React.createElement(\"div\", {\n key: \"1\",\n className: \"rbc-event-label\"\n }, label), React.createElement(\"div\", {\n key: \"2\",\n className: \"rbc-event-content\"\n }, Event ? React.createElement(Event, {\n event: event,\n title: title\n }) : title)];\n return React.createElement(EventWrapper, _extends({\n type: \"time\"\n }, props), React.createElement(\"div\", {\n onClick: onClick,\n onDoubleClick: onDoubleClick,\n style: _extends({}, userProps.style, (_extends2 = {\n top: stringifyPercent(top)\n }, _extends2[rtl ? 'right' : 'left'] = stringifyPercent(xOffset), _extends2.width = stringifyPercent(width), _extends2.height = stringifyPercent(height), _extends2)),\n title: tooltip ? (typeof label === 'string' ? label + ': ' : '') + tooltip : undefined,\n className: clsx('rbc-event', className, userProps.className, {\n 'rbc-selected': selected,\n 'rbc-event-continues-earlier': continuesEarlier,\n 'rbc-event-continues-later': continuesLater\n })\n }, inner));\n}\n\nvar DayColumn =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DayColumn, _React$Component);\n\n function DayColumn() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n _this.state = {\n selecting: false,\n timeIndicatorPosition: null\n };\n _this.intervalTriggered = false;\n\n _this.renderEvents = function () {\n var _this$props = _this.props,\n events = _this$props.events,\n rtl = _this$props.rtl,\n selected = _this$props.selected,\n accessors = _this$props.accessors,\n localizer = _this$props.localizer,\n getters = _this$props.getters,\n components = _this$props.components,\n step = _this$props.step,\n timeslots = _this$props.timeslots,\n dayLayoutAlgorithm = _this$props.dayLayoutAlgorithm;\n\n var _assertThisInitialize = _assertThisInitialized(_this),\n slotMetrics = _assertThisInitialize.slotMetrics;\n\n var messages = localizer.messages;\n var styledEvents = getStyledEvents$1({\n events: events,\n accessors: accessors,\n slotMetrics: slotMetrics,\n minimumStartDifference: Math.ceil(step * timeslots / 2),\n dayLayoutAlgorithm: dayLayoutAlgorithm\n });\n return styledEvents.map(function (_ref, idx) {\n var event = _ref.event,\n style = _ref.style;\n var end = accessors.end(event);\n var start = accessors.start(event);\n var format = 'eventTimeRangeFormat';\n var label;\n var startsBeforeDay = slotMetrics.startsBeforeDay(start);\n var startsAfterDay = slotMetrics.startsAfterDay(end);\n if (startsBeforeDay) format = 'eventTimeRangeEndFormat';else if (startsAfterDay) format = 'eventTimeRangeStartFormat';\n if (startsBeforeDay && startsAfterDay) label = messages.allDay;else label = localizer.format({\n start: start,\n end: end\n }, format);\n var continuesEarlier = startsBeforeDay || slotMetrics.startsBefore(start);\n var continuesLater = startsAfterDay || slotMetrics.startsAfter(end);\n return React.createElement(TimeGridEvent, {\n style: style,\n event: event,\n label: label,\n key: 'evt_' + idx,\n getters: getters,\n rtl: rtl,\n components: components,\n continuesEarlier: continuesEarlier,\n continuesLater: continuesLater,\n accessors: accessors,\n selected: isSelected(event, selected),\n onClick: function onClick(e) {\n return _this._select(event, e);\n },\n onDoubleClick: function onDoubleClick(e) {\n return _this._doubleClick(event, e);\n }\n });\n });\n };\n\n _this._selectable = function () {\n var node = findDOMNode(_assertThisInitialized(_this));\n var selector = _this._selector = new Selection(function () {\n return findDOMNode(_assertThisInitialized(_this));\n }, {\n longPressThreshold: _this.props.longPressThreshold\n });\n\n var maybeSelect = function maybeSelect(box) {\n var onSelecting = _this.props.onSelecting;\n var current = _this.state || {};\n var state = selectionState(box);\n var start = state.startDate,\n end = state.endDate;\n\n if (onSelecting) {\n if (eq(current.startDate, start, 'minutes') && eq(current.endDate, end, 'minutes') || onSelecting({\n start: start,\n end: end,\n resourceId: _this.props.resource\n }) === false) return;\n }\n\n if (_this.state.start !== state.start || _this.state.end !== state.end || _this.state.selecting !== state.selecting) {\n _this.setState(state);\n }\n };\n\n var selectionState = function selectionState(point) {\n var currentSlot = _this.slotMetrics.closestSlotFromPoint(point, getBoundsForNode(node));\n\n if (!_this.state.selecting) {\n _this._initialSlot = currentSlot;\n }\n\n var initialSlot = _this._initialSlot;\n\n if (lte(initialSlot, currentSlot)) {\n currentSlot = _this.slotMetrics.nextSlot(currentSlot);\n } else if (gt(initialSlot, currentSlot)) {\n initialSlot = _this.slotMetrics.nextSlot(initialSlot);\n }\n\n var selectRange = _this.slotMetrics.getRange(min(initialSlot, currentSlot), max(initialSlot, currentSlot));\n\n return _extends({}, selectRange, {\n selecting: true,\n top: selectRange.top + \"%\",\n height: selectRange.height + \"%\"\n });\n };\n\n var selectorClicksHandler = function selectorClicksHandler(box, actionType) {\n if (!isEvent(findDOMNode(_assertThisInitialized(_this)), box)) {\n var _selectionState = selectionState(box),\n startDate = _selectionState.startDate,\n endDate = _selectionState.endDate;\n\n _this._selectSlot({\n startDate: startDate,\n endDate: endDate,\n action: actionType,\n box: box\n });\n }\n\n _this.setState({\n selecting: false\n });\n };\n\n selector.on('selecting', maybeSelect);\n selector.on('selectStart', maybeSelect);\n selector.on('beforeSelect', function (box) {\n if (_this.props.selectable !== 'ignoreEvents') return;\n return !isEvent(findDOMNode(_assertThisInitialized(_this)), box);\n });\n selector.on('click', function (box) {\n return selectorClicksHandler(box, 'click');\n });\n selector.on('doubleClick', function (box) {\n return selectorClicksHandler(box, 'doubleClick');\n });\n selector.on('select', function (bounds) {\n if (_this.state.selecting) {\n _this._selectSlot(_extends({}, _this.state, {\n action: 'select',\n bounds: bounds\n }));\n\n _this.setState({\n selecting: false\n });\n }\n });\n selector.on('reset', function () {\n if (_this.state.selecting) {\n _this.setState({\n selecting: false\n });\n }\n });\n };\n\n _this._teardownSelectable = function () {\n if (!_this._selector) return;\n\n _this._selector.teardown();\n\n _this._selector = null;\n };\n\n _this._selectSlot = function (_ref2) {\n var startDate = _ref2.startDate,\n endDate = _ref2.endDate,\n action = _ref2.action,\n bounds = _ref2.bounds,\n box = _ref2.box;\n var current = startDate,\n slots = [];\n\n while (lte(current, endDate)) {\n slots.push(current);\n current = add(current, _this.props.step, 'minutes');\n }\n\n notify(_this.props.onSelectSlot, {\n slots: slots,\n start: startDate,\n end: endDate,\n resourceId: _this.props.resource,\n action: action,\n bounds: bounds,\n box: box\n });\n };\n\n _this._select = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this._doubleClick = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n notify(_this.props.onDoubleClickEvent, args);\n };\n\n _this.slotMetrics = getSlotMetrics$1(_this.props);\n return _this;\n }\n\n var _proto = DayColumn.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.props.selectable && this._selectable();\n\n if (this.props.isNow) {\n this.setTimeIndicatorPositionUpdateInterval();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._teardownSelectable();\n\n this.clearTimeIndicatorInterval();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n if (nextProps.selectable && !this.props.selectable) this._selectable();\n if (!nextProps.selectable && this.props.selectable) this._teardownSelectable();\n this.slotMetrics = this.slotMetrics.update(nextProps);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n var getNowChanged = !eq(prevProps.getNow(), this.props.getNow(), 'minutes');\n\n if (prevProps.isNow !== this.props.isNow || getNowChanged) {\n this.clearTimeIndicatorInterval();\n\n if (this.props.isNow) {\n var tail = !getNowChanged && eq(prevProps.date, this.props.date, 'minutes') && prevState.timeIndicatorPosition === this.state.timeIndicatorPosition;\n this.setTimeIndicatorPositionUpdateInterval(tail);\n }\n } else if (this.props.isNow && (!eq(prevProps.min, this.props.min, 'minutes') || !eq(prevProps.max, this.props.max, 'minutes'))) {\n this.positionTimeIndicator();\n }\n }\n /**\n * @param tail {Boolean} - whether `positionTimeIndicator` call should be\n * deferred or called upon setting interval (`true` - if deferred);\n */\n ;\n\n _proto.setTimeIndicatorPositionUpdateInterval = function setTimeIndicatorPositionUpdateInterval(tail) {\n var _this2 = this;\n\n if (tail === void 0) {\n tail = false;\n }\n\n if (!this.intervalTriggered && !tail) {\n this.positionTimeIndicator();\n }\n\n this._timeIndicatorTimeout = window.setTimeout(function () {\n _this2.intervalTriggered = true;\n\n _this2.positionTimeIndicator();\n\n _this2.setTimeIndicatorPositionUpdateInterval();\n }, 60000);\n };\n\n _proto.clearTimeIndicatorInterval = function clearTimeIndicatorInterval() {\n this.intervalTriggered = false;\n window.clearTimeout(this._timeIndicatorTimeout);\n };\n\n _proto.positionTimeIndicator = function positionTimeIndicator() {\n var _this$props2 = this.props,\n min = _this$props2.min,\n max = _this$props2.max,\n getNow = _this$props2.getNow;\n var current = getNow();\n\n if (current >= min && current <= max) {\n var top = this.slotMetrics.getCurrentTimePosition(current);\n this.setState({\n timeIndicatorPosition: top\n });\n } else {\n this.clearTimeIndicatorInterval();\n }\n };\n\n _proto.render = function render() {\n var _this$props3 = this.props,\n max = _this$props3.max,\n rtl = _this$props3.rtl,\n isNow = _this$props3.isNow,\n resource = _this$props3.resource,\n accessors = _this$props3.accessors,\n localizer = _this$props3.localizer,\n _this$props3$getters = _this$props3.getters,\n dayProp = _this$props3$getters.dayProp,\n getters = _objectWithoutPropertiesLoose(_this$props3$getters, [\"dayProp\"]),\n _this$props3$componen = _this$props3.components,\n EventContainer = _this$props3$componen.eventContainerWrapper,\n components = _objectWithoutPropertiesLoose(_this$props3$componen, [\"eventContainerWrapper\"]);\n\n var slotMetrics = this.slotMetrics;\n var _this$state = this.state,\n selecting = _this$state.selecting,\n top = _this$state.top,\n height = _this$state.height,\n startDate = _this$state.startDate,\n endDate = _this$state.endDate;\n var selectDates = {\n start: startDate,\n end: endDate\n };\n\n var _dayProp = dayProp(max),\n className = _dayProp.className,\n style = _dayProp.style;\n\n return React.createElement(\"div\", {\n style: style,\n className: clsx(className, 'rbc-day-slot', 'rbc-time-column', isNow && 'rbc-now', isNow && 'rbc-today', // WHY\n selecting && 'rbc-slot-selecting')\n }, slotMetrics.groups.map(function (grp, idx) {\n return React.createElement(TimeSlotGroup, {\n key: idx,\n group: grp,\n resource: resource,\n getters: getters,\n components: components\n });\n }), React.createElement(EventContainer, {\n localizer: localizer,\n resource: resource,\n accessors: accessors,\n getters: getters,\n components: components,\n slotMetrics: slotMetrics\n }, React.createElement(\"div\", {\n className: clsx('rbc-events-container', rtl && 'rtl')\n }, this.renderEvents())), selecting && React.createElement(\"div\", {\n className: \"rbc-slot-selection\",\n style: {\n top: top,\n height: height\n }\n }, React.createElement(\"span\", null, localizer.format(selectDates, 'selectRangeFormat'))), isNow && React.createElement(\"div\", {\n className: \"rbc-current-time-indicator\",\n style: {\n top: this.state.timeIndicatorPosition + \"%\"\n }\n }));\n };\n\n return DayColumn;\n}(React.Component);\n\nDayColumn.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array.isRequired,\n step: PropTypes.number.isRequired,\n date: PropTypes.instanceOf(Date).isRequired,\n min: PropTypes.instanceOf(Date).isRequired,\n max: PropTypes.instanceOf(Date).isRequired,\n getNow: PropTypes.func.isRequired,\n isNow: PropTypes.bool,\n rtl: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n showMultiDayTimes: PropTypes.bool,\n culture: PropTypes.string,\n timeslots: PropTypes.number,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n eventOffset: PropTypes.number,\n longPressThreshold: PropTypes.number,\n onSelecting: PropTypes.func,\n onSelectSlot: PropTypes.func.isRequired,\n onSelectEvent: PropTypes.func.isRequired,\n onDoubleClickEvent: PropTypes.func.isRequired,\n className: PropTypes.string,\n dragThroughEvents: PropTypes.bool,\n resource: PropTypes.any,\n dayLayoutAlgorithm: DayLayoutAlgorithmPropType\n} : {};\nDayColumn.defaultProps = {\n dragThroughEvents: true,\n timeslots: 2\n};\n\nvar TimeGutter =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TimeGutter, _Component);\n\n function TimeGutter() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n\n _this.renderSlot = function (value, idx) {\n if (idx !== 0) return null;\n var _this$props = _this.props,\n localizer = _this$props.localizer,\n getNow = _this$props.getNow;\n\n var isNow = _this.slotMetrics.dateIsInGroup(getNow(), idx);\n\n return React.createElement(\"span\", {\n className: clsx('rbc-label', isNow && 'rbc-now')\n }, localizer.format(value, 'timeGutterFormat'));\n };\n\n var _this$props2 = _this.props,\n min = _this$props2.min,\n max = _this$props2.max,\n timeslots = _this$props2.timeslots,\n step = _this$props2.step;\n _this.slotMetrics = getSlotMetrics$1({\n min: min,\n max: max,\n timeslots: timeslots,\n step: step\n });\n return _this;\n }\n\n var _proto = TimeGutter.prototype;\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n var min = nextProps.min,\n max = nextProps.max,\n timeslots = nextProps.timeslots,\n step = nextProps.step;\n this.slotMetrics = this.slotMetrics.update({\n min: min,\n max: max,\n timeslots: timeslots,\n step: step\n });\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props3 = this.props,\n resource = _this$props3.resource,\n components = _this$props3.components,\n getters = _this$props3.getters;\n return React.createElement(\"div\", {\n className: \"rbc-time-gutter rbc-time-column\"\n }, this.slotMetrics.groups.map(function (grp, idx) {\n return React.createElement(TimeSlotGroup, {\n key: idx,\n group: grp,\n resource: resource,\n components: components,\n renderSlot: _this2.renderSlot,\n getters: getters\n });\n }));\n };\n\n return TimeGutter;\n}(Component);\nTimeGutter.propTypes = process.env.NODE_ENV !== \"production\" ? {\n min: PropTypes.instanceOf(Date).isRequired,\n max: PropTypes.instanceOf(Date).isRequired,\n timeslots: PropTypes.number.isRequired,\n step: PropTypes.number.isRequired,\n getNow: PropTypes.func.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object,\n localizer: PropTypes.object.isRequired,\n resource: PropTypes.string\n} : {};\n\nvar ResourceHeader = function ResourceHeader(_ref) {\n var label = _ref.label;\n return React.createElement(React.Fragment, null, label);\n};\n\nResourceHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: PropTypes.node,\n index: PropTypes.number,\n resource: PropTypes.object\n} : {};\n\nvar TimeGridHeader =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(TimeGridHeader, _React$Component);\n\n function TimeGridHeader() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.handleHeaderClick = function (date, view, e) {\n e.preventDefault();\n notify(_this.props.onDrillDown, [date, view]);\n };\n\n _this.renderRow = function (resource) {\n var _this$props = _this.props,\n events = _this$props.events,\n rtl = _this$props.rtl,\n selectable = _this$props.selectable,\n getNow = _this$props.getNow,\n range = _this$props.range,\n getters = _this$props.getters,\n localizer = _this$props.localizer,\n accessors = _this$props.accessors,\n components = _this$props.components;\n var resourceId = accessors.resourceId(resource);\n var eventsToDisplay = resource ? events.filter(function (event) {\n return accessors.resource(event) === resourceId;\n }) : events;\n return React.createElement(DateContentRow, {\n isAllDay: true,\n rtl: rtl,\n getNow: getNow,\n minRows: 2,\n range: range,\n events: eventsToDisplay,\n resourceId: resourceId,\n className: \"rbc-allday-cell\",\n selectable: selectable,\n selected: _this.props.selected,\n components: components,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n onSelect: _this.props.onSelectEvent,\n onDoubleClick: _this.props.onDoubleClickEvent,\n onSelectSlot: _this.props.onSelectSlot,\n longPressThreshold: _this.props.longPressThreshold\n });\n };\n\n return _this;\n }\n\n var _proto = TimeGridHeader.prototype;\n\n _proto.renderHeaderCells = function renderHeaderCells(range) {\n var _this2 = this;\n\n var _this$props2 = this.props,\n localizer = _this$props2.localizer,\n getDrilldownView = _this$props2.getDrilldownView,\n getNow = _this$props2.getNow,\n dayProp = _this$props2.getters.dayProp,\n _this$props2$componen = _this$props2.components.header,\n HeaderComponent = _this$props2$componen === void 0 ? Header : _this$props2$componen;\n var today = getNow();\n return range.map(function (date, i) {\n var drilldownView = getDrilldownView(date);\n var label = localizer.format(date, 'dayFormat');\n\n var _dayProp = dayProp(date),\n className = _dayProp.className,\n style = _dayProp.style;\n\n var header = React.createElement(HeaderComponent, {\n date: date,\n label: label,\n localizer: localizer\n });\n return React.createElement(\"div\", {\n key: i,\n style: style,\n className: clsx('rbc-header', className, eq(date, today, 'day') && 'rbc-today')\n }, drilldownView ? React.createElement(\"a\", {\n href: \"#\",\n onClick: function onClick(e) {\n return _this2.handleHeaderClick(date, drilldownView, e);\n }\n }, header) : React.createElement(\"span\", null, header));\n });\n };\n\n _proto.render = function render() {\n var _this3 = this;\n\n var _this$props3 = this.props,\n width = _this$props3.width,\n rtl = _this$props3.rtl,\n resources = _this$props3.resources,\n range = _this$props3.range,\n events = _this$props3.events,\n getNow = _this$props3.getNow,\n accessors = _this$props3.accessors,\n selectable = _this$props3.selectable,\n components = _this$props3.components,\n getters = _this$props3.getters,\n scrollRef = _this$props3.scrollRef,\n localizer = _this$props3.localizer,\n isOverflowing = _this$props3.isOverflowing,\n _this$props3$componen = _this$props3.components,\n TimeGutterHeader = _this$props3$componen.timeGutterHeader,\n _this$props3$componen2 = _this$props3$componen.resourceHeader,\n ResourceHeaderComponent = _this$props3$componen2 === void 0 ? ResourceHeader : _this$props3$componen2;\n var style = {};\n\n if (isOverflowing) {\n style[rtl ? 'marginLeft' : 'marginRight'] = scrollbarSize() + \"px\";\n }\n\n var groupedEvents = resources.groupEvents(events);\n return React.createElement(\"div\", {\n style: style,\n ref: scrollRef,\n className: clsx('rbc-time-header', isOverflowing && 'rbc-overflowing')\n }, React.createElement(\"div\", {\n className: \"rbc-label rbc-time-header-gutter\",\n style: {\n width: width,\n minWidth: width,\n maxWidth: width\n }\n }, TimeGutterHeader && React.createElement(TimeGutterHeader, null)), resources.map(function (_ref, idx) {\n var id = _ref[0],\n resource = _ref[1];\n return React.createElement(\"div\", {\n className: \"rbc-time-header-content\",\n key: id || idx\n }, resource && React.createElement(\"div\", {\n className: \"rbc-row rbc-row-resource\",\n key: \"resource_\" + idx\n }, React.createElement(\"div\", {\n className: \"rbc-header\"\n }, React.createElement(ResourceHeaderComponent, {\n index: idx,\n label: accessors.resourceTitle(resource),\n resource: resource\n }))), React.createElement(\"div\", {\n className: \"rbc-row rbc-time-header-cell\" + (range.length <= 1 ? ' rbc-time-header-cell-single-day' : '')\n }, _this3.renderHeaderCells(range)), React.createElement(DateContentRow, {\n isAllDay: true,\n rtl: rtl,\n getNow: getNow,\n minRows: 2,\n range: range,\n events: groupedEvents.get(id) || [],\n resourceId: resource && id,\n className: \"rbc-allday-cell\",\n selectable: selectable,\n selected: _this3.props.selected,\n components: components,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n onSelect: _this3.props.onSelectEvent,\n onDoubleClick: _this3.props.onDoubleClickEvent,\n onSelectSlot: _this3.props.onSelectSlot,\n longPressThreshold: _this3.props.longPressThreshold\n }));\n }));\n };\n\n return TimeGridHeader;\n}(React.Component);\n\nTimeGridHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n range: PropTypes.array.isRequired,\n events: PropTypes.array.isRequired,\n resources: PropTypes.object,\n getNow: PropTypes.func.isRequired,\n isOverflowing: PropTypes.bool,\n rtl: PropTypes.bool,\n width: PropTypes.number,\n localizer: PropTypes.object.isRequired,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onSelectSlot: PropTypes.func,\n onSelectEvent: PropTypes.func,\n onDoubleClickEvent: PropTypes.func,\n onDrillDown: PropTypes.func,\n getDrilldownView: PropTypes.func.isRequired,\n scrollRef: PropTypes.any\n} : {};\n\nvar NONE = {};\nfunction Resources(resources, accessors) {\n return {\n map: function map(fn) {\n if (!resources) return [fn([NONE, null], 0)];\n return resources.map(function (resource, idx) {\n return fn([accessors.resourceId(resource), resource], idx);\n });\n },\n groupEvents: function groupEvents(events) {\n var eventsByResource = new Map();\n\n if (!resources) {\n // Return all events if resources are not provided\n eventsByResource.set(NONE, events);\n return eventsByResource;\n }\n\n events.forEach(function (event) {\n var id = accessors.resource(event) || NONE;\n var resourceEvents = eventsByResource.get(id) || [];\n resourceEvents.push(event);\n eventsByResource.set(id, resourceEvents);\n });\n return eventsByResource;\n }\n };\n}\n\nvar TimeGrid =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TimeGrid, _Component);\n\n function TimeGrid(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n\n _this.handleScroll = function (e) {\n if (_this.scrollRef.current) {\n _this.scrollRef.current.scrollLeft = e.target.scrollLeft;\n }\n };\n\n _this.handleResize = function () {\n cancel(_this.rafHandle);\n _this.rafHandle = request(_this.checkOverflow);\n };\n\n _this.gutterRef = function (ref) {\n _this.gutter = ref && findDOMNode(ref);\n };\n\n _this.handleSelectAlldayEvent = function () {\n //cancel any pending selections so only the event click goes through.\n _this.clearSelection();\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this.handleSelectAllDaySlot = function (slots, slotInfo) {\n var onSelectSlot = _this.props.onSelectSlot;\n notify(onSelectSlot, {\n slots: slots,\n start: slots[0],\n end: slots[slots.length - 1],\n action: slotInfo.action\n });\n };\n\n _this.checkOverflow = function () {\n if (_this._updatingOverflow) return;\n var content = _this.contentRef.current;\n var isOverflowing = content.scrollHeight > content.clientHeight;\n\n if (_this.state.isOverflowing !== isOverflowing) {\n _this._updatingOverflow = true;\n\n _this.setState({\n isOverflowing: isOverflowing\n }, function () {\n _this._updatingOverflow = false;\n });\n }\n };\n\n _this.memoizedResources = memoize(function (resources, accessors) {\n return Resources(resources, accessors);\n });\n _this.state = {\n gutterWidth: undefined,\n isOverflowing: null\n };\n _this.scrollRef = React.createRef();\n _this.contentRef = React.createRef();\n _this._scrollRatio = null;\n return _this;\n }\n\n var _proto = TimeGrid.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n this.calculateScroll();\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.checkOverflow();\n\n if (this.props.width == null) {\n this.measureGutter();\n }\n\n this.applyScroll();\n window.addEventListener('resize', this.handleResize);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener('resize', this.handleResize);\n cancel(this.rafHandle);\n\n if (this.measureGutterAnimationFrameRequest) {\n window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest);\n }\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n if (this.props.width == null) {\n this.measureGutter();\n }\n\n this.applyScroll(); //this.checkOverflow()\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n var _this$props = this.props,\n range = _this$props.range,\n scrollToTime = _this$props.scrollToTime; // When paginating, reset scroll\n\n if (!eq(nextProps.range[0], range[0], 'minute') || !eq(nextProps.scrollToTime, scrollToTime, 'minute')) {\n this.calculateScroll(nextProps);\n }\n };\n\n _proto.renderEvents = function renderEvents(range, events, now) {\n var _this2 = this;\n\n var _this$props2 = this.props,\n min = _this$props2.min,\n max = _this$props2.max,\n components = _this$props2.components,\n accessors = _this$props2.accessors,\n localizer = _this$props2.localizer,\n dayLayoutAlgorithm = _this$props2.dayLayoutAlgorithm;\n var resources = this.memoizedResources(this.props.resources, accessors);\n var groupedEvents = resources.groupEvents(events);\n return resources.map(function (_ref, i) {\n var id = _ref[0],\n resource = _ref[1];\n return range.map(function (date, jj) {\n var daysEvents = (groupedEvents.get(id) || []).filter(function (event) {\n return inRange$1(date, accessors.start(event), accessors.end(event), 'day');\n });\n return React.createElement(DayColumn, _extends({}, _this2.props, {\n localizer: localizer,\n min: merge(date, min),\n max: merge(date, max),\n resource: resource && id,\n components: components,\n isNow: eq(date, now, 'day'),\n key: i + '-' + jj,\n date: date,\n events: daysEvents,\n dayLayoutAlgorithm: dayLayoutAlgorithm\n }));\n });\n });\n };\n\n _proto.render = function render() {\n var _this$props3 = this.props,\n events = _this$props3.events,\n range = _this$props3.range,\n width = _this$props3.width,\n rtl = _this$props3.rtl,\n selected = _this$props3.selected,\n getNow = _this$props3.getNow,\n resources = _this$props3.resources,\n components = _this$props3.components,\n accessors = _this$props3.accessors,\n getters = _this$props3.getters,\n localizer = _this$props3.localizer,\n min = _this$props3.min,\n max = _this$props3.max,\n showMultiDayTimes = _this$props3.showMultiDayTimes,\n longPressThreshold = _this$props3.longPressThreshold;\n width = width || this.state.gutterWidth;\n var start = range[0],\n end = range[range.length - 1];\n this.slots = range.length;\n var allDayEvents = [],\n rangeEvents = [];\n events.forEach(function (event) {\n if (inRange(event, start, end, accessors)) {\n var eStart = accessors.start(event),\n eEnd = accessors.end(event);\n\n if (accessors.allDay(event) || isJustDate(eStart) && isJustDate(eEnd) || !showMultiDayTimes && !eq(eStart, eEnd, 'day')) {\n allDayEvents.push(event);\n } else {\n rangeEvents.push(event);\n }\n }\n });\n allDayEvents.sort(function (a, b) {\n return sortEvents(a, b, accessors);\n });\n return React.createElement(\"div\", {\n className: clsx('rbc-time-view', resources && 'rbc-time-view-resources')\n }, React.createElement(TimeGridHeader, {\n range: range,\n events: allDayEvents,\n width: width,\n rtl: rtl,\n getNow: getNow,\n localizer: localizer,\n selected: selected,\n resources: this.memoizedResources(resources, accessors),\n selectable: this.props.selectable,\n accessors: accessors,\n getters: getters,\n components: components,\n scrollRef: this.scrollRef,\n isOverflowing: this.state.isOverflowing,\n longPressThreshold: longPressThreshold,\n onSelectSlot: this.handleSelectAllDaySlot,\n onSelectEvent: this.handleSelectAlldayEvent,\n onDoubleClickEvent: this.props.onDoubleClickEvent,\n onDrillDown: this.props.onDrillDown,\n getDrilldownView: this.props.getDrilldownView\n }), React.createElement(\"div\", {\n ref: this.contentRef,\n className: \"rbc-time-content\",\n onScroll: this.handleScroll\n }, React.createElement(TimeGutter, {\n date: start,\n ref: this.gutterRef,\n localizer: localizer,\n min: merge(start, min),\n max: merge(start, max),\n step: this.props.step,\n getNow: this.props.getNow,\n timeslots: this.props.timeslots,\n components: components,\n className: \"rbc-time-gutter\",\n getters: getters\n }), this.renderEvents(range, rangeEvents, getNow())));\n };\n\n _proto.clearSelection = function clearSelection() {\n clearTimeout(this._selectTimer);\n this._pendingSelection = [];\n };\n\n _proto.measureGutter = function measureGutter() {\n var _this3 = this;\n\n if (this.measureGutterAnimationFrameRequest) {\n window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest);\n }\n\n this.measureGutterAnimationFrameRequest = window.requestAnimationFrame(function () {\n var width = getWidth(_this3.gutter);\n\n if (width && _this3.state.gutterWidth !== width) {\n _this3.setState({\n gutterWidth: width\n });\n }\n });\n };\n\n _proto.applyScroll = function applyScroll() {\n if (this._scrollRatio != null) {\n var content = this.contentRef.current;\n content.scrollTop = content.scrollHeight * this._scrollRatio; // Only do this once\n\n this._scrollRatio = null;\n }\n };\n\n _proto.calculateScroll = function calculateScroll(props) {\n if (props === void 0) {\n props = this.props;\n }\n\n var _props = props,\n min = _props.min,\n max = _props.max,\n scrollToTime = _props.scrollToTime;\n var diffMillis = scrollToTime - startOf(scrollToTime, 'day');\n var totalMillis = diff(max, min);\n this._scrollRatio = diffMillis / totalMillis;\n };\n\n return TimeGrid;\n}(Component);\nTimeGrid.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array.isRequired,\n resources: PropTypes.array,\n step: PropTypes.number,\n timeslots: PropTypes.number,\n range: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n min: PropTypes.instanceOf(Date),\n max: PropTypes.instanceOf(Date),\n getNow: PropTypes.func.isRequired,\n scrollToTime: PropTypes.instanceOf(Date),\n showMultiDayTimes: PropTypes.bool,\n rtl: PropTypes.bool,\n width: PropTypes.number,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onNavigate: PropTypes.func,\n onSelectSlot: PropTypes.func,\n onSelectEnd: PropTypes.func,\n onSelectStart: PropTypes.func,\n onSelectEvent: PropTypes.func,\n onDoubleClickEvent: PropTypes.func,\n onDrillDown: PropTypes.func,\n getDrilldownView: PropTypes.func.isRequired,\n dayLayoutAlgorithm: DayLayoutAlgorithmPropType\n} : {};\nTimeGrid.defaultProps = {\n step: 30,\n timeslots: 2,\n min: startOf(new Date(), 'day'),\n max: endOf(new Date(), 'day'),\n scrollToTime: startOf(new Date(), 'day')\n};\n\nvar Day =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Day, _React$Component);\n\n function Day() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Day.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n date = _this$props.date,\n props = _objectWithoutPropertiesLoose(_this$props, [\"date\"]);\n\n var range = Day.range(date);\n return React.createElement(TimeGrid, _extends({}, props, {\n range: range,\n eventOffset: 10\n }));\n };\n\n return Day;\n}(React.Component);\n\nDay.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date).isRequired\n} : {};\n\nDay.range = function (date) {\n return [startOf(date, 'day')];\n};\n\nDay.navigate = function (date, action) {\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -1, 'day');\n\n case navigate.NEXT:\n return add(date, 1, 'day');\n\n default:\n return date;\n }\n};\n\nDay.title = function (date, _ref) {\n var localizer = _ref.localizer;\n return localizer.format(date, 'dayHeaderFormat');\n};\n\nvar Week =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Week, _React$Component);\n\n function Week() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Week.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n date = _this$props.date,\n props = _objectWithoutPropertiesLoose(_this$props, [\"date\"]);\n\n var range = Week.range(date, this.props);\n return React.createElement(TimeGrid, _extends({}, props, {\n range: range,\n eventOffset: 15\n }));\n };\n\n return Week;\n}(React.Component);\n\nWeek.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date).isRequired\n} : {};\nWeek.defaultProps = TimeGrid.defaultProps;\n\nWeek.navigate = function (date, action) {\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -1, 'week');\n\n case navigate.NEXT:\n return add(date, 1, 'week');\n\n default:\n return date;\n }\n};\n\nWeek.range = function (date, _ref) {\n var localizer = _ref.localizer;\n var firstOfWeek = localizer.startOfWeek();\n var start = startOf(date, 'week', firstOfWeek);\n var end = endOf(date, 'week', firstOfWeek);\n return range(start, end);\n};\n\nWeek.title = function (date, _ref2) {\n var localizer = _ref2.localizer;\n\n var _Week$range = Week.range(date, {\n localizer: localizer\n }),\n start = _Week$range[0],\n rest = _Week$range.slice(1);\n\n return localizer.format({\n start: start,\n end: rest.pop()\n }, 'dayRangeHeaderFormat');\n};\n\nfunction workWeekRange(date, options) {\n return Week.range(date, options).filter(function (d) {\n return [6, 0].indexOf(d.getDay()) === -1;\n });\n}\n\nvar WorkWeek =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(WorkWeek, _React$Component);\n\n function WorkWeek() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = WorkWeek.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n date = _this$props.date,\n props = _objectWithoutPropertiesLoose(_this$props, [\"date\"]);\n\n var range = workWeekRange(date, this.props);\n return React.createElement(TimeGrid, _extends({}, props, {\n range: range,\n eventOffset: 15\n }));\n };\n\n return WorkWeek;\n}(React.Component);\n\nWorkWeek.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date).isRequired\n} : {};\nWorkWeek.defaultProps = TimeGrid.defaultProps;\nWorkWeek.range = workWeekRange;\nWorkWeek.navigate = Week.navigate;\n\nWorkWeek.title = function (date, _ref) {\n var localizer = _ref.localizer;\n\n var _workWeekRange = workWeekRange(date, {\n localizer: localizer\n }),\n start = _workWeekRange[0],\n rest = _workWeekRange.slice(1);\n\n return localizer.format({\n start: start,\n end: rest.pop()\n }, 'dayRangeHeaderFormat');\n};\n\nvar Agenda =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Agenda, _React$Component);\n\n function Agenda(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n\n _this.renderDay = function (day, events, dayKey) {\n var _this$props = _this.props,\n selected = _this$props.selected,\n getters = _this$props.getters,\n accessors = _this$props.accessors,\n localizer = _this$props.localizer,\n _this$props$component = _this$props.components,\n Event = _this$props$component.event,\n AgendaDate = _this$props$component.date;\n events = events.filter(function (e) {\n return inRange(e, startOf(day, 'day'), endOf(day, 'day'), accessors);\n });\n return events.map(function (event, idx) {\n var title = accessors.title(event);\n var end = accessors.end(event);\n var start = accessors.start(event);\n var userProps = getters.eventProp(event, start, end, isSelected(event, selected));\n var dateLabel = idx === 0 && localizer.format(day, 'agendaDateFormat');\n var first = idx === 0 ? React.createElement(\"td\", {\n rowSpan: events.length,\n className: \"rbc-agenda-date-cell\"\n }, AgendaDate ? React.createElement(AgendaDate, {\n day: day,\n label: dateLabel\n }) : dateLabel) : false;\n return React.createElement(\"tr\", {\n key: dayKey + '_' + idx,\n className: userProps.className,\n style: userProps.style\n }, first, React.createElement(\"td\", {\n className: \"rbc-agenda-time-cell\"\n }, _this.timeRangeLabel(day, event)), React.createElement(\"td\", {\n className: \"rbc-agenda-event-cell\"\n }, Event ? React.createElement(Event, {\n event: event,\n title: title\n }) : title));\n }, []);\n };\n\n _this.timeRangeLabel = function (day, event) {\n var _this$props2 = _this.props,\n accessors = _this$props2.accessors,\n localizer = _this$props2.localizer,\n components = _this$props2.components;\n var labelClass = '',\n TimeComponent = components.time,\n label = localizer.messages.allDay;\n var end = accessors.end(event);\n var start = accessors.start(event);\n\n if (!accessors.allDay(event)) {\n if (eq(start, end)) {\n label = localizer.format(start, 'agendaTimeFormat');\n } else if (eq(start, end, 'day')) {\n label = localizer.format({\n start: start,\n end: end\n }, 'agendaTimeRangeFormat');\n } else if (eq(day, start, 'day')) {\n label = localizer.format(start, 'agendaTimeFormat');\n } else if (eq(day, end, 'day')) {\n label = localizer.format(end, 'agendaTimeFormat');\n }\n }\n\n if (gt(day, start, 'day')) labelClass = 'rbc-continues-prior';\n if (lt(day, end, 'day')) labelClass += ' rbc-continues-after';\n return React.createElement(\"span\", {\n className: labelClass.trim()\n }, TimeComponent ? React.createElement(TimeComponent, {\n event: event,\n day: day,\n label: label\n }) : label);\n };\n\n _this._adjustHeader = function () {\n if (!_this.tbodyRef.current) return;\n var header = _this.headerRef.current;\n var firstRow = _this.tbodyRef.current.firstChild;\n if (!firstRow) return;\n var isOverflowing = _this.contentRef.current.scrollHeight > _this.contentRef.current.clientHeight;\n var widths = _this._widths || [];\n _this._widths = [getWidth(firstRow.children[0]), getWidth(firstRow.children[1])];\n\n if (widths[0] !== _this._widths[0] || widths[1] !== _this._widths[1]) {\n _this.dateColRef.current.style.width = _this._widths[0] + 'px';\n _this.timeColRef.current.style.width = _this._widths[1] + 'px';\n }\n\n if (isOverflowing) {\n addClass(header, 'rbc-header-overflowing');\n header.style.marginRight = scrollbarSize() + 'px';\n } else {\n removeClass(header, 'rbc-header-overflowing');\n }\n };\n\n _this.headerRef = React.createRef();\n _this.dateColRef = React.createRef();\n _this.timeColRef = React.createRef();\n _this.contentRef = React.createRef();\n _this.tbodyRef = React.createRef();\n return _this;\n }\n\n var _proto = Agenda.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this._adjustHeader();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n this._adjustHeader();\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props3 = this.props,\n length = _this$props3.length,\n date = _this$props3.date,\n events = _this$props3.events,\n accessors = _this$props3.accessors,\n localizer = _this$props3.localizer;\n var messages = localizer.messages;\n var end = add(date, length, 'day');\n var range$1 = range(date, end, 'day');\n events = events.filter(function (event) {\n return inRange(event, date, end, accessors);\n });\n events.sort(function (a, b) {\n return +accessors.start(a) - +accessors.start(b);\n });\n return React.createElement(\"div\", {\n className: \"rbc-agenda-view\"\n }, events.length !== 0 ? React.createElement(React.Fragment, null, React.createElement(\"table\", {\n ref: this.headerRef,\n className: \"rbc-agenda-table\"\n }, React.createElement(\"thead\", null, React.createElement(\"tr\", null, React.createElement(\"th\", {\n className: \"rbc-header\",\n ref: this.dateColRef\n }, messages.date), React.createElement(\"th\", {\n className: \"rbc-header\",\n ref: this.timeColRef\n }, messages.time), React.createElement(\"th\", {\n className: \"rbc-header\"\n }, messages.event)))), React.createElement(\"div\", {\n className: \"rbc-agenda-content\",\n ref: this.contentRef\n }, React.createElement(\"table\", {\n className: \"rbc-agenda-table\"\n }, React.createElement(\"tbody\", {\n ref: this.tbodyRef\n }, range$1.map(function (day, idx) {\n return _this2.renderDay(day, events, idx);\n }))))) : React.createElement(\"span\", {\n className: \"rbc-agenda-empty\"\n }, messages.noEventsInRange));\n };\n\n return Agenda;\n}(React.Component);\n\nAgenda.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array,\n date: PropTypes.instanceOf(Date),\n length: PropTypes.number.isRequired,\n selected: PropTypes.object,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired\n} : {};\nAgenda.defaultProps = {\n length: 30\n};\n\nAgenda.range = function (start, _ref) {\n var _ref$length = _ref.length,\n length = _ref$length === void 0 ? Agenda.defaultProps.length : _ref$length;\n var end = add(start, length, 'day');\n return {\n start: start,\n end: end\n };\n};\n\nAgenda.navigate = function (date, action, _ref2) {\n var _ref2$length = _ref2.length,\n length = _ref2$length === void 0 ? Agenda.defaultProps.length : _ref2$length;\n\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -length, 'day');\n\n case navigate.NEXT:\n return add(date, length, 'day');\n\n default:\n return date;\n }\n};\n\nAgenda.title = function (start, _ref3) {\n var _ref3$length = _ref3.length,\n length = _ref3$length === void 0 ? Agenda.defaultProps.length : _ref3$length,\n localizer = _ref3.localizer;\n var end = add(start, length, 'day');\n return localizer.format({\n start: start,\n end: end\n }, 'agendaHeaderFormat');\n};\n\nvar _VIEWS;\nvar VIEWS = (_VIEWS = {}, _VIEWS[views.MONTH] = MonthView, _VIEWS[views.WEEK] = Week, _VIEWS[views.WORK_WEEK] = WorkWeek, _VIEWS[views.DAY] = Day, _VIEWS[views.AGENDA] = Agenda, _VIEWS);\n\nfunction moveDate(View, _ref) {\n var action = _ref.action,\n date = _ref.date,\n today = _ref.today,\n props = _objectWithoutPropertiesLoose(_ref, [\"action\", \"date\", \"today\"]);\n\n View = typeof View === 'string' ? VIEWS[View] : View;\n\n switch (action) {\n case navigate.TODAY:\n date = today || new Date();\n break;\n\n case navigate.DATE:\n break;\n\n default:\n !(View && typeof View.navigate === 'function') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Calendar View components must implement a static `.navigate(date, action)` method.s') : invariant(false) : void 0;\n date = View.navigate(date, action, props);\n }\n\n return date;\n}\n\nvar Toolbar =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Toolbar, _React$Component);\n\n function Toolbar() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.navigate = function (action) {\n _this.props.onNavigate(action);\n };\n\n _this.view = function (view) {\n _this.props.onView(view);\n };\n\n return _this;\n }\n\n var _proto = Toolbar.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n messages = _this$props.localizer.messages,\n label = _this$props.label;\n return React.createElement(\"div\", {\n className: \"rbc-toolbar\"\n }, React.createElement(\"span\", {\n className: \"rbc-btn-group\"\n }, React.createElement(\"button\", {\n type: \"button\",\n onClick: this.navigate.bind(null, navigate.TODAY)\n }, messages.today), React.createElement(\"button\", {\n type: \"button\",\n onClick: this.navigate.bind(null, navigate.PREVIOUS)\n }, messages.previous), React.createElement(\"button\", {\n type: \"button\",\n onClick: this.navigate.bind(null, navigate.NEXT)\n }, messages.next)), React.createElement(\"span\", {\n className: \"rbc-toolbar-label\"\n }, label), React.createElement(\"span\", {\n className: \"rbc-btn-group\"\n }, this.viewNamesGroup(messages)));\n };\n\n _proto.viewNamesGroup = function viewNamesGroup(messages) {\n var _this2 = this;\n\n var viewNames = this.props.views;\n var view = this.props.view;\n\n if (viewNames.length > 1) {\n return viewNames.map(function (name) {\n return React.createElement(\"button\", {\n type: \"button\",\n key: name,\n className: clsx({\n 'rbc-active': view === name\n }),\n onClick: _this2.view.bind(null, name)\n }, messages[name]);\n });\n }\n };\n\n return Toolbar;\n}(React.Component);\n\nToolbar.propTypes = process.env.NODE_ENV !== \"production\" ? {\n view: PropTypes.string.isRequired,\n views: PropTypes.arrayOf(PropTypes.string).isRequired,\n label: PropTypes.node.isRequired,\n localizer: PropTypes.object,\n onNavigate: PropTypes.func.isRequired,\n onView: PropTypes.func.isRequired\n} : {};\n\n/**\n * Retrieve via an accessor-like property\n *\n * accessor(obj, 'name') // => retrieves obj['name']\n * accessor(data, func) // => retrieves func(data)\n * ... otherwise null\n */\nfunction accessor$1(data, field) {\n var value = null;\n if (typeof field === 'function') value = field(data);else if (typeof field === 'string' && typeof data === 'object' && data != null && field in data) value = data[field];\n return value;\n}\nvar wrapAccessor = function wrapAccessor(acc) {\n return function (data) {\n return accessor$1(data, acc);\n };\n};\n\nfunction viewNames$1(_views) {\n return !Array.isArray(_views) ? Object.keys(_views) : _views;\n}\n\nfunction isValidView(view, _ref) {\n var _views = _ref.views;\n var names = viewNames$1(_views);\n return names.indexOf(view) !== -1;\n}\n/**\n * react-big-calendar is a full featured Calendar component for managing events and dates. It uses\n * modern `flexbox` for layout, making it super responsive and performant. Leaving most of the layout heavy lifting\n * to the browser. __note:__ The default styles use `height: 100%` which means your container must set an explicit\n * height (feel free to adjust the styles to suit your specific needs).\n *\n * Big Calendar is unopiniated about editing and moving events, preferring to let you implement it in a way that makes\n * the most sense to your app. It also tries not to be prescriptive about your event data structures, just tell it\n * how to find the start and end datetimes and you can pass it whatever you want.\n *\n * One thing to note is that, `react-big-calendar` treats event start/end dates as an _exclusive_ range.\n * which means that the event spans up to, but not including, the end date. In the case\n * of displaying events on whole days, end dates are rounded _up_ to the next day. So an\n * event ending on `Apr 8th 12:00:00 am` will not appear on the 8th, whereas one ending\n * on `Apr 8th 12:01:00 am` will. If you want _inclusive_ ranges consider providing a\n * function `endAccessor` that returns the end date + 1 day for those events that end at midnight.\n */\n\n\nvar Calendar =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Calendar, _React$Component);\n\n function Calendar() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.getViews = function () {\n var views = _this.props.views;\n\n if (Array.isArray(views)) {\n return transform(views, function (obj, name) {\n return obj[name] = VIEWS[name];\n }, {});\n }\n\n if (typeof views === 'object') {\n return mapValues(views, function (value, key) {\n if (value === true) {\n return VIEWS[key];\n }\n\n return value;\n });\n }\n\n return VIEWS;\n };\n\n _this.getView = function () {\n var views = _this.getViews();\n\n return views[_this.props.view];\n };\n\n _this.getDrilldownView = function (date) {\n var _this$props = _this.props,\n view = _this$props.view,\n drilldownView = _this$props.drilldownView,\n getDrilldownView = _this$props.getDrilldownView;\n if (!getDrilldownView) return drilldownView;\n return getDrilldownView(date, view, Object.keys(_this.getViews()));\n };\n\n _this.handleRangeChange = function (date, viewComponent, view) {\n var _this$props2 = _this.props,\n onRangeChange = _this$props2.onRangeChange,\n localizer = _this$props2.localizer;\n\n if (onRangeChange) {\n if (viewComponent.range) {\n onRangeChange(viewComponent.range(date, {\n localizer: localizer\n }), view);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.error('onRangeChange prop not supported for this view');\n }\n }\n }\n };\n\n _this.handleNavigate = function (action, newDate) {\n var _this$props3 = _this.props,\n view = _this$props3.view,\n date = _this$props3.date,\n getNow = _this$props3.getNow,\n onNavigate = _this$props3.onNavigate,\n props = _objectWithoutPropertiesLoose(_this$props3, [\"view\", \"date\", \"getNow\", \"onNavigate\"]);\n\n var ViewComponent = _this.getView();\n\n var today = getNow();\n date = moveDate(ViewComponent, _extends({}, props, {\n action: action,\n date: newDate || date || today,\n today: today\n }));\n onNavigate(date, view, action);\n\n _this.handleRangeChange(date, ViewComponent);\n };\n\n _this.handleViewChange = function (view) {\n if (view !== _this.props.view && isValidView(view, _this.props)) {\n _this.props.onView(view);\n }\n\n var views = _this.getViews();\n\n _this.handleRangeChange(_this.props.date || _this.props.getNow(), views[view], view);\n };\n\n _this.handleSelectEvent = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this.handleDoubleClickEvent = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n notify(_this.props.onDoubleClickEvent, args);\n };\n\n _this.handleSelectSlot = function (slotInfo) {\n notify(_this.props.onSelectSlot, slotInfo);\n };\n\n _this.handleDrillDown = function (date, view) {\n var onDrillDown = _this.props.onDrillDown;\n\n if (onDrillDown) {\n onDrillDown(date, view, _this.drilldownView);\n return;\n }\n\n if (view) _this.handleViewChange(view);\n\n _this.handleNavigate(navigate.DATE, date);\n };\n\n _this.state = {\n context: _this.getContext(_this.props)\n };\n return _this;\n }\n\n var _proto = Calendar.prototype;\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({\n context: this.getContext(nextProps)\n });\n };\n\n _proto.getContext = function getContext(_ref2) {\n var startAccessor = _ref2.startAccessor,\n endAccessor = _ref2.endAccessor,\n allDayAccessor = _ref2.allDayAccessor,\n tooltipAccessor = _ref2.tooltipAccessor,\n titleAccessor = _ref2.titleAccessor,\n resourceAccessor = _ref2.resourceAccessor,\n resourceIdAccessor = _ref2.resourceIdAccessor,\n resourceTitleAccessor = _ref2.resourceTitleAccessor,\n eventPropGetter = _ref2.eventPropGetter,\n slotPropGetter = _ref2.slotPropGetter,\n slotGroupPropGetter = _ref2.slotGroupPropGetter,\n dayPropGetter = _ref2.dayPropGetter,\n view = _ref2.view,\n views = _ref2.views,\n localizer = _ref2.localizer,\n culture = _ref2.culture,\n _ref2$messages = _ref2.messages,\n messages$1 = _ref2$messages === void 0 ? {} : _ref2$messages,\n _ref2$components = _ref2.components,\n components = _ref2$components === void 0 ? {} : _ref2$components,\n _ref2$formats = _ref2.formats,\n formats = _ref2$formats === void 0 ? {} : _ref2$formats;\n var names = viewNames$1(views);\n var msgs = messages(messages$1);\n return {\n viewNames: names,\n localizer: mergeWithDefaults(localizer, culture, formats, msgs),\n getters: {\n eventProp: function eventProp() {\n return eventPropGetter && eventPropGetter.apply(void 0, arguments) || {};\n },\n slotProp: function slotProp() {\n return slotPropGetter && slotPropGetter.apply(void 0, arguments) || {};\n },\n slotGroupProp: function slotGroupProp() {\n return slotGroupPropGetter && slotGroupPropGetter.apply(void 0, arguments) || {};\n },\n dayProp: function dayProp() {\n return dayPropGetter && dayPropGetter.apply(void 0, arguments) || {};\n }\n },\n components: defaults(components[view] || {}, omit(components, names), {\n eventWrapper: NoopWrapper,\n eventContainerWrapper: NoopWrapper,\n dateCellWrapper: NoopWrapper,\n weekWrapper: NoopWrapper,\n timeSlotWrapper: NoopWrapper\n }),\n accessors: {\n start: wrapAccessor(startAccessor),\n end: wrapAccessor(endAccessor),\n allDay: wrapAccessor(allDayAccessor),\n tooltip: wrapAccessor(tooltipAccessor),\n title: wrapAccessor(titleAccessor),\n resource: wrapAccessor(resourceAccessor),\n resourceId: wrapAccessor(resourceIdAccessor),\n resourceTitle: wrapAccessor(resourceTitleAccessor)\n }\n };\n };\n\n _proto.render = function render() {\n var _this$props4 = this.props,\n view = _this$props4.view,\n toolbar = _this$props4.toolbar,\n events = _this$props4.events,\n style = _this$props4.style,\n className = _this$props4.className,\n elementProps = _this$props4.elementProps,\n current = _this$props4.date,\n getNow = _this$props4.getNow,\n length = _this$props4.length,\n showMultiDayTimes = _this$props4.showMultiDayTimes,\n onShowMore = _this$props4.onShowMore,\n _0 = _this$props4.components,\n _1 = _this$props4.formats,\n _2 = _this$props4.messages,\n _3 = _this$props4.culture,\n props = _objectWithoutPropertiesLoose(_this$props4, [\"view\", \"toolbar\", \"events\", \"style\", \"className\", \"elementProps\", \"date\", \"getNow\", \"length\", \"showMultiDayTimes\", \"onShowMore\", \"components\", \"formats\", \"messages\", \"culture\"]);\n\n current = current || getNow();\n var View = this.getView();\n var _this$state$context = this.state.context,\n accessors = _this$state$context.accessors,\n components = _this$state$context.components,\n getters = _this$state$context.getters,\n localizer = _this$state$context.localizer,\n viewNames = _this$state$context.viewNames;\n var CalToolbar = components.toolbar || Toolbar;\n var label = View.title(current, {\n localizer: localizer,\n length: length\n });\n return React.createElement(\"div\", _extends({}, elementProps, {\n className: clsx(className, 'rbc-calendar', props.rtl && 'rbc-rtl'),\n style: style\n }), toolbar && React.createElement(CalToolbar, {\n date: current,\n view: view,\n views: viewNames,\n label: label,\n onView: this.handleViewChange,\n onNavigate: this.handleNavigate,\n localizer: localizer\n }), React.createElement(View, _extends({}, props, {\n events: events,\n date: current,\n getNow: getNow,\n length: length,\n localizer: localizer,\n getters: getters,\n components: components,\n accessors: accessors,\n showMultiDayTimes: showMultiDayTimes,\n getDrilldownView: this.getDrilldownView,\n onNavigate: this.handleNavigate,\n onDrillDown: this.handleDrillDown,\n onSelectEvent: this.handleSelectEvent,\n onDoubleClickEvent: this.handleDoubleClickEvent,\n onSelectSlot: this.handleSelectSlot,\n onShowMore: onShowMore\n })));\n }\n /**\n *\n * @param date\n * @param viewComponent\n * @param {'month'|'week'|'work_week'|'day'|'agenda'} [view] - optional\n * parameter. It appears when range change on view changing. It could be handy\n * when you need to have both: range and view type at once, i.e. for manage rbc\n * state via url\n */\n ;\n\n return Calendar;\n}(React.Component);\n\nCalendar.defaultProps = {\n elementProps: {},\n popup: false,\n toolbar: true,\n view: views.MONTH,\n views: [views.MONTH, views.WEEK, views.DAY, views.AGENDA],\n step: 30,\n length: 30,\n drilldownView: views.DAY,\n titleAccessor: 'title',\n tooltipAccessor: 'title',\n allDayAccessor: 'allDay',\n startAccessor: 'start',\n endAccessor: 'end',\n resourceAccessor: 'resourceId',\n resourceIdAccessor: 'id',\n resourceTitleAccessor: 'title',\n longPressThreshold: 250,\n getNow: function getNow() {\n return new Date();\n },\n dayLayoutAlgorithm: 'overlap'\n};\nCalendar.propTypes = process.env.NODE_ENV !== \"production\" ? {\n localizer: PropTypes.object.isRequired,\n\n /**\n * Props passed to main calendar ``.\n *\n */\n elementProps: PropTypes.object,\n\n /**\n * The current date value of the calendar. Determines the visible view range.\n * If `date` is omitted then the result of `getNow` is used; otherwise the\n * current date is used.\n *\n * @controllable onNavigate\n */\n date: PropTypes.instanceOf(Date),\n\n /**\n * The current view of the calendar.\n *\n * @default 'month'\n * @controllable onView\n */\n view: PropTypes.string,\n\n /**\n * The initial view set for the Calendar.\n * @type Calendar.Views ('month'|'week'|'work_week'|'day'|'agenda')\n * @default 'month'\n */\n defaultView: PropTypes.string,\n\n /**\n * An array of event objects to display on the calendar. Events objects\n * can be any shape, as long as the Calendar knows how to retrieve the\n * following details of the event:\n *\n * - start time\n * - end time\n * - title\n * - whether its an \"all day\" event or not\n * - any resource the event may be related to\n *\n * Each of these properties can be customized or generated dynamically by\n * setting the various \"accessor\" props. Without any configuration the default\n * event should look like:\n *\n * ```js\n * Event {\n * title: string,\n * start: Date,\n * end: Date,\n * allDay?: boolean\n * resource?: any,\n * }\n * ```\n */\n events: PropTypes.arrayOf(PropTypes.object),\n\n /**\n * Accessor for the event title, used to display event information. Should\n * resolve to a `renderable` value.\n *\n * ```js\n * string | (event: Object) => string\n * ```\n *\n * @type {(func|string)}\n */\n titleAccessor: accessor,\n\n /**\n * Accessor for the event tooltip. Should\n * resolve to a `renderable` value. Removes the tooltip if null.\n *\n * ```js\n * string | (event: Object) => string\n * ```\n *\n * @type {(func|string)}\n */\n tooltipAccessor: accessor,\n\n /**\n * Determines whether the event should be considered an \"all day\" event and ignore time.\n * Must resolve to a `boolean` value.\n *\n * ```js\n * string | (event: Object) => boolean\n * ```\n *\n * @type {(func|string)}\n */\n allDayAccessor: accessor,\n\n /**\n * The start date/time of the event. Must resolve to a JavaScript `Date` object.\n *\n * ```js\n * string | (event: Object) => Date\n * ```\n *\n * @type {(func|string)}\n */\n startAccessor: accessor,\n\n /**\n * The end date/time of the event. Must resolve to a JavaScript `Date` object.\n *\n * ```js\n * string | (event: Object) => Date\n * ```\n *\n * @type {(func|string)}\n */\n endAccessor: accessor,\n\n /**\n * Returns the id of the `resource` that the event is a member of. This\n * id should match at least one resource in the `resources` array.\n *\n * ```js\n * string | (event: Object) => Date\n * ```\n *\n * @type {(func|string)}\n */\n resourceAccessor: accessor,\n\n /**\n * An array of resource objects that map events to a specific resource.\n * Resource objects, like events, can be any shape or have any properties,\n * but should be uniquly identifiable via the `resourceIdAccessor`, as\n * well as a \"title\" or name as provided by the `resourceTitleAccessor` prop.\n */\n resources: PropTypes.arrayOf(PropTypes.object),\n\n /**\n * Provides a unique identifier for each resource in the `resources` array\n *\n * ```js\n * string | (resource: Object) => any\n * ```\n *\n * @type {(func|string)}\n */\n resourceIdAccessor: accessor,\n\n /**\n * Provides a human readable name for the resource object, used in headers.\n *\n * ```js\n * string | (resource: Object) => any\n * ```\n *\n * @type {(func|string)}\n */\n resourceTitleAccessor: accessor,\n\n /**\n * Determines the current date/time which is highlighted in the views.\n *\n * The value affects which day is shaded and which time is shown as\n * the current time. It also affects the date used by the Today button in\n * the toolbar.\n *\n * Providing a value here can be useful when you are implementing time zones\n * using the `startAccessor` and `endAccessor` properties.\n *\n * @type {func}\n * @default () => new Date()\n */\n getNow: PropTypes.func,\n\n /**\n * Callback fired when the `date` value changes.\n *\n * @controllable date\n */\n onNavigate: PropTypes.func,\n\n /**\n * Callback fired when the `view` value changes.\n *\n * @controllable view\n */\n onView: PropTypes.func,\n\n /**\n * Callback fired when date header, or the truncated events links are clicked\n *\n */\n onDrillDown: PropTypes.func,\n\n /**\n *\n * ```js\n * (dates: Date[] | { start: Date; end: Date }, view?: 'month'|'week'|'work_week'|'day'|'agenda') => void\n * ```\n *\n * Callback fired when the visible date range changes. Returns an Array of dates\n * or an object with start and end dates for BUILTIN views. Optionally new `view`\n * will be returned when callback called after view change.\n *\n * Custom views may return something different.\n */\n onRangeChange: PropTypes.func,\n\n /**\n * A callback fired when a date selection is made. Only fires when `selectable` is `true`.\n *\n * ```js\n * (\n * slotInfo: {\n * start: Date,\n * end: Date,\n * resourceId: (number|string),\n * slots: Array,\n * action: \"select\" | \"click\" | \"doubleClick\",\n * bounds: ?{ // For \"select\" action\n * x: number,\n * y: number,\n * top: number,\n * right: number,\n * left: number,\n * bottom: number,\n * },\n * box: ?{ // For \"click\" or \"doubleClick\" actions\n * clientX: number,\n * clientY: number,\n * x: number,\n * y: number,\n * },\n * }\n * ) => any\n * ```\n */\n onSelectSlot: PropTypes.func,\n\n /**\n * Callback fired when a calendar event is selected.\n *\n * ```js\n * (event: Object, e: SyntheticEvent) => any\n * ```\n *\n * @controllable selected\n */\n onSelectEvent: PropTypes.func,\n\n /**\n * Callback fired when a calendar event is clicked twice.\n *\n * ```js\n * (event: Object, e: SyntheticEvent) => void\n * ```\n */\n onDoubleClickEvent: PropTypes.func,\n\n /**\n * Callback fired when dragging a selection in the Time views.\n *\n * Returning `false` from the handler will prevent a selection.\n *\n * ```js\n * (range: { start: Date, end: Date, resourceId: (number|string) }) => ?boolean\n * ```\n */\n onSelecting: PropTypes.func,\n\n /**\n * Callback fired when a +{count} more is clicked\n *\n * ```js\n * (events: Object, date: Date) => any\n * ```\n */\n onShowMore: PropTypes.func,\n\n /**\n * The selected event, if any.\n */\n selected: PropTypes.object,\n\n /**\n * An array of built-in view names to allow the calendar to display.\n * accepts either an array of builtin view names,\n *\n * ```jsx\n * views={['month', 'day', 'agenda']}\n * ```\n * or an object hash of the view name and the component (or boolean for builtin).\n *\n * ```jsx\n * views={{\n * month: true,\n * week: false,\n * myweek: WorkWeekViewComponent,\n * }}\n * ```\n *\n * Custom views can be any React component, that implements the following\n * interface:\n *\n * ```js\n * interface View {\n * static title(date: Date, { formats: DateFormat[], culture: string?, ...props }): string\n * static navigate(date: Date, action: 'PREV' | 'NEXT' | 'DATE'): Date\n * }\n * ```\n *\n * @type Views ('month'|'week'|'work_week'|'day'|'agenda')\n * @View\n ['month', 'week', 'day', 'agenda']\n */\n views: views$1,\n\n /**\n * The string name of the destination view for drill-down actions, such\n * as clicking a date header, or the truncated events links. If\n * `getDrilldownView` is also specified it will be used instead.\n *\n * Set to `null` to disable drill-down actions.\n *\n * ```js\n * \n * ```\n */\n drilldownView: PropTypes.string,\n\n /**\n * Functionally equivalent to `drilldownView`, but accepts a function\n * that can return a view name. It's useful for customizing the drill-down\n * actions depending on the target date and triggering view.\n *\n * Return `null` to disable drill-down actions.\n *\n * ```js\n * \n * if (currentViewName === 'month' && configuredViewNames.includes('week'))\n * return 'week'\n *\n * return null;\n * }}\n * />\n * ```\n */\n getDrilldownView: PropTypes.func,\n\n /**\n * Determines the end date from date prop in the agenda view\n * date prop + length (in number of days) = end date\n */\n length: PropTypes.number,\n\n /**\n * Determines whether the toolbar is displayed\n */\n toolbar: PropTypes.bool,\n\n /**\n * Show truncated events in an overlay when you click the \"+_x_ more\" link.\n */\n popup: PropTypes.bool,\n\n /**\n * Distance in pixels, from the edges of the viewport, the \"show more\" overlay should be positioned.\n *\n * ```jsx\n * \n * \n * ```\n */\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number\n })]),\n\n /**\n * Allows mouse selection of ranges of dates/times.\n *\n * The 'ignoreEvents' option prevents selection code from running when a\n * drag begins over an event. Useful when you want custom event click or drag\n * logic\n */\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n\n /**\n * Specifies the number of miliseconds the user must press and hold on the screen for a touch\n * to be considered a \"long press.\" Long presses are used for time slot selection on touch\n * devices.\n *\n * @type {number}\n * @default 250\n */\n longPressThreshold: PropTypes.number,\n\n /**\n * Determines the selectable time increments in week and day views\n */\n step: PropTypes.number,\n\n /**\n * The number of slots per \"section\" in the time grid views. Adjust with `step`\n * to change the default of 1 hour long groups, with 30 minute slots.\n */\n timeslots: PropTypes.number,\n\n /**\n *Switch the calendar to a `right-to-left` read direction.\n */\n rtl: PropTypes.bool,\n\n /**\n * Optionally provide a function that returns an object of className or style props\n * to be applied to the the event node.\n *\n * ```js\n * (\n * \tevent: Object,\n * \tstart: Date,\n * \tend: Date,\n * \tisSelected: boolean\n * ) => { className?: string, style?: Object }\n * ```\n */\n eventPropGetter: PropTypes.func,\n\n /**\n * Optionally provide a function that returns an object of className or style props\n * to be applied to the time-slot node. Caution! Styles that change layout or\n * position may break the calendar in unexpected ways.\n *\n * ```js\n * (date: Date, resourceId: (number|string)) => { className?: string, style?: Object }\n * ```\n */\n slotPropGetter: PropTypes.func,\n\n /**\n * Optionally provide a function that returns an object of props to be applied \n * to the time-slot group node. Useful to dynamically change the sizing of time nodes.\n * ```js\n * () => { style?: Object }\n * ```\n */\n slotGroupPropGetter: PropTypes.func,\n\n /**\n * Optionally provide a function that returns an object of className or style props\n * to be applied to the the day background. Caution! Styles that change layout or\n * position may break the calendar in unexpected ways.\n *\n * ```js\n * (date: Date) => { className?: string, style?: Object }\n * ```\n */\n dayPropGetter: PropTypes.func,\n\n /**\n * Support to show multi-day events with specific start and end times in the\n * main time grid (rather than in the all day header).\n *\n * **Note: This may cause calendars with several events to look very busy in\n * the week and day views.**\n */\n showMultiDayTimes: PropTypes.bool,\n\n /**\n * Constrains the minimum _time_ of the Day and Week views.\n */\n min: PropTypes.instanceOf(Date),\n\n /**\n * Constrains the maximum _time_ of the Day and Week views.\n */\n max: PropTypes.instanceOf(Date),\n\n /**\n * Determines how far down the scroll pane is initially scrolled down.\n */\n scrollToTime: PropTypes.instanceOf(Date),\n\n /**\n * Specify a specific culture code for the Calendar.\n *\n * **Note: it's generally better to handle this globally via your i18n library.**\n */\n culture: PropTypes.string,\n\n /**\n * Localizer specific formats, tell the Calendar how to format and display dates.\n *\n * `format` types are dependent on the configured localizer; both Moment and Globalize\n * accept strings of tokens according to their own specification, such as: `'DD mm yyyy'`.\n *\n * ```jsx\n * let formats = {\n * dateFormat: 'dd',\n *\n * dayFormat: (date, , localizer) =>\n * localizer.format(date, 'DDD', culture),\n *\n * dayRangeHeaderFormat: ({ start, end }, culture, localizer) =>\n * localizer.format(start, { date: 'short' }, culture) + ' – ' +\n * localizer.format(end, { date: 'short' }, culture)\n * }\n *\n * \n * ```\n *\n * All localizers accept a function of\n * the form `(date: Date, culture: ?string, localizer: Localizer) -> string`\n */\n formats: PropTypes.shape({\n /**\n * Format for the day of the month heading in the Month view.\n * e.g. \"01\", \"02\", \"03\", etc\n */\n dateFormat: dateFormat,\n\n /**\n * A day of the week format for Week and Day headings,\n * e.g. \"Wed 01/04\"\n *\n */\n dayFormat: dateFormat,\n\n /**\n * Week day name format for the Month week day headings,\n * e.g: \"Sun\", \"Mon\", \"Tue\", etc\n *\n */\n weekdayFormat: dateFormat,\n\n /**\n * The timestamp cell formats in Week and Time views, e.g. \"4:00 AM\"\n */\n timeGutterFormat: dateFormat,\n\n /**\n * Toolbar header format for the Month view, e.g \"2015 April\"\n *\n */\n monthHeaderFormat: dateFormat,\n\n /**\n * Toolbar header format for the Week views, e.g. \"Mar 29 - Apr 04\"\n */\n dayRangeHeaderFormat: dateRangeFormat,\n\n /**\n * Toolbar header format for the Day view, e.g. \"Wednesday Apr 01\"\n */\n dayHeaderFormat: dateFormat,\n\n /**\n * Toolbar header format for the Agenda view, e.g. \"4/1/2015 – 5/1/2015\"\n */\n agendaHeaderFormat: dateRangeFormat,\n\n /**\n * A time range format for selecting time slots, e.g \"8:00am – 2:00pm\"\n */\n selectRangeFormat: dateRangeFormat,\n agendaDateFormat: dateFormat,\n agendaTimeFormat: dateFormat,\n agendaTimeRangeFormat: dateRangeFormat,\n\n /**\n * Time range displayed on events.\n */\n eventTimeRangeFormat: dateRangeFormat,\n\n /**\n * An optional event time range for events that continue onto another day\n */\n eventTimeRangeStartFormat: dateFormat,\n\n /**\n * An optional event time range for events that continue from another day\n */\n eventTimeRangeEndFormat: dateFormat\n }),\n\n /**\n * Customize how different sections of the calendar render by providing custom Components.\n * In particular the `Event` component can be specified for the entire calendar, or you can\n * provide an individual component for each view type.\n *\n * ```jsx\n * let components = {\n * event: MyEvent, // used by each view (Month, Day, Week)\n * eventWrapper: MyEventWrapper,\n * eventContainerWrapper: MyEventContainerWrapper,\n * dateCellWrapper: MyDateCellWrapper,\n * timeSlotWrapper: MyTimeSlotWrapper,\n * timeGutterHeader: MyTimeGutterWrapper,\n * toolbar: MyToolbar,\n * agenda: {\n * \t event: MyAgendaEvent // with the agenda view use a different component to render events\n * time: MyAgendaTime,\n * date: MyAgendaDate,\n * },\n * day: {\n * header: MyDayHeader,\n * event: MyDayEvent,\n * },\n * week: {\n * header: MyWeekHeader,\n * event: MyWeekEvent,\n * },\n * month: {\n * header: MyMonthHeader,\n * dateHeader: MyMonthDateHeader,\n * event: MyMonthEvent,\n * }\n * }\n * \n * ```\n */\n components: PropTypes.shape({\n event: PropTypes.elementType,\n eventWrapper: PropTypes.elementType,\n eventContainerWrapper: PropTypes.elementType,\n dateCellWrapper: PropTypes.elementType,\n timeSlotWrapper: PropTypes.elementType,\n timeGutterHeader: PropTypes.elementType,\n resourceHeader: PropTypes.elementType,\n toolbar: PropTypes.elementType,\n agenda: PropTypes.shape({\n date: PropTypes.elementType,\n time: PropTypes.elementType,\n event: PropTypes.elementType\n }),\n day: PropTypes.shape({\n header: PropTypes.elementType,\n event: PropTypes.elementType\n }),\n week: PropTypes.shape({\n header: PropTypes.elementType,\n event: PropTypes.elementType\n }),\n month: PropTypes.shape({\n header: PropTypes.elementType,\n dateHeader: PropTypes.elementType,\n event: PropTypes.elementType\n })\n }),\n\n /**\n * String messages used throughout the component, override to provide localizations\n */\n messages: PropTypes.shape({\n allDay: PropTypes.node,\n previous: PropTypes.node,\n next: PropTypes.node,\n today: PropTypes.node,\n month: PropTypes.node,\n week: PropTypes.node,\n day: PropTypes.node,\n agenda: PropTypes.node,\n date: PropTypes.node,\n time: PropTypes.node,\n event: PropTypes.node,\n noEventsInRange: PropTypes.node,\n showMore: PropTypes.func\n }),\n\n /**\n * A day event layout(arrangement) algorithm.\n * `overlap` allows events to be overlapped.\n * `no-overlap` resizes events to avoid overlap.\n * or custom `Function(events, minimumStartDifference, slotMetrics, accessors)`\n */\n dayLayoutAlgorithm: DayLayoutAlgorithmPropType\n} : {};\nvar Calendar$1 = uncontrollable(Calendar, {\n view: 'onView',\n date: 'onNavigate',\n selected: 'onSelectEvent'\n});\n\nvar dateRangeFormat$1 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, 'L', culture) + ' – ' + local.format(end, 'L', culture);\n};\n\nvar timeRangeFormat = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, 'LT', culture) + ' – ' + local.format(end, 'LT', culture);\n};\n\nvar timeRangeStartFormat = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, 'LT', culture) + ' – ';\n};\n\nvar timeRangeEndFormat = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return ' – ' + local.format(end, 'LT', culture);\n};\n\nvar weekRangeFormat = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMMM DD', culture) + ' – ' + local.format(end, eq(start, end, 'month') ? 'DD' : 'MMMM DD', culture);\n};\n\nvar formats = {\n dateFormat: 'DD',\n dayFormat: 'DD ddd',\n weekdayFormat: 'ddd',\n selectRangeFormat: timeRangeFormat,\n eventTimeRangeFormat: timeRangeFormat,\n eventTimeRangeStartFormat: timeRangeStartFormat,\n eventTimeRangeEndFormat: timeRangeEndFormat,\n timeGutterFormat: 'LT',\n monthHeaderFormat: 'MMMM YYYY',\n dayHeaderFormat: 'dddd MMM DD',\n dayRangeHeaderFormat: weekRangeFormat,\n agendaHeaderFormat: dateRangeFormat$1,\n agendaDateFormat: 'ddd MMM DD',\n agendaTimeFormat: 'LT',\n agendaTimeRangeFormat: timeRangeFormat\n};\nfunction moment (moment) {\n var locale = function locale(m, c) {\n return c ? m.locale(c) : m;\n };\n\n return new DateLocalizer({\n formats: formats,\n firstOfWeek: function firstOfWeek(culture) {\n var data = culture ? moment.localeData(culture) : moment.localeData();\n return data ? data.firstDayOfWeek() : 0;\n },\n format: function format(value, _format, culture) {\n return locale(moment(value), culture).format(_format);\n }\n });\n}\n\nvar dateRangeFormat$2 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, 'd', culture) + ' – ' + local.format(end, 'd', culture);\n};\n\nvar timeRangeFormat$1 = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, 't', culture) + ' – ' + local.format(end, 't', culture);\n};\n\nvar timeRangeStartFormat$1 = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, 't', culture) + ' – ';\n};\n\nvar timeRangeEndFormat$1 = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return ' – ' + local.format(end, 't', culture);\n};\n\nvar weekRangeFormat$1 = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMM dd', culture) + ' – ' + local.format(end, eq(start, end, 'month') ? 'dd' : 'MMM dd', culture);\n};\n\nvar formats$1 = {\n dateFormat: 'dd',\n dayFormat: 'ddd dd/MM',\n weekdayFormat: 'ddd',\n selectRangeFormat: timeRangeFormat$1,\n eventTimeRangeFormat: timeRangeFormat$1,\n eventTimeRangeStartFormat: timeRangeStartFormat$1,\n eventTimeRangeEndFormat: timeRangeEndFormat$1,\n timeGutterFormat: 't',\n monthHeaderFormat: 'Y',\n dayHeaderFormat: 'dddd MMM dd',\n dayRangeHeaderFormat: weekRangeFormat$1,\n agendaHeaderFormat: dateRangeFormat$2,\n agendaDateFormat: 'ddd MMM dd',\n agendaTimeFormat: 't',\n agendaTimeRangeFormat: timeRangeFormat$1\n};\nfunction oldGlobalize (globalize) {\n function getCulture(culture) {\n return culture ? globalize.findClosestCulture(culture) : globalize.culture();\n }\n\n function firstOfWeek(culture) {\n culture = getCulture(culture);\n return culture && culture.calendar.firstDay || 0;\n }\n\n return new DateLocalizer({\n firstOfWeek: firstOfWeek,\n formats: formats$1,\n format: function format(value, _format, culture) {\n return globalize.format(value, _format, culture);\n }\n });\n}\n\nvar dateRangeFormat$3 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, {\n date: 'short'\n }, culture) + ' – ' + local.format(end, {\n date: 'short'\n }, culture);\n};\n\nvar timeRangeFormat$2 = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, {\n time: 'short'\n }, culture) + ' – ' + local.format(end, {\n time: 'short'\n }, culture);\n};\n\nvar timeRangeStartFormat$2 = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, {\n time: 'short'\n }, culture) + ' – ';\n};\n\nvar timeRangeEndFormat$2 = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return ' – ' + local.format(end, {\n time: 'short'\n }, culture);\n};\n\nvar weekRangeFormat$2 = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMM dd', culture) + ' – ' + local.format(end, eq(start, end, 'month') ? 'dd' : 'MMM dd', culture);\n};\n\nvar formats$2 = {\n dateFormat: 'dd',\n dayFormat: 'eee dd/MM',\n weekdayFormat: 'eee',\n selectRangeFormat: timeRangeFormat$2,\n eventTimeRangeFormat: timeRangeFormat$2,\n eventTimeRangeStartFormat: timeRangeStartFormat$2,\n eventTimeRangeEndFormat: timeRangeEndFormat$2,\n timeGutterFormat: {\n time: 'short'\n },\n monthHeaderFormat: 'MMMM yyyy',\n dayHeaderFormat: 'eeee MMM dd',\n dayRangeHeaderFormat: weekRangeFormat$2,\n agendaHeaderFormat: dateRangeFormat$3,\n agendaDateFormat: 'eee MMM dd',\n agendaTimeFormat: {\n time: 'short'\n },\n agendaTimeRangeFormat: timeRangeFormat$2\n};\nfunction globalize (globalize) {\n var locale = function locale(culture) {\n return culture ? globalize(culture) : globalize;\n }; // return the first day of the week from the locale data. Defaults to 'world'\n // territory if no territory is derivable from CLDR.\n // Failing to use CLDR supplemental (not loaded?), revert to the original\n // method of getting first day of week.\n\n\n function firstOfWeek(culture) {\n try {\n var days = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];\n var cldr = locale(culture).cldr;\n var territory = cldr.attributes.territory;\n var weekData = cldr.get('supplemental').weekData;\n var firstDay = weekData.firstDay[territory || '001'];\n return days.indexOf(firstDay);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Failed to accurately determine first day of the week.' + ' Is supplemental data loaded into CLDR?');\n } // maybe cldr supplemental is not loaded? revert to original method\n\n\n var date = new Date(); //cldr-data doesn't seem to be zero based\n\n var localeDay = Math.max(parseInt(locale(culture).formatDate(date, {\n raw: 'e'\n }), 10) - 1, 0);\n return Math.abs(date.getDay() - localeDay);\n }\n }\n\n if (!globalize.load) return oldGlobalize(globalize);\n return new DateLocalizer({\n firstOfWeek: firstOfWeek,\n formats: formats$2,\n format: function format(value, _format, culture) {\n _format = typeof _format === 'string' ? {\n raw: _format\n } : _format;\n return locale(culture).formatDate(value, _format);\n }\n });\n}\n\nvar dateRangeFormat$4 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, 'P', culture) + \" \\u2013 \" + local.format(end, 'P', culture);\n};\n\nvar timeRangeFormat$3 = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, 'p', culture) + \" \\u2013 \" + local.format(end, 'p', culture);\n};\n\nvar timeRangeStartFormat$3 = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, 'h:mma', culture) + \" \\u2013 \";\n};\n\nvar timeRangeEndFormat$3 = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return \" \\u2013 \" + local.format(end, 'h:mma', culture);\n};\n\nvar weekRangeFormat$3 = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMMM dd', culture) + \" \\u2013 \" + local.format(end, eq(start, end, 'month') ? 'dd' : 'MMMM dd', culture);\n};\n\nvar formats$3 = {\n dateFormat: 'dd',\n dayFormat: 'dd ddd',\n weekdayFormat: 'cccc',\n selectRangeFormat: timeRangeFormat$3,\n eventTimeRangeFormat: timeRangeFormat$3,\n eventTimeRangeStartFormat: timeRangeStartFormat$3,\n eventTimeRangeEndFormat: timeRangeEndFormat$3,\n timeGutterFormat: 'p',\n monthHeaderFormat: 'MMMM yyyy',\n dayHeaderFormat: 'dddd MMM dd',\n dayRangeHeaderFormat: weekRangeFormat$3,\n agendaHeaderFormat: dateRangeFormat$4,\n agendaDateFormat: 'ddd MMM dd',\n agendaTimeFormat: 'p',\n agendaTimeRangeFormat: timeRangeFormat$3\n};\n\nvar dateFnsLocalizer = function dateFnsLocalizer(_ref6) {\n var startOfWeek = _ref6.startOfWeek,\n getDay = _ref6.getDay,\n _format = _ref6.format,\n locales = _ref6.locales;\n return new DateLocalizer({\n formats: formats$3,\n firstOfWeek: function firstOfWeek(culture) {\n return getDay(startOfWeek(new Date(), {\n locale: locales[culture]\n }));\n },\n format: function format(value, formatString, culture) {\n return _format(new Date(value), formatString, {\n locale: locales[culture]\n });\n }\n });\n};\n\nvar components = {\n eventWrapper: NoopWrapper,\n timeSlotWrapper: NoopWrapper,\n dateCellWrapper: NoopWrapper\n};\n\nexport { Calendar$1 as Calendar, DateLocalizer, navigate as Navigate, views as Views, components, dateFnsLocalizer, globalize as globalizeLocalizer, moment as momentLocalizer, moveDate as move };\n","import matches from './matches';\n/**\n * Returns the closest parent element that matches a given selector.\n * \n * @param node the reference element\n * @param selector the selector to match\n * @param stopAt stop traversing when this element is found\n */\n\nexport default function closest(node, selector, stopAt) {\n if (node.closest && !stopAt) node.closest(selector);\n var nextNode = node;\n\n do {\n if (matches(nextNode, selector)) return nextNode;\n nextNode = nextNode.parentElement;\n } while (nextNode && nextNode !== stopAt && nextNode.nodeType === document.ELEMENT_NODE);\n\n return null;\n}","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nvar _jsxFileName = \"/Users/jquense/src/uncontrollable/src/uncontrollable.js\";\nimport React from 'react';\nimport { polyfill } from 'react-lifecycles-compat';\nimport invariant from 'invariant';\nimport * as Utils from './utils';\nexport default function uncontrollable(Component, controlledValues, methods) {\n if (methods === void 0) {\n methods = [];\n }\n\n var displayName = Component.displayName || Component.name || 'Component';\n var canAcceptRef = Utils.canAcceptRef(Component);\n var controlledProps = Object.keys(controlledValues);\n var PROPS_TO_OMIT = controlledProps.map(Utils.defaultKey);\n !(canAcceptRef || !methods.length) ? process.env.NODE_ENV !== \"production\" ? invariant(false, '[uncontrollable] stateless function components cannot pass through methods ' + 'because they have no associated instances. Check component: ' + displayName + ', ' + 'attempting to pass through methods: ' + methods.join(', ')) : invariant(false) : void 0;\n\n var UncontrolledComponent =\n /*#__PURE__*/\n function (_React$Component) {\n _inheritsLoose(UncontrolledComponent, _React$Component);\n\n function UncontrolledComponent() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.handlers = Object.create(null);\n controlledProps.forEach(function (propName) {\n var handlerName = controlledValues[propName];\n\n var handleChange = function handleChange(value) {\n if (_this.props[handlerName]) {\n var _this$props;\n\n _this._notifying = true;\n\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n (_this$props = _this.props)[handlerName].apply(_this$props, [value].concat(args));\n\n _this._notifying = false;\n }\n\n if (!_this.unmounted) _this.setState(function (_ref) {\n var _extends2;\n\n var values = _ref.values;\n return {\n values: _extends(Object.create(null), values, (_extends2 = {}, _extends2[propName] = value, _extends2))\n };\n });\n };\n\n _this.handlers[handlerName] = handleChange;\n });\n if (methods.length) _this.attachRef = function (ref) {\n _this.inner = ref;\n };\n var values = Object.create(null);\n controlledProps.forEach(function (key) {\n values[key] = _this.props[Utils.defaultKey(key)];\n });\n _this.state = {\n values: values,\n prevProps: {}\n };\n return _this;\n }\n\n var _proto = UncontrolledComponent.prototype;\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate() {\n //let setState trigger the update\n return !this._notifying;\n };\n\n UncontrolledComponent.getDerivedStateFromProps = function getDerivedStateFromProps(props, _ref2) {\n var values = _ref2.values,\n prevProps = _ref2.prevProps;\n var nextState = {\n values: _extends(Object.create(null), values),\n prevProps: {}\n };\n controlledProps.forEach(function (key) {\n /**\n * If a prop switches from controlled to Uncontrolled\n * reset its value to the defaultValue\n */\n nextState.prevProps[key] = props[key];\n\n if (!Utils.isProp(props, key) && Utils.isProp(prevProps, key)) {\n nextState.values[key] = props[Utils.defaultKey(key)];\n }\n });\n return nextState;\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.unmounted = true;\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props2 = this.props,\n innerRef = _this$props2.innerRef,\n props = _objectWithoutPropertiesLoose(_this$props2, [\"innerRef\"]);\n\n PROPS_TO_OMIT.forEach(function (prop) {\n delete props[prop];\n });\n var newProps = {};\n controlledProps.forEach(function (propName) {\n var propValue = _this2.props[propName];\n newProps[propName] = propValue !== undefined ? propValue : _this2.state.values[propName];\n });\n return React.createElement(Component, _extends({}, props, newProps, this.handlers, {\n ref: innerRef || this.attachRef\n }));\n };\n\n return UncontrolledComponent;\n }(React.Component);\n\n polyfill(UncontrolledComponent);\n UncontrolledComponent.displayName = \"Uncontrolled(\" + displayName + \")\";\n UncontrolledComponent.propTypes = _extends({\n innerRef: function innerRef() {}\n }, Utils.uncontrolledPropTypes(controlledValues, displayName));\n methods.forEach(function (method) {\n UncontrolledComponent.prototype[method] = function $proxiedMethod() {\n var _this$inner;\n\n return (_this$inner = this.inner)[method].apply(_this$inner, arguments);\n };\n });\n var WrappedComponent = UncontrolledComponent;\n\n if (React.forwardRef) {\n WrappedComponent = React.forwardRef(function (props, ref) {\n return React.createElement(UncontrolledComponent, _extends({}, props, {\n innerRef: ref,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 128\n },\n __self: this\n }));\n });\n WrappedComponent.propTypes = UncontrolledComponent.propTypes;\n }\n\n WrappedComponent.ControlledComponent = Component;\n /**\n * useful when wrapping a Component and you want to control\n * everything\n */\n\n WrappedComponent.deferControlTo = function (newComponent, additions, nextMethods) {\n if (additions === void 0) {\n additions = {};\n }\n\n return uncontrollable(newComponent, _extends({}, controlledValues, additions), nextMethods);\n };\n\n return WrappedComponent;\n}","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\n// Default imports\r\nimport React, { useContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\n// Internal components and functions\r\nimport Button from '../Button';\r\nimport DatePicker from '../DatePicker';\r\nimport Divider from '../Divider';\r\nimport Dropdown from '../Dropdown';\r\nimport DropdownItem from '../Dropdown/DropdownItem';\r\nimport FormControl from '../FormControl';\r\nimport Grid from '../Grid';\r\nimport IconButton from '../IconButton';\r\nimport Tooltip from '../Tooltip';\r\nimport Typography from '../Typography';\r\nimport { CalendarContext } from './Calendar';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport withStyles from '../styles';\r\nimport { sizingSmall, widthFluid } from '../styles/tokens';\r\n\r\n// DS Icons imports\r\nimport Calendar from '@ellucian/ds-icons/lib/Calendar';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\n\r\n// Utilities\r\nimport Popper from '@material-ui/core/Popper';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\n\r\n// create constants for navigation used in react-big-calendar\r\nexport var navigate = {\r\n PREVIOUS: 'PREV',\r\n NEXT: 'NEXT',\r\n TODAY: 'TODAY',\r\n DATE: 'DATE'\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n alignLabel: {\r\n alignSelf: 'center'\r\n },\r\n iconRoot: {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n },\r\n iconButtonMargin: {\r\n margin: '0 0.125rem'\r\n },\r\n toolbar: {\r\n minWidth: '6.25rem'\r\n },\r\n datePickerPosition: {\r\n display: 'flex'\r\n },\r\n gridMarginOverride: {\r\n margin: 0,\r\n width: widthFluid\r\n },\r\n popperIndex: {\r\n zIndex: 5\r\n },\r\n todayButton: {\r\n flex: 1\r\n }\r\n };\r\n};\r\n\r\nvar CalendarToolbar = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n localizer = props.localizer,\r\n label = props.label,\r\n edsContext = props.edsContext,\r\n onNavigate = props.onNavigate,\r\n onView = props.onView,\r\n views = props.views;\r\n\r\n // Initialize states using useState hook\r\n\r\n var _useState = useState(null),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n anchorEl = _useState2[0],\r\n setAnchorEl = _useState2[1];\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n focused = _useState4[0],\r\n setFocused = _useState4[1];\r\n\r\n var _useState5 = useState(false),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n open = _useState6[0],\r\n setOpen = _useState6[1];\r\n\r\n var messages = localizer.messages;\r\n\r\n var _useContext = useContext(CalendarContext),\r\n date = _useContext.date,\r\n setDate = _useContext.setDate,\r\n showViewNames = _useContext.showViewNames,\r\n selectedView = _useContext.selectedView,\r\n setSelectedView = _useContext.setSelectedView,\r\n width = _useContext.width;\r\n\r\n var handleClick = function handleClick(event) {\r\n var currentTarget = event.currentTarget;\r\n\r\n setAnchorEl(currentTarget);\r\n setOpen(true);\r\n };\r\n\r\n var handleClickAway = function handleClickAway() {\r\n setOpen(false);\r\n };\r\n\r\n var handleDateChange = function handleDateChange(selectedDate) {\r\n setOpen(false);\r\n setDate(selectedDate.toDate());\r\n };\r\n\r\n var handleFocusChange = function handleFocusChange() {\r\n setFocused(true);\r\n };\r\n\r\n var handleNavigation = function handleNavigation(action) {\r\n onNavigate(action);\r\n };\r\n\r\n var handleViewChange = function handleViewChange(event) {\r\n var value = event.target.value;\r\n\r\n onView(value);\r\n setSelectedView(value);\r\n };\r\n\r\n var sentenceCase = function sentenceCase(message) {\r\n return message.toLowerCase().split(' ').map(function (word, index) {\r\n return word.replace(word[0], index > 0 ? word[0].toLowerCase() : word[0].toUpperCase());\r\n }).join(' ');\r\n };\r\n\r\n var dropdownControl = views.length >= 1 && React.createElement(\r\n Grid,\r\n { className: 'rbc-btn-group', item: true },\r\n React.createElement(\r\n FormControl,\r\n { className: classes.toolbar },\r\n React.createElement(\r\n Dropdown,\r\n {\r\n label: '',\r\n onChange: handleViewChange,\r\n value: selectedView,\r\n size: 'small'\r\n },\r\n views.map(function (name) {\r\n return React.createElement(DropdownItem, {\r\n key: name,\r\n label: sentenceCase(messages[name]),\r\n value: name\r\n });\r\n })\r\n )\r\n )\r\n );\r\n\r\n var datePickerControl = React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n direction: 'row',\r\n justify: 'flex-end',\r\n spacing: 0\r\n },\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.CalendarToolBar.openDatePicker'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n 'aria-label': edsContext.formatMessage('component.CalendarToolBar.openDatePicker'),\r\n color: 'gray',\r\n onClick: handleClick,\r\n 'aria-haspopup': 'true'\r\n },\r\n React.createElement(Calendar, null)\r\n )\r\n ),\r\n React.createElement(\r\n Popper,\r\n {\r\n anchorEl: anchorEl,\r\n className: classes.popperIndex,\r\n disablePortal: true,\r\n open: open,\r\n placement: 'bottom-end'\r\n },\r\n React.createElement(DatePicker, {\r\n date: moment(date),\r\n focused: focused,\r\n id: 'CalendarToolbar__StandaloneDatePicker',\r\n onDateChange: handleDateChange,\r\n onFocusChange: handleFocusChange,\r\n onOutsideClick: handleClickAway,\r\n variant: 'standalone'\r\n })\r\n )\r\n )\r\n )\r\n );\r\n\r\n var labelNavigation = React.createElement(\r\n Grid,\r\n { dir: edsContext.dir, item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n direction: 'row',\r\n justify: 'flex-start',\r\n spacing: 0,\r\n wrap: 'nowrap'\r\n },\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Calendar.previous'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n className: classes.iconButtonMargin,\r\n onClick: function onClick() {\r\n return handleNavigation(navigate.PREVIOUS);\r\n },\r\n 'aria-label': edsContext.formatMessage('component.Calendar.previous')\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronRight, { className: classes.iconRoot }) : React.createElement(ChevronLeft, { className: classes.iconRoot })\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n Grid,\r\n { className: classes.alignLabel, item: true },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body1', component: 'div', className: 'hedtech-calendar-date-title' },\r\n label\r\n )\r\n ),\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Calendar.next'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n className: classes.iconButtonMargin,\r\n onClick: function onClick() {\r\n return handleNavigation(navigate.NEXT);\r\n },\r\n 'aria-label': edsContext.formatMessage('component.Calendar.next')\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronLeft, { className: classes.iconRoot }) : React.createElement(ChevronRight, { className: classes.iconRoot })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\n var todayButton = React.createElement(\r\n Grid,\r\n {\r\n className: classNames(classes.alignLabel, classes.todayButton),\r\n item: true\r\n },\r\n React.createElement(\r\n Button,\r\n {\r\n onClick: function onClick() {\r\n return handleNavigation(navigate.TODAY);\r\n },\r\n variant: 'text'\r\n },\r\n messages.today\r\n )\r\n );\r\n\r\n return React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n className: 'calendar-toolbar',\r\n container: true,\r\n direction: 'column',\r\n spacing: 0,\r\n wrap: 'nowrap',\r\n ref: ref\r\n },\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n dir: edsContext.dir,\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n direction: 'row',\r\n justify: showViewNames ? 'space-between' : 'flex-end',\r\n spacing: 2\r\n },\r\n todayButton,\r\n showViewNames && width !== 'xs' && dropdownControl,\r\n datePickerControl\r\n )\r\n ),\r\n width === 'xs' && React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n justify: 'center',\r\n spacing: 2\r\n },\r\n showViewNames && width === 'xs' && dropdownControl\r\n )\r\n ),\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(Divider, {\r\n className: classes.divider,\r\n style: { margin: '0 1rem' },\r\n variant: 'middle'\r\n })\r\n ),\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n justify: 'center',\r\n spacing: 2\r\n },\r\n labelNavigation\r\n )\r\n )\r\n );\r\n});\r\n\r\nCalendarToolbar.propTypes = {\r\n /**\r\n * JSS classes object.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The active view to display.\r\n */\r\n view: PropTypes.string.isRequired,\r\n /**\r\n * An array of views that is sent by react-big-calendar.\r\n */\r\n views: PropTypes.arrayOf(PropTypes.string).isRequired,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Callback function for updating the current Date based on the selection\r\n * from DatePicker\r\n */\r\n onDateChange: PropTypes.func,\r\n /**\r\n * The node to render the date range label.\r\n */\r\n label: PropTypes.node.isRequired,\r\n /**\r\n * Internal localizer function used by react-big-calendar.\r\n */\r\n localizer: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n onNavigate: PropTypes.func.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n onView: PropTypes.func.isRequired\r\n};\r\n\r\nCalendarToolbar.displayName = 'CalendarToolbar';\r\n\r\nexport default withEDSContext(withStyles(styles)(CalendarToolbar));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport withTheme from '@material-ui/core/styles/withTheme';\r\nimport { borderWidthThickest } from '../styles/tokens';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nvar EventWrapper = React.forwardRef(function (props, ref) {\r\n var event = props.event,\r\n theme = props.theme,\r\n children = props.children;\r\n // Check if a 'color' property is attched to the event,\r\n // if there is, and the color it non-empty then set the color to the value\r\n // else set to the current theme ctaColor base shade.\r\n\r\n var eventColor = event.hasOwnProperty('color') ? event.color.length > 0 && event.color : theme.palette.tertiary.fountain[600];\r\n\r\n var styles = {\r\n root: {\r\n '& > .rbc-event': {\r\n borderLeft: borderWidthThickest + ' solid ' + eventColor\r\n }\r\n }\r\n };\r\n\r\n /* eslint-disable */\r\n var div = function div(_ref) {\r\n var classes = _ref.classes,\r\n children = _ref.children,\r\n edsContext = _ref.edsContext;\r\n return React.createElement(\r\n 'div',\r\n { dir: edsContext.dir, className: classes.root },\r\n children\r\n );\r\n };\r\n /* eslint-enable */\r\n\r\n var StyledEventWrapper = withEDSContext(withStyles(styles)(div));\r\n\r\n return React.createElement(\r\n StyledEventWrapper,\r\n { ref: ref },\r\n children\r\n );\r\n});\r\n\r\nEventWrapper.propTypes = {\r\n /**\r\n * Event data sent to the WeekViewSchedule.\r\n */\r\n event: PropTypes.object.isRequired,\r\n /**\r\n * @ignore\r\n * Material-UI provided theme.\r\n */\r\n theme: PropTypes.object,\r\n /**\r\n * @ignore\r\n * The children to render from react-big-calendar.\r\n */\r\n children: PropTypes.any\r\n};\r\n\r\nEventWrapper.displayName = 'EventWrapper';\r\n\r\nexport default withTheme(EventWrapper);","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; }\r\n\r\nimport { sizingXSmall, sizingXxSmall, sizingLarge, sizingXxLarge, spacing20, spacing30, spacing40, spacing80, fontSizeSmall, fontSizeLarge, fontFamilyDefault, borderRadiusXSmall, borderRadiusSmall, borderRadiusMedium, borderRadiusCircle, borderWidthThin, borderWidthThick, colorTextAlertError } from '../../styles/tokens';\r\n//import scrollbarSize from 'dom-helpers/scrollbarSize';\r\n\r\nvar ReactBigCalendarStyles = function ReactBigCalendarStyles(theme) {\r\n var _global;\r\n\r\n return {\r\n '@global': (_global = {\r\n '.rbc-container': {\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '\\n 0px 0.188rem 0.313rem -0.063rem rgba(0, 0, 0, 0.2),\\n 0px 0.313rem ' + spacing30 + ' 0px rgba(0, 0, 0, 0.14),\\n 0px 0.063rem 0.875rem 0.063rem rgba(0, 0, 0, 0.12)\\n '\r\n },\r\n '.rbc-btn': {\r\n color: 'inherit',\r\n font: 'inherit',\r\n margin: 0\r\n },\r\n 'button.rbc-btn': {\r\n overflow: 'visible',\r\n textTransform: 'none',\r\n WebkitAppearance: 'button',\r\n cursor: 'pointer'\r\n },\r\n 'button[disabled].rbc-btn': {\r\n backgroundColor: theme.palette.grey[400],\r\n cursor: 'not-allowed'\r\n },\r\n 'button.rbc-input::-moz-focus-inner': {\r\n border: 0,\r\n padding: 0\r\n },\r\n '.rbc-calendar': {\r\n boxSizing: 'border-box',\r\n height: '100%',\r\n display: 'flex',\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n WebkitAlignItems: 'stretch',\r\n MsFlexAlign: 'stretch',\r\n alignItems: 'stretch',\r\n fontFamily: fontFamilyDefault\r\n }\r\n }, _defineProperty(_global, '.rbc-calendar *,\\n .rbc-calendar *:before,\\n .rbc-calendar *:after', {\r\n boxSizing: 'inherit'\r\n }), _defineProperty(_global, '.rbc-abs-full,\\n .rbc-row-bg', {\r\n overflow: 'hidden',\r\n position: 'absolute',\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0\r\n }), _defineProperty(_global, '.rbc-ellipsis,\\n .rbc-event-label,\\n .rbc-row-segment .rbc-event-content,\\n .rbc-show-more', {\r\n display: 'block',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap'\r\n }), _defineProperty(_global, '.rbc-off-range', {\r\n color: '#999999'\r\n }), _defineProperty(_global, '.rbc-off-range-bg', {\r\n background: '#e5e5e5'\r\n }), _defineProperty(_global, '.rbc-header', {\r\n overflow: 'hidden',\r\n WebkitFlex: '1 0 0%',\r\n MsFlex: '1 0 0%',\r\n flex: '1 0 0%',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n padding: '0 ' + spacing20,\r\n textAlign: 'center',\r\n verticalAlign: 'middle',\r\n fontWeight: 'bold',\r\n fontSize: fontSizeSmall,\r\n minHeight: 0,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-header + .rbc-header', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-header > a,\\n .rbc-header > a:active,\\n .rbc-header > a:visited', {\r\n color: theme.palette.grey[500],\r\n textDecoration: 'none'\r\n }), _defineProperty(_global, '.rbc-row-content', {\r\n position: 'relative',\r\n MozUserSelect: 'none',\r\n MsUserSelect: 'none',\r\n userSelect: 'none',\r\n WebkitUserSelect: 'none',\r\n zIndex: 4\r\n }), _defineProperty(_global, '.rbc-highlight-today .rbc-today', {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }), _defineProperty(_global, '.rbc-toolbar', {\r\n display: 'flex',\r\n WebkitFlexWrap: 'wrap',\r\n MsFlexWrap: 'wrap',\r\n flexWrap: 'wrap',\r\n WebkitJustifyContent: 'flex-end',\r\n MsFlexPack: 'center',\r\n justifyContent: 'flex-end',\r\n WebkitAlignItems: 'center',\r\n MsFlexAlign: 'center',\r\n alignItems: 'center',\r\n fontSize: fontSizeLarge,\r\n marginRight: spacing30\r\n }), _defineProperty(_global, '.rbc-btn-group', {\r\n display: 'inline-block',\r\n whiteSpace: 'nowrap'\r\n }), _defineProperty(_global, '.rbc-btn-group > button:first-child:not(:last-child)', {\r\n borderTopRightRadius: 0,\r\n borderBottomRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-btn-group > button:last-child:not(:first-child)', {\r\n borderTopLeftRadius: 0,\r\n borderBottomLeftRadius: 0\r\n }), _defineProperty(_global, '.rbc-btn-group > button:not(:first-child):not(:last-child)', {\r\n borderRadius: 0\r\n }), _defineProperty(_global, '.rbc-btn-group button + button', {\r\n marginLeft: '-0.063rem'\r\n }), _defineProperty(_global, '.rbc-btn-group+.rbc-btn-group,\\n .rbc-btn-group+button', {\r\n marginLeft: '0.625rem'\r\n }), _defineProperty(_global, '.rbc-event', {\r\n border: 'none',\r\n boxShadow: '0 0.125rem ' + sizingXxSmall + ' 0.063rem rgba(0, 0, 0, 0.3)',\r\n margin: 0,\r\n padding: '0.125rem ' + spacing20,\r\n backgroundColor: theme.palette.common.white,\r\n borderLeft: borderRadiusSmall + ' solid ' + theme.palette.tertiary.fountain[600],\r\n borderRadius: borderRadiusXSmall,\r\n color: '#151618',\r\n cursor: 'pointer',\r\n width: '100%',\r\n textAlign: 'left',\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeSmall\r\n }), _defineProperty(_global, '.rbc-slot-selecting .rbc-event', {\r\n cursor: 'inherit',\r\n pointerEvents: 'none'\r\n }), _defineProperty(_global, '.rbc-event.rbc-selected', {\r\n backgroundColor: theme.palette.common.white\r\n }), _defineProperty(_global, '.rbc-event:focus', {\r\n outline: sizingXxSmall + ' auto ' + theme.palette.tertiary.fountain[600]\r\n }), _defineProperty(_global, '.rbc-event-label', {\r\n fontSize: fontSizeSmall\r\n }), _defineProperty(_global, '.rbc-event-overlaps', {\r\n boxShadow: '-0.063rem 0.063rem ' + sizingXxSmall + ' 0px rgba(51, 51, 51, 0.5)'\r\n }), _defineProperty(_global, '.rbc-event-continues-prior', {\r\n borderTopLeftRadius: 0,\r\n borderBottomLeftRadius: 0\r\n }), _defineProperty(_global, '.rbc-event-continues-after', {\r\n borderTopRightRadius: 0,\r\n borderBottomRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-event-continues-earlier', {\r\n borderTopLeftRadius: 0,\r\n borderTopRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-event-continues-later', {\r\n borderBottomLeftRadius: 0,\r\n borderBottomRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-row', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'row',\r\n MsFlexDirection: 'row',\r\n flexDirection: 'row'\r\n }), _defineProperty(_global, '.rbc-row-segment', {\r\n padding: '0 0.063rem 0.063rem 0.063rem'\r\n }), _defineProperty(_global, '.rbc-date-cell.rbc-now', {\r\n fontWeight: 'bold'\r\n }), _defineProperty(_global, '.rbc-date-cell>a,\\n .rbc - date - cell > a: active,\\n .rbc - date - cell > a: visited', {\r\n color: 'inherit',\r\n textDecoration: 'none'\r\n }), _defineProperty(_global, '.rbc-row-bg', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'row',\r\n MsFlexDirection: 'row',\r\n flexDirection: 'row',\r\n WebkitFlex: '1 0 0',\r\n MsFlex: '1 0 0px',\r\n flex: '1 0 0',\r\n overflow: 'hidden'\r\n }), _defineProperty(_global, '.rbc-day-bg', {\r\n WebkitFlex: '1 0 0%',\r\n MsFlex: '1 0 0%',\r\n flex: '1 0 0%'\r\n }), _defineProperty(_global, '.rbc-day-bg + .rbc-day-bg', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-column', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n minHeight: '100%'\r\n }), _defineProperty(_global, '.rbc-time-column .rbc-timeslot-group', {\r\n WebkitFlex: '1',\r\n MsFlex: '1',\r\n flex: '1'\r\n }), _defineProperty(_global, '.rbc-time-column .rbc-timeslot-group:nth-child(odd)', {\r\n backgroundColor: theme.palette.grey[200]\r\n }), _defineProperty(_global, '.rbc-time-column .rbc-timeslot-group:nth-child(odd).rbc-today', {\r\n backgroundColor: theme.palette.grey[200]\r\n }), _defineProperty(_global, '.rbc-timeslot-group', {\r\n minHeight: sizingLarge,\r\n display: 'flex',\r\n WebkitFlexFlow: 'column nowrap',\r\n MsFlexFlow: 'column nowrap',\r\n flexFlow: 'column nowrap'\r\n }), _defineProperty(_global, '.rbc-time-gutter,\\n .rbc-header-gutter', {\r\n WebkitFlex: 'none',\r\n MsFlex: 'none',\r\n flex: 'none'\r\n }), _defineProperty(_global, '.rbc-label', {\r\n padding: '0 0.313rem',\r\n fontSize: fontSizeSmall,\r\n color: theme.palette.grey[500]\r\n }), _defineProperty(_global, '.rbc-day-slot', {\r\n position: 'relative'\r\n }), _defineProperty(_global, '.rbc-day-slot .rbc-events-container', {\r\n bottom: 0,\r\n left: 0,\r\n position: 'absolute',\r\n right: 0,\r\n marginRight: '0.625rem',\r\n top: 0\r\n }), _defineProperty(_global, '.rbc-day-slot .rbc-event', {\r\n display: 'flex',\r\n maxHeight: '100%',\r\n minHeight: '1.250rem',\r\n WebkitFlexFlow: 'column wrap',\r\n MsFlexFlow: 'column wrap',\r\n flexFlow: 'column wrap',\r\n WebkitAlignItems: 'flex-start',\r\n MsFlexAlign: 'start',\r\n alignItems: 'flex-start',\r\n overflow: 'hidden',\r\n position: 'absolute'\r\n }), _defineProperty(_global, '.rbc - day - slot.rbc - event - label', {\r\n display: 'none',\r\n WebkitFlex: 'none',\r\n MsFlex: 'none',\r\n flex: 'none',\r\n paddingRight: '0.313rem',\r\n width: 'auto'\r\n }), _defineProperty(_global, '.rbc-day-slot .rbc-event-content', {\r\n width: '100%',\r\n WebkitFlex: '1 1 0',\r\n MsFlex: '1 1 0px',\r\n flex: '1 1 0',\r\n wordWrap: 'break-word',\r\n lineHeight: '1.5',\r\n height: '100%',\r\n minHeight: 0,\r\n padding: spacing20 + ' 0.125rem'\r\n }), _defineProperty(_global, '.rbc-highlight-today .rbc-time-column.rbc-today .rbc-timeslot-group', {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-gutter,\\n .rbc-time-view-resources .rbc-time-header-gutter', {\r\n width: '62.2167px',\r\n position: 'sticky',\r\n left: 0,\r\n backgroundColor: theme.palette.grey[100],\r\n borderRight: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n zIndex: 10,\r\n marginRight: '-0.063rem'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-header', {\r\n overflow: 'hidden'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-header-content', {\r\n minWidth: 'auto',\r\n WebkitFlex: '1 0 0',\r\n MsFlex: '1 0 0px',\r\n flex: '1 0 0',\r\n WebkitFlexBasis: '0px',\r\n MsFlexPreferredSize: '0px',\r\n flexBasis: '0px'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-header-cell-single-day', {\r\n display: 'none'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-header,\\n .rbc-time-view-resources .rbc-day-bg', {\r\n WebkitFlex: '1 1 0',\r\n MsFlex: '1 1 0px',\r\n flex: '1 1 0',\r\n WebkitFlexBasis: '0 px',\r\n MsFlexPreferredSize: '0 px',\r\n flexBasis: '0 px'\r\n }), _defineProperty(_global, '.rbc-time-header-content + .rbc-time-header-content', {\r\n marginLeft: '-1px'\r\n }), _defineProperty(_global, '.rbc-time-slot', {\r\n WebkitFlex: '1 0 0',\r\n MsFlex: '1 0 0px',\r\n flex: '1 0 0',\r\n display: 'flex',\r\n alignItems: 'center'\r\n }), _defineProperty(_global, '.rbc-time-slot.rbc-now', {\r\n fontWeight: 'bold'\r\n }), _defineProperty(_global, '.rbc-day-header', {\r\n textAlign: 'center'\r\n }), _defineProperty(_global, '.rbc-slot-selecting', {\r\n cursor: 'move'\r\n }), _defineProperty(_global, '.rbc-time-view', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n WebkitFlex: '1',\r\n MsFlex: '1',\r\n flex: '1',\r\n width: '100%',\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n minHeight: 0\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-time-gutter', {\r\n whiteSpace: 'nowrap'\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-allday-cell', {\r\n boxSizing: 'content-box',\r\n width: '100%',\r\n height: '100%',\r\n position: 'relative'\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-allday-cell + .rbc-allday-cell', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-allday-events', {\r\n position: 'relative',\r\n zIndex: 4\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-row', {\r\n boxSizing: 'border-box',\r\n minHeight: '1.250rem'\r\n }), _defineProperty(_global, '.rbc-time-header', {\r\n display: 'flex',\r\n WebkitFlex: '0 0 auto',\r\n MsFlex: '0 0 auto',\r\n flex: '0 0 auto',\r\n WebkitFlexDirection: 'row',\r\n MsFlexDirection: 'row',\r\n flexDirection: 'row'\r\n }), _defineProperty(_global, '.rbc-time-header.rbc-overflowing', {\r\n outline: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-header > .rbc-row:first-child', {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-header > .rbc-row.rbc-row-resource', {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-header-cell-single-day', {\r\n display: 'none'\r\n }), _defineProperty(_global, '.rbc-time-header-content', {\r\n WebkitFlex: '1',\r\n MsFlex: '1',\r\n flex: '1',\r\n display: 'flex',\r\n minWidth: 0,\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-content', {\r\n display: 'flex',\r\n WebkitFlex: '1 0 0%',\r\n MsFlex: '1 0 0%',\r\n flex: '1 0 0%',\r\n WebkitAlignItems: 'flex-start',\r\n MsFlexAlign: 'start',\r\n alignItems: 'flex-start',\r\n width: '100%',\r\n borderTop: borderWidthThick + ' solid ' + theme.palette.grey[300],\r\n overflowY: 'auto',\r\n position: 'relative'\r\n }), _defineProperty(_global, '.rbc-time-content > .rbc-time-gutter', {\r\n WebkitFlex: 'none',\r\n MsFlex: 'none',\r\n flex: 'none'\r\n }), _defineProperty(_global, '.rbc-time-content > * + * > *', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-content > .rbc-day-slot', {\r\n width: '100%',\r\n MozUserSelect: 'none',\r\n MsUserSelect: 'none',\r\n userSelect: 'none',\r\n WebkitUserSelect: 'none'\r\n }), _defineProperty(_global, '.rbc-current-time-indicator', {\r\n position: 'absolute',\r\n zIndex: '3',\r\n left: '0',\r\n right: '0',\r\n height: '.125rem',\r\n backgroundColor: colorTextAlertError,\r\n pointerEvents: 'none'\r\n }), _defineProperty(_global, '.rbc-current-time-indicator:before', {\r\n content: '\"\"',\r\n display: 'block',\r\n width: sizingXSmall,\r\n height: sizingXSmall,\r\n transform: 'translate(-0.28125rem, -0.1875rem)',\r\n borderRadius: borderRadiusCircle,\r\n border: borderWidthThin + ' solid white',\r\n backgroundColor: colorTextAlertError\r\n }), _defineProperty(_global, '.rbc-compact', {\r\n '& .rbc-time-header-content': {\r\n borderLeft: 0\r\n },\r\n '& .rbc-allday-cell .rbc-row': {\r\n minHeight: 0\r\n },\r\n '& .rbc-allday-cell .rbc-row-segment': {\r\n flexBasis: 'inherit',\r\n maxWidth: 'inherit',\r\n width: '100%',\r\n marginRight: spacing30\r\n },\r\n '& .rbc-allday-cell .rbc-event-allday': {\r\n height: spacing80\r\n },\r\n '& .rbc-time-content': {\r\n paddingTop: '.625rem'\r\n },\r\n '& .rbc-time-content > * + * > *': {\r\n borderLeft: '0px'\r\n },\r\n '& .rbc-timeslot-group': {\r\n height: sizingXxLarge\r\n },\r\n '& .rbc-day-slot > .rbc-timeslot-group': {\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey[250]\r\n },\r\n '& .rbc-time-slot': {\r\n alignItems: 'flex-start',\r\n justifyContent: 'flex-end',\r\n width: '5.5rem',\r\n paddingRight: spacing40,\r\n transform: 'translateY(-.625rem)'\r\n },\r\n '& .rbc-time-header-gutter': {\r\n padding: '0'\r\n },\r\n '& .rbc-time-gutter > .rbc-timeslot-group': {\r\n backgroundColor: 'white'\r\n },\r\n '& .rbc-label': {\r\n padding: '0px'\r\n }\r\n }), _defineProperty(_global, '.rbc-gutterHeader', {\r\n display: 'flex',\r\n alignItems: 'flex-start',\r\n justifyContent: 'flex-end',\r\n width: '5.5rem',\r\n height: sizingXxLarge,\r\n paddingRight: spacing40\r\n }), _global)\r\n };\r\n};\r\n\r\nexport default ReactBigCalendarStyles;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nimport React, { useState, useEffect, useRef } from 'react';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\n\r\nimport Popper from '../../Popper';\r\nimport makeStyles from '../../makeStyles';\r\n\r\nimport { spacing30 } from './../../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n paperRoot: {\r\n boxShadow: '\\n 0 0.1875rem 0.3125rem -0.0625rem rgba(0,0,0,0.2),\\n 0 0.3125rem ' + spacing30 + ' 0 rgba(0,0,0,0.14),\\n 0 0.0625rem 0.875rem 0 rgba(0,0,0,0.12)\\n '\r\n }\r\n };\r\n});\r\n\r\nvar CAL_EVENT_CLASS = 'calendar-event';\r\n\r\nvar CalendarEvent = React.forwardRef(function (props, ref) {\r\n var classes = useStyles();\r\n var eventRef = useRef(null);\r\n\r\n var _useState = useState(null),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n anchorEl = _useState2[0],\r\n setAnchorEl = _useState2[1];\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n localOpen = _useState4[0],\r\n setLocalOpen = _useState4[1];\r\n\r\n var open = props.open,\r\n target = props.target,\r\n popperContent = props.popperContent,\r\n event = props.event;\r\n\r\n var title = React.createElement(\r\n 'span',\r\n null,\r\n props.event.title\r\n );\r\n\r\n if (!popperContent) {\r\n return title;\r\n }\r\n\r\n useEffect(function () {\r\n target && setLocalOpen(target.querySelector('.' + CAL_EVENT_CLASS).dataset.id === '' + event.event.id);\r\n }, [target]); // eslint-disable-line react-hooks/exhaustive-deps\r\n\r\n useEffect(function () {\r\n popperContent && setAnchorEl(eventRef.current);\r\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: CAL_EVENT_CLASS + ' ' + CAL_EVENT_CLASS + '-' + event.event.id,\r\n 'data-id': event.event.id,\r\n ref: eventRef\r\n },\r\n title,\r\n React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: function onClickAway() {\r\n return setLocalOpen(false);\r\n } },\r\n React.createElement(\r\n Popper,\r\n {\r\n className: CAL_EVENT_CLASS + '-popper',\r\n classes: { paperRoot: classes.paperRoot },\r\n arrow: true,\r\n open: localOpen && open,\r\n anchorEl: anchorEl,\r\n placement: 'top',\r\n modifiers: {\r\n preventOverflow: {\r\n enabled: true,\r\n boundariesElement: eventRef.current && eventRef.current.closest('.rbc-time-content')\r\n }\r\n }\r\n },\r\n typeof popperContent === 'function' ? popperContent(event.event) : popperContent\r\n )\r\n )\r\n );\r\n});\r\n\r\nexport default CalendarEvent;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { createContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Calendar as BigCalendar, momentLocalizer, globalizeLocalizer, Views as views } from 'react-big-calendar';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as withWidth } from '../withWidth';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport classNames from 'classnames';\r\n\r\nimport moment from 'moment';\r\n// Our custom components\r\nimport CalendarToolbar from './CalendarToolbar';\r\nimport EventWrapper from './EventWrapper';\r\nimport ReactBigCalendarStyles from './internal/ReactBigCalendarStyles';\r\nimport CalendarEvent from './internal/CalendarEvent';\r\n\r\n// NOTE: application complains if we do not do this. Simply exporting the 'Calendar'\r\n// does not send the required properties from the 'Calendar' component.\r\n// Export required functions so they can be used by consumers when\r\n// initializing the component.\r\nvar DEFAULT_LOCALIZER = momentLocalizer(moment);\r\n\r\nvar CalendarContext = createContext();\r\nvar Provider = CalendarContext.Provider,\r\n CalendarConsumer = CalendarContext.Consumer;\r\n\r\n\r\nvar dateFormat = PropTypes.any;\r\nvar dateRangeFormat = PropTypes.func;\r\n\r\nvar CalendarProvider = function CalendarProvider(props) {\r\n var compact = props.compact,\r\n defaultDate = props.defaultDate,\r\n showViewNames = props.showViewNames,\r\n view = props.view,\r\n width = props.width;\r\n\r\n var _useState = useState(defaultDate),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n date = _useState2[0],\r\n setDate = _useState2[1];\r\n\r\n var _useState3 = useState(view),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n selectedView = _useState4[0],\r\n setSelectedView = _useState4[1];\r\n\r\n return React.createElement(\r\n Provider,\r\n {\r\n value: {\r\n compact: compact,\r\n date: date,\r\n setDate: setDate,\r\n selectedView: selectedView,\r\n setSelectedView: setSelectedView,\r\n showViewNames: showViewNames,\r\n width: width\r\n }\r\n },\r\n props.children\r\n );\r\n};\r\n\r\nCalendarProvider.propTypes = {\r\n compact: PropTypes.bool,\r\n children: PropTypes.object.isRequired,\r\n defaultDate: PropTypes.instanceOf(Date),\r\n showViewNames: PropTypes.bool,\r\n view: PropTypes.string.isRequired,\r\n width: PropTypes.string.isRequired\r\n};\r\n\r\n/**\r\n * A component for displaying events within a week or day view.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.2.1\r\n * @examples\r\n * CalendarSingleDay\r\n * CalendarExample\r\n * CalendarI18n\r\n * ClickEvents\r\n * CalendarWithPopperAsNode\r\n * CalendarWithPopperAsRenderFunction\r\n * CustomComponentExample\r\n */\r\nvar Calendar = React.forwardRef(function (props, ref) {\r\n var _useState5 = useState({ open: false, target: undefined }),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n popper = _useState6[0],\r\n setPopper = _useState6[1];\r\n\r\n var classes = props.classes,\r\n compact = props.compact,\r\n dateProp = props.date,\r\n defaultDate = props.defaultDate,\r\n defaultView = props.defaultView,\r\n edsContext = props.edsContext,\r\n formats = props.formats,\r\n legend = props.legend,\r\n messages = props.messages,\r\n onNavigate = props.onNavigate,\r\n showViewNames = props.showViewNames,\r\n showOnlyDay = props.showOnlyDay,\r\n width = props.width,\r\n onSelectEvent = props.onSelectEvent,\r\n popperContent = props.popperContent,\r\n rest = _objectWithoutProperties(props, ['classes', 'compact', 'date', 'defaultDate', 'defaultView', 'edsContext', 'formats', 'legend', 'messages', 'onNavigate', 'showViewNames', 'showOnlyDay', 'width', 'onSelectEvent', 'popperContent']);\r\n\r\n // Custom messages to send to component\r\n\r\n\r\n var overrideMessages = Object.assign({\r\n agenda: edsContext.formatMessage('component.Calendar.agenda'),\r\n allDay: edsContext.formatMessage('component.Calendar.allDay'),\r\n date: edsContext.formatMessage('component.Calendar.date'),\r\n day: edsContext.formatMessage('component.Calendar.day'),\r\n event: edsContext.formatMessage('component.Calendar.event'),\r\n month: edsContext.formatMessage('component.Calendar.month'),\r\n next: edsContext.formatMessage('component.Calendar.next'),\r\n noEventsInRange: edsContext.formatMessage('component.Calendar.noEventsInRange'),\r\n previous: edsContext.formatMessage('component.Calendar.previous'),\r\n time: edsContext.formatMessage('component.Calendar.time'),\r\n today: edsContext.formatMessage('component.Calendar.goToToday'),\r\n tomorrow: edsContext.formatMessage('component.Calendar.tomorrow'),\r\n week: edsContext.formatMessage('component.Calendar.week'),\r\n work_week: edsContext.formatMessage('component.Calendar.workWeek'),\r\n yesterday: edsContext.formatMessage('component.Calendar.yesterday')\r\n }, messages);\r\n\r\n // Custom date format\r\n // See more\r\n // http://intljusticemission.github.io/react-big-calendar/examples/index.html#prop-formats\r\n var overrideFormats = Object.assign({\r\n // A day of the week format for Week and Day headings\r\n dayFormat: function dayFormat(date, calendarCulture, localizer) {\r\n switch (width) {\r\n case 'sm':\r\n return localizer.format(date, 'ddd D', calendarCulture);\r\n case 'xs':\r\n return localizer.format(date, 'ddd', calendarCulture);\r\n default:\r\n return localizer.format(date, 'dddd D', calendarCulture);\r\n }\r\n },\r\n\r\n // Toolbar header format for the Day view\r\n dayHeaderFormat: function dayHeaderFormat(date, calendarCulture, localizer) {\r\n return localizer.format(date, showOnlyDay ? 'dddd' : 'dddd, MMM D, Y', calendarCulture);\r\n },\r\n\r\n // Toolbar header format for the Week views\r\n dayRangeHeaderFormat: function dayRangeHeaderFormat(_ref, calendarCulture, localizer) {\r\n var start = _ref.start,\r\n end = _ref.end;\r\n\r\n var startYear = start.getFullYear();\r\n var endYear = end.getFullYear();\r\n var startFormat = localizer.format(start, startYear === endYear ? 'MMM D' : 'MMM D, Y', calendarCulture);\r\n var endFormat = localizer.format(end, 'MMM D, Y', calendarCulture);\r\n\r\n return startFormat + ' \\u2013 ' + endFormat;\r\n }\r\n\r\n }, formats);\r\n\r\n //function necessary for adjusting timeGutter format based on locale\r\n function localeUses24HourTime(locale) {\r\n return new Intl.DateTimeFormat(locale, {\r\n hour: 'numeric'\r\n }).formatToParts(new Date(2020, 0, 1, 13)).find(function (part) {\r\n return part.type === 'hour';\r\n }).value.length === 2;\r\n }\r\n\r\n if (compact) {\r\n Object.assign(overrideFormats, {\r\n timeGutterFormat: function timeGutterFormat(date, localCulture, localizer) {\r\n if (localeUses24HourTime(locale)) {\r\n return localizer.format(date, 'H', localCulture);\r\n } else {\r\n return localizer.format(date, 'h A', localCulture);\r\n }\r\n }\r\n });\r\n }\r\n\r\n var handleNavigation = function handleNavigation(callback) {\r\n return function (date) {\r\n setPopper({ open: false });\r\n callback(date);\r\n };\r\n };\r\n\r\n // EDSApplication-level locale\r\n var locale = edsContext.locale;\r\n var compactGutterHeader = function compactGutterHeader() {\r\n return React.createElement(\r\n 'div',\r\n { className: 'rbc-gutterHeader' },\r\n edsContext.formatMessage('component.Calendar.allDay')\r\n );\r\n };\r\n\r\n var onSelectEventClick = function onSelectEventClick(eventData, e) {\r\n e.preventDefault();\r\n\r\n popperContent && setPopper({\r\n open: true,\r\n target: e.currentTarget\r\n });\r\n\r\n onSelectEvent && onSelectEvent(eventData, e);\r\n };\r\n\r\n return React.createElement(\r\n CalendarProvider,\r\n {\r\n compact: compact,\r\n date: defaultDate,\r\n showViewNames: showViewNames,\r\n view: defaultView,\r\n width: width\r\n },\r\n React.createElement(\r\n CalendarConsumer,\r\n null,\r\n function (context) {\r\n return React.createElement(\r\n 'div',\r\n {\r\n className: classNames('rbc-container', {\r\n 'rbc-highlight-today': context.selectedView !== 'day',\r\n 'rbc-compact': compact\r\n })\r\n },\r\n React.createElement(BigCalendar, Object.assign({\r\n className: classes.root,\r\n defaultDate: defaultDate,\r\n defaultView: defaultView,\r\n date: dateProp || context.date,\r\n messages: overrideMessages,\r\n onNavigate: onNavigate || handleNavigation(context.setDate),\r\n formats: overrideFormats,\r\n culture: locale,\r\n rtl: edsContext.dir === 'rtl',\r\n components: {\r\n // eslint-disable-next-line react/display-name\r\n event: function event(_event) {\r\n return React.createElement(CalendarEvent, {\r\n popperContent: popperContent,\r\n open: popper.open,\r\n target: popper.target,\r\n event: _event\r\n });\r\n },\r\n toolbar: CalendarToolbar,\r\n eventWrapper: EventWrapper,\r\n timeGutterHeader: compact ? compactGutterHeader : undefined\r\n },\r\n onSelectEvent: onSelectEventClick\r\n }, rest, {\r\n ref: ref\r\n })),\r\n legend\r\n );\r\n }\r\n )\r\n );\r\n});\r\n\r\nCalendar.propTypes = {\r\n /**\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n * **BETA** Applies compact variant styles to calendar.\r\n */\r\n compact: PropTypes.bool,\r\n\r\n /**\r\n * Object to set the date/time library handler. Common uses are `const localizer = momentLocalizer(moment);` or `const localizer = globalizeLocalizer(globalize);`\r\n */\r\n localizer: PropTypes.object,\r\n\r\n /**\r\n * Props passed to main calendar ``.\r\n */\r\n elementProps: PropTypes.object,\r\n\r\n /**\r\n * The current date value of the calendar. Determines the visible view range.\r\n * If `date` is omitted then the result of `getNow` is used; otherwise the\r\n * current date is used.\r\n *\r\n * `@controllable onNavigate`\r\n */\r\n date: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * The initial date set for the Calendar.\r\n */\r\n defaultDate: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * The current view of the calendar.\r\n *\r\n * `@default 'month'`\r\n * `@controllable onView`\r\n */\r\n view: PropTypes.string,\r\n\r\n /**\r\n * The initial view set for the Calendar.\r\n *\r\n * `@type Calendar.Views ('month'|'week'|'work_week'|'day'|'agenda')`\r\n * `@default 'month'`\r\n */\r\n defaultView: PropTypes.string,\r\n\r\n /**\r\n * An array of event objects to display on the calendar. Events objects\r\n * can be any shape, as long as the Calendar knows how to retrieve the\r\n * following details of the event:\r\n *\r\n * - start time\r\n * - end time\r\n * - title\r\n * - whether its an \"all day\" event or not\r\n * - any resource the event may be related to\r\n *\r\n * Each of these properties can be customized or generated dynamically by\r\n * setting the various \"accessor\" props. Without any configuration the default\r\n * event should look like:\r\n *\r\n * ```js\r\n * Event {\r\n * title: string,\r\n * start: Date,\r\n * end: Date,\r\n * allDay?: boolean\r\n * resource?: any,\r\n * }\r\n * ```\r\n */\r\n events: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Accessor for the event title, used to display event information. Should\r\n * resolve to a `renderable` value.\r\n *\r\n * ```js\r\n * string | (event: Object) => string\r\n * ```\r\n */\r\n titleAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Accessor for the event tooltip. Should\r\n * resolve to a `renderable` value. Removes the tooltip if null.\r\n *\r\n * ```js\r\n * string | (event: Object) => string\r\n * ```\r\n */\r\n tooltipAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Determines whether the event should be considered an \"all day\" event and ignore time.\r\n * Must resolve to a `boolean` value.\r\n *\r\n * ```js\r\n * string | (event: Object) => boolean\r\n * ```\r\n */\r\n allDayAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * The start date/time of the event. Must resolve to a JavaScript `Date` object.\r\n *\r\n * ```js\r\n * string | (event: Object) => Date\r\n * ```\r\n */\r\n startAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * The end date/time of the event. Must resolve to a JavaScript `Date` object.\r\n *\r\n * ```js\r\n * string | (event: Object) => Date\r\n * ```\r\n */\r\n endAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Returns the id of the `resource` that the event is a member of. This\r\n * id should match at least one resource in the `resources` array.\r\n *\r\n * ```js\r\n * string | (event: Object) => Date\r\n * ```\r\n */\r\n resourceAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * An array of resource objects that map events to a specific resource.\r\n * Resource objects, like events, can be any shape or have any properties,\r\n * but should be uniquly identifiable via the `resourceIdAccessor`, as\r\n * well as a \"title\" or name as provided by the `resourceTitleAccessor` prop.\r\n */\r\n resources: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Provides a unique identifier for each resource in the `resources` array\r\n *\r\n * ```js\r\n * string | (resource: Object) => any\r\n * ```\r\n */\r\n resourceIdAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Provides a human readable name for the resource object, used in headers.\r\n *\r\n * ```js\r\n * string | (resource: Object) => any\r\n * ```\r\n */\r\n resourceTitleAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Determines the current date/time which is highlighted in the views.\r\n *\r\n * The value affects which day is shaded and which time is shown as\r\n * the current time. It also affects the date used by the Today button in\r\n * the toolbar.\r\n *\r\n * Providing a value here can be useful when you are implementing time zones\r\n * using the `startAccessor` and `endAccessor` properties.\r\n *\r\n * @type {func}\r\n * @default () => new Date()\r\n */\r\n getNow: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when the `date` value changes.\r\n * This is used in custom `Calendar` components.\r\n * @controllable date\r\n */\r\n onNavigate: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when the `view` value changes.\r\n * This is used in custom `Calendar` components.\r\n * @controllable view\r\n */\r\n onView: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when date header, or the truncated events links are clicked\r\n *\r\n */\r\n onDrillDown: PropTypes.func,\r\n\r\n /**\r\n *\r\n * ```js\r\n * (dates: Date[] | { start: Date; end: Date }, view?: 'month'|'week'|'work_week'|'day'|'agenda') => void\r\n * ```\r\n *\r\n * Callback fired when the visible date range changes. Returns an Array of dates\r\n * or an object with start and end dates for BUILTIN views. Optionally new `view`\r\n * will be returned when callback called after view change.\r\n *\r\n * Custom views may return something different.\r\n */\r\n onRangeChange: PropTypes.func,\r\n\r\n /**\r\n * A callback fired when a date selection is made. Only fires when `selectable` is `true`.\r\n *\r\n * ```js\r\n * (\r\n * slotInfo: {\r\n * start: Date,\r\n * end: Date,\r\n * slots: Array,\r\n * action: \"select\" | \"click\" | \"doubleClick\",\r\n * bounds: ?{ // For \"select\" action\r\n * x: number,\r\n * y: number,\r\n * top: number,\r\n * right: number,\r\n * left: number,\r\n * bottom: number,\r\n * },\r\n * box: ?{ // For \"click\" or \"doubleClick\" actions\r\n * clientX: number,\r\n * clientY: number,\r\n * x: number,\r\n * y: number,\r\n * },\r\n * }\r\n * ) => any\r\n * ```\r\n */\r\n onSelectSlot: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when a calendar event is selected.\r\n *\r\n * ```js\r\n * (event: Object, e: SyntheticEvent) => any\r\n * ```\r\n *\r\n * @controllable selected\r\n */\r\n onSelectEvent: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when a calendar event is clicked twice.\r\n *\r\n * ```js\r\n * (event: Object, e: SyntheticEvent) => void\r\n * ```\r\n */\r\n onDoubleClickEvent: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when dragging a selection in the Time views.\r\n *\r\n * Returning `false` from the handler will prevent a selection.\r\n *\r\n * ```js\r\n * (range: { start: Date, end: Date }) => ?boolean\r\n * ```\r\n */\r\n onSelecting: PropTypes.func,\r\n\r\n /**\r\n * The selected event, if any.\r\n */\r\n selected: PropTypes.object,\r\n\r\n /**\r\n * An array of built-in view names to allow the calendar to display.\r\n * accepts either an array of builtin view names,\r\n *\r\n * ```jsx\r\n * views={['month', 'day', 'agenda']}\r\n * ```\r\n * or an object hash of the view name and the component (or boolean for builtin).\r\n *\r\n * ```jsx\r\n * views={{\r\n * month: true,\r\n * week: false,\r\n * myweek: WorkWeekViewComponent,\r\n * }}\r\n * ```\r\n *\r\n * Custom views can be any React component, that implements the following\r\n * interface:\r\n *\r\n * ```js\r\n * interface View {\r\n * static title(date: Date, { formats: DateFormat[], culture: string?, ...props }): string\r\n * static navigate(date: Date, action: 'PREV' | 'NEXT' | 'DATE'): Date\r\n * }\r\n * ```\r\n *\r\n * `@type Calendar.Views ('month'|'week'|'work_week'|'day'|'agenda')`\r\n * `@View ['month', 'week', 'day', 'agenda']`\r\n */\r\n views: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\r\n\r\n /**\r\n * The string name of the destination view for drill-down actions, such\r\n * as clicking a date header, or the truncated events links. If\r\n * `getDrilldownView` is also specified it will be used instead.\r\n *\r\n * Set to `null` to disable drill-down actions.\r\n *\r\n * ```js\r\n * \r\n * ```\r\n */\r\n drilldownView: PropTypes.string,\r\n\r\n /**\r\n * Functionally equivalent to `drilldownView`, but accepts a function\r\n * that can return a view name. It's useful for customizing the drill-down\r\n * actions depending on the target date and triggering view.\r\n *\r\n * Return `null` to disable drill-down actions.\r\n *\r\n * ```js\r\n * \r\n * if (currentViewName === 'month' && (configuredViewNames.indexOf('week') !== -1))\r\n * return 'week'\r\n *\r\n * return null;\r\n * }}\r\n * />\r\n * ```\r\n */\r\n getDrilldownView: PropTypes.func,\r\n\r\n /**\r\n * Determines the end date from date prop in the agenda view\r\n * date prop + length (in number of days) = end date\r\n */\r\n length: PropTypes.number,\r\n\r\n /**\r\n * Determines whether the toolbar is displayed\r\n */\r\n toolbar: PropTypes.bool,\r\n\r\n /**\r\n * Show truncated events in an overlay when you click the \"+_x_ more\" link.\r\n */\r\n popup: PropTypes.bool,\r\n\r\n /**\r\n * Distance in pixels, from the edges of the viewport, the \"show more\" overlay should be positioned.\r\n *\r\n * ```jsx\r\n * \r\n * \r\n * ```\r\n */\r\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ x: PropTypes.number, y: PropTypes.number })]),\r\n\r\n /**\r\n * Allows mouse selection of ranges of dates/times.\r\n *\r\n * The 'ignoreEvents' option prevents selection code from running when a\r\n * drag begins over an event. Useful when you want custom event click or drag\r\n * logic.\r\n */\r\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\r\n\r\n /**\r\n * Specifies the number of miliseconds the user must press and hold on the screen for a touch\r\n * to be considered a \"long press.\" Long presses are used for time slot selection on touch\r\n * devices.\r\n *\r\n * `@type {number}`\r\n * `@default 250`\r\n */\r\n longPressThreshold: PropTypes.number,\r\n\r\n /**\r\n * Determines the selectable time increments in week and day views\r\n */\r\n step: PropTypes.number,\r\n\r\n /**\r\n * The number of slots per \"section\" in the time grid views. Adjust with `step`\r\n * to change the default of 1 hour long groups, with 30 minute slots.\r\n */\r\n timeslots: PropTypes.number,\r\n\r\n /**\r\n * Optionally provide a function that returns an object of className or style props\r\n * to be applied to the the event node.\r\n *\r\n * ```js\r\n * (\r\n * \tevent: Object,\r\n * \tstart: Date,\r\n * \tend: Date,\r\n * \tisSelected: boolean\r\n * ) => { className?: string, style?: Object }\r\n * ```\r\n */\r\n eventPropGetter: PropTypes.func,\r\n\r\n /**\r\n * Optionally provide a function that returns an object of className or style props\r\n * to be applied to the the time-slot node. Caution! Styles that change layout or\r\n * position may break the calendar in unexpected ways.\r\n *\r\n * ```js\r\n * (date: Date, resourceId: (number|string)) => { className?: string, style?: Object }\r\n * ```\r\n */\r\n slotPropGetter: PropTypes.func,\r\n\r\n /**\r\n * Optionally provide a function that returns an object of className or style props\r\n * to be applied to the the day background. Caution! Styles that change layout or\r\n * position may break the calendar in unexpected ways.\r\n *\r\n * ```js\r\n * (date: Date) => { className?: string, style?: Object }\r\n * ```\r\n */\r\n dayPropGetter: PropTypes.func,\r\n\r\n /**\r\n * Support to show multi-day events with specific start and end times in the\r\n * main time grid (rather than in the all day header).\r\n *\r\n * **Note: This may cause calendars with several events to look very busy in\r\n * the week and day views.**\r\n */\r\n showMultiDayTimes: PropTypes.bool,\r\n\r\n /**\r\n * Constrains the minimum _time_ of the Day and Week views.\r\n * This prop expects a `Date` to be sent in.\r\n */\r\n min: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * Constrains the maximum _time_ of the Day and Week views.\r\n * This prop expects a `Date` to be sent in.\r\n */\r\n max: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * Determines how far down the scroll pane is initially scrolled down.\r\n */\r\n scrollToTime: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * Localizer specific formats, tell the Calendar how to format and display dates.\r\n *\r\n * `format` types are dependent on the configured localizer; both Moment and Globalize\r\n * accept strings of tokens according to their own specification, such as: `'DD mm yyyy'`.\r\n *\r\n * ```jsx\r\n * let formats = {\r\n * dateFormat: 'dd',\r\n *\r\n * dayFormat: (date, , localizer) =>\r\n * localizer.format(date, 'DDD', culture),\r\n *\r\n * dayRangeHeaderFormat: ({ start, end }, culture, localizer) =>\r\n * localizer.format(start, { date: 'short' }, culture) + ' — ' +\r\n * localizer.format(end, { date: 'short' }, culture)\r\n * }\r\n *\r\n * \r\n * ```\r\n *\r\n * All localizers accept a function of\r\n * the form `(date: Date, culture: ?string, localizer: Localizer) -> string`\r\n */\r\n formats: PropTypes.shape({\r\n /**\r\n * Format for the day of the month heading in the Month view.\r\n * e.g. \"01\", \"02\", \"03\", etc\r\n */\r\n dateFormat: dateFormat,\r\n\r\n /**\r\n * A day of the week format for Week and Day headings,\r\n * e.g. \"Wed 01/04\"\r\n *\r\n */\r\n dayFormat: dateFormat,\r\n\r\n /**\r\n * Week day name format for the Month week day headings,\r\n * e.g: \"Sun\", \"Mon\", \"Tue\", etc\r\n *\r\n */\r\n weekdayFormat: dateFormat,\r\n\r\n /**\r\n * The timestamp cell formats in Week and Time views, e.g. \"4:00 AM\"\r\n */\r\n timeGutterFormat: dateFormat,\r\n\r\n /**\r\n * Toolbar header format for the Month view, e.g \"2015 April\"\r\n *\r\n */\r\n monthHeaderFormat: dateFormat,\r\n\r\n /**\r\n * Toolbar header format for the Week views, e.g. \"Mar 29 - Apr 04\"\r\n */\r\n dayRangeHeaderFormat: dateRangeFormat,\r\n\r\n /**\r\n * Toolbar header format for the Day view, e.g. \"Wednesday Apr 01\"\r\n */\r\n dayHeaderFormat: dateFormat,\r\n\r\n /**\r\n * Toolbar header format for the Agenda view, e.g. \"4/1/2015 — 5/1/2015\"\r\n */\r\n agendaHeaderFormat: dateRangeFormat,\r\n\r\n /**\r\n * A time range format for selecting time slots, e.g \"8:00am — 2:00pm\"\r\n */\r\n selectRangeFormat: dateRangeFormat,\r\n\r\n agendaDateFormat: dateFormat,\r\n agendaTimeFormat: dateFormat,\r\n agendaTimeRangeFormat: dateRangeFormat,\r\n\r\n /**\r\n * Time range displayed on events.\r\n */\r\n eventTimeRangeFormat: dateRangeFormat,\r\n\r\n /**\r\n * An optional event time range for events that continue onto another day\r\n */\r\n eventTimeRangeStartFormat: dateFormat,\r\n\r\n /**\r\n * An optional event time range for events that continue from another day\r\n */\r\n eventTimeRangeEndFormat: dateFormat\r\n }),\r\n\r\n /**\r\n * Customize how different sections of the calendar render by providing custom Components.\r\n * In particular the `Event` component can be specified for the entire calendar, or you can\r\n * provide an individual component for each view type.\r\n *\r\n * ```jsx\r\n * let components = {\r\n * event: MyEvent, // used by each view (Month, Day, Week)\r\n * eventWrapper: MyEventWrapper,\r\n * eventContainerWrapper: MyEventContainerWrapper,\r\n * dayWrapper: MyDayWrapper,\r\n * dateCellWrapper: MyDateCellWrapper,\r\n * timeSlotWrapper: MyTimeSlotWrapper,\r\n * timeGutterHeader: MyTimeGutterWrapper,\r\n * toolbar: MyToolbar,\r\n * agenda: {\r\n * \t event: MyAgendaEvent // with the agenda view use a different component to render events\r\n * time: MyAgendaTime,\r\n * date: MyAgendaDate,\r\n * },\r\n * day: {\r\n * header: MyDayHeader,\r\n * event: MyDayEvent,\r\n * },\r\n * week: {\r\n * header: MyWeekHeader,\r\n * event: MyWeekEvent,\r\n * },\r\n * month: {\r\n * header: MyMonthHeader,\r\n * dateHeader: MyMonthDateHeader,\r\n * event: MyMonthEvent,\r\n * }\r\n * }\r\n * \r\n * ```\r\n */\r\n components: PropTypes.shape({\r\n event: PropTypes.elementType,\r\n eventWrapper: PropTypes.elementType,\r\n eventContainerWrapper: PropTypes.elementType,\r\n dayWrapper: PropTypes.elementType,\r\n dateCellWrapper: PropTypes.elementType,\r\n timeSlotWrapper: PropTypes.elementType,\r\n timeGutterHeader: PropTypes.elementType,\r\n\r\n toolbar: PropTypes.elementType,\r\n\r\n agenda: PropTypes.shape({\r\n date: PropTypes.elementType,\r\n time: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n }),\r\n\r\n day: PropTypes.shape({\r\n header: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n }),\r\n week: PropTypes.shape({\r\n header: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n }),\r\n month: PropTypes.shape({\r\n header: PropTypes.elementType,\r\n dateHeader: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n })\r\n }),\r\n /**\r\n * Use this to add legends to calendar. You can use CalendarLegend component render legends.\r\n */\r\n legend: PropTypes.node,\r\n\r\n /**\r\n * **DEPRECATED** Use [`EDSApplication`](#/components/EDSApplication) `labelOverrides` property instead.\r\n *\r\n * String messages used throughout the component, override to provide localizations\r\n */\r\n messages: PropTypes.shape({\r\n allDay: PropTypes.node,\r\n previous: PropTypes.node,\r\n next: PropTypes.node,\r\n today: PropTypes.node,\r\n month: PropTypes.node,\r\n week: PropTypes.node,\r\n work_week: PropTypes.node,\r\n day: PropTypes.node,\r\n agenda: PropTypes.node,\r\n date: PropTypes.node,\r\n time: PropTypes.node,\r\n event: PropTypes.node,\r\n noEventsInRange: PropTypes.node,\r\n showMore: PropTypes.func\r\n }),\r\n\r\n /**\r\n * If true, displays the dropdown with view names in the Toolbar\r\n */\r\n showViewNames: PropTypes.bool,\r\n\r\n /**\r\n * If true, displays the current day of the week when view is set to `day`\r\n */\r\n showOnlyDay: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n * A string representation of the current viewport\r\n */\r\n width: PropTypes.string.isRequired,\r\n /**\r\n * Content to be rendered on Popper for each event click\r\n *\r\n * You can pass a render function or a node.\r\n *\r\n * * If you pass this prop as a node, then you will have to set the selected event through `onSelectEvent()` callback.\r\n * * If you pass this prop as a render function, then the selected `event` will be passed as an argument to the render function.\r\n */\r\n popperContent: PropTypes.oneOfType([PropTypes.node, PropTypes.func])\r\n};\r\n\r\nCalendar.defaultProps = {\r\n elementProps: {},\r\n popup: false,\r\n toolbar: true,\r\n\r\n // view: views.WEEK, // NOTE: breaks component if uncommented\r\n views: [views.WEEK, views.WORK_WEEK],\r\n step: 30,\r\n length: 30,\r\n\r\n drilldownView: views.DAY,\r\n\r\n titleAccessor: 'title',\r\n tooltipAccessor: 'title',\r\n allDayAccessor: 'allDay',\r\n startAccessor: 'start',\r\n endAccessor: 'end',\r\n resourceAccessor: 'resourceId',\r\n\r\n resourceIdAccessor: 'id',\r\n resourceTitleAccessor: 'title',\r\n\r\n longPressThreshold: 250,\r\n getNow: function getNow() {\r\n return new Date();\r\n },\r\n showViewNames: true,\r\n showOnlyDay: false,\r\n\r\n localizer: DEFAULT_LOCALIZER\r\n};\r\n\r\nCalendar.displayName = 'Calendar';\r\n\r\nexport { CalendarConsumer, CalendarContext, momentLocalizer, globalizeLocalizer, views };\r\n\r\nexport default withWidth()(withEDSContext(withStyles(ReactBigCalendarStyles)(Calendar)));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport withStyles from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { borderRadiusMedium, spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n width: 'auto',\r\n backgroundColor: theme.palette.grey[100],\r\n padding: spacing30,\r\n boxShadow: '0px 0px 0.438rem 0.125rem rgba(0,0,0,0.12)',\r\n borderBottomLeftRadius: borderRadiusMedium,\r\n borderBottomRightRadius: borderRadiusMedium,\r\n flexWrap: 'wrap'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A wrapper component to handle the footer of the WeekView component.\r\n * @done false\r\n * @updated false\r\n * @versionAdded v0.2.1\r\n * @lab true\r\n */\r\nvar CalendarLegend = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n className = props.className,\r\n children = props.children,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'children', 'edsContext']);\r\n\r\n return React.createElement(\r\n 'div',\r\n Object.assign({ dir: edsContext.dir, className: classNames(classes.root, className) }, rest, { ref: ref }),\r\n children\r\n );\r\n});\r\n\r\nCalendarLegend.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Custom class name to the outer CalendarLegend component.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The children to render within the CalendarLegend.\r\n * Common children are the CalendarLegendItem, Button, and IconButton.\r\n */\r\n children: PropTypes.any\r\n};\r\n\r\nCalendarLegend.displayName = 'CalendarLegend';\r\n\r\nexport default withEDSContext(withStyles(styles)(CalendarLegend));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport { spacing20, spacing30, sizingXSmall, borderRadiusCircle } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'inline-flex',\r\n margin: spacing30\r\n },\r\n indicator: {\r\n width: sizingXSmall,\r\n height: sizingXSmall,\r\n borderRadius: borderRadiusCircle,\r\n marginRight: spacing20,\r\n alignSelf: 'center'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A UI element that renders an indicator color and label for the CalendarLegend.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.2.1\r\n * @lab true\r\n */\r\nvar CalendarLegendItem = React.forwardRef(function (props, ref) {\r\n var color = props.color,\r\n classes = props.classes,\r\n edsContext = props.edsContext,\r\n label = props.label,\r\n className = props.className,\r\n theme = props.theme,\r\n rest = _objectWithoutProperties(props, ['color', 'classes', 'edsContext', 'label', 'className', 'theme']);\r\n // default to the cta color if no color it sent for the indicator\r\n\r\n\r\n var indicatorColor = color === null || color === undefined ? theme.palette.tertiary.fountain[600] : color;\r\n\r\n return React.createElement(\r\n 'div',\r\n Object.assign({ className: classNames(classes.root, className) }, rest, { ref: ref, dir: edsContext.dir }),\r\n React.createElement('div', { className: classes.indicator, style: { backgroundColor: indicatorColor } }),\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2' },\r\n label\r\n )\r\n );\r\n});\r\n\r\nCalendarLegendItem.propTypes = {\r\n /**\r\n * The color to match the calendar items in this category.\r\n */\r\n color: PropTypes.string,\r\n /**\r\n * The label to render next to the indicator.\r\n */\r\n label: PropTypes.string.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to send to parent `div` of the CalendarLegendItem.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Material-UI theme object.\r\n */\r\n theme: PropTypes.object\r\n};\r\n\r\nCalendarLegendItem.displayName = 'CalendarLegendItem';\r\n\r\nexport default withEDSContext(withStyles(styles, { withTheme: true })(CalendarLegendItem));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\n// Medium\r\nimport Contact from './internal/medium/Contact';\r\nimport EmptyCalendar from './internal/medium/EmptyCalendar';\r\nimport NoComments from './internal/medium/NoComments';\r\nimport NoMessages from './internal/medium/NoMessages';\r\nimport NoSearchResults from './internal/medium/NoSearchResults';\r\nimport UnderMaintenance from './internal/medium/UnderMaintenance';\r\n\r\n// Small\r\nimport Book from './internal/small/Book';\r\nimport Bookmark from './internal/small/Bookmark';\r\nimport Calendar from './internal/small/Calendar';\r\nimport ChartBars from './internal/small/ChartBars';\r\nimport Checkmark from './internal/small/Checkmark';\r\nimport Crown from './internal/small/Crown';\r\nimport EmptySet from './internal/small/EmptySet';\r\nimport ErrorSmall from './internal/small/Error';\r\nimport EyeHide from './internal/small/EyeHide';\r\nimport GraduationCap from './internal/small/GraduationCap';\r\nimport Heart from './internal/small/Heart';\r\nimport IdBadge from './internal/small/IdBadge';\r\nimport Lightbulb from './internal/small/Lightbulb';\r\nimport Link from './internal/small/Link';\r\nimport News from './internal/small/News';\r\nimport NoCourses from './internal/small/NoCourses';\r\nimport NoHistory from './internal/small/NoHistory';\r\nimport NoSearchResultsSm from './internal/small/NoSearchResults';\r\nimport NoTasks from './internal/small/NoTasks';\r\nimport Pencil from './internal/small/Pencil';\r\nimport Search from './internal/small/Search';\r\nimport Server from './internal/small/Server';\r\nimport Tasks from './internal/small/Tasks';\r\nimport UserGroup from './internal/small/UserGroup';\r\n\r\n// Consumer focused const to help with auto-predict in text editors\r\n// Consumer doesn't need the component, only the name of the illustration\r\nexport var IMAGES = {\r\n // Medium\r\n CONTACT: 'contact',\r\n EMPTY_CALENDAR: 'empty-calendar',\r\n NO_COMMENTS: 'no-comments',\r\n NO_MESSAGES: 'no-messages',\r\n NO_SEARCH_RESULTS: 'no-search-results',\r\n UNDER_MAINTENANCE: 'under-maintenance',\r\n\r\n // Small\r\n BOOK: 'book',\r\n BOOKMARK: 'bookmark',\r\n CALENDAR: 'calendar',\r\n CHART_BARS: 'chart-bars',\r\n CHECKMARK: 'checkmark',\r\n CROWN: 'crown',\r\n EMPTY_SET: 'empty-set',\r\n ERROR: 'error',\r\n EYE_HIDE: 'eye-hide',\r\n GRADUATION_CAP: 'graduation-cap',\r\n HEART: 'heart',\r\n ID_BADGE: 'id-badge',\r\n LIGHTBULB: 'lightbulb',\r\n LINK: 'link',\r\n NEWS: 'news',\r\n NO_COURSES: 'no-courses',\r\n NO_HISTROY: 'no-history',\r\n NO_SEARCH_RESULTS_SM: 'no-search-results-sm',\r\n NO_TASKS: 'no-tasks',\r\n PENCIL: 'pencil',\r\n SEARCH: 'search',\r\n SERVER: 'server',\r\n TASKS: 'tasks',\r\n USER_GROUP: 'user-group'\r\n};\r\n\r\n// Internal object to return the correct illustration-component to render\r\nvar ILLUSTRATIONS = {\r\n // Medium\r\n contact: Contact,\r\n 'empty-calendar': EmptyCalendar,\r\n 'no-comments': NoComments,\r\n 'no-messages': NoMessages,\r\n 'no-search-results': NoSearchResults,\r\n 'under-maintenance': UnderMaintenance,\r\n\r\n // Small\r\n book: Book,\r\n bookmark: Bookmark,\r\n calendar: Calendar,\r\n 'chart-bars': ChartBars,\r\n checkmark: Checkmark,\r\n crown: Crown,\r\n 'empty-set': EmptySet,\r\n 'error': ErrorSmall,\r\n 'eye-hide': EyeHide,\r\n 'graduation-cap': GraduationCap,\r\n heart: Heart,\r\n 'id-badge': IdBadge,\r\n lightbulb: Lightbulb,\r\n link: Link,\r\n news: News,\r\n 'no-courses': NoCourses,\r\n 'no-history': NoHistory,\r\n 'no-search-results-sm': NoSearchResultsSm,\r\n 'no-tasks': NoTasks,\r\n pencil: Pencil,\r\n search: Search,\r\n server: Server,\r\n tasks: Tasks,\r\n 'user-group': UserGroup\r\n};\r\n\r\nvar RTL_MIRRORABLE_ILLUSTRATIONS = ['book', 'chart-bars', 'pencil', 'no-comments'];\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n primary: { color: theme.palette.primary.main },\r\n secondary: { color: theme.palette.secondary.main },\r\n rtl: {\r\n transform: 'scale(-1, 1)'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Illustration` to soften content-heavy pages and to communicate important moments in a user's journey.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v2.4.0\r\n * @examples\r\n * IllustrationExample\r\n * ThemedIllustration\r\n * EmptyState\r\n */\r\nvar Illustration = React.forwardRef(function (props, ref) {\r\n var _cn;\r\n\r\n var classes = props.classes,\r\n color = props.color,\r\n className = props.className,\r\n edsContext = props.edsContext,\r\n name = props.name,\r\n SvgProps = props.SvgProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'color', 'className', 'edsContext', 'name', 'SvgProps']);\r\n\r\n var IllustrationComponent = ILLUSTRATIONS[name];\r\n\r\n return React.createElement(\r\n 'span',\r\n Object.assign({\r\n className: cn(classes.root, (_cn = {}, _defineProperty(_cn, classes.rtl, edsContext.dir === 'rtl' && RTL_MIRRORABLE_ILLUSTRATIONS.includes(name)), _defineProperty(_cn, classes.primary, color === 'primary'), _defineProperty(_cn, classes.secondary, color === 'secondary'), _cn), className)\r\n }, rest, {\r\n ref: ref\r\n }),\r\n React.createElement(IllustrationComponent, SvgProps)\r\n );\r\n});\r\n\r\nIllustration.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The name of the illustration to render.\r\n *\r\n * Use the const `IMAGES` located in `@ellucian/react-design-system/core/Illustration`.\r\n */\r\n name: PropTypes.oneOf(['contact', 'empty-calendar', 'no-comments', 'no-messages', 'no-search-results', 'under-maintenance', 'book', 'bookmark', 'calendar', 'chart-bars', 'checkmark', 'crown', 'empty-set', 'error', 'eye-hide', 'graduation-cap', 'heart', 'id-badge', 'lightbulb', 'link', 'news', 'no-courses', 'no-history', 'no-search-results-sm', 'no-tasks', 'pencil', 'search', 'server', 'tasks', 'user-group']).isRequired,\r\n /**\r\n * The color the illustration will render in.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary']),\r\n /**\r\n * Prop object to pass to the Illustration SVG component.\r\n */\r\n SvgProps: PropTypes.object\r\n};\r\n\r\nIllustration.displayName = 'Illustration';\r\n\r\nIllustration.defaultProps = {\r\n color: 'primary'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Illustration));","import React from 'react';\r\n\r\nvar SvgContact = function SvgContact(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 253, height: 75, viewBox: \"0 0 253 75\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M.734 61.137a6.004 6.004 0 0 1 .486-4.472l28.409-53A6 6 0 0 1 34.917.5h177.646a6 6 0 0 1 5.053 2.765l33.926 53c.608.949.914 2.004.945 3.053h.03l-.027.201a6.03 6.03 0 0 1-.217 1.578l-1.2 8.72A6 6 0 0 1 245.13 75H7.477a6 6 0 0 1-5.975-5.454l-.768-8.409z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M4.718 56.617l27.744-52A4 4 0 0 1 35.99 2.5h175.545a4 4 0 0 1 3.364 1.835l33.468 52a4 4 0 0 1-3.364 6.165H8.247a4 4 0 0 1-3.529-5.883z\",\r\n fill: \"#FFF\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M30 26c0 1.105-1.567 2-3.5 2s-3.5-.895-3.5-2 1.567-2 3.5-2 3.5.895 3.5 2zM15.559 55.61L40.317 8.223A6 6 0 0 1 45.635 5H201.58a6 6 0 0 1 5.163 2.943l28.145 47.528a3 3 0 0 1-2.58 4.529H18.217a3 3 0 0 1-2.66-4.39zM218 18.5h.4a2 2 0 0 1 1.69.929l7.32 11.547a.825.825 0 0 1-.697 1.267h-.4a2 2 0 0 1-1.689-.93l-7.32-11.546A.825.825 0 0 1 218 18.5z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M15.559 55.61L40.317 8.223A6 6 0 0 1 45.635 5H201.58a6 6 0 0 1 5.163 2.943l28.145 47.528a3 3 0 0 1-2.58 4.529H18.217a3 3 0 0 1-2.66-4.39z\",\r\n fill: \"#FFF\",\r\n opacity: 0.9\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M120 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm39 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm41 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zM79 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm40-16c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm35 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm34 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zM84 14c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm36 34c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm44 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm48 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zM73 48c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M120 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm39 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm41 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zM79 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm40-16c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm35 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm34 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zM84 14c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm36 34c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm44 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm48 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zM73 48c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8z\",\r\n fill: \"#FFF\",\r\n opacity: 0.75\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgContact;","import React from 'react';\r\n\r\nvar SvgEmptyCalendar = function SvgEmptyCalendar(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 159, height: 144, viewBox: \"0 0 159 144\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 8.777,\r\n y: 15.31,\r\n width: 141.446,\r\n height: 120.678,\r\n rx: 3.6\r\n }),\r\n React.createElement(\"rect\", {\r\n x: 0,\r\n y: 0,\r\n width: 141.446,\r\n height: 120.678,\r\n rx: 3.6,\r\n fillOpacity: 0.92,\r\n fill: \"#FFF\",\r\n transform: \"translate(8.777 15.31)\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M120.492 10.506H41.211v5.706a1.8 1.8 0 0 1-1.8 1.8H34a1.8 1.8 0 0 1-1.8-1.8v-5.706H6.97a3.9 3.9 0 0 0-3.9 3.9v122.486a3.9 3.9 0 0 0 3.9 3.9h145.06a3.9 3.9 0 0 0 3.9-3.9V14.406a3.9 3.9 0 0 0-3.9-3.9h-22.528v5.706a1.8 1.8 0 0 1-1.8 1.8h-5.41a1.8 1.8 0 0 1-1.8-1.8v-5.706zm9.01-3h22.528a6.9 6.9 0 0 1 6.9 6.9v122.486a6.9 6.9 0 0 1-6.9 6.9H6.97a6.9 6.9 0 0 1-6.9-6.9V14.406a6.9 6.9 0 0 1 6.9-6.9H32.2V1.8a1.8 1.8 0 0 1 1.8-1.8h5.41a1.8 1.8 0 0 1 1.8 1.8v5.706h79.281V1.8a1.8 1.8 0 0 1 1.8-1.8h5.41a1.8 1.8 0 0 1 1.8 1.8v5.706zM23.188 25.316v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h3.724c.733 0 1.443.172 2.084.498l-.907 1.783a2.585 2.585 0 0 0-1.177-.281h-3.724zm6.324 3.266h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v4.8c0 .257-.021.512-.063.763l-1.973-.33c.024-.142.036-.287.036-.433v-4.8zm-2.28 7.38l.242 1.986a4.664 4.664 0 0 1-.531.034h-5.02v-2h5.011c.1-.001.2-.008.298-.02zm-9.81.02v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-4.134c-.549 0-1.086-.097-1.592-.283l.692-1.877c.285.105.588.16.9.16h4.135zm-6.734-2.855h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.211c0-.08.002-.16.006-.24l1.998.103a2.659 2.659 0 0 0-.004.137v5.21zm1.97-7.735l-.482-1.94c.339-.085.688-.13 1.041-.136l.03 2a2.604 2.604 0 0 0-.589.076zm8.74 11.532h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zM31.298 96.362h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M31.298 36.924h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zM31.298 96.362h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7z\",\r\n fill: \"#FFF\",\r\n opacity: 0.8\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgEmptyCalendar;","import React from 'react';\r\n\r\nvar SvgNoComments = function SvgNoComments(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 214, height: 183, viewBox: \"0 0 214 183\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(-.56 61.346)\" },\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 2.56,\r\n y: 2.654,\r\n width: 211,\r\n height: 56,\r\n rx: 3.52\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M5.579 3.654c-1.115 0-2.019.899-2.019 2.008v48.984c0 1.109.904 2.008 2.019 2.008h203.962c1.115 0 2.02-.9 2.02-2.008V5.662c0-1.109-.905-2.008-2.02-2.008H5.58zm-.002-3h203.966c2.77 0 5.017 2.236 5.017 4.994V54.66c0 2.758-2.246 4.994-5.017 4.994H5.577c-2.77 0-5.017-2.236-5.017-4.994V5.648C.56 2.89 2.806.654 5.577.654zm44.743 15H192.8c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 11h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36.56 25.476c0 4.877-5.598 8.822-12.499 8.822-2.096 0-4.075-.365-5.81-1.01-1.75 1.324-3.898 2.134-6.18 2.363a.466.466 0 0 1-.5-.327c-.056-.212.117-.343.286-.5.838-.78 1.854-1.391 2.253-4.012-1.597-1.48-2.548-3.33-2.548-5.336 0-4.873 5.599-8.822 12.5-8.822 6.9 0 12.498 3.949 12.498 8.822z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M50.32 15.654H192.8c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 11h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36.56 25.476c0 4.877-5.598 8.822-12.499 8.822-2.096 0-4.075-.365-5.81-1.01-1.75 1.324-3.898 2.134-6.18 2.363a.466.466 0 0 1-.5-.327c-.056-.212.117-.343.286-.5.838-.78 1.854-1.391 2.253-4.012-1.597-1.48-2.548-3.33-2.548-5.336 0-4.873 5.599-8.822 12.5-8.822 6.9 0 12.498 3.949 12.498 8.822z\",\r\n fill: \"#FFF\",\r\n opacity: 0.7\r\n })\r\n ),\r\n React.createElement(\"path\", {\r\n d: \"M4.52 0h203.96A3.52 3.52 0 0 1 212 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 52.48V3.52A3.52 3.52 0 0 1 4.52 0zm0 127h203.96a3.52 3.52 0 0 1 3.52 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 179.48v-48.96A3.52 3.52 0 0 1 4.52 127z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M4.52 0h203.96A3.52 3.52 0 0 1 212 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 52.48V3.52A3.52 3.52 0 0 1 4.52 0zm0 127h203.96a3.52 3.52 0 0 1 3.52 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 179.48v-48.96A3.52 3.52 0 0 1 4.52 127z\",\r\n fillOpacity: 0.92,\r\n fill: \"#FFF\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M49.76 16h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 21.24v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 35.24v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 26c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9zm13.76 117h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 153c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M49.76 16h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 21.24v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 35.24v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 26c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9zm13.76 117h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 153c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9z\",\r\n fillOpacity: 0.7,\r\n fill: \"#FFF\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoComments;","import React from 'react';\r\nimport uuid from 'uuid/v4';\r\n\r\nvar SvgNoMessages = function SvgNoMessages(props) {\r\n\r\n var id1 = uuid();\r\n var id2 = uuid();\r\n\r\n return React.createElement(\r\n 'svg',\r\n Object.assign({ width: 156, height: 183, viewBox: '0 0 156 183' }, props),\r\n React.createElement(\r\n 'defs',\r\n null,\r\n React.createElement(\r\n 'linearGradient',\r\n {\r\n x1: '50%',\r\n y1: '100%',\r\n x2: '50%',\r\n y2: '0%',\r\n id: id1\r\n },\r\n React.createElement('stop', { stopColor: '#EBEBEB', stopOpacity: 0, offset: '0%' }),\r\n React.createElement('stop', { stopColor: '#EBEBEB', offset: '33.339%' }),\r\n React.createElement('stop', { stopColor: '#EBEBEB', offset: '100%' })\r\n ),\r\n React.createElement(\r\n 'linearGradient',\r\n {\r\n x1: '31.773%',\r\n y1: '21.985%',\r\n x2: '61.51%',\r\n y2: '82.063%',\r\n id: id2\r\n },\r\n React.createElement('stop', { stopColor: '#F6F6F6', offset: '0%' }),\r\n React.createElement('stop', { stopColor: '#D1D1D1', offset: '38.942%' }),\r\n React.createElement('stop', { stopColor: '#F4F4F4', offset: '100%' })\r\n )\r\n ),\r\n React.createElement(\r\n 'g',\r\n { fill: 'none', fillRule: 'evenodd' },\r\n React.createElement('path', {\r\n fill: 'url(#' + id1 + ')',\r\n d: 'M96.543 93.138h15.785v90.022H96.543z'\r\n }),\r\n React.createElement('path', {\r\n d: 'M123.768 82.13l.083.191-.083.04v.11l-.115-.053-88.996 43.798L.99 44.976 88.753 1.451l.128.296A15.2 15.2 0 0 1 95.858.062c2.182 0 4.337.468 6.323 1.371a36.849 36.849 0 0 1 21.587 33.54V82.13z',\r\n transform: 'translate(32.118 .332)',\r\n fill: 'url(#' + id2 + ')'\r\n }),\r\n React.createElement('path', {\r\n d: 'M24.334 106.366l-.216-.097v-46.97c0-8.51 6.899-15.41 15.409-15.41 2.177 0 4.33.462 6.316 1.355A36.819 36.819 0 0 1 67.57 78.826v46.723l.214.096L46.606 158.5c-7.4 11.48-22.078 15.833-34.54 10.243C1.779 164.13-2.82 152.05 1.795 141.763c.42-.938.91-1.842 1.467-2.705l21.072-32.692z',\r\n fill: 'currentColor'\r\n }),\r\n React.createElement('path', {\r\n fill: '#FFF',\r\n opacity: 0.2,\r\n d: 'M24 105.853l43.569-21.001v40.945z'\r\n }),\r\n React.createElement('path', {\r\n d: 'M12.066 168.743C1.779 164.13-2.82 152.05 1.795 141.763c.42-.938.91-1.842 1.467-2.705l21.177-32.855 43.344 19.442L46.606 158.5c-7.4 11.48-22.078 15.833-34.54 10.243z',\r\n fill: '#FFF',\r\n opacity: 0.85\r\n }),\r\n React.createElement('path', {\r\n d: 'M45.843 45.244A36.819 36.819 0 0 1 67.57 78.826v46.97L24.118 106.27v-46.97c0-8.51 6.899-15.41 15.409-15.41 2.177 0 4.33.462 6.316 1.355z',\r\n fill: '#FFF',\r\n opacity: 0.3\r\n }),\r\n React.createElement('path', {\r\n d: 'M146.187 57.3v7.424L138.54 68.4l.142-7.442-51.17 24.945.149-7.78 58.677-28.605-.15 7.78z',\r\n fill: 'currentColor'\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoMessages;","import React from 'react';\r\nimport uuid from 'uuid/v4';\r\nvar SvgNoSearchResults = function SvgNoSearchResults(props) {\r\n\r\n var id1 = uuid();\r\n var id2 = uuid();\r\n\r\n return React.createElement(\r\n 'svg',\r\n Object.assign({ width: 153, height: 181, viewBox: '0 0 153 181' }, props),\r\n React.createElement(\r\n 'defs',\r\n null,\r\n React.createElement('circle', { id: id1, cx: 36.348, cy: 36, r: 36 })\r\n ),\r\n React.createElement(\r\n 'g',\r\n { fill: 'none', fillRule: 'evenodd' },\r\n React.createElement('path', {\r\n d: 'M48.716 5.603h82.642v11.723a5.4 5.4 0 0 0 5.4 5.4h11.051v99.971a2.7 2.7 0 0 1-2.7 2.7H49.616a2.7 2.7 0 0 1-2.7-2.7V7.403a1.8 1.8 0 0 1 1.8-1.8zM135.898.5h.601v.125c.167.073.324.178.46.315l15.515 15.533c.157.158.272.341.345.537h.093V126.3a4.2 4.2 0 0 1-4.2 4.2H45.7a4.2 4.2 0 0 1-4.2-4.2V4.7A4.2 4.2 0 0 1 45.7.5h90.198zm12.872 16.51L136.5 4.724V15.81a1.2 1.2 0 0 0 1.2 1.2h11.07zM133.5 3.5H45.7a1.2 1.2 0 0 0-1.2 1.2v121.6a1.2 1.2 0 0 0 1.2 1.2h103.012a1.2 1.2 0 0 0 1.2-1.2V20.01H137.7a4.2 4.2 0 0 1-4.2-4.2V3.5z',\r\n fill: 'currentColor'\r\n }),\r\n React.createElement('path', {\r\n d: 'M48.716 5.603h82.642v11.723a5.4 5.4 0 0 0 5.4 5.4h11.051v99.971a2.7 2.7 0 0 1-2.7 2.7H49.616a2.7 2.7 0 0 1-2.7-2.7V7.403a1.8 1.8 0 0 1 1.8-1.8z',\r\n fillOpacity: 0.92,\r\n fill: '#FFF'\r\n }),\r\n React.createElement('path', {\r\n fill: '#FFF',\r\n d: 'M61.33 29.922h72.967v7.206H61.33zM61.33 44.333h72.967v7.206H61.33zM61.33 58.745h72.967v7.206H61.33zM61.33 73.156h72.967v7.206H61.33zM61.33 87.567h72.967v7.206H61.33z'\r\n }),\r\n React.createElement(\r\n 'g',\r\n { transform: 'translate(6.652 84)' },\r\n React.createElement(\r\n 'mask',\r\n { id: id2, fill: '#fff' },\r\n React.createElement('use', { xlinkHref: '#' + id1 })\r\n ),\r\n React.createElement('use', { fill: '#FFF', xlinkHref: '#' + id1 }),\r\n React.createElement('path', {\r\n d: 'M32-223h183.475v26.021c0 6.628 5.372 12 12 12H252V37a6 6 0 0 1-6 6H34a6 6 0 0 1-6-6v-256a4 4 0 0 1 4-4zm-6-5a3 3 0 0 0-3 3V45a3 3 0 0 0 3 3h229a3 3 0 0 0 3-3v-236.34h-27.487a9 9 0 0 1-9-9V-228H26zm0-6h201.513v33.66a3 3 0 0 0 3 3H264V45a9 9 0 0 1-9 9H26a9 9 0 0 1-9-9v-270a9 9 0 0 1 9-9z',\r\n fill: 'currentColor',\r\n mask: 'url(#' + id2 + ')'\r\n }),\r\n React.createElement('path', {\r\n d: 'M32-223h183.475v26.021c0 6.628 5.372 12 12 12H252V37a6 6 0 0 1-6 6H34a6 6 0 0 1-6-6v-256a4 4 0 0 1 4-4z',\r\n fillOpacity: 0.92,\r\n fill: '#FFF',\r\n mask: 'url(#' + id2 + ')'\r\n })\r\n ),\r\n React.createElement(\r\n 'g',\r\n { fill: 'currentColor' },\r\n React.createElement('path', { d: 'M80.358 139.898l8.267 4.773c7 .192 12.163 1.249 15.49 3.17l34.858 20.125c.4 1.641-.257 3.945-1.97 6.913-1.713 2.967-3.39 4.704-5.03 5.211l-34.857-20.125c-2.996-1.73-6.493-5.673-10.49-11.83l-8.268-4.773c-12.176 19.001-37.269 25.248-57.016 13.847C1.015 145.473-5.95 119.481 5.786 99.153c11.736-20.327 37.729-27.292 58.056-15.556 19.747 11.4 26.884 36.255 16.516 56.3zm-7.022-1.745c9.803-16.98 3.986-38.69-12.994-48.494-16.98-9.803-38.69-3.985-48.494 12.994-9.803 16.98-3.985 38.69 12.994 48.494 16.98 9.803 38.691 3.985 48.494-12.994zm-12.452-40.9l-.62.786a28.742 28.742 0 0 0-4.83-3.08 28.442 28.442 0 0 0-5.63-2.136c-7.447-1.952-15.393-.778-21.966 3.19a28.367 28.367 0 0 0-9.928 10.14l-.866-.5a29.367 29.367 0 0 1 10.277-10.496c6.803-4.107 15.028-5.322 22.737-3.301a29.442 29.442 0 0 1 7.284 3 29.742 29.742 0 0 1 3.542 2.398z' })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoSearchResults;","import React from 'react';\r\n\r\nvar SvgUnderMaintenance = function SvgUnderMaintenance(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 176, height: 169, viewBox: \"0 0 176 169\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(0 -1)\", fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"rect\", {\r\n fill: \"#F0F0F0\",\r\n y: 28.632,\r\n width: 175.23,\r\n height: 140.552,\r\n rx: 4.277\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 13.86,\r\n y: 44.469,\r\n width: 22.77,\r\n height: 9.898,\r\n rx: 2.851\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 13.86,\r\n y: 61.295,\r\n width: 50.49,\r\n height: 95.021,\r\n rx: 2.851\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M80.731 60.295v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm9.039 6.4h-2V64.13a1.852 1.852 0 0 0-1.647-1.825l.216-1.988a3.854 3.854 0 0 1 3.43 3.805l.001 2.572zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm-9.516 5.921v-2h5.702c.207-.004.407-.042.596-.11l.685 1.879a3.868 3.868 0 0 1-1.262.23l-5.721.001zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-9.974-5.464h2v1.613c0 1.023.829 1.851 1.851 1.851h.623v2h-.623a3.851 3.851 0 0 1-3.851-3.85v-1.614zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm3.851-6.857v2c-.421 0-.818.14-1.142.395l-1.236-1.573a3.838 3.838 0 0 1 2.378-.822z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 75.79,\r\n y: 65.092,\r\n width: 80.3,\r\n height: 86,\r\n rx: 4.4\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n opacity: 0.85,\r\n x: 75.79,\r\n y: 65.092,\r\n width: 80.3,\r\n height: 86,\r\n rx: 4.4\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 42.57,\r\n y: 44.469,\r\n width: 121.77,\r\n height: 9.898,\r\n rx: 2.851\r\n }),\r\n React.createElement(\r\n \"g\",\r\n { transform: \"rotate(-9 122.614 -147.565)\" },\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 0.99,\r\n y: 0.99,\r\n width: 109.89,\r\n height: 122.735,\r\n rx: 2\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 3,\r\n y: 3,\r\n width: 106,\r\n height: 118,\r\n rx: 1.929\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 6,\r\n y: 6,\r\n width: 100,\r\n height: 111,\r\n rx: 1.82\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n opacity: 0.85,\r\n x: 6,\r\n y: 6,\r\n width: 100,\r\n height: 111,\r\n rx: 1.82\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n d: \"M22.397 22.397h67.789v7.136H22.397zM22.397 37.382h67.789v7.136H22.397zM22.397 52.367h67.789v7.136H22.397zM22.397 67.353h67.789v7.136H22.397zM22.397 82.338h67.789v7.136H22.397zM22.397 97.323h67.789v7.136H22.397z\"\r\n })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgUnderMaintenance;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { stroke: \"none\", strokeWidth: \"1\", fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(4.000000, 0.000000)\", fillRule: \"nonzero\" },\r\n React.createElement(\"path\", {\r\n d: \"M51.1899785,56.25 L51.5803571,56.25 C52.3611145,56.25 53,56.8828583 53,57.65625 L53,58.59375 C53,59.3671417 52.3611145,60 51.5803571,60 L9.46428571,60 C4.23524475,60 0,55.8047104 0,50.625 L0,9.375 C0,4.19528961 4.23524475,0 9.46428571,0 L50.1607143,0 C51.7341287,0 53,1.25392914 53,2.8125 L53,45.9375 C53,47.109375 52.2664948,48.1171417 51.2372306,48.5390854 C50.8113839,50.4257584 50.7167642,53.8827896 51.1899785,56.25 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"polygon\", { fill: \"currentColor\", points: \"15 45 49 45 49 4 15 4\" }),\r\n React.createElement(\"path\", {\r\n d: \"M4,47 C5.67504883,45.8315217 7.75,45.1304348 10,45.1304348 L12,45.1304348 L12,4 L10,4 C6.6875,4 4,6.51222826 4,9.60869565 L4,47 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M48,56 C47.6336748,53.7687073 47.6573347,51.0562286 48,49 L9.67284746,49 C2.10905085,49 2.10905085,56 9.67284746,56 L48,56 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"polygon\", { fillOpacity: \"0.88\", fill: \"#FFFFFF\", points: \"15 45 49 45 49 4 15 4\" }),\r\n React.createElement(\"path\", {\r\n d: \"M4,47 C5.67504883,45.8315217 7.75,45.1304348 10,45.1304348 L12,45.1304348 L12,4 L10,4 C6.6875,4 4,6.51222826 4,9.60869565 L4,47 Z\",\r\n fillOpacity: \"0.88\",\r\n fill: \"#FFFFFF\"\r\n }),\r\n React.createElement(\"path\", { d: \"M48,56 C47.6336748,53.7687073 47.6573347,51.0562286 48,49 L9.67284746,49 C2.10905085,49 2.10905085,56 9.67284746,56 L48,56 Z\",\r\n fillOpacity: \"0.88\",\r\n fill: \"#FFFFFF\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M42.5625,19 L22.4375,19 C21.6469218,19 21,18.3249432 21,17.5 L21,16.5 C21,15.6750472 21.6469218,15 22.4375,15 L42.5625,15 C43.3530782,15 44,15.6750472 44,16.5 L44,17.5 C44,18.3249432 43.3530782,19 42.5625,19 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M44,24.5 C44,25.3249432 43.3530782,26 42.5625,26 L22.4375,26 C21.6469218,26 21,25.3249432 21,24.5 L21,23.5 C21,22.6750472 21.6469218,22 22.4375,22 L42.5625,22 C43.3530782,22 44,22.6750472 44,23.5 L44,24.5 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M47.375 0h-33.75A5.625 5.625 0 0 0 8 5.625V60l22.5-13.125L53 60V5.625A5.625 5.625 0 0 0 47.375 0z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M49.25 53.471L30.5 42.534 11.75 53.47V5.625c0-1.034.841-1.875 1.875-1.875h33.75c1.034 0 1.875.841 1.875 1.875v47.846z\",\r\n fill: \"#FFF\",\r\n opacity: 0.88\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M47.375 0A5.625 5.625 0 0 1 53 5.625V60L30.5 46.875 8 60V5.625A5.625 5.625 0 0 1 13.625 0h33.75zm1.875 53.471V5.625a1.877 1.877 0 0 0-1.875-1.875h-33.75a1.877 1.877 0 0 0-1.875 1.875v47.846L30.5 42.534 49.25 53.47z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgCalendar = function SvgCalendar(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", { fill: \"currentColor\", d: \"M6 10h48v47H6z\" }),\r\n React.createElement(\"path\", { fill: \"#FFF\", opacity: 0.88, d: \"M7 11h46v46H7z\" }),\r\n React.createElement(\"path\", {\r\n d: \"M50.429 7.5h-5.572V1.406C44.857.633 44.23 0 43.464 0h-.928c-.766 0-1.393.633-1.393 1.406V7.5H18.857V1.406C18.857.633 18.23 0 17.464 0h-.928c-.766 0-1.393.633-1.393 1.406V7.5H9.57C6.496 7.5 4 10.02 4 13.125v41.25C4 57.48 6.496 60 9.571 60H50.43C53.504 60 56 57.48 56 54.375v-41.25C56 10.02 53.504 7.5 50.429 7.5zM9.57 11.25H50.43c1.021 0 1.857.844 1.857 1.875v5.625H7.714v-5.625c0-1.031.836-1.875 1.857-1.875zm40.858 45H9.57a1.872 1.872 0 0 1-1.857-1.875V22.5h44.572v31.875a1.872 1.872 0 0 1-1.857 1.875zM21.179 37.5h-4.643a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.643c.766 0 1.392.633 1.392 1.406v4.688c0 .773-.626 1.406-1.392 1.406zm11.142 0H27.68a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.642c.767 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406zm11.143 0h-4.643a1.404 1.404 0 0 1-1.392-1.406v-4.688c0-.773.626-1.406 1.392-1.406h4.643c.766 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406zM32.321 48.75H27.68a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.642c.767 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406zm-11.142 0h-4.643a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.643c.766 0 1.392.633 1.392 1.406v4.688c0 .773-.626 1.406-1.392 1.406zm22.285 0h-4.643a1.404 1.404 0 0 1-1.392-1.406v-4.688c0-.773.626-1.406 1.392-1.406h4.643c.766 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgCalendar;","import React from 'react';\r\n\r\nvar SvgChartBars = function SvgChartBars(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M44 18V8a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v35a1 1 0 0 1-1 1H45a.995.995 0 0 1-.5-.134.995.995 0 0 1-.5.134H34a.995.995 0 0 1-.5-.134.995.995 0 0 1-.5.134H23a.995.995 0 0 1-.5-.134.995.995 0 0 1-.5.134H12a1 1 0 0 1-1-1V27a1 1 0 0 1 1-1h10V12a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6h10z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M44 18V7h12v37H11V26h11V11h12v7h10z\",\r\n fill: \"#FFF\",\r\n opacity: 0.88\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M58.594 48.25A1.41 1.41 0 0 1 60 49.656v.938A1.41 1.41 0 0 1 58.594 52H1.406A1.41 1.41 0 0 1 0 50.594V8.406A1.41 1.41 0 0 1 1.406 7h.938A1.41 1.41 0 0 1 3.75 8.406V48.25h54.844zM18.75 40.047v-9.844a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v9.844c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703zm33.75 0V11.453a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v28.594c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703zm-11.25 0V22.703a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v17.344c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703zm-11.25 0V15.203a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v24.844c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgChartBars;","import React from 'react';\r\n\r\nvar SvgCheckmark = function SvgCheckmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"circle\", { fill: \"currentColor\", cx: 30, cy: 30, r: 28 }),\r\n React.createElement(\"circle\", { fill: \"#FFF\", opacity: 0.88, cx: 30, cy: 30, r: 28 }),\r\n React.createElement(\"path\", {\r\n d: \"M30 0C13.431 0 0 13.431 0 30c0 16.569 13.431 30 30 30 16.569 0 30-13.431 30-30C60 13.431 46.569 0 30 0zm0 56.129C15.645 56.129 3.871 44.509 3.871 30 3.871 15.646 15.491 3.871 30 3.871c14.355 0 26.129 11.62 26.129 26.129 0 14.354-11.62 26.129-26.129 26.129zm17.133-33.261L25.3 44.525c-.569.564-1.488.56-2.052-.009L12.859 34.044a1.452 1.452 0 0 1 .008-2.053l1.031-1.022a1.452 1.452 0 0 1 2.053.008l8.344 8.411 19.77-19.612a1.452 1.452 0 0 1 2.054.008l1.022 1.03c.565.57.56 1.49-.008 2.054z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgCheckmark;","import React from 'react';\r\n\r\nvar SvgCrown = function SvgCrown(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M13.085 41.252L6.719 25.125l-4.57-.745v-4.464l3.101-2.762L9 19.916l-.169 4.464 9.11 4.823 3.765-4.823 6.747-11.526-2.305-3.604 2.305-4.212 3.797.697 1.735 4.223-1.735 2.896 4.427 9.275 4.548 6.329h3.155l6.798-4.078V19l4.413-1.846 3.022 4.096-2.363 3.875h-2.33l-7.073 16.127z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M13.085 41.252L6.719 25.125l-4.57-.745v-4.464l3.101-2.762L9 19.916l-.169 4.464 9.11 4.823 3.765-4.823 6.747-11.526-2.305-3.604 2.305-4.212 3.797.697 1.735 4.223-1.735 2.896 4.427 9.275 4.548 6.329h3.155l6.798-4.078V19l4.413-1.846 3.022 4.096-2.363 3.875h-2.33l-7.073 16.127z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M50.25 46H9.75a.752.752 0 0 0-.75.75v1.5c0 .413.338.75.75.75h40.5c.413 0 .75-.337.75-.75v-1.5a.752.752 0 0 0-.75-.75zm4.5-30a5.253 5.253 0 0 0-5.25 5.25c0 .712.14 1.387.403 2.006l-5.278 3.169a2.985 2.985 0 0 1-1.538.431 3.002 3.002 0 0 1-2.606-1.51l-6.975-12.205c1.06-.966 1.744-2.344 1.744-3.891A5.253 5.253 0 0 0 30 4a5.253 5.253 0 0 0-5.25 5.25 5.22 5.22 0 0 0 1.744 3.881l-6.975 12.206a2.982 2.982 0 0 1-2.606 1.51 2.96 2.96 0 0 1-1.538-.431l-5.278-3.17a5.284 5.284 0 0 0 .403-2.005 5.253 5.253 0 0 0-5.25-5.25 5.253 5.253 0 1 0 0 10.51c.188-.001.366-.038.544-.057L12 43h36l6.206-16.556c.178.018.356.056.544.056A5.253 5.253 0 0 0 60 21.25 5.253 5.253 0 0 0 54.75 16zM30 7a2.257 2.257 0 0 1 2.25 2.25A2.257 2.257 0 0 1 30 11.5a2.257 2.257 0 0 1-2.25-2.25A2.257 2.257 0 0 1 30 7zM5.25 23.5A2.257 2.257 0 0 1 3 21.25 2.257 2.257 0 0 1 5.25 19a2.257 2.257 0 0 1 2.25 2.25 2.257 2.257 0 0 1-2.25 2.25zM45.919 40H14.08l-5.25-14.006 5.007 3a5.973 5.973 0 0 0 3.084.853 6.026 6.026 0 0 0 5.212-3.028l7.088-12.403c.262.037.515.075.787.075s.525-.038.788-.075l7.078 12.412a6.017 6.017 0 0 0 5.212 3.019c1.088 0 2.147-.3 3.085-.853l5.006-3L45.918 40zm8.831-16.5a2.257 2.257 0 0 1-2.25-2.25A2.257 2.257 0 0 1 54.75 19 2.257 2.257 0 0 1 57 21.25a2.257 2.257 0 0 1-2.25 2.25z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgCrown;","import React from 'react';\r\n\r\nvar SvgEmptySet = function SvgEmptySet(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M59.3345029,3.19385965 L56.6888889,0.548245614 C55.9578947,-0.182748538 54.7730994,-0.182748538 54.0421053,0.548245614 L45.6105263,8.97982456 C41.2362573,5.70497076 35.825731,3.74239766 29.9415205,3.74239766 C15.4725146,3.74239766 3.74269006,15.4722222 3.74269006,29.9412281 C3.74269006,35.824269 5.70526316,41.2359649 8.98011696,45.6090643 L0.548538012,54.0418129 C-0.18245614,54.772807 -0.18245614,55.9576023 0.548538012,56.6885965 L3.19532164,59.3353801 C3.92631579,60.0663743 5.11111111,60.0663743 5.84210526,59.3353801 L14.2736842,50.9038012 C18.6467836,54.1774854 24.0584795,56.1400585 29.9415205,56.1400585 C44.4105263,56.1400585 56.1403509,44.4102339 56.1403509,29.9412281 C56.1403509,24.0581871 54.1777778,18.6464912 50.902924,14.2733918 L59.3345029,5.84181287 C60.0654971,5.10964912 60.0654971,3.9248538 59.3345029,3.19385965 Z M13.0994152,29.9412281 C13.0994152,20.6546784 20.6549708,13.0991228 29.9415205,13.0991228 C33.2292398,13.0991228 36.2760234,14.0827485 38.871345,15.7178363 L15.7181287,38.8710526 C14.0830409,36.275731 13.0994152,33.2289474 13.0994152,29.9412281 Z M46.7836257,29.9412281 C46.7836257,39.2277778 39.2280702,46.7833333 29.9415205,46.7833333 C26.6538012,46.7833333 23.6070175,45.7997076 21.0116959,44.1646199 L44.1637427,21.0114035 C45.8,23.6067251 46.7836257,26.6535088 46.7836257,29.9412281 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.3345029,3.19385965 L56.6888889,0.548245614 C55.9578947,-0.182748538 54.7730994,-0.182748538 54.0421053,0.548245614 L45.6105263,8.97982456 C41.2362573,5.70497076 35.825731,3.74239766 29.9415205,3.74239766 C15.4725146,3.74239766 3.74269006,15.4722222 3.74269006,29.9412281 C3.74269006,35.824269 5.70526316,41.2359649 8.98011696,45.6090643 L0.548538012,54.0418129 C-0.18245614,54.772807 -0.18245614,55.9576023 0.548538012,56.6885965 L3.19532164,59.3353801 C3.92631579,60.0663743 5.11111111,60.0663743 5.84210526,59.3353801 L14.2736842,50.9038012 C18.6467836,54.1774854 24.0584795,56.1400585 29.9415205,56.1400585 C44.4105263,56.1400585 56.1403509,44.4102339 56.1403509,29.9412281 C56.1403509,24.0581871 54.1777778,18.6464912 50.902924,14.2733918 L59.3345029,5.84181287 C60.0654971,5.10964912 60.0654971,3.9248538 59.3345029,3.19385965 Z M13.0994152,29.9412281 C13.0994152,20.6546784 20.6549708,13.0991228 29.9415205,13.0991228 C33.2292398,13.0991228 36.2760234,14.0827485 38.871345,15.7178363 L15.7181287,38.8710526 C14.0830409,36.275731 13.0994152,33.2289474 13.0994152,29.9412281 Z M46.7836257,29.9412281 C46.7836257,39.2277778 39.2280702,46.7833333 29.9415205,46.7833333 C26.6538012,46.7833333 23.6070175,45.7997076 21.0116959,44.1646199 L44.1637427,21.0114035 C45.8,23.6067251 46.7836257,26.6535088 46.7836257,29.9412281 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.6865954,1.82816581 L58.1718636,0.313399853 C57.7540065,-0.104466618 57.0749888,-0.104466618 56.6571317,0.313399853 L46.5964194,10.3743387 C42.1151703,6.58273622 36.3294571,4.28580995 30,4.28580995 C15.7982112,4.28580995 4.28571344,15.7985669 4.28571344,30.0006697 C4.28571344,36.3302752 6.58258799,42.1161187 10.3741051,46.5961294 L0.313392796,56.6570682 C-0.104464265,57.0749347 -0.104464265,57.7539677 0.313392796,58.1718342 L1.82812464,59.6866001 C2.2459817,60.1044666 2.92499942,60.1044666 3.34285649,59.6866001 L13.4035688,49.6256613 C17.8848179,53.4186031 23.6705311,55.7155294 30,55.7155294 C44.201777,55.7155294 55.7142748,44.2027724 55.7142748,30.0006697 C55.7142748,23.6710641 53.4174002,17.8852207 49.6258831,13.4052099 L59.6865954,3.34427108 C60.1044682,2.92528792 60.1044682,2.24714897 59.6865954,1.82816581 Z M8.57142689,30.0006697 C8.57142689,18.1852273 18.1848179,8.5716199 29.9999941,8.5716199 C35.1348145,8.5716199 39.7901707,10.4627335 43.4852593,13.4855689 L13.4852652,43.4862385 C10.4611587,39.7910668 8.57142689,35.1356057 8.57142689,30.0006697 Z M51.4285613,30.0006697 C51.4285613,41.816112 41.8151703,51.4297194 29.9999941,51.4297194 C24.8651737,51.4297194 20.2098175,49.5386058 16.5147289,46.5157704 L46.5147289,16.5151008 C49.5388295,20.2102726 51.4285613,24.8657336 51.4285613,30.0006697 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgEmptySet;","import React from 'react';\r\n\r\nvar SvgError = function SvgError(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"circle\", { fill: \"currentColor\", cx: \"30\", cy: \"30\", r: \"30\" }),\r\n React.createElement(\"circle\", { fill: \"#FFFFFF\", opacity: \"0.88\", cx: \"30\", cy: \"30\", r: \"30\" }),\r\n React.createElement(\"path\", {\r\n d: \"M30,3.87096774 C44.3493145,3.87096774 56.1290323,15.4929435 56.1290323,30 C56.1290323,44.4303629 44.4423387,56.1290323 30,56.1290323 C15.5753226,56.1290323 3.87096774,44.4481452 3.87096774,30 C3.87096774,15.5802823 15.5566935,3.87096774 30,3.87096774 M30,0 C13.432621,0 0,13.4374597 0,30 C0,46.5722177 13.432621,60 30,60 C46.567379,60 60,46.5722177 60,30 C60,13.4374597 46.567379,0 30,0 Z M28.6100806,14.516129 L31.3897984,14.516129 C32.2151613,14.516129 32.8745565,15.2034677 32.8402016,16.0282258 L31.9934274,36.3508065 C31.9610081,37.1283871 31.3213306,37.7419355 30.5430242,37.7419355 L29.4568548,37.7419355 C28.6786694,37.7419355 28.038871,37.1282661 28.0064516,36.3508065 L27.1596774,16.0282258 C27.1254435,15.2034677 27.7847177,14.516129 28.6100806,14.516129 Z M30,40.1612903 C28.1293548,40.1612903 26.6129032,41.6777419 26.6129032,43.5483871 C26.6129032,45.4190323 28.1293548,46.9354839 30,46.9354839 C31.8706452,46.9354839 33.3870968,45.4190323 33.3870968,43.5483871 C33.3870968,41.6777419 31.8706452,40.1612903 30,40.1612903 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgError;","import React from 'react';\r\n\r\nvar SvgEyeHide = function SvgEyeHide(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M20 14.856l21.68 29.691 8.089-3.312 8.984-11.533-6.528-9.318-14.73-7.826L26.964 12z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M20 14.856l21.68 29.691 8.089-3.312 8.984-11.533-6.528-9.318-14.73-7.826L26.964 12z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M33.49 45.771l2.261 3.076c-1.9.323-3.824.484-5.751.484A33.9 33.9 0 0 1 .692 32.56a5.08 5.08 0 0 1 0-5.121 33.874 33.874 0 0 1 10.932-11.391l1.992 2.708a30.548 30.548 0 0 0-10.052 10.39 1.694 1.694 0 0 0 0 1.706C8.975 40.115 18.972 45.97 30 45.97a30.96 30.96 0 0 0 3.49-.198zm-18.701-25.42a16.12 16.12 0 0 0-1.456 6.707c0 9.017 7.42 16.39 16.667 16.39.58 0 1.152-.03 1.717-.086l-2.424-3.295c-7.035-.359-12.626-6.046-12.626-13.009 0-1.182.163-2.358.485-3.494l-2.363-3.213zm44.519 12.21a33.904 33.904 0 0 1-15.224 13.728l5.93 8.06c.417.567.3 1.367-.262 1.787l-.677.508a1.259 1.259 0 0 1-1.772-.265L9.985 5.65a1.284 1.284 0 0 1 .263-1.786l.678-.508a1.259 1.259 0 0 1 1.77.265l6.479 8.806A34.027 34.027 0 0 1 30 10.67a33.9 33.9 0 0 1 29.308 16.77 5.08 5.08 0 0 1 0 5.121zm-15.975-5.503c0-7.194-5.97-13.027-13.333-13.027-2.923 0-5.625.92-7.822 2.478l3.615 4.915a6.617 6.617 0 0 1 7.346-.719h-.002c-1.516 0-2.745 1.24-2.745 2.77 0 1.528 1.23 2.768 2.745 2.768 1.516 0 2.745-1.24 2.745-2.769v-.002c1.586 2.99.718 6.782-2.154 8.739l4.012 5.453c3.385-2.362 5.593-6.231 5.593-10.606zm13.103 2.089a30.556 30.556 0 0 0-13.298-12.175c5.771 7.252 4.344 17.903-3.41 23.395l2.317 3.149a30.507 30.507 0 0 0 14.39-12.663 1.694 1.694 0 0 0 0-1.706z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgEyeHide;","import React from 'react';\r\n\r\nvar SvgGraduationCap = function SvgGraduationCap(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M30.678 43.424l-9.348-.611-7.445-3.556 1.123-10.273L1.969 24.6v-3.183L30 13.233l28.453 8.868v2.5L44.992 29.33l1.646 9.447-7.131 4.036z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M30.678 43.424l-9.348-.611-7.445-3.556 1.123-10.273L1.969 24.6v-3.183L30 13.233l28.453 8.868v2.5L44.992 29.33l1.646 9.447-7.131 4.036z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M57.409 19.81l-24.584-7.412a10.222 10.222 0 0 0-5.65 0L2.593 19.81c-3.467 1.016-3.447 5.872 0 6.882l2.605.785c-.316 1-.438 2.058-.483 3.235a2.624 2.624 0 0 0-.022 4.565l-.94 11.915A.75.75 0 0 0 4.5 48h3a.75.75 0 0 0 .748-.81l-.94-11.914a2.623 2.623 0 0 0 .032-4.533c.04-.966.14-1.775.38-2.507l5.51 1.662C12.667 33.652 12 38.119 12 38.22 12 43.739 24.435 45 30 45c5.566 0 18-1.261 18-6.78 0-.1-.667-4.568-1.23-8.322L57.41 26.69c3.458-1.014 3.452-5.87 0-6.882zM44.992 38.28C44.25 40.5 37.5 42 30 42c-7.5 0-14.25-1.5-14.992-3.72l1.126-7.507 11.041 3.329c1.846.53 3.804.53 5.65 0l11.041-3.329 1.126 7.506zm11.561-14.468l-24.566 7.41a7.226 7.226 0 0 1-3.975 0l-24.55-7.405-.015-.005a.577.577 0 0 1 0-1.124l24.565-7.41a7.228 7.228 0 0 1 3.975 0l24.551 7.405.015.005a.577.577 0 0 1 0 1.124z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgGraduationCap;","import React from 'react';\r\n\r\nvar SvgHeart = function SvgHeart(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M30 55.327L9.183 35.348 1.817 24.19v-9.403l5.8-7.139 10.155-2.61 9.143 5.122L30 12.7l6.845-5.054 6.62-1.838 6.79 1.838 6.109 3.858L58.603 20l-3.252 10.5-9.102 9.364z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M30 55.327L9.183 35.348 1.817 24.19v-9.403l5.8-7.139 10.155-2.61 9.143 5.122L30 12.7l6.845-5.054 6.62-1.838 6.79 1.838 6.109 3.858L58.603 20l-3.252 10.5-9.102 9.364z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M43.148 4C38.284 4 33.614 6.93 30 10.235 26.386 6.94 21.716 4 16.852 4 6.455 4 0 10.451 0 20.835c0 8.343 7.09 15.09 7.739 15.694L27.09 55.701c1.602 1.584 4.216 1.595 5.818 0L52.25 36.575l.057-.057C54.114 34.751 60 28.414 60 20.835 60 10.45 53.545 4 43.148 4zm6.557 29.976L30.364 53.091a.493.493 0 0 1-.716 0L10.26 33.908c-3.238-3.055-6.625-8.252-6.625-13.073 0-8.378 4.819-13.188 13.216-13.188 5.125 0 9.705 4.218 13.148 7.682 1.795-1.8 7.239-7.682 13.148-7.682 8.397 0 13.216 4.81 13.216 13.188 0 4.832-3.205 9.71-6.66 13.141z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgHeart;","import React from 'react';\r\n\r\nvar SvgIdBadge = function SvgIdBadge(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", { fill: \"currentColor\", d: \"M2 12h56v37H2z\" }),\r\n React.createElement(\"path\", { fill: \"#FFF\", opacity: 0.88, d: \"M2 12h56v37H2z\" }),\r\n React.createElement(\"path\", {\r\n d: \"M54.375 7H5.625A5.625 5.625 0 0 0 0 12.625v33.75A5.625 5.625 0 0 0 5.625 52h48.75A5.625 5.625 0 0 0 60 46.375v-33.75A5.625 5.625 0 0 0 54.375 7zm1.875 39.375c0 1.036-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V14.5h52.5v31.875zm-5.156-5.625H35.156c-.776 0-1.406-.63-1.406-1.406v-.938c0-.776.63-1.406 1.406-1.406h15.938c.776 0 1.406.63 1.406 1.406v.938c0 .776-.63 1.406-1.406 1.406zm0-7.5H35.156c-.776 0-1.406-.63-1.406-1.406v-.938c0-.776.63-1.406 1.406-1.406h15.938c.776 0 1.406.63 1.406 1.406v.938c0 .776-.63 1.406-1.406 1.406zm0-7.5H35.156c-.776 0-1.406-.63-1.406-1.406v-.938c0-.776.63-1.406 1.406-1.406h15.938c.776 0 1.406.63 1.406 1.406v.938c0 .776-.63 1.406-1.406 1.406zm-22.606 8.08a7.544 7.544 0 0 0-2.729-2.236A8.199 8.199 0 0 0 27 27.25C27 22.7 23.3 19 18.75 19s-8.25 3.7-8.25 8.25a8.199 8.199 0 0 0 1.24 4.344 7.546 7.546 0 0 0-2.728 2.236A7.545 7.545 0 0 0 7.5 38.346v1.279a4.88 4.88 0 0 0 4.875 4.875h12.75A4.88 4.88 0 0 0 30 39.625v-1.279c0-1.619-.537-3.223-1.512-4.516zM18.75 22.75a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm7.5 16.875a1.125 1.125 0 0 1-1.125 1.125h-12.75a1.125 1.125 0 0 1-1.125-1.125v-1.279a3.75 3.75 0 0 1 2.72-3.605l.845-.242A8.2 8.2 0 0 0 18.75 35.5a8.199 8.199 0 0 0 3.935-1l.845.24a3.75 3.75 0 0 1 2.72 3.606v1.279z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgIdBadge;","import React from 'react';\r\n\r\nvar SvgLightbulb = function SvgLightbulb(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M30 58.192l-6.09-.674-1.621-3.143V43.333L15.29 32.435 10.917 22.5l1.81-10.5 6.736-7.367 8.78-3.063 9.018 1.358L46.273 10l1.954 10-.946 8.333-6.52 8.334-3.5 5v9.657l-1.517 4.926z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M30 58.192l-6.09-.674-1.621-3.143V43.333L15.29 32.435 10.917 22.5l1.81-10.5 6.736-7.367 8.78-3.063 9.018 1.358L46.273 10l1.954 10-.946 8.333-6.52 8.334-3.5 5v9.657l-1.517 4.926z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M29.5 9.375a1.87 1.87 0 0 1-1.864 1.875c-4.11 0-7.454 3.364-7.454 7.5a1.87 1.87 0 0 1-1.864 1.875 1.87 1.87 0 0 1-1.863-1.875c0-6.203 5.016-11.25 11.181-11.25 1.03 0 1.864.84 1.864 1.875zM50 20.625c0 11.922-6.022 10.727-10.543 22.579a2.782 2.782 0 0 1-.639.98v10.191h-.002a2.822 2.822 0 0 1-.61 1.708l-2.276 2.861A2.79 2.79 0 0 1 33.747 60h-8.494a2.79 2.79 0 0 1-2.183-1.056l-2.276-2.861a2.821 2.821 0 0 1-.61-1.708h-.002V44.18a2.832 2.832 0 0 1-.645-.993C14.997 31.304 8.949 32.55 9 20.473 9.048 9.142 18.237 0 29.5 0 40.821 0 50 9.235 50 20.625zM35.09 52.5H23.91v1.497l1.79 2.253h7.6l1.79-2.253V52.5zm0-7.5H23.91v3.75h11.18V45zm11.183-24.375c0-9.327-7.504-16.875-16.773-16.875-9.27 0-16.773 7.55-16.773 16.875 0 10.251 5.142 8.31 10.058 20.625h13.43c4.907-12.293 10.058-10.404 10.058-20.625z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgLightbulb;","import React from 'react';\r\n\r\nvar SvgLink = function SvgLink(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n transform: \"rotate(-45 29.92 30.305)\",\r\n x: -2.58,\r\n y: 18.805,\r\n width: 65,\r\n height: 23,\r\n rx: 11.5\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n transform: \"rotate(-45 29.92 30.305)\",\r\n x: -2.58,\r\n y: 18.805,\r\n width: 65,\r\n height: 23,\r\n rx: 11.5\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M35.339 46.19l-9.263 9.245c-5.94 5.93-15.56 5.933-21.502 0-5.941-5.928-5.944-15.53 0-21.46l9.262-9.245c.135-.135.273-.268.413-.397.883-.818 2.315-.234 2.364.967.022.56.07 1.121.142 1.679.056.434-.087.87-.397 1.178L7.55 36.946a10.953 10.953 0 0 0 0 15.518c4.299 4.288 11.25 4.288 15.548 0l9.263-9.245.042-.042c4.246-4.281 4.227-11.215-.043-15.476a10.925 10.925 0 0 0-3.226-2.231 1.406 1.406 0 0 1-.835-1.362 7.248 7.248 0 0 1 .33-1.782 1.393 1.393 0 0 1 1.863-.85 15.115 15.115 0 0 1 4.846 3.254c5.928 5.917 5.927 15.545 0 21.46zM24.778 35.27a15.115 15.115 0 0 0 4.846 3.253 1.394 1.394 0 0 0 1.862-.85 7.248 7.248 0 0 0 .33-1.78 1.406 1.406 0 0 0-.834-1.363 10.92 10.92 0 0 1-3.226-2.23c-4.27-4.262-4.29-11.196-.043-15.477l.042-.042 9.263-9.245c4.298-4.288 11.25-4.289 15.548 0a10.953 10.953 0 0 1 0 15.518c-.018.019-6.879 6.866-8.807 8.788-.31.31-.453.745-.397 1.179.072.557.12 1.118.142 1.68.049 1.2 1.48 1.784 2.364.966.14-.13.278-.262.413-.397l9.262-9.245c5.944-5.93 5.941-15.533 0-21.46-5.942-5.933-15.563-5.93-21.502 0l-9.263 9.244c-5.927 5.916-5.928 15.544 0 21.461z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgLink;","import React from 'react';\r\n\r\nvar SvgNews = function SvgNews(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M8.814 14.95H2l.469 32.929h56.008V12H8.814z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M8.814 14.95H2l.469 32.929h56.008V12H8.814z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M57.5 10H9.167a2.503 2.503 0 0 0-2.5 2.5v.833H2.5a2.5 2.5 0 0 0-2.5 2.5V45a5 5 0 0 0 5 5h52.5c1.378 0 2.5-1.122 2.5-2.5v-35c0-1.378-1.122-2.5-2.5-2.5zM3.333 45V16.667h3.334V45c0 .919-.748 1.667-1.667 1.667A1.669 1.669 0 0 1 3.333 45zm53.334 1.667H9.714A4.99 4.99 0 0 0 10 45V13.333h46.667v33.334zm-42.084-10h17.5c.69 0 1.25-.56 1.25-1.25v-17.5c0-.69-.56-1.25-1.25-1.25h-17.5c-.69 0-1.25.56-1.25 1.25v17.5c0 .69.56 1.25 1.25 1.25zM16.667 20H30v13.333H16.667V20zm-3.334 22.083v-.833c0-.69.56-1.25 1.25-1.25h17.5c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25h-17.5c-.69 0-1.25-.56-1.25-1.25zm23.334 0v-.833c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25zm0-6.666v-.834c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.834c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25zm0-13.334v-.833c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25zm0 6.667v-.833c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNews;","import React from 'react';\r\n\r\nvar SvgNoCourses = function SvgNoCourses(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M24,33 C24,36.3140625 26.686875,39 30,39 C33.3140625,39 36,36.3140625 36,33 C36,29.6859375 33.3140625,27 30,27 C26.686875,27 24,29.6859375 24,33 Z M45,33 C45,36.3140625 47.686875,39 51,39 C54.3140625,39 57,36.3140625 57,33 C57,29.6859375 54.3140625,27 51,27 C47.686875,27 45,29.6859375 45,33 Z M9,39 C12.3140625,39 15,36.3140625 15,33 C15,29.6859375 12.3140625,27 9,27 C5.686875,27 3,29.6859375 3,33 C3,36.3140625 5.686875,39 9,39 Z M54,42 L48,42 C44.686875,42 42,44.6859375 42,48 L42,51 C42,52.6565625 43.3434375,54 45,54 L57,54 C58.6565625,54 60,52.6565625 60,51 L60,48 C60,44.6859375 57.313125,42 54,42 Z M33,42 L27,42 C23.686875,42 21,44.6859375 21,48 L21,51 C21,52.6565625 22.3434375,54 24,54 L36,54 C37.6565625,54 39,52.6565625 39,51 L39,48 C39,44.6859375 36.313125,42 33,42 Z M12,42 L6,42 C2.686875,42 0,44.6859375 0,48 L0,51 C0,52.6565625 1.3434375,54 3,54 L15,54 C16.6565625,54 18,52.6565625 18,51 L18,48 C18,44.6859375 15.313125,42 12,42 Z M9,12 L51,12 L51,24 C53.31375,24 55.404375,24.901875 57,26.3409375 L57,10.6490625 C57,8.0859375 54.9815625,6 52.5,6 L7.5,6 C5.0184375,6 3,8.0859375 3,10.6490625 L3,26.3409375 C4.595625,24.901875 6.6871875,24 9,24 L9,12 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M24,33 C24,36.3140625 26.686875,39 30,39 C33.3140625,39 36,36.3140625 36,33 C36,29.6859375 33.3140625,27 30,27 C26.686875,27 24,29.6859375 24,33 Z M45,33 C45,36.3140625 47.686875,39 51,39 C54.3140625,39 57,36.3140625 57,33 C57,29.6859375 54.3140625,27 51,27 C47.686875,27 45,29.6859375 45,33 Z M9,39 C12.3140625,39 15,36.3140625 15,33 C15,29.6859375 12.3140625,27 9,27 C5.686875,27 3,29.6859375 3,33 C3,36.3140625 5.686875,39 9,39 Z M54,42 L48,42 C44.686875,42 42,44.6859375 42,48 L42,51 C42,52.6565625 43.3434375,54 45,54 L57,54 C58.6565625,54 60,52.6565625 60,51 L60,48 C60,44.6859375 57.313125,42 54,42 Z M33,42 L27,42 C23.686875,42 21,44.6859375 21,48 L21,51 C21,52.6565625 22.3434375,54 24,54 L36,54 C37.6565625,54 39,52.6565625 39,51 L39,48 C39,44.6859375 36.313125,42 33,42 Z M12,42 L6,42 C2.686875,42 0,44.6859375 0,48 L0,51 C0,52.6565625 1.3434375,54 3,54 L15,54 C16.6565625,54 18,52.6565625 18,51 L18,48 C18,44.6859375 15.313125,42 12,42 Z M9,12 L51,12 L51,24 C53.31375,24 55.404375,24.901875 57,26.3409375 L57,10.6490625 C57,8.0859375 54.9815625,6 52.5,6 L7.5,6 C5.0184375,6 3,8.0859375 3,10.6490625 L3,26.3409375 C4.595625,24.901875 6.6871875,24 9,24 L9,12 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M51,27 C46.85625,27 43.5,30.35625 43.5,34.5 C43.5,38.64375 46.85625,42 51,42 C55.14375,42 58.5,38.64375 58.5,34.5 C58.5,30.35625 55.14375,27 51,27 Z M51,39 C48.515625,39 46.5,36.984375 46.5,34.5 C46.5,32.015625 48.515625,30 51,30 C53.484375,30 55.5,32.015625 55.5,34.5 C55.5,36.984375 53.484375,39 51,39 Z M22.5,34.5 C22.5,38.64375 25.85625,42 30,42 C34.14375,42 37.5,38.64375 37.5,34.5 C37.5,30.35625 34.14375,27 30,27 C25.85625,27 22.5,30.35625 22.5,34.5 Z M34.5,34.5 C34.5,36.984375 32.484375,39 30,39 C27.515625,39 25.5,36.984375 25.5,34.5 C25.5,32.015625 27.515625,30 30,30 C32.484375,30 34.5,32.015625 34.5,34.5 Z M9,42 C13.14375,42 16.5,38.64375 16.5,34.5 C16.5,30.35625 13.14375,27 9,27 C4.85625,27 1.5,30.35625 1.5,34.5 C1.5,38.64375 4.85625,42 9,42 Z M9,30 C11.484375,30 13.5,32.015625 13.5,34.5 C13.5,36.984375 11.484375,39 9,39 C6.515625,39 4.5,36.984375 4.5,34.5 C4.5,32.015625 6.515625,30 9,30 Z M52.875,45 L49.125,45 C45.196875,45 42,48.365625 42,52.5 C42,53.325 42.675,54 43.5,54 C44.325,54 45,53.325 45,52.5 C45,50.015625 46.85625,48 49.125,48 L52.875,48 C55.14375,48 57,50.015625 57,52.5 C57,53.325 57.675,54 58.5,54 C59.325,54 60,53.325 60,52.5 C60,48.365625 56.803125,45 52.875,45 Z M10.875,45 L7.125,45 C3.196875,45 0,48.365625 0,52.5 C0,53.325 0.675,54 1.5,54 C2.325,54 3,53.325 3,52.5 C3,50.015625 4.85625,48 7.125,48 L10.875,48 C13.14375,48 15,50.015625 15,52.5 C15,53.325 15.675,54 16.5,54 C17.325,54 18,53.325 18,52.5 C18,48.365625 14.803125,45 10.875,45 Z M31.875,45 L28.125,45 C24.196875,45 21,48.365625 21,52.5 C21,53.325 21.675,54 22.5,54 C23.325,54 24,53.325 24,52.5 C24,50.015625 25.85625,48 28.125,48 L31.875,48 C34.14375,48 36,50.015625 36,52.5 C36,53.325 36.675,54 37.5,54 C38.325,54 39,53.325 39,52.5 C39,48.365625 35.803125,45 31.875,45 Z M6,10.5 C6,9.6721875 6.6740625,9 7.5,9 L52.5,9 C53.3259375,9 54,9.6721875 54,10.5 L54,24.489375 C55.0790625,24.81375 56.0971875,25.273125 57,25.9059375 L57,10.5 C57,8.0184375 54.9815625,6 52.5,6 L7.5,6 C5.0184375,6 3,8.0184375 3,10.5 L3,25.9059375 C3.9028125,25.273125 4.9209375,24.8146875 6,24.489375 L6,10.5 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoCourses;","import React from 'react';\r\n\r\nvar SvgNoHistory = function SvgNoHistory(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M59.9999482,29.9433188 C60.0305009,46.4723801 46.5507259,59.9883716 30.0217222,60 C22.8828233,60.0050651 16.3254153,57.5165124 11.1723194,53.3575131 C9.83236201,52.2760596 9.7322009,50.2678706 10.9498601,49.0502072 L12.3128013,47.6872612 C13.3542108,46.6458481 15.0167885,46.5318963 16.1705769,47.4472608 C19.9671429,50.4599677 24.7718523,52.2581564 29.9999481,52.2581564 C42.302951,52.2581564 52.2579741,42.3011631 52.2579741,30.0000527 C52.2579741,17.6970069 42.3010155,7.74194909 29.9999481,7.74194909 C24.0950389,7.74194909 18.7319434,10.0365902 14.7498132,13.782121 L20.8893993,19.9217286 C22.1087521,21.1410855 21.2451648,23.2258473 19.5208936,23.2258473 L1.93548052,23.2258473 C0.866490436,23.2258473 0,22.3593538 0,21.29036 L0,3.70488554 C0,1.98060832 2.08475446,1.11701809 3.30410718,2.33625411 L9.2765162,8.30868396 C14.6623537,3.16161846 21.9618975,0 29.9999481,0 C46.5495162,0 59.9692914,13.40083 59.9999482,29.9433188 Z M38.1721376,39.8824346 L39.3788115,38.3592048 C40.3784972,37.0973241 40.1469406,35.2787349 38.861648,34.2973794 L33.8618683,30.4794154 L33.8618683,17.8944984 C33.8618683,16.295891 32.5419343,15 30.9136677,15 L28.9482006,15 C27.319934,15 26,16.295891 26,17.8944984 L26,34.2545649 L34.0349522,40.3901778 C35.3202449,41.3715334 37.1724519,41.1443153 38.1721376,39.8824346 L38.1721376,39.8824346 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.9999482,29.9433188 C60.0305009,46.4723801 46.5507259,59.9883716 30.0217222,60 C22.8828233,60.0050651 16.3254153,57.5165124 11.1723194,53.3575131 C9.83236201,52.2760596 9.7322009,50.2678706 10.9498601,49.0502072 L12.3128013,47.6872612 C13.3542108,46.6458481 15.0167885,46.5318963 16.1705769,47.4472608 C19.9671429,50.4599677 24.7718523,52.2581564 29.9999481,52.2581564 C42.302951,52.2581564 52.2579741,42.3011631 52.2579741,30.0000527 C52.2579741,17.6970069 42.3010155,7.74194909 29.9999481,7.74194909 C24.0950389,7.74194909 18.7319434,10.0365902 14.7498132,13.782121 L20.8893993,19.9217286 C22.1087521,21.1410855 21.2451648,23.2258473 19.5208936,23.2258473 L1.93548052,23.2258473 C0.866490436,23.2258473 0,22.3593538 0,21.29036 L0,3.70488554 C0,1.98060832 2.08475446,1.11701809 3.30410718,2.33625411 L9.2765162,8.30868396 C14.6623537,3.16161846 21.9618975,0 29.9999481,0 C46.5495162,0 59.9692914,13.40083 59.9999482,29.9433188 Z M38.1721376,39.8824346 L39.3788115,38.3592048 C40.3784972,37.0973241 40.1469406,35.2787349 38.861648,34.2973794 L33.8618683,30.4794154 L33.8618683,17.8944984 C33.8618683,16.295891 32.5419343,15 30.9136677,15 L28.9482006,15 C27.319934,15 26,16.295891 26,17.8944984 L26,34.2545649 L34.0349522,40.3901778 C35.3202449,41.3715334 37.1724519,41.1443153 38.1721376,39.8824346 L38.1721376,39.8824346 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M1.44578313,2.04819277 L2.65060241,2.04819277 C3.44903614,2.04819277 4.09638554,2.69554217 4.09638554,3.4939759 L4.09638554,14.8945783 C9.30072289,6.02975904 18.9444578,0.0861445783 29.9750602,0.120453374 C46.4072289,0.172048193 59.7846988,13.6155422 59.759073,30.0477108 C59.733253,46.5278313 46.3655422,59.8795181 29.8795181,59.8795181 C22.1775904,59.8795181 15.1563855,56.9654217 9.85807229,52.179759 C9.24204819,51.6233735 9.21301205,50.6663855 9.8,50.0793976 L10.6516867,49.2277108 C11.1942169,48.6851807 12.0672289,48.659759 12.6374699,49.173012 C17.2026506,53.2816867 23.2451807,55.7831325 29.8795181,55.7831325 C44.0655422,55.7831325 55.6626506,44.2974699 55.6626506,30 C55.6626506,15.8139759 44.176988,4.21686747 29.8795181,4.21686747 C19.8961446,4.21686747 11.236506,9.88879518 6.95313253,18.1927711 L18.7951807,18.1927711 C19.5936145,18.1927711 20.2409639,18.8401205 20.2409639,19.6385542 L20.2409639,20.8433735 C20.2409639,21.6418072 19.5936145,22.2891566 18.7951807,22.2891566 L1.44578313,22.2891566 C0.647349398,22.2891566 0,21.6418072 0,20.8433735 L0,3.4939759 C0,2.69554217 0.647349398,2.04819277 1.44578313,2.04819277 Z M40.1984337,40.0283133 L40.7654217,39.2487952 C41.2350602,38.603012 41.0922892,37.6987952 40.446506,37.2291566 L31.8072289,30.9461446 L31.8072289,13.1325301 C31.8072289,12.3340964 31.1598795,11.686747 30.3614458,11.686747 L29.3975904,11.686747 C28.5991566,11.686747 27.9518072,12.3340964 27.9518072,13.1325301 L27.9518072,32.9092771 L38.1787952,40.3471084 C38.8245783,40.8168675 39.7287952,40.6740964 40.1984337,40.0283133 L40.1984337,40.0283133 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoHistory;","import React from 'react';\r\n\r\nvar SvgNoSearchResults = function SvgNoSearchResults(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n {\r\n stroke: \"none\",\r\n strokeWidth: \"1\",\r\n fill: \"none\",\r\n fillRule: \"evenodd\"\r\n },\r\n React.createElement(\"path\", {\r\n d: \"M34.25,15.9375 L34.25,0 L10.8125,0 C9.25390625,0 8,1.25390625 8,2.8125 L8,57.1875 C8,58.7460938 9.25390625,60 10.8125,60 L50.1875,60 C51.7460938,60 53,58.7460938 53,57.1875 L53,18.75 L37.0625,18.75 C35.515625,18.75 34.25,17.484375 34.25,15.9375 Z M53,14.2851562 L53,15 L38,15 L38,0 L38.7148438,0 C39.4648438,0 40.1796875,0.29296875 40.7070312,0.8203125 L52.1796875,12.3046875 C52.7070312,12.8320312 53,13.546875 53,14.2851562 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M34.25,15.9375 L34.25,0 L10.8125,0 C9.25390625,0 8,1.25390625 8,2.8125 L8,57.1875 C8,58.7460938 9.25390625,60 10.8125,60 L50.1875,60 C51.7460938,60 53,58.7460938 53,57.1875 L53,18.75 L37.0625,18.75 C35.515625,18.75 34.25,17.484375 34.25,15.9375 Z M53,14.2851562 L53,15 L38,15 L38,0 L38.7148438,0 C39.4648438,0 40.1796875,0.29296875 40.7070312,0.8203125 L52.1796875,12.3046875 C52.7070312,12.8320312 53,13.546875 53,14.2851562 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M37.4853801,0.105263158 C38.9707602,0.105263158 40.3976608,0.701754386 41.4502924,1.75438596 L41.4502924,1.75438596 L51.2631579,11.5672515 C52.3157895,12.619883 52.9122807,14.0584795 52.9122807,15.5438596 L52.9122807,15.5438596 L52.9122807,54.3859649 C52.9122807,57.4853801 50.3976608,60 47.2982456,60 L47.2982456,60 L13.6140351,60 C10.5146199,60 8,57.4853801 8,54.3859649 L8,54.3859649 L8,5.73099415 C8,2.63157895 10.5146199,0.116959064 13.6140351,0.105263158 L13.6140351,0.105263158 Z M34.1988304,3.85964912 L13.6140351,3.85964912 C12.5847953,3.85964912 11.7426901,4.70175439 11.7426901,5.73099415 L11.7426901,5.73099415 L11.7426901,54.3859649 C11.7426901,55.4152047 12.5847953,56.2573099 13.6140351,56.2573099 L13.6140351,56.2573099 L47.2982456,56.2573099 C48.3274854,56.2573099 49.1695906,55.4152047 49.1695906,54.3859649 L49.1695906,54.3859649 L49.1695906,18.8304094 L37.005848,18.8304094 C35.4502924,18.8304094 34.1988304,17.5789474 34.1988304,16.0233918 L34.1988304,16.0233918 L34.1988304,3.85964912 Z M28.7309942,23 C34.1064327,23 38.4619883,27.3555556 38.4619883,32.7309942 C38.4619883,34.9906433 37.6947368,37.0678363 36.4035088,38.7192982 L36.4035088,38.7192982 L37.1660819,38.7192982 C37.4654971,38.7192982 37.7508772,38.8362573 37.9614035,39.0467836 L37.9614035,39.0467836 L42.625731,43.7111111 C43.0608187,44.1508772 43.0608187,44.8619883 42.6210526,45.3017544 L42.6210526,45.3017544 L41.297076,46.625731 C40.8619883,47.0654971 40.1508772,47.0654971 39.7111111,46.625731 L39.7111111,46.625731 L35.0467836,41.9614035 C34.8362573,41.7508772 34.7192982,41.4654971 34.7192982,41.1660819 L34.7192982,41.1660819 L34.7192982,40.4035088 C33.0678363,41.6947368 30.9906433,42.4619883 28.7309942,42.4619883 C23.3555556,42.4619883 19,38.1064327 19,32.7309942 C19,27.3555556 23.3555556,23 28.7309942,23 Z M28.7309942,26.7426901 C25.4187135,26.7426901 22.7426901,29.4233918 22.7426901,32.7309942 C22.7426901,36.0432749 25.4233918,38.7192982 28.7309942,38.7192982 C32.0432749,38.7192982 34.7192982,36.0385965 34.7192982,32.7309942 C34.7192982,29.4187135 32.0385965,26.7426901 28.7309942,26.7426901 Z M37.9415205,3.91812865 L37.9415205,15.0877193 L49.1111111,15.0877193 C49.0292398,14.7602339 48.8654971,14.4678363 48.619883,14.2222222 L48.619883,14.2222222 L38.8070175,4.40935673 C38.5614035,4.16374269 38.2690058,4 37.9415205,3.91812865 L37.9415205,3.91812865 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoSearchResults;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M59.1602083,28.7404167 L48.1510417,12.2264583 C47.2236527,10.8355052 45.662495,10 43.9907292,10 L16.0092708,10 C14.3375279,10 12.7763922,10.8354932 11.8490625,12.2264583 L0.839791667,28.7404167 C0.292195871,29.5617153 0,30.5267409 0,31.5138542 L0,45 C0,47.7614583 2.23854167,50 5,50 L55,50 C57.7614583,50 60,47.7614583 60,45 L60,31.5138542 C60,30.5267409 59.7078041,29.5617153 59.1602083,28.7404167 Z M16.90125,16.6666667 L43.0988542,16.6666667 L51.9877083,30 L39.1666667,30 L35.8333333,36.6666667 L24.1666667,36.6666667 L20.8333333,30 L8.01229167,30 L16.90125,16.6666667 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.1602083,28.7404167 L48.1510417,12.2264583 C47.2236527,10.8355052 45.662495,10 43.9907292,10 L16.0092708,10 C14.3375279,10 12.7763922,10.8354932 11.8490625,12.2264583 L0.839791667,28.7404167 C0.292195871,29.5617153 0,30.5267409 0,31.5138542 L0,45 C0,47.7614583 2.23854167,50 5,50 L55,50 C57.7614583,50 60,47.7614583 60,45 L60,31.5138542 C60,30.5267409 59.7078041,29.5617153 59.1602083,28.7404167 Z M16.90125,16.6666667 L43.0988542,16.6666667 L51.9877083,30 L39.1666667,30 L35.8333333,36.6666667 L24.1666667,36.6666667 L20.8333333,30 L8.01229167,30 L16.90125,16.6666667 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.0436458,27.0184375 L48.1642708,12.0591667 C47.2233622,10.7654293 45.7202287,10 44.1205208,10 L15.8794792,10 C14.2797958,10 12.7766863,10.7654192 11.8358333,12.0591667 L0.956354167,27.0184375 C0.334792685,27.8730147 0,28.9025585 0,29.9592708 L0,45 C0,47.7614583 2.23854167,50 5,50 L55,50 C57.7614583,50 60,47.7614583 60,45 L60,29.9592708 C60,28.9025585 59.6652073,27.8730147 59.0436458,27.0184375 Z M14.5315625,14.0196875 C14.845744,13.5890855 15.3464431,13.3341314 15.8794792,13.3333333 L44.120625,13.3333333 C44.6520833,13.3333333 45.1559375,13.5898958 45.4685417,14.0196875 L54.66625,26.6666667 L40.4398958,26.6666667 L37.1065625,33.3333333 L22.8934375,33.3333333 L19.5601042,26.6666667 L5.33375,26.6666667 L14.5315625,14.0196875 Z M56.6666667,31.6666667 L56.6666667,45 C56.6666667,45.9190625 55.9189583,46.6666667 55,46.6666667 L5,46.6666667 C4.08104167,46.6666667 3.33333333,45.9190625 3.33333333,45 L3.33333333,31.6666667 C3.33333333,30.7461458 4.07947917,30 5,30 L17.5,30 L20.8333333,36.6666667 L39.1666667,36.6666667 L42.5,30 L55,30 C55.9205208,30 56.6666667,30.7461458 56.6666667,31.6666667 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgPencil = function SvgPencil(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M2 56.254V44.891L46.889 2l7.817 3.218 2.913 8.79-42.5 43.673z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M2 56.254V44.891L46.889 2l7.817 3.218 2.913 8.79-42.5 43.673z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M57.803 6.577L53.41 2.193a7.51 7.51 0 0 0-10.607 0L1.504 43.41.018 56.766a2.81 2.81 0 0 0 3.106 3.1l13.38-1.484 41.3-41.219a7.475 7.475 0 0 0 0-10.586zM19.3 40.621c.732.731 1.92.731 2.652 0L43.125 19.49l3.523 3.515L20.39 49.21v-4.064h-5.625v-5.614h-4.072L36.95 13.326l3.522 3.516L19.3 37.975a1.868 1.868 0 0 0 0 2.646zm-4.516 14.186l-6.914.766-3.551-3.544.768-6.9 2.327-2.322h4.071v5.614h5.625v4.064l-2.326 2.322zm40.369-40.29l-5.853 5.84-9.697-9.677 5.853-5.841a3.753 3.753 0 0 1 5.303 0l4.394 4.385a3.736 3.736 0 0 1 0 5.293z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgPencil;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(1.000000, 1.000000)\" },\r\n React.createElement(\"path\", {\r\n d: \"M57.6007031,53.1149846 L43.8490308,39.3633123 C43.5884967,39.1027782 43.2486695,38.9668473 42.8861872,38.9668473 L41.3909477,38.9668473 C44.9591329,34.8322836 47.1226991,29.4516869 47.1226991,23.5613495 C47.1226991,10.5459694 36.5767297,0 23.5613495,0 C10.5459694,0 0,10.5459694 0,23.5613495 C0,36.5767297 10.5459694,47.1226991 23.5613495,47.1226991 C29.4516869,47.1226991 34.8322836,44.9591329 38.9668473,41.3909477 L38.9668473,42.8861872 C38.9668473,43.2486695 39.1141058,43.5884967 39.3633123,43.8490308 L53.1149846,57.6007031 C53.6473805,58.133099 54.508276,58.133099 55.0406718,57.6007031 L57.6007031,55.0406718 C58.133099,54.508276 58.133099,53.6473805 57.6007031,53.1149846 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M23.5,42 C13.27875,42 5,33.72125 5,23.5 C5,13.27875 13.27875,5 23.5,5 C33.72125,5 42,13.27875 42,23.5 C42,33.72125 33.72125,42 23.5,42 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgServer = function SvgServer(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", { fill: \"currentColor\", d: \"M3 6h54v48H3z\" }),\r\n React.createElement(\"path\", { fill: \"#FFF\", opacity: 0.88, d: \"M3 6h54v48H3z\" }),\r\n React.createElement(\"path\", {\r\n d: \"M44.063 30a2.803 2.803 0 0 1 2.812-2.793A2.803 2.803 0 0 1 49.688 30a2.803 2.803 0 0 1-2.813 2.793A2.803 2.803 0 0 1 44.062 30zm-4.688 2.793A2.803 2.803 0 0 0 42.188 30a2.803 2.803 0 0 0-2.813-2.793A2.803 2.803 0 0 0 36.562 30a2.803 2.803 0 0 0 2.813 2.793zM60 17.897a5.543 5.543 0 0 1-1.433 3.724A5.543 5.543 0 0 1 60 25.345v9.31a5.543 5.543 0 0 1-1.433 3.724A5.543 5.543 0 0 1 60 42.103v9.31C60 54.5 57.482 57 54.375 57H5.625C2.518 57 0 54.499 0 51.414v-9.31c0-1.432.542-2.736 1.433-3.725A5.543 5.543 0 0 1 0 34.655v-9.31c0-1.431.542-2.736 1.433-3.724A5.543 5.543 0 0 1 0 17.897v-9.31C0 5.5 2.518 3 5.625 3h48.75C57.482 3 60 5.501 60 8.586v9.31zm-56.25 0a1.87 1.87 0 0 0 1.875 1.862h48.75a1.87 1.87 0 0 0 1.875-1.862v-9.31a1.87 1.87 0 0 0-1.875-1.863H5.625A1.87 1.87 0 0 0 3.75 8.586v9.31zm50.625 5.586H5.625a1.87 1.87 0 0 0-1.875 1.862v9.31a1.87 1.87 0 0 0 1.875 1.862h48.75a1.87 1.87 0 0 0 1.875-1.862v-9.31a1.87 1.87 0 0 0-1.875-1.862zm1.875 18.62a1.87 1.87 0 0 0-1.875-1.862H5.625a1.87 1.87 0 0 0-1.875 1.862v9.31a1.87 1.87 0 0 0 1.875 1.863h48.75a1.87 1.87 0 0 0 1.875-1.862v-9.31zm-9.375-26.069a2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793 2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793zm-7.5 0a2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793 2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793zm7.5 27.932a2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793 2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793zm-7.5 0a2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793 2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgServer;","import React from 'react';\r\n\r\nvar SvgTasks = function SvgTasks(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M34,3 L34,10 L50,10 L50,58 L11,58 L11,10 L27,10 L27,3 L34,3 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M34,3 L34,10 L50,10 L50,58 L11,58 L11,10 L27,10 L27,3 L34,3 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M47.375,7.5 L36.9921875,7.5 C37.0390625,7.1953125 37.0625,6.87890625 37.0625,6.5625 C37.0625,2.94140625 34.1210938,0 30.5,0 C26.8789062,0 23.9375,2.94140625 23.9375,6.5625 C23.9375,6.87890625 23.9609375,7.1953125 24.0078125,7.5 L13.625,7.5 C10.5195312,7.5 8,10.0195312 8,13.125 L8,54.375 C8,57.4804688 10.5195312,60 13.625,60 L47.375,60 C50.4804688,60 53,57.4804688 53,54.375 L53,13.125 C53,10.0195312 50.4804688,7.5 47.375,7.5 Z M30.5,3.75 C32.0585938,3.75 33.3125,5.00390625 33.3125,6.5625 C33.3125,8.12109375 32.0585938,9.375 30.5,9.375 C28.9414062,9.375 27.6875,8.12109375 27.6875,6.5625 C27.6875,5.00390625 28.9414062,3.75 30.5,3.75 Z M49.25,54.375 C49.25,55.40625 48.40625,56.25 47.375,56.25 L13.625,56.25 C12.59375,56.25 11.75,55.40625 11.75,54.375 L11.75,13.125 C11.75,12.09375 12.59375,11.25 13.625,11.25 L19.25,11.25 L19.25,13.59375 C19.25,14.3671875 19.8828125,15 20.65625,15 L40.34375,15 C41.1171875,15 41.75,14.3671875 41.75,13.59375 L41.75,11.25 L47.375,11.25 C48.40625,11.25 49.25,12.09375 49.25,13.125 L49.25,54.375 Z M42.3476563,26.671875 C41.796875,26.1210937 40.90625,26.1210937 40.3554688,26.6601562 L26.5625,40.3476562 L20.65625,34.4179687 C20.1054688,33.8671875 19.2148438,33.8671875 18.6640625,34.4179687 L17.6679688,35.4140625 C17.1171875,35.9648437 17.1171875,36.8554687 17.6679688,37.40625 L25.5664062,45.328125 C26.1171875,45.8789062 27.0078125,45.8789062 27.5585938,45.328125 L43.3554688,29.6601562 C43.90625,29.109375 43.90625,28.21875 43.3671875,27.6679687 L42.3476563,26.671875 L42.3476563,26.671875 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgTasks;","import React from 'react';\r\n\r\nvar SvgUserGroup = function SvgUserGroup(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n {\r\n stroke: \"none\",\r\n strokeWidth: \"1\",\r\n fill: \"none\",\r\n fillRule: \"evenodd\"\r\n },\r\n React.createElement(\"polygon\", {\r\n fill: \"#5353D1\",\r\n points: \"17.1134832 44.4180106 6.24462123 44.4180106 2 41.8768624 2 34.0724304 6.68004822 29.4114604 4.5959928 22.3170551 9.55674158 16.3774832 14.7918556 16.3774832 18.2431641 18 22.3883144 18.5246283 26.3536971 13 33.1670208 13 38.2447281 17.8258369 42.8767746 17.4062202 48.1625707 15.9790836 53.2812135 17.4062202 55.607227 21.9081852 53.7434435 28.381714 55.2894895 30.6986472 59 34.549201 58.3920591 41.2362019 53.7434435 44.4180106 43.9532807 44.4180106 41.7963698 46 20.4243852 46\"\r\n }),\r\n React.createElement(\"polygon\", {\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\",\r\n points: \"17.1134832 44.4180106 6.24462123 44.4180106 2 41.8768624 2 34.0724304 6.68004822 29.4114604 4.5959928 22.3170551 9.55674158 16.3774832 14.7918556 16.3774832 18.2431641 18 22.3883144 18.5246283 26.3536971 13 33.1670208 13 38.2447281 17.8258369 42.8767746 17.4062202 48.1625707 15.9790836 53.2812135 17.4062202 55.607227 21.9081852 53.7434435 28.381714 55.2894895 30.6986472 59 34.549201 58.3920591 41.2362019 53.7434435 44.4180106 43.9532807 44.4180106 41.7963698 46 20.4243852 46\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M38.3245312,28.90125 C39.7352812,27.0744375 40.5,24.8460938 40.5,22.5 C40.5,16.7010938 35.8084688,12 30,12 C24.2012813,12 19.5,16.6913438 19.5,22.5 C19.5,24.8460938 20.2647188,27.0744375 21.6754688,28.90125 C20.4632812,29.2476562 15,31.317 15,37.5972188 L15,43.2856875 C15,45.8851875 17.1148125,48 19.7143125,48 L40.2857812,48 C42.8851875,48 45,45.8851875 45,43.2856875 L45,37.5972187 C45,31.317375 39.5405625,29.2486875 38.3245312,28.90125 Z M30,15 C34.1421562,15 37.5,18.3578438 37.5,22.5 C37.5,26.6421562 34.1421562,30 30,30 C25.8578438,30 22.5,26.6421562 22.5,22.5 C22.5,18.3578438 25.8578438,15 30,15 Z M42,43.2856875 C42,44.2324687 41.2324687,45 40.2856875,45 L19.7143125,45 C18.7675313,45 18,44.2324687 18,43.2856875 L18,37.5972187 C18,34.9183125 19.7759063,32.5639688 22.3516875,31.8280312 L24.2466563,31.286625 C25.941375,32.4013125 27.9245625,33 30,33 C32.0754375,33 34.058625,32.4013125 35.7533437,31.286625 L37.6483125,31.828125 C40.2240938,32.5640625 42,34.9183125 42,37.5972187 L42,43.2856875 Z M13.5,43.2856875 L13.5,42 L4.2856875,42 C3.575625,42 3,41.424375 3,40.7143125 L3,36.4479375 C3,34.4387813 4.33190625,32.673 6.26371875,32.1210938 L7.472625,31.7757187 C8.8035,32.5534688 10.3504687,33 12,33 C12.9302337,33.0004968 13.8548721,32.8561426 14.7406875,32.572125 C15.2845312,31.5833437 16.0025625,30.687 16.8879375,29.9018437 C17.7597187,29.1286875 18.6612187,28.5759375 19.428375,28.1911875 C18.489375,26.4570937 18,24.5209688 18,22.5 C18,20.9799375 18.2805937,19.5035625 18.816375,18.1295625 C17.1646875,16.2144375 14.7215625,15 12,15 C7.03734375,15 3,19.0373437 3,24 C3,26.0415 3.68371875,27.9260625 4.8335625,29.4377813 C2.40721875,30.355875 0,32.8521563 0,36.4479375 L0,40.7143125 C0,43.0774688 1.92253125,45 4.2856875,45 L13.7423437,45 C13.581713,44.4427241 13.5001352,43.8656519 13.5,43.2856875 Z M12,18 C15.3136875,18 18,20.6863125 18,24 C18,27.3136875 15.3136875,30 12,30 C8.6863125,30 6,27.3136875 6,24 C6,20.6863125 8.6863125,18 12,18 Z M55.1664375,29.4377813 C56.3162813,27.9260625 57,26.0415 57,24 C57,19.0373437 52.9626563,15 48,15 C45.2783438,15 42.8352188,16.2145313 41.1834375,18.1298437 C41.7193125,19.5038438 42,20.980125 42,22.5 C42,24.5209688 41.5107188,26.4569062 40.5717188,28.191 C41.3395313,28.5759375 42.2415938,29.128875 43.11375,29.9025 C43.9986563,30.6874688 44.7163125,31.5837188 45.259875,32.5723125 C46.1455177,32.8562222 47.0699637,33.0005127 48,33 C49.6495313,33 51.1965,32.5534688 52.527375,31.775625 L53.7362813,32.121 C55.6680938,32.673 57,34.4387812 57,36.4479375 L57,40.7143125 C57,41.424375 56.424375,42 55.7143125,42 L46.5,42 L46.5,43.2856875 C46.5,43.8803438 46.4143125,44.4550313 46.2576563,45 L55.7143125,45 C58.0774688,45 60,43.0774688 60,40.7143125 L60,36.4479375 C60,32.8508437 57.5916563,30.3554063 55.1664375,29.4377813 Z M48,30 C44.6863125,30 42,27.3136875 42,24 C42,20.6863125 44.6863125,18 48,18 C51.3136875,18 54,20.6863125 54,24 C54,27.3136875 51.3136875,30 48,30 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgUserGroup;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { default as ReactTimePicker } from 'react-time-picker';\r\nimport { isTime } from 'react-time-picker/dist/shared/propTypes';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport withStyles from '../styles';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport FormControl from '../FormControl/FormControl';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport { borderRadiusMedium, borderWidthThin, borderWidthThick, fontFamilyDefault, fontSizeDefault, heightInputFieldsSmall, spacing50, spacing40, spacing30, sizingMedium, sizingSmall, paddingTextField, zIndexTextFieldLabel, colorTextError, colorGlobalBorderError, heightInputFields, boxShadowFocus, boxShadowError, widthFluid } from '@ellucian/react-design-system/core/styles/tokens';\r\nimport uuid from 'uuid/v4';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n inputBox: {\r\n // Box around the whole TimePicker\r\n '& .react-time-picker__wrapper': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRadius: borderRadiusMedium,\r\n height: heightInputFields,\r\n minWidth: '11.75rem',\r\n padding: 0,\r\n fontFamily: fontFamilyDefault\r\n },\r\n // All of the inputs and select inside of the TimePicker\r\n '& .react-time-picker__inputGroup': {\r\n padding: paddingTextField\r\n },\r\n // The inputs; hour, minute (and second)\r\n '& .react-time-picker__inputGroup__input': {\r\n outline: 'none',\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n // When any of the inputs or the select have an error state, this class is applied\r\n '&:invalid': {\r\n background: theme.palette.grey[100],\r\n boxShadow: 'none'\r\n }\r\n },\r\n // The am/pm selector\r\n '& .react-time-picker__inputGroup__amPm': {\r\n height: sizingMedium,\r\n '-o-appearance': 'none',\r\n '-moz-appearance': 'none',\r\n '-webkit-appearance': 'none'\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n '& .react-time-picker--disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n borderRadius: borderRadiusMedium\r\n }\r\n },\r\n rtlInputs: {\r\n '& .react-time-picker__inputGroup__hour': {\r\n left: spacing50,\r\n minWidth: sizingSmall\r\n },\r\n '& .react-time-picker__inputGroup__minute': {\r\n left: '-' + spacing50\r\n }\r\n },\r\n inputBoxFocused: {\r\n // Class that's applied whenever any of the underlying inputs or selects are focused\r\n '& .react-time-picker--open': {\r\n boxShadow: boxShadowFocus,\r\n borderRadius: borderRadiusMedium\r\n }\r\n },\r\n inputBoxError: {\r\n // Class that's applied whenever the error prop is true\r\n '& .react-time-picker--open': {\r\n boxShadow: boxShadowError,\r\n borderRadius: borderRadiusMedium,\r\n '-webkit-box-shadow': boxShadowError,\r\n '-moz-box-shadow:': boxShadowError\r\n },\r\n '& .react-time-picker__wrapper': {\r\n border: borderWidthThick + ' solid ' + colorGlobalBorderError,\r\n borderRadius: borderRadiusMedium\r\n }\r\n },\r\n inputBoxEnabled: {\r\n // Setting background and text color in regular state\r\n '& .react-time-picker__wrapper': {\r\n backgroundColor: theme.palette.grey[100],\r\n color: theme.palette.grey[600],\r\n '& .react-time-picker__inputGroup': {\r\n // : separator\r\n color: theme.palette.grey[600]\r\n },\r\n '& .react-time-picker__inputGroup__input': {\r\n // Hours, minutes, seconds text\r\n color: theme.palette.grey[600],\r\n '&::placeholder': {\r\n opacity: 1 // Firefox fix so the placeholder text isn't gray\r\n },\r\n // Browsers handle placeholder text color differently :-|\r\n '&::-webkit-input-placeholder': {\r\n color: theme.palette.grey[600] // Chrome/Opera/Safari\r\n },\r\n '&::-moz-placeholder': {\r\n color: theme.palette.grey[600] // Firefox 19+\r\n },\r\n '&:-moz-placeholder': {\r\n color: theme.palette.grey[600] // Firefox 18-\r\n },\r\n '&::-ms-input-placeholder': {\r\n color: theme.palette.grey[600] // Edge\r\n },\r\n '&:-ms-input-placeholder': {\r\n color: theme.palette.grey[600] // IE 10+\r\n }\r\n },\r\n '& .react-time-picker__inputGroup__amPm': {\r\n // AM PM text\r\n color: theme.palette.grey[600]\r\n }\r\n }\r\n },\r\n inputBoxDisabled: {\r\n // Setting background and text color in disabled state\r\n '& .react-time-picker__wrapper': {\r\n backgroundColor: '#F7F7F7',\r\n color: theme.palette.grey[400],\r\n '& .react-time-picker__inputGroup': {\r\n // : separator\r\n color: theme.palette.grey[500]\r\n },\r\n '& .react-time-picker__inputGroup__input': {\r\n // Hours, minutes, seconds text\r\n color: theme.palette.grey[500],\r\n '&::placeholder': {\r\n opacity: 1 // Firefox fix\r\n }\r\n },\r\n '& .react-time-picker__inputGroup__amPm': {\r\n // AM PM text\r\n color: theme.palette.grey[500]\r\n }\r\n }\r\n },\r\n inputLabel: {\r\n zIndex: zIndexTextFieldLabel,\r\n top: '0.375rem',\r\n left: spacing40,\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeDefault\r\n },\r\n helperTextError: {\r\n color: colorTextError\r\n },\r\n fullWidth: {\r\n width: widthFluid,\r\n '& .react-time-picker': {\r\n flex: '0 0 100%'\r\n },\r\n '& .react-time-picker__wrapper': {\r\n width: widthFluid\r\n }\r\n },\r\n inputContainer: {\r\n display: 'flex',\r\n flexDirection: 'row'\r\n },\r\n small: {\r\n '& .react-time-picker__wrapper': {\r\n height: heightInputFieldsSmall\r\n },\r\n '& .react-time-picker__inputGroup': {\r\n padding: spacing30\r\n },\r\n '& .react-time-picker__inputGroup__amPm, & .react-time-picker__inputGroup__leadingZero': {\r\n fontSize: fontSizeDefault,\r\n height: '100%'\r\n },\r\n '& $inputBox, & $inputBox:focus': {\r\n padding: 'none',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabel[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that allows for the selection of time.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v2.4.0\r\n * @examples\r\n * TimePickerExample\r\n * TimePickerFormSubmissionError\r\n * TimePickerHooks\r\n * TimePickerRequired\r\n * TimePickerIntl\r\n * TimePickerFullWidth\r\n * TimePickerDisabled\r\n */\r\n\r\nvar TimePicker = function (_React$Component) {\r\n _inherits(TimePicker, _React$Component);\r\n\r\n function TimePicker(props) {\r\n _classCallCheck(this, TimePicker);\r\n\r\n var _this = _possibleConstructorReturn(this, (TimePicker.__proto__ || Object.getPrototypeOf(TimePicker)).call(this, props));\r\n\r\n _this.handleBlur = function (event) {\r\n var invalid = void 0;\r\n\r\n var nativeTimePicker = _this.timePicker.current.children[0].children[0].children[0].children;\r\n\r\n if (_this.checkValuesAreInvalidOrEmpty(nativeTimePicker)) {\r\n invalid = true;\r\n } else {\r\n invalid = false;\r\n }\r\n\r\n if (_this.props.required && invalid) {\r\n _this.setState({ requiredError: true });\r\n } else {\r\n _this.setState({ requiredError: false });\r\n }\r\n if (_this.props.isInvalid) {\r\n try {\r\n _this.props.isInvalid(invalid);\r\n } catch (error) {\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n _this.checkValuesAreInvalidOrEmpty = function (x) {\r\n var emptyInputsCounter = 0; // All are empty or all are full are considered valid times (non-required)\r\n // Count up how many of the inputs/select are empty\r\n if (x.hour24 && !x.hour24.value || x.hour12 && !x.hour12.value) {\r\n emptyInputsCounter = emptyInputsCounter + 1;\r\n }\r\n if (x.minute && !x.minute.value) {\r\n emptyInputsCounter = emptyInputsCounter + 1;\r\n }\r\n if (x.amPm && !x.amPm.value) {\r\n emptyInputsCounter = emptyInputsCounter + 1;\r\n }\r\n\r\n // Total number of inputs & select will be 2 for a 24 hour formated time or 3 for a 12 hour formatted time\r\n var totalPiecesOfTime = x.amPm ? 3 : 2;\r\n\r\n /**\r\n * The time is invalid if any part of the time (hour, minutes, AM/PM) has an invalid value in it\r\n * or if any part of the time is empty. For required, if all of the parts of the time are empty it\r\n * is considered invalid, but that's handled on its own through the checkValidity function when\r\n * required is passed into the inputs/select (react-time-picker is doing this for us).\r\n * This empty checking (emptyInputsCounter > 0 && emptyInputsCounter < totalPiecesOfTime) is for the non-required state.\r\n */\r\n if (x.hour24 && !x.hour24.checkValidity() || x.hour12 && !x.hour12.checkValidity() || x.minute && !x.minute.checkValidity() || x.amPm && !x.amPm.checkValidity() || emptyInputsCounter > 0 && emptyInputsCounter < totalPiecesOfTime) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n _this.state = {\r\n requiredError: false\r\n };\r\n _this.timePicker = React.createRef();\r\n return _this;\r\n }\r\n\r\n _createClass(TimePicker, [{\r\n key: 'render',\r\n value: function render() {\r\n var _cn, _cn2;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n classNameProp = _props.className,\r\n disabled = _props.disabled,\r\n label = _props.label,\r\n helperText = _props.helperText,\r\n fullWidth = _props.fullWidth,\r\n error = _props.error,\r\n required = _props.required,\r\n edsContext = _props.edsContext,\r\n FormControlProps = _props.FormControlProps,\r\n InputLabelPropsProp = _props.InputLabelProps,\r\n FormHelperTextProps = _props.FormHelperTextProps,\r\n size = _props.size,\r\n value = _props.value,\r\n hourAriaLabel = _props.hourAriaLabel,\r\n minuteAriaLabel = _props.minuteAriaLabel,\r\n amPmAriaLabel = _props.amPmAriaLabel,\r\n rest = _objectWithoutProperties(_props, ['classes', 'className', 'disabled', 'label', 'helperText', 'fullWidth', 'error', 'required', 'edsContext', 'FormControlProps', 'InputLabelProps', 'FormHelperTextProps', 'size', 'value', 'hourAriaLabel', 'minuteAriaLabel', 'amPmAriaLabel']);\r\n\r\n var locale = edsContext && edsContext.locale.replace('_', '-');\r\n var inputBoxError = error || this.state.requiredError;\r\n var InputLabelProps = Object.assign({}, InputLabelPropsProp);\r\n var labelledByObj = {};\r\n var rootClassName = cn(classes.root, (_cn = {}, _defineProperty(_cn, classes.small, size === 'small'), _defineProperty(_cn, classes.constrainedWidth, !this.props.fullWidth), _cn), classNameProp);\r\n\r\n InputLabelProps.id = InputLabelProps.id || uuid();\r\n\r\n if (label) {\r\n labelledByObj['aria-labelledby'] = InputLabelProps.id;\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: rootClassName },\r\n React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: cn('eds-timepicker', classes.inputBox, (_cn2 = {}, _defineProperty(_cn2, classes.rtlInputs, edsContext.dir === 'rtl'), _defineProperty(_cn2, classes.fullWidth, fullWidth), _defineProperty(_cn2, classes.inputBoxEnabled, !disabled), _defineProperty(_cn2, classes.inputBoxDisabled, disabled), _defineProperty(_cn2, classes.inputBoxFocused, !error && !this.state.requiredError), _defineProperty(_cn2, classes.inputBoxError, inputBoxError), _defineProperty(_cn2, 'eds-timepicker-has-error', inputBoxError), _cn2))\r\n }, FormControlProps, {\r\n onBlur: this.handleBlur,\r\n error: error\r\n }, labelledByObj),\r\n label && React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n className: classes.inputLabel\r\n }, InputLabelProps, {\r\n required: required,\r\n shrink: true\r\n }),\r\n label\r\n ),\r\n React.createElement(\r\n 'div',\r\n { ref: this.timePicker, className: classes.inputContainer },\r\n React.createElement(ReactTimePicker, Object.assign({}, rest, {\r\n disableClock: true,\r\n clearIcon: null,\r\n disabled: disabled,\r\n required: required,\r\n value: value,\r\n locale: locale,\r\n hourAriaLabel: hourAriaLabel ? hourAriaLabel : edsContext.formatMessage('component.TimePicker.hour'),\r\n minuteAriaLabel: minuteAriaLabel ? minuteAriaLabel : edsContext.formatMessage('component.TimePicker.minute'),\r\n amPmAriaLabel: amPmAriaLabel ? amPmAriaLabel : edsContext.formatMessage('component.TimePicker.amPm')\r\n }))\r\n ),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n error: error || this.state.requiredError\r\n }, FormHelperTextProps),\r\n helperText\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return TimePicker;\r\n}(React.Component);\r\n\r\nTimePicker.propTypes = {\r\n /**\r\n * ARIA message for AM/PM select, defaults to a [translated resource string](#/components/EDSApplication)\r\n */\r\n amPmAriaLabel: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Defines whether the TimePicker should be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Defines whether the TimePicker should show an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * Defines input format based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table). Supported values are: H, HH, h, hh, m, mm, s, ss, a.\r\n */\r\n format: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormControl`](#/components/FormControl) element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * Render the input field the full width of the parent container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * ARIA message for hour input, defaults to a [translated resource string](#/components/EDSApplication)\r\n */\r\n hourAriaLabel: PropTypes.string,\r\n /**\r\n * Properties applied to the [`InputLabel`](https://material-ui.com/api/input-label/) element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n /**\r\n * Function called to tell the consumer if any of the fields within the TimePicker are invalid. To be used for easier form validation.\r\n * Updates when onBlur is triggered. Accepted parameter is a boolean.\r\n */\r\n isInvalid: PropTypes.func,\r\n /**\r\n * The label content.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * @ignore\r\n * Defines how detailed the TimePicker is.\r\n */\r\n maxDetail: PropTypes.oneOf(['hour', 'minute', 'second']),\r\n /**\r\n * @ignore\r\n * Defines maximum time that the user can select.\r\n */\r\n maxTime: isTime,\r\n /**\r\n * ARIA message for minute input, defaults to a [translated resource string](#/components/EDSApplication)\r\n */\r\n minuteAriaLabel: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Defines minimum date that the user can select.\r\n */\r\n minTime: isTime,\r\n /**\r\n * Defines input name.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Function called when the user picks a valid time. Accepted parameter is a time (see `value` property for supported types).\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The size of the `TimePicker`. Small size is recommended to be used within the `TableEditableCell` component\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n /**\r\n * Defines whether input is required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Defines the value of the input. Can be a string or a Date object.\r\n */\r\n value: PropTypes.oneOfType([isTime, PropTypes.instanceOf(Date)])\r\n};\r\n\r\nTimePicker.displayName = 'TimePicker';\r\n\r\nTimePicker.defaultProps = {\r\n maxDetail: 'minute',\r\n name: 'time',\r\n disabled: false,\r\n required: false,\r\n size: 'medium'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TimePicker));","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; }\r\n\r\nimport { borderRadiusMedium, borderRadiusCircle, borderWidthThick, borderWidthThin, boxShadowFocus, colorBorderGlobalFocus, fontFamilyDefault, fontSizeDefault, widthInputFields, paddingTextField, spacing20, spacing30, spacing50, spacing40, heightInputFieldsSmall, zIndexTextFieldLabel, colorBrandNeutral250, fontWeightBold } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _root;\r\n\r\n return {\r\n container: {\r\n display: 'inline-flex', // Match other input fields\r\n flexDirection: 'column' // Added to make the helpertext go underneath\r\n },\r\n root: (_root = {\r\n margin: spacing30 + ' 0',\r\n\r\n /* DayPicker styles */\r\n '& .DayPicker': {\r\n display: 'inline-block',\r\n fontSize: fontSizeDefault,\r\n fontFamily: fontFamilyDefault,\r\n backgroundColor: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n position: 'relative',\r\n background: theme.palette.grey[100],\r\n borderRadius: borderRadiusMedium,\r\n userSelect: 'none'\r\n },\r\n\r\n '& .DayPicker-wrapper': {\r\n position: 'relative',\r\n flexDirection: 'row',\r\n userSelect: 'none',\r\n '&:focus': {\r\n outlineColor: theme.palette.focus\r\n }\r\n },\r\n\r\n '& .DayPicker-Months': {\r\n display: 'flex',\r\n flexWrap: 'wrap',\r\n justifyContent: 'center'\r\n },\r\n\r\n '& .DayPicker-Month': {\r\n display: 'inline-table',\r\n margin: '0 ' + spacing30,\r\n paddingBottom: '0.75rem',\r\n borderSpacing: 0,\r\n borderCollapse: 'collapse',\r\n userSelect: 'none',\r\n\r\n '&:first-of-type': {\r\n display: 'block',\r\n paddingRight: '0.75rem',\r\n borderRight: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[300]\r\n }\r\n },\r\n\r\n '& .DayPicker-NavBar': {\r\n margin: '0.75rem ' + spacing30 + ' 0'\r\n },\r\n\r\n '& .DayPicker-NavButton': {\r\n position: 'absolute',\r\n top: spacing40,\r\n right: spacing50,\r\n left: 'auto',\r\n display: 'inline-block',\r\n marginTop: '.125rem',\r\n width: '1.25rem',\r\n height: '1.25rem',\r\n backgroundPosition: 'center',\r\n backgroundSize: '50%',\r\n backgroundRepeat: 'no-repeat',\r\n cursor: 'pointer',\r\n\r\n '&:hover': {\r\n opacity: 0.8\r\n }\r\n },\r\n\r\n '& .DayPicker-NavButton--interactionDisabled': {\r\n display: 'none'\r\n },\r\n\r\n '& .DayPicker-Caption ': {\r\n display: 'table-caption',\r\n marginTop: spacing30,\r\n marginBottom: spacing20\r\n },\r\n\r\n '& .DayPicker-Weekdays': {\r\n display: 'table-header-group',\r\n marginTop: '1em'\r\n },\r\n\r\n '& .DayPicker-WeekdaysRow': {\r\n display: 'table-row',\r\n textTransform: 'uppercase'\r\n },\r\n\r\n '& .DayPicker-Weekday': {\r\n display: 'table-cell',\r\n padding: '0.75rem',\r\n color: theme.palette.grey[500],\r\n textAlign: 'center',\r\n fontSize: fontSizeDefault\r\n },\r\n\r\n '& .DayPicker-Weekday abbr[title]': {\r\n borderBottom: 'none',\r\n textDecoration: 'none'\r\n },\r\n\r\n '& .DayPicker-Body': {\r\n display: 'table-row-group'\r\n },\r\n\r\n '& .DayPicker-Week': {\r\n display: 'table-row'\r\n },\r\n\r\n '& .DayPicker-Day': {\r\n display: 'table-cell',\r\n borderRadius: borderRadiusCircle,\r\n verticalAlign: 'middle',\r\n textAlign: 'center',\r\n cursor: 'pointer',\r\n width: '2.75rem',\r\n height: '2.75rem'\r\n },\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle,\r\n width: '1.875rem',\r\n height: '1.875rem',\r\n marginTop: spacing20,\r\n marginBottom: '.625rem',\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n justifyContent: 'center'\r\n // transition: theme.transitions.create(['background', 'background-color', 'color'], {\r\n // duration: 50,\r\n // }),\r\n },\r\n //Styles for current day\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base,\r\n borderRadius: borderRadiusCircle,\r\n fontWeight: fontWeightBold\r\n },\r\n\r\n // TODO: Look into\r\n '& .DayPicker-WeekNumber': {\r\n display: 'table-cell',\r\n padding: '0.5em',\r\n minWidth: '1em',\r\n borderRight: '1px solid #EAECEC',\r\n color: '#8B9898',\r\n verticalAlign: 'middle',\r\n textAlign: 'right',\r\n fontSize: '0.75em',\r\n cursor: 'pointer'\r\n },\r\n\r\n // TODO: Look into\r\n '& .DayPicker--interactionDisabled .DayPicker-Day': {\r\n cursor: 'default'\r\n },\r\n\r\n // TODO: Look into\r\n '& .DayPicker-Footer': {\r\n paddingTop: '0.5em',\r\n\r\n // Center today button\r\n display: 'flex',\r\n justifyContent: 'center'\r\n },\r\n\r\n // NOTE: We don't use this at the moment but might in the future.\r\n '& .DayPicker-TodayButton': {\r\n border: 'none',\r\n backgroundColor: 'transparent',\r\n backgroundImage: 'none',\r\n boxShadow: 'none',\r\n color: theme.palette.ctaColor.base,\r\n fontSize: '0.875em',\r\n cursor: 'pointer',\r\n padding: '4px 8px',\r\n\r\n '&:hover': {\r\n color: theme.palette.ctaColor.hover,\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n }\r\n },\r\n\r\n /* Default modifiers */\r\n\r\n // NOTE: We don't use this at the moment but might in the future.\r\n '& .DayPicker-Day--today': {\r\n // fontWeight: 700,\r\n // fontWeight: 600,\r\n // backgroundColor: theme.palette.ctaColor.tint,\r\n // color: theme.palette.ctaColor.base,\r\n // borderRadius: borderRadiusCircle,\r\n },\r\n\r\n // NOTE: We don't use this at the moment but might in the future.\r\n '& .DayPicker-Day--today.DayPicker-Day--disabled': {\r\n // color: theme.palette.ctaColor.base,\r\n },\r\n\r\n // NOTE: We don't use this for DateRangePicker but might for the normal DatePicker\r\n '& .DayPicker-Day--outside': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[500],\r\n borderRadius: 0\r\n },\r\n\r\n // ========\r\n // Disabled days\r\n // ========\r\n '& .DayPicker-Day--disabled': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[500],\r\n borderRadius: 0,\r\n '&:focus': {\r\n outlineColor: theme.palette.focus\r\n }\r\n // NOTE: Ask UXD about this since we are still able to navigate to them if they are disabled???\r\n // '&:hover': {\r\n // backgroundColor: `${theme.palette.grey[200]}`,\r\n // color: `${theme.palette.grey[500]}`,\r\n // cursor: 'not-allowed',\r\n // },\r\n // '&:hover, &:focus': {\r\n // backgroundColor: `${theme.palette.grey[300]}`,\r\n // color: `${theme.palette.grey[600]}`,\r\n // cursor: 'not-allowed',\r\n // },\r\n },\r\n\r\n '& .DayPicker-Day--disabled:not(.DayPicker-Day--outside)': {\r\n '&:hover, &:focus': {\r\n backgroundColor: '' + theme.palette.grey[200],\r\n color: '' + theme.palette.grey[500],\r\n cursor: 'not-allowed'\r\n }\r\n },\r\n\r\n // DateRangePicker\r\n '& .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n position: 'relative',\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover\r\n }\r\n }\r\n\r\n }, _defineProperty(_root, '& .DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside)', {\r\n // disable defaults\r\n '&:focus': {\r\n outline: 'none'\r\n },\r\n '&:hover': {\r\n '& .hedtech-day': {\r\n cursor: 'pointer'\r\n }\r\n },\r\n '&:focus, &:hover': {\r\n '& .hedtech-day': {\r\n outline: 'none',\r\n backgroundColor: theme.palette.grey[250]\r\n }\r\n },\r\n '&:active': {\r\n outline: 'none',\r\n '& .hedtech-day': {\r\n backgroundColor: theme.palette.ctaColor.active\r\n }\r\n }\r\n }), _defineProperty(_root, '& .DayPickerInput', {\r\n display: 'inline-block'\r\n }), _defineProperty(_root, '& .DayPickerInput-OverlayWrapper', {\r\n position: 'relative'\r\n }), _defineProperty(_root, '& .DayPickerInput-Overlay', {\r\n position: 'absolute',\r\n left: 0,\r\n zIndex: 1,\r\n background: 'white',\r\n boxShadow: '0 2px 5px rgba(0, 0, 0, 0.15)'\r\n }), _root),\r\n dateRangePickerRoot: _defineProperty({\r\n // NOTE: might get rid of this\r\n // '& .DayPicker-Day.DayPicker-Day--disabled.DayPicker-Day--outside': {\r\n // backgroundColor: theme.palette.grey[300],\r\n // },\r\n // ========\r\n // Hover state when selecting days\r\n // ========\r\n '&.hedtech-DateRangePicker .DayPicker-Day--hover:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:first-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium\r\n },\r\n '&:focus, &:hover': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n }\r\n },\r\n '&:last-child': {\r\n '& .hedtech-day': {\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0'\r\n },\r\n '&:focus, &:hover': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n }\r\n },\r\n '& .hedtech-day': {\r\n width: '100%',\r\n borderRadius: 0,\r\n outline: 'none',\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n color: theme.palette.grey[600]\r\n },\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&:focus, &:hover': {\r\n // position: 'relative',\r\n // zIndex: 1,\r\n '& .hedtech-day': {\r\n width: '1.875rem',\r\n // backgroundColor: `${theme.palette.grey[500]}`,\r\n // color: theme.palette.grey[100],\r\n borderRadius: '50%'\r\n }\r\n // '&:before': {\r\n // top: '.375rem',\r\n // left: 0,\r\n // width: '1.5rem', // ~ half of parent div\r\n // height: '2rem',\r\n // content: '\"\"',\r\n // display: 'block',\r\n // position: 'absolute', // this creates a new stacking z-index\r\n // zIndex: -1,\r\n // backgroundColor: theme.palette.ctaColor.tint,\r\n // },\r\n }\r\n },\r\n // ========\r\n // Range of days\r\n // ========\r\n '&.hedtech-DateRangePicker .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n backgroundColor: theme.palette.grey[100],\r\n borderRadius: '0',\r\n '&:first-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium\r\n }\r\n },\r\n '&:last-child': {\r\n '& .hedtech-day': {\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0'\r\n }\r\n },\r\n '& .hedtech-day': {\r\n width: '100%',\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n color: theme.palette.grey[600],\r\n borderRadius: '0'\r\n },\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&:focus, &:hover': {\r\n backgroundColor: theme.palette.grey[100],\r\n outline: 'none',\r\n '& .hedtech-day': {\r\n borderRadius: '50%',\r\n width: '2rem',\r\n outline: 'none',\r\n backgroundColor: colorBrandNeutral250,\r\n color: theme.palette.grey[600]\r\n },\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base\r\n }\r\n }\r\n },\r\n // ========\r\n // Start and End days\r\n // ========\r\n '&.hedtech-DateRangePicker .DayPicker-Day--start.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside), &.hedtech-DateRangePicker .DayPicker-Day--end.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n position: 'relative',\r\n zIndex: 1,\r\n '&:first-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n },\r\n '&:last-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n },\r\n '&:before': {\r\n top: spacing20,\r\n right: 0,\r\n width: '1.5rem', // ~ half of parent div\r\n height: '1.875rem',\r\n content: '\"\"',\r\n display: 'block',\r\n position: 'absolute', // this creates a new stacking z-index\r\n zIndex: -1,\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '& .hedtech-day': {\r\n width: '1.875rem',\r\n backgroundColor: '' + theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n borderRadius: '50%',\r\n fontWeight: fontWeightBold\r\n },\r\n '&:hover': {\r\n '& .hedtech-day': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n },\r\n '&:focus, &:active': {\r\n outline: 'none',\r\n '& .hedtech-day': {\r\n outline: 'none',\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n // When Start and End date are the same day\r\n '&.hedtech-DateRangePicker .DayPicker-Day--end.DayPicker-Day--start.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:before': {\r\n backgroundColor: theme.palette.grey[100]\r\n }\r\n },\r\n // Start date\r\n '&.hedtech-DateRangePicker .DayPicker-Day--start.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) ': {\r\n '&:before': {\r\n right: 0\r\n }\r\n },\r\n // End date\r\n '&.hedtech-DateRangePicker .DayPicker-Day--end.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:before': {\r\n left: '0 !important'\r\n }\r\n }\r\n }, theme.breakpoints.down('sm'), {\r\n '& .DayPicker-Month': {\r\n '&:first-of-type': {\r\n display: 'inline-table',\r\n paddingRight: 0,\r\n borderRight: 'none'\r\n }\r\n }\r\n }),\r\n singleMonth: {\r\n '& .DayPicker-Month': {\r\n '&:first-of-type': {\r\n display: 'inline-table',\r\n paddingRight: 0,\r\n borderRight: 'none'\r\n }\r\n }\r\n },\r\n isSelectingStartDay: {\r\n '&.hedtech-DateRangePicker .DayPicker-Day--hover:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:focus, &:hover': {\r\n '&:before': {\r\n right: 0\r\n }\r\n }\r\n }\r\n },\r\n\r\n hideOutsideDays: {\r\n '& .DayPicker-Day--outside': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[100],\r\n '&:focus, &:hover': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n\r\n // Popper\r\n popper: {\r\n zIndex: theme.zIndex.drawer + 1,\r\n left: '-0.0625rem !important'\r\n },\r\n\r\n // IconContainer\r\n iconContainer: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n padding: '0 ' + spacing20,\r\n fill: theme.palette.grey[500]\r\n },\r\n iconContainerDisabled: {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n\r\n // InputContainer\r\n inputContainer: {\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[400] + ' ',\r\n display: 'inline-flex',\r\n borderRadius: borderRadiusMedium,\r\n height: 'auto',\r\n width: widthInputFields,\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n inputContainerFullWidth: {\r\n width: '100%'\r\n },\r\n inputContainerDisabled: {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n inputContainerError: {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n },\r\n\r\n // Small input\r\n smallDateRangePicker: {\r\n height: heightInputFieldsSmall\r\n },\r\n smallDateRangePickerInput: {\r\n height: '2.25rem',\r\n padding: 0,\r\n '& input': {\r\n height: '1.25rem',\r\n padding: '0.4375rem',\r\n fontSize: fontSizeDefault\r\n }\r\n },\r\n inputLabelSmall: {\r\n top: '-0.35rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault,\r\n '&[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n },\r\n\r\n // Input\r\n inputRoot: {\r\n borderRadius: borderRadiusMedium\r\n },\r\n input: {\r\n height: '1.25rem',\r\n padding: paddingTextField,\r\n border: 'solid ' + borderWidthThin + ' transparent',\r\n '&:focus': {\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[400] + ' ',\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n inputDisabled: {\r\n color: theme.palette.grey['500'],\r\n backgroundColor: theme.palette.grey[200],\r\n cursor: 'not-allowed',\r\n outline: 'none',\r\n '&:hover': {\r\n cursor: 'not-allowed',\r\n color: theme.palette.grey['500']\r\n },\r\n '&:active': {\r\n color: theme.palette.grey['500']\r\n }\r\n },\r\n startInput: {\r\n borderTopLeftRadius: borderRadiusMedium,\r\n borderBottomLeftRadius: borderRadiusMedium\r\n },\r\n endInput: {\r\n borderTopRightRadius: borderRadiusMedium,\r\n borderBottomRightRadius: borderRadiusMedium\r\n },\r\n inputFocused: {\r\n boxShadow: boxShadowFocus,\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[400] + ' ',\r\n '&$inputFocusedError': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.status.error.fill,\r\n borderColor: '' + theme.palette.status.error.fill\r\n }\r\n },\r\n inputFocusedError: {\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.status.error.fill,\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.status.error.fill\r\n }\r\n },\r\n\r\n // InputLabel\r\n inputLabelFormControl: {\r\n zIndex: zIndexTextFieldLabel,\r\n left: spacing40,\r\n transform: 'translate(0, 1.125rem) scale(1)'\r\n },\r\n inputLabelShrink: {\r\n fontSize: fontSizeDefault,\r\n transform: 'translate(0, .5rem) scale(0.75)'\r\n }\r\n };\r\n};\r\n\r\nexport default styles;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport defaultClassNames from 'react-day-picker/lib/src/classNames';\r\nimport { withStyles } from '@ellucian/react-design-system/core/styles';\r\nimport { withEDSContext } from '../../EDSContext/EDSContext';\r\nimport IconButton from '../../IconButton';\r\nimport Tooltip from '../../Tooltip';\r\n\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\n\r\nimport { sizingMedium, spacing40 } from '../../styles/tokens';\r\n\r\nvar iconButtonAlignmentSpace = '0.375rem';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n position: 'absolute',\r\n top: 0,\r\n left: 0,\r\n right: 0\r\n },\r\n left: {\r\n marginRight: 'auto',\r\n marginLeft: iconButtonAlignmentSpace,\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n '& svg': {\r\n height: spacing40,\r\n width: spacing40\r\n }\r\n },\r\n right: {\r\n marginRight: iconButtonAlignmentSpace,\r\n marginLeft: 'auto',\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n '& svg': {\r\n height: spacing40,\r\n width: spacing40\r\n }\r\n }\r\n };\r\n};\r\n\r\nfunction Navbar(props) {\r\n var onPreviousClick = props.onPreviousClick,\r\n onNextClick = props.onNextClick,\r\n className = props.className,\r\n edsContext = props.edsContext,\r\n labels = props.labels,\r\n classes = props.classes,\r\n showPreviousButton = props.showPreviousButton,\r\n showNextButton = props.showNextButton;\r\n\r\n\r\n var previousButton = React.createElement(\r\n Tooltip,\r\n { key: 0, title: edsContext.formatMessage('component.DateRangePicker.previousMonth'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n key: 'hedtech-datepicker-prev-btn',\r\n color: 'gray',\r\n className: classes.left,\r\n 'aria-label': labels.previousMonth,\r\n onClick: function onClick() {\r\n return onPreviousClick();\r\n },\r\n disabled: !showPreviousButton\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronRight, null) : React.createElement(ChevronLeft, null)\r\n )\r\n );\r\n\r\n var nextButton = React.createElement(\r\n Tooltip,\r\n { key: 1, title: edsContext.formatMessage('component.DateRangePicker.nextMonth'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n key: 'hedtech-datepicker-next-btn',\r\n color: 'gray',\r\n className: classes.right,\r\n 'aria-label': labels.nextMonth,\r\n onClick: function onClick() {\r\n return onNextClick();\r\n },\r\n disabled: !showNextButton\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronLeft, null) : React.createElement(ChevronRight, null)\r\n )\r\n );\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: cn(className, classes.root) },\r\n [previousButton, nextButton]\r\n );\r\n}\r\n\r\nNavbar.propTypes = {\r\n classNames: PropTypes.shape({\r\n navBar: PropTypes.string.isRequired,\r\n navButtonPrev: PropTypes.string.isRequired,\r\n navButtonNext: PropTypes.string.isRequired\r\n }),\r\n className: PropTypes.string,\r\n edsContext: PropTypes.object,\r\n showPreviousButton: PropTypes.bool,\r\n showNextButton: PropTypes.bool,\r\n onPreviousClick: PropTypes.func,\r\n onNextClick: PropTypes.func,\r\n labels: PropTypes.shape({\r\n previousMonth: PropTypes.string,\r\n nextMonth: PropTypes.string\r\n }),\r\n classes: PropTypes.object\r\n};\r\n\r\nNavbar.defaultProps = {\r\n classNames: defaultClassNames,\r\n labels: {},\r\n showPreviousButton: true,\r\n showNextButton: true\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Navbar));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport NativeSelect from '@material-ui/core/NativeSelect';\r\n\r\nimport Typography from '../../Typography';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport { withStyles } from '@ellucian/react-design-system/core/styles';\r\n\r\nimport { fontSizeDefault, spacing50, spacing30, spacing20, sizingXxLarge1, fontFamilyHeader, fontWeightBold } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n caption: {\r\n display: 'flex',\r\n flexDirection: 'row',\r\n justifyContent: 'space-between',\r\n margin: spacing20 + ' ' + spacing50 + ' 0'\r\n },\r\n monthYearText: {\r\n flexGrow: 1,\r\n flexShrink: 1,\r\n textAlign: 'center',\r\n justifyContent: 'center'\r\n },\r\n monthSelect: {\r\n minWidth: '7.25rem' // 116px\r\n },\r\n yearSelect: {\r\n minWidth: sizingXxLarge1 // 64px\r\n },\r\n select: {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightBold,\r\n width: 'calc(100% - ' + spacing30 + ')',\r\n padding: spacing20,\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey[200]\r\n }\r\n },\r\n icon: {\r\n top: 'calc(50% - ' + spacing20 + ')',\r\n right: spacing20,\r\n position: 'absolute',\r\n pointerEvents: 'none',\r\n height: '0.75rem',\r\n width: '0.75rem'\r\n }\r\n };\r\n};\r\n\r\nfunction Caption(_ref) {\r\n var withMonthYearSelect = _ref.withMonthYearSelect,\r\n classes = _ref.classes,\r\n classNames = _ref.classNames,\r\n date = _ref.date,\r\n months = _ref.months,\r\n locale = _ref.locale,\r\n localeUtils = _ref.localeUtils,\r\n onClick = _ref.onClick,\r\n onChange = _ref.onChange,\r\n monthYearSelectOptions = _ref.monthYearSelectOptions;\r\n\r\n var captionMonths = localeUtils.getMonths(locale);\r\n var years = [];\r\n\r\n var buildYearsOptions = function buildYearsOptions() {\r\n var yearOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\r\n min: 4,\r\n max: 4\r\n };\r\n\r\n var currentYear = new Date().getFullYear();\r\n var fromMonth = new Date(currentYear - yearOptions.min, 0);\r\n var toMonth = new Date(currentYear + yearOptions.max, 11);\r\n\r\n for (var i = fromMonth.getFullYear(); i <= toMonth.getFullYear(); i += 1) {\r\n years.push(i);\r\n }\r\n };\r\n\r\n if (monthYearSelectOptions) {\r\n var year = monthYearSelectOptions.year;\r\n\r\n buildYearsOptions(year);\r\n } else {\r\n buildYearsOptions();\r\n }\r\n\r\n var handleChange = function handleChange(e) {\r\n var _e$target$form = e.target.form,\r\n year = _e$target$form.year,\r\n month = _e$target$form.month;\r\n\r\n onChange(new Date(year.value, month.value));\r\n };\r\n\r\n var monthSelect = React.createElement(\r\n NativeSelect,\r\n {\r\n key: 'hedtech-datepicker-month-select',\r\n onChange: handleChange,\r\n IconComponent: ChevronDown,\r\n value: date.getMonth(),\r\n name: 'month',\r\n classes: {\r\n root: classes.monthSelect,\r\n select: classes.select,\r\n icon: classes.icon\r\n },\r\n disableUnderline: true\r\n },\r\n captionMonths.map(function (month, i) {\r\n return React.createElement(\r\n 'option',\r\n { key: month, value: i },\r\n month\r\n );\r\n })\r\n );\r\n\r\n var yearSelect = React.createElement(\r\n NativeSelect,\r\n {\r\n key: 'hedtech-datepicker-year-select',\r\n IconComponent: ChevronDown,\r\n onChange: handleChange,\r\n value: date.getFullYear(),\r\n name: 'year',\r\n classes: {\r\n root: classes.yearSelect,\r\n select: classes.select,\r\n icon: classes.icon\r\n },\r\n disableUnderline: true\r\n },\r\n years.map(function (year) {\r\n return React.createElement(\r\n 'option',\r\n { key: year, value: year },\r\n year\r\n );\r\n })\r\n );\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: 'DayPicker-Caption' },\r\n React.createElement(\r\n 'div',\r\n { className: classes.caption },\r\n withMonthYearSelect ? React.createElement(\r\n 'form',\r\n null,\r\n [monthSelect, yearSelect]\r\n ) : React.createElement(\r\n Typography,\r\n {\r\n variant: 'h3',\r\n className: classes.monthYearText,\r\n component: 'div',\r\n align: 'center'\r\n },\r\n localeUtils.formatMonthTitle(date, locale)\r\n )\r\n )\r\n );\r\n}\r\n\r\nCaption.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n withMonthYearSelect: PropTypes.bool,\r\n classNames: PropTypes.object,\r\n date: PropTypes.instanceOf(Date),\r\n months: PropTypes.arrayOf(PropTypes.string),\r\n locale: PropTypes.string,\r\n localeUtils: PropTypes.object,\r\n onClick: PropTypes.func,\r\n onChange: PropTypes.func,\r\n monthYearSelectOptions: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(Caption);","export var Months = {\r\n JANUARY: 0,\r\n FEBRUARY: 1,\r\n MARCH: 2,\r\n APRIL: 3,\r\n MAY: 4,\r\n JUNE: 5,\r\n JULY: 6,\r\n AUGUST: 7,\r\n SEPTEMBER: 8,\r\n OCTOBER: 9,\r\n NOVEMBER: 10,\r\n DECEMBER: 11\r\n};\r\n\r\nexport function getDefaultMaxDate() {\r\n var date = new Date();\r\n date.setFullYear(date.getFullYear() + 10);\r\n date.setMonth(Months.DECEMBER, 31);\r\n return date;\r\n}\r\n\r\nexport function getDefaultMinDate() {\r\n var date = new Date();\r\n date.setFullYear(date.getFullYear() - 20);\r\n date.setMonth(Months.JANUARY, 1);\r\n return date;\r\n}\r\n\r\nexport function areSameTime(date1, date2) {\r\n return date1 != null && date2 != null && date1.getHours() === date2.getHours() && date1.getMinutes() === date2.getMinutes() && date1.getSeconds() === date2.getSeconds() && date1.getMilliseconds() === date2.getMilliseconds();\r\n}","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport uuid from 'uuid/v4';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport Input from '@material-ui/core/Input';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport Popper from '@material-ui/core/Popper';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport DayPicker, { DateUtils } from 'react-day-picker';\r\nimport moment from 'moment';\r\nimport MomentLocaleUtils, { formatDate, parseDate } from 'react-day-picker/moment';\r\n\r\nimport { withStyles } from '@ellucian/react-design-system/core/styles';\r\nimport withWidth from '../withWidth';\r\nimport styles from './styles/styles';\r\nimport ArrowRight from '@ellucian/ds-icons/lib/ArrowRight';\r\nimport ArrowLeft from '@ellucian/ds-icons/lib/ArrowLeft';\r\n\r\nimport Navbar from './internal/Navbar';\r\nimport Caption from './internal/Caption';\r\nimport { getDefaultMaxDate, getDefaultMinDate } from './internal/DateUtils';\r\n\r\nvar Boundary = {\r\n START: 'start',\r\n END: 'end'\r\n};\r\n\r\n/**\r\n * Use `DateRangePicker` for short periods of time.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.0.0\r\n * @examples\r\n * DateRangePickerExample\r\n * Required\r\n * Locale\r\n * InDialog\r\n * InCard\r\n */\r\n\r\nvar DateRangePicker = function (_React$Component) {\r\n _inherits(DateRangePicker, _React$Component);\r\n\r\n function DateRangePicker(props, context) {\r\n _classCallCheck(this, DateRangePicker);\r\n\r\n var _this = _possibleConstructorReturn(this, (DateRangePicker.__proto__ || Object.getPrototypeOf(DateRangePicker)).call(this, props, context));\r\n\r\n _initialiseProps.call(_this);\r\n\r\n _this.handleDayChange = _this.handleDayChange.bind(_this);\r\n _this.handleDayMouseEnter = _this.handleDayMouseEnter.bind(_this);\r\n _this.handleDayMouseLeave = _this.handleDayMouseLeave.bind(_this);\r\n _this.handleInputFocus = _this.handleInputFocus.bind(_this);\r\n _this.openDateRangePicker = _this.openDateRangePicker.bind(_this);\r\n _this.closeDateRangePicker = _this.closeDateRangePicker.bind(_this);\r\n\r\n // Refs\r\n _this.startInputContainerRef = React.createRef();\r\n _this.startInputRef = React.createRef();\r\n _this.endInputRef = React.createRef();\r\n _this.daypicker = React.createRef();\r\n\r\n _this.state = _this.initialState(props);\r\n\r\n _this.uuid = uuid();\r\n return _this;\r\n }\r\n\r\n // ========\r\n // Component & Lifecycle methods\r\n // ========\r\n\r\n _createClass(DateRangePicker, [{\r\n key: 'initialState',\r\n value: function initialState(props) {\r\n var _getInitialRange = this.getInitialRange(),\r\n _getInitialRange2 = _slicedToArray(_getInitialRange, 2),\r\n selectedStart = _getInitialRange2[0],\r\n selectedEnd = _getInitialRange2[1];\r\n\r\n var isOpen = this.getInitialOpenState();\r\n\r\n return {\r\n isOpen: isOpen,\r\n\r\n // Internal error variables\r\n startInputError: false,\r\n endInputError: false,\r\n errorHelperText: null,\r\n\r\n // Helper util variables to keep track of focus states\r\n lastFocusedField: null,\r\n boundaryToModify: null,\r\n isStartInputFocused: false,\r\n isEndInputFocused: false,\r\n\r\n // Used to show the input value string when user is typing in the input field\r\n startInputString: null,\r\n endInputString: null,\r\n\r\n // Used to show the user the date they are hovering over when calendar UI is open\r\n startHoverString: null,\r\n endHoverString: null,\r\n\r\n // Keep track of the last day for mouseEnter\r\n hoverTo: null,\r\n\r\n // These are the internal start and end dates\r\n // They should be updated internally if the component is\r\n // uncontrolled.\r\n // They should NOT be updated if the component IS controlled.\r\n selectedStart: selectedStart,\r\n selectedEnd: selectedEnd,\r\n\r\n // Util variables used for checking how the user selects a date\r\n wasLastFocusChangeDueToHover: false,\r\n wasLastFocusChangeDueToSelectingDate: false,\r\n\r\n // Used to see if date is out of range\r\n prevMinDate: props.minDate,\r\n prevMaxDate: props.maxDate,\r\n prevValue: [selectedStart, selectedEnd]\r\n };\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n // Check focus helper variables to make sure the correct input is focused\r\n var _state = this.state,\r\n isStartInputFocused = _state.isStartInputFocused,\r\n isEndInputFocused = _state.isEndInputFocused;\r\n\r\n\r\n var shouldFocusStartInput = this.shouldFocusInputRef(isStartInputFocused, this.startInputRef);\r\n var shouldFocusEndInput = this.shouldFocusInputRef(isEndInputFocused, this.endInputRef);\r\n\r\n if (shouldFocusStartInput || isStartInputFocused) {\r\n this.startInputRef.current.focus();\r\n } else if (shouldFocusEndInput || isEndInputFocused) {\r\n this.endInputRef.current.focus();\r\n }\r\n\r\n // Check if date values changed\r\n var nextState = {};\r\n\r\n // NOTE: Uncomment this if the minDate and maxDate checks are required\r\n // const shouldUpdateState = false;\r\n\r\n // If values change for controlled implementations, update internal component with new date values\r\n if (this.props.value !== prevProps.value) {\r\n var _getInitialRange3 = this.getInitialRange(this.props),\r\n _getInitialRange4 = _slicedToArray(_getInitialRange3, 2),\r\n selectedStart = _getInitialRange4[0],\r\n selectedEnd = _getInitialRange4[1];\r\n\r\n nextState = Object.assign({}, nextState, { selectedStart: selectedStart, selectedEnd: selectedEnd });\r\n this.setState(function (prevState) {\r\n return Object.assign({}, prevState, nextState);\r\n });\r\n }\r\n\r\n // NOTE: Commenting this out right now, but we might need to check minDate or maxDate changes\r\n // cache the formatted date strings to avoid computing on each render.\r\n // if (this.props.minDate !== prevProps.minDate) {\r\n // const formattedMinDateString = this.getFormattedMinMaxDateString(this.props, 'minDate');\r\n // nextState = { ...nextState, formattedMinDateString };\r\n // }\r\n // if (this.props.maxDate !== prevProps.maxDate) {\r\n // const formattedMaxDateString = this.getFormattedMinMaxDateString(this.props, 'maxDate');\r\n // nextState = { ...nextState, formattedMaxDateString };\r\n // }\r\n\r\n // NOTE: Uncomment this if the minDate and maxDate checks are required\r\n // if (shouldUpdateState) {\r\n // this.setState(nextState);\r\n // }\r\n }\r\n\r\n // Helper function to check if a specific input should get focus\r\n\r\n }, {\r\n key: 'shouldFocusInputRef',\r\n value: function shouldFocusInputRef(isFocused, inputRef) {\r\n return isFocused && inputRef !== undefined && document.activeElement !== inputRef;\r\n }\r\n\r\n // This method is used to close the calendar UI when the input is focused\r\n\r\n\r\n // ========\r\n // DayPicker functions\r\n // ========\r\n\r\n }, {\r\n key: 'handleDayChange',\r\n value: function handleDayChange(day) {\r\n var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\r\n\r\n // Disable users being able to click and enter day\r\n if (modifiers.disabled) {\r\n return;\r\n }\r\n\r\n var _state2 = this.state,\r\n selectedStart = _state2.selectedStart,\r\n selectedEnd = _state2.selectedEnd;\r\n\r\n\r\n var wasStartFieldFocused = this.state.lastFocusedField === Boundary.START;\r\n var wasEndFieldFocused = this.state.lastFocusedField === Boundary.END;\r\n\r\n var nextState = {};\r\n\r\n var controlledSelectedStart = selectedStart;\r\n var controlledSelectedEnd = selectedEnd;\r\n\r\n if (wasStartFieldFocused) {\r\n // if user selects a date after the end date then assign day to\r\n // start date and clear end date\r\n if (selectedEnd != null && DateUtils.isDayAfter(day, selectedEnd)) {\r\n nextState = Object.assign({}, nextState, {\r\n selectedStart: day,\r\n selectedEnd: null,\r\n isStartInputFocused: false,\r\n isEndInputFocused: true\r\n });\r\n controlledSelectedStart = day;\r\n controlledSelectedEnd = null;\r\n } else {\r\n nextState = Object.assign({}, nextState, {\r\n selectedStart: day,\r\n isStartInputFocused: false,\r\n isEndInputFocused: true,\r\n isOpen: false\r\n });\r\n controlledSelectedStart = day;\r\n }\r\n } else if (wasEndFieldFocused) {\r\n if (selectedStart == null) {\r\n // if end date is picked, and start date is empty\r\n // assign day to end date, and focus start date\r\n nextState = Object.assign({}, nextState, {\r\n selectedEnd: day,\r\n isStartInputFocused: true,\r\n isEndInputFocused: false\r\n });\r\n controlledSelectedEnd = day;\r\n } else if (selectedStart != null && DateUtils.isDayBefore(day, selectedStart)) {\r\n // if there is a selectedStart date and the picked day is before\r\n // the selectedStart, then set selectedStart to null\r\n nextState = Object.assign({}, nextState, {\r\n selectedStart: null,\r\n selectedEnd: day,\r\n isStartInputFocused: true,\r\n isEndInputFocused: false\r\n });\r\n controlledSelectedStart = null;\r\n controlledSelectedEnd = day;\r\n } else {\r\n nextState = Object.assign({}, nextState, {\r\n selectedEnd: day,\r\n isStartInputFocused: false,\r\n isEndInputFocused: true,\r\n isOpen: false\r\n });\r\n controlledSelectedEnd = day;\r\n }\r\n }\r\n\r\n // set state helper variable to close DayPicker if complete range exists\r\n if (controlledSelectedEnd != null && controlledSelectedStart) {\r\n nextState.wasLastFocusChangeDueToSelectingDate = true;\r\n // if start date was picked last, return focus to start\r\n if (wasStartFieldFocused) {\r\n nextState.isStartInputFocused = true;\r\n nextState.isEndInputFocused = false;\r\n }\r\n }\r\n\r\n // set internal state\r\n this.setState(nextState);\r\n\r\n // send controlled values to onChange method\r\n if (this.isControlled() && this.props.onChange) {\r\n this.props.onChange([controlledSelectedStart, controlledSelectedEnd]);\r\n }\r\n }\r\n }, {\r\n key: 'handleDayMouseEnter',\r\n value: function handleDayMouseEnter(day, locale) {\r\n // If the mouse enters a day (or the calendar),\r\n // show the 'potential' range styling and update hover strings\r\n var _state3 = this.state,\r\n isStartInputFocused = _state3.isStartInputFocused,\r\n isEndInputFocused = _state3.isEndInputFocused,\r\n lastFocusedField = _state3.lastFocusedField;\r\n\r\n\r\n var wasStartFieldFocused = lastFocusedField === Boundary.START;\r\n var wasEndFieldFocused = lastFocusedField === Boundary.END;\r\n\r\n if (isStartInputFocused || wasStartFieldFocused) {\r\n this.setState({\r\n startHoverString: formatDate(day, this.props.format, locale),\r\n hoverTo: day\r\n });\r\n } else if (isEndInputFocused || wasEndFieldFocused) {\r\n this.setState({\r\n endHoverString: formatDate(day, this.props.format, locale),\r\n hoverTo: day\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'handleDayMouseLeave',\r\n value: function handleDayMouseLeave(day) {\r\n // If the mouse leaves a day (or the calendar),\r\n // reset the 'potential' range styling and hover strings\r\n this.setState({\r\n hoverTo: null,\r\n endHoverString: null,\r\n startHoverString: null\r\n });\r\n }\r\n\r\n // ========\r\n // Input Functions\r\n // ========\r\n\r\n }, {\r\n key: 'handleInputFocus',\r\n value: function handleInputFocus(e, boundary, locale) {\r\n var _setState;\r\n\r\n var _getStateKeysAndValue = this.getStateKeysAndValuesForBoundary(boundary),\r\n keys = _getStateKeysAndValue.keys,\r\n values = _getStateKeysAndValue.values;\r\n\r\n var inputString = this.getFormattedDateString(values.selectedValue, this.props, locale, false);\r\n\r\n var isOpen = true;\r\n\r\n // Close the DayPicker UI if both dates are selected\r\n // This implementation keeps focus on the last focused boundary\r\n if (this.state.wasLastFocusChangeDueToSelectingDate) {\r\n isOpen = false;\r\n }\r\n\r\n // Change the boundary only if the user explicitly focused in the field.\r\n // Focus changes from hovering don't count; they're just temporary.\r\n var boundaryToModify = this.state.wasLastFocusChangeDueToHover ? this.state.boundaryToModify : boundary;\r\n\r\n this.setState((_setState = {}, _defineProperty(_setState, keys.inputString, inputString), _defineProperty(_setState, keys.isInputFocused, true), _defineProperty(_setState, 'boundaryToModify', boundaryToModify), _defineProperty(_setState, 'isOpen', isOpen), _defineProperty(_setState, 'lastFocusedField', boundary), _defineProperty(_setState, 'wasLastFocusChangeDueToHover', false), _defineProperty(_setState, 'wasLastFocusChangeDueToSelectingDate', false), _setState));\r\n }\r\n }, {\r\n key: 'handleInputBlur',\r\n value: function handleInputBlur(e, boundary, locale) {\r\n var _nextState;\r\n\r\n var _getStateKeysAndValue2 = this.getStateKeysAndValuesForBoundary(boundary),\r\n keys = _getStateKeysAndValue2.keys,\r\n values = _getStateKeysAndValue2.values;\r\n\r\n var _getStateKeysAndValue3 = this.getStateKeysAndValuesForBoundary(this.getOtherBoundary(boundary)),\r\n otherBoundaryValues = _getStateKeysAndValue3.values;\r\n\r\n var maybeNextDate = this.parseDate(values.inputString, locale);\r\n var isValueControlled = this.isControlled();\r\n\r\n var edsContext = this.props.edsContext;\r\n\r\n\r\n var nextState = (_nextState = {}, _defineProperty(_nextState, keys.isInputFocused, false), _defineProperty(_nextState, 'wasLastFocusChangeDueToSelectingDate', false), _nextState);\r\n\r\n // if input is empty, then update Boundary's inputString value to \"\"\r\n if (this.isInputEmpty(values.inputString)) {\r\n // reset error, no string means no error\r\n if (isValueControlled) {\r\n var _Object$assign;\r\n\r\n // This should clear the date out for the consumer\r\n nextState = Object.assign({}, nextState, (_Object$assign = {}, _defineProperty(_Object$assign, keys.inputString, this.getFormattedDateString(values.controlledValue, this.props, locale, false)), _defineProperty(_Object$assign, keys.error, false), _defineProperty(_Object$assign, 'errorHelperText', null), _Object$assign));\r\n } else {\r\n var _Object$assign2;\r\n\r\n // Uncontrolled\r\n // should clear the input string if the input is empty\r\n nextState = Object.assign({}, nextState, (_Object$assign2 = {}, _defineProperty(_Object$assign2, keys.inputString, null), _defineProperty(_Object$assign2, keys.error, false), _defineProperty(_Object$assign2, 'errorHelperText', null), _Object$assign2));\r\n }\r\n } else if (!DateUtils.isDate(maybeNextDate)) {\r\n var _Object$assign3;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign3 = {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.invalidDate')\r\n }, _defineProperty(_Object$assign3, keys.error, true), _defineProperty(_Object$assign3, keys.selectedValue, null), _Object$assign3));\r\n } else {\r\n var _Object$assign4;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign4 = {}, _defineProperty(_Object$assign4, keys.inputString, null), _defineProperty(_Object$assign4, keys.selectedValue, maybeNextDate), _Object$assign4));\r\n }\r\n\r\n if (otherBoundaryValues.inputString || otherBoundaryValues.selectedValue) {\r\n if (otherBoundaryValues.selectedValue && !DateUtils.isDayInRange(otherBoundaryValues.selectedValue, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n })) {\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.outOfRange')\r\n });\r\n }\r\n if (otherBoundaryValues.inputString && !DateUtils.isDate(otherBoundaryValues.inputString)) {\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.invalidDate')\r\n });\r\n }\r\n }\r\n\r\n // Need to be able to account for consumer's onBlur methods for error checking\r\n if (boundary === Boundary.START && this.props.StartInputProps.onBlur) {\r\n this.props.StartInputProps.onBlur([this.state.selectedStart, this.state.selectedEnd]);\r\n } else if (boundary === Boundary.END && this.props.EndInputProps.onBlur) {\r\n this.props.EndInputProps.onBlur([this.state.selectedStart, this.state.selectedEnd]);\r\n }\r\n\r\n this.setState(nextState);\r\n }\r\n }, {\r\n key: 'handleInputChange',\r\n value: function handleInputChange(e, boundary, locale) {\r\n var inputString = e.target.value;\r\n\r\n var _getStateKeysAndValue4 = this.getStateKeysAndValuesForBoundary(boundary),\r\n keys = _getStateKeysAndValue4.keys;\r\n\r\n var maybeNextDate = this.parseDate(inputString, locale);\r\n var isValueControlled = this.isControlled();\r\n\r\n var otherBoundary = this.getOtherBoundary(boundary);\r\n\r\n var _getStateKeysAndValue5 = this.getStateKeysAndValuesForBoundary(otherBoundary),\r\n otherBoundaryKeys = _getStateKeysAndValue5.keys,\r\n otherBoundaryValues = _getStateKeysAndValue5.values;\r\n\r\n var nextState = _defineProperty({}, keys.error, false);\r\n var edsContext = this.props.edsContext;\r\n\r\n\r\n if (inputString.length === 0) {\r\n // this case will be relevant when we start showing the hovered range in the input\r\n // fields. goal is to show an empty field for clarity until the mouse moves over a\r\n // different date.\r\n var baseState = Object.assign({}, nextState, _defineProperty({\r\n errorHelperText: null\r\n }, keys.inputString, ''));\r\n if (isValueControlled) {\r\n nextState = baseState;\r\n // nextState = { ...baseState, [keys.selectedValue]: null };\r\n\r\n if (this.props.onChange) {\r\n // reset respective input field's value\r\n this.props.onChange(this.getDateRangeForCallback(null, boundary));\r\n }\r\n } else {\r\n nextState = Object.assign({}, baseState, _defineProperty({}, keys.selectedValue, null));\r\n }\r\n } else if (DateUtils.isDate(maybeNextDate)) {\r\n var _Object$assign7;\r\n\r\n // If the date typed in is valid,\r\n // note that error cases that depend on both fields (e.g. overlapping dates) should fall\r\n // through into this block so that the UI can update immediately, possibly with an error\r\n // message on the other field.\r\n // also, clear the hover string to ensure the most recent keystroke appears.\r\n var _baseState = Object.assign({}, nextState, (_Object$assign7 = {}, _defineProperty(_Object$assign7, keys.hoverString, null), _defineProperty(_Object$assign7, keys.inputString, inputString), _Object$assign7));\r\n if (isValueControlled) {\r\n nextState = _baseState;\r\n if (this.props.onChange) {\r\n this.props.onChange(this.getDateRangeForCallback(maybeNextDate, boundary));\r\n }\r\n } else {\r\n nextState = Object.assign({}, _baseState, _defineProperty({}, keys.selectedValue, maybeNextDate));\r\n }\r\n } else {\r\n var _Object$assign9;\r\n\r\n // again, clear the hover string to ensure the most recent keystroke appears\r\n nextState = Object.assign({}, nextState, (_Object$assign9 = {}, _defineProperty(_Object$assign9, keys.inputString, inputString), _defineProperty(_Object$assign9, keys.hoverString, null), _Object$assign9));\r\n }\r\n\r\n // Internal error states\r\n if (DateUtils.isDate(maybeNextDate) && this.doBoundaryDatesOverlap(maybeNextDate, boundary)) {\r\n var _Object$assign10;\r\n\r\n // If typed dates are overlapping, trigger error state and message\r\n nextState = Object.assign({}, nextState, (_Object$assign10 = {}, _defineProperty(_Object$assign10, keys.error, true), _defineProperty(_Object$assign10, 'errorHelperText', edsContext.formatMessage('component.DateRangePicker.error.overlappingDates')), _Object$assign10));\r\n } else if (DateUtils.isDate(maybeNextDate) && !DateUtils.isDayInRange(maybeNextDate, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n })) {\r\n var _Object$assign11;\r\n\r\n // if typed dates are out of range, trigger error state and message\r\n nextState = Object.assign({}, nextState, (_Object$assign11 = {}, _defineProperty(_Object$assign11, keys.error, true), _defineProperty(_Object$assign11, 'errorHelperText', edsContext.formatMessage('component.DateRangePicker.error.outOfRange')), _Object$assign11));\r\n } else {\r\n var _Object$assign12;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign12 = {}, _defineProperty(_Object$assign12, keys.error, false), _defineProperty(_Object$assign12, 'errorHelperText', null), _Object$assign12));\r\n }\r\n\r\n // This will check the other boundary and determine if the error should persist\r\n // i.e. overlapping dates, 10/20/2019 - 10/19/2019\r\n // You can change either date to resolve an internal error, this means that each input\r\n // needs to check the other boundary to see if the error should be cleared or persist.\r\n if (!this.doBoundaryDatesOverlap(maybeNextDate, boundary) && DateUtils.isDate(maybeNextDate) && DateUtils.isDayInRange(maybeNextDate, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n }) && otherBoundaryValues.selectedValue && DateUtils.isDayInRange(otherBoundaryValues.selectedValue, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n })) {\r\n var _Object$assign13;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign13 = {}, _defineProperty(_Object$assign13, keys.error, false), _defineProperty(_Object$assign13, otherBoundaryKeys.error, false), _defineProperty(_Object$assign13, 'errorHelperText', null), _Object$assign13));\r\n }\r\n if (otherBoundaryValues.selectedValue && !this.isDateValidAndInRange(otherBoundaryValues.selectedValue)) {\r\n // check check if the date range is valid\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.outOfRange')\r\n });\r\n }\r\n if (otherBoundaryValues.inputString && !DateUtils.isDate(otherBoundaryValues.inputString)) {\r\n // inputString should only be non-null if the input has focus or if the date is invalid\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.invalidDate')\r\n });\r\n }\r\n\r\n // Update state\r\n this.setState(nextState);\r\n }\r\n }, {\r\n key: 'handleOnKeyDown',\r\n value: function handleOnKeyDown(e, input) {\r\n var drpDir = 'dir' in this.props ? this.props.dir : this.props.edsContext.dir;\r\n var isTabPressed = e.which === 9; // Tab keycode\r\n var isDownArrowPressed = e.which === 40; // Down arrow keycode\r\n var isShiftPressed = e.shiftKey;\r\n\r\n if (this.state.isOpen && isDownArrowPressed) {\r\n // prevent the default behavior of scrolling down\r\n e.preventDefault();\r\n // get first selectable day\r\n document.querySelector('.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)').focus();\r\n }\r\n\r\n // order of JS events is our enemy here. when tabbing between fields,\r\n // this handler will fire in the middle of a focus exchange when no\r\n // field is currently focused. we work around this by referring to the\r\n // most recently focused field, rather than the currently focused field.\r\n var wasStartFieldFocused = this.state.lastFocusedField === Boundary.START;\r\n var wasEndFieldFocused = this.state.lastFocusedField === Boundary.END;\r\n\r\n if (isTabPressed) {\r\n var isEndInputFocused = void 0;\r\n var isStartInputFocused = void 0;\r\n var isOpen = true;\r\n\r\n // account for both ltr and rtl tab order\r\n if (drpDir === 'ltr') {\r\n // if start field focused and shift is not pressed\r\n // move to end field\r\n if (wasStartFieldFocused && !isShiftPressed) {\r\n isStartInputFocused = false;\r\n isEndInputFocused = true;\r\n // prevent the default focus-change behavior to avoid race conditions;\r\n // we'll handle the focus change ourselves in componentDidUpdate.\r\n e.preventDefault();\r\n } else if (wasEndFieldFocused && isShiftPressed) {\r\n // if end field is focused and shift is pressed\r\n // move to start input\r\n isStartInputFocused = true;\r\n isEndInputFocused = false;\r\n e.preventDefault();\r\n } else {\r\n // don't prevent default here, otherwise Tab won't do anything.\r\n isStartInputFocused = false;\r\n isEndInputFocused = false;\r\n isOpen = false;\r\n }\r\n } else {\r\n // right-to-left\r\n // if start field focused and shift is not pressed\r\n // move to end field\r\n if (wasEndFieldFocused && !isShiftPressed) {\r\n isStartInputFocused = true;\r\n isEndInputFocused = false;\r\n\r\n // prevent the default focus-change behavior to avoid race conditions;\r\n // we'll handle the focus change ourselves in componentDidUpdate.\r\n e.preventDefault();\r\n } else if (wasStartFieldFocused && isShiftPressed) {\r\n // if end field is focused and shift+tab is pressed\r\n // move to start input\r\n isStartInputFocused = false;\r\n isEndInputFocused = true;\r\n e.preventDefault();\r\n } else {\r\n // don't prevent default here, otherwise Tab won't do anything.\r\n isStartInputFocused = false;\r\n isEndInputFocused = false;\r\n isOpen = false;\r\n }\r\n }\r\n this.setState({\r\n isEndInputFocused: isEndInputFocused,\r\n isOpen: isOpen,\r\n isStartInputFocused: isStartInputFocused,\r\n wasLastFocusChangeDueToHover: false\r\n });\r\n }\r\n\r\n // else the default keystroke happen without side effects\r\n }\r\n\r\n // Date Util Functions\r\n\r\n }, {\r\n key: 'parseDate',\r\n value: function parseDate(dateString, locale) {\r\n if (dateString === this.props.edsContext.formatMessage('component.DateRangePicker.error.outOfRange') || dateString === this.props.edsContext.formatMessage('component.DateRangePicker.error.invalidDate')) {\r\n return null;\r\n }\r\n\r\n var _props = this.props,\r\n format = _props.format,\r\n parseDateProp = _props.parseDate;\r\n\r\n // Accounts for ISO formats and format prop\r\n // YYYY-MM-DD and MM/DD/YYYY and the consumer provided prop\r\n\r\n var newDate = parseDateProp(dateString, format, locale) || parseDateProp(dateString, 'MM/DD/YYYY', locale) || parseDateProp(dateString, 'YYYY-MM-DD', locale);\r\n\r\n return newDate === false ? new Date(undefined) : newDate;\r\n }\r\n }, {\r\n key: 'getFormattedDateString',\r\n value: function getFormattedDateString(date, props, locale) {\r\n var ignoreRange = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\r\n\r\n if (date == null) {\r\n return '';\r\n } else if (!DateUtils.isDate(date)) {\r\n return props.edsContext.formatMessage('component.DateRangePicker.error.invalidDate');\r\n } else if (ignoreRange || DateUtils.isDayInRange(date, {\r\n from: props.minDate,\r\n to: props.maxDate\r\n })) {\r\n // good date\r\n return formatDate(date, props.format, locale);\r\n } else {\r\n return formatDate(date, props.format, locale);\r\n }\r\n }\r\n\r\n // ========\r\n // Helper Functions\r\n // ========\r\n\r\n /**\r\n * Returns true if the provided boundary is an END boundary overlapping the\r\n * selected start date. (If the boundaries overlap, we consider the END\r\n * boundary to be erroneous.)\r\n */\r\n\r\n\r\n // NOTE: This should also get uncommented if the check functions in componentDidUpdate are required\r\n // getFormattedMinMaxDateString(props, propName) {\r\n // const date = props[propName];\r\n // const defaultDate = DateRangePicker.defaultProps[propName];\r\n // return this.getFormattedDateString(\r\n // date === undefined ? defaultDate : date,\r\n // this.props\r\n // );\r\n // }\r\n\r\n }, {\r\n key: 'isNextDateRangeValid',\r\n value: function isNextDateRangeValid(nextDate, boundary) {\r\n return this.isDateValidAndInRange(nextDate) && !this.doBoundaryDatesOverlap(nextDate, boundary);\r\n }\r\n }, {\r\n key: 'getInputDisplayString',\r\n value: function getInputDisplayString(boundary, locale) {\r\n var _getStateKeysAndValue6 = this.getStateKeysAndValuesForBoundary(boundary),\r\n values = _getStateKeysAndValue6.values;\r\n\r\n var isInputFocused = values.isInputFocused,\r\n inputString = values.inputString,\r\n selectedValue = values.selectedValue,\r\n hoverString = values.hoverString,\r\n error = values.error;\r\n\r\n // Show hover string as priority\r\n\r\n if (hoverString != null) {\r\n return hoverString;\r\n } else if (error && inputString) {\r\n return inputString == null ? '' : inputString;\r\n } else if (isInputFocused) {\r\n // If Input is focused, then show inputString being typed in\r\n // If the input loses focus, then show the hoverString (if hovering over the DatePicker),\r\n return inputString == null ? '' : inputString;\r\n } else if (selectedValue == null) {\r\n return '';\r\n } else {\r\n // if no issues, get formatted date string and display\r\n return this.getFormattedDateString(selectedValue, this.props, locale, false);\r\n }\r\n }\r\n }, {\r\n key: 'getDayPickerMonth',\r\n value: function getDayPickerMonth() {\r\n // 1. no start date, no end date (clicking either start/end input) => current month\r\n // 2. yes start date, no end date, clicking on end date input => start month\r\n // 3. yes start date, no end date, clicking on start date input => start month\r\n // 4. no start date, yes end date, clicking start date input => end month\r\n // 5. no start date, yes end date, clicking end date input => end month\r\n // 6. yes start date, yes end date, clicking start date input => start month?\r\n // 7. yes start date, yes end date, clicking end date input => end month?\r\n if (this.state.selectedStart && !this.state.selectedEnd) {\r\n // show selectedStart month if only start or both dates exist\r\n return new Date(this.state.selectedStart);\r\n } else if (!this.state.selectedStart && this.state.selectedEnd) {\r\n // show end date if only end date exists\r\n return new Date(this.state.selectedEnd);\r\n } else if (this.state.selectedStart && this.state.selectedEnd) {\r\n if (this.state.isStartInputFocused || this.state.lastFocusedField === 'start') {\r\n return new Date(this.state.selectedStart);\r\n } else if (this.state.isEndInputFocused || this.state.lastFocusedField === 'end') {\r\n return new Date(this.state.selectedEnd);\r\n }\r\n } else if (this.props.initialMonth) {\r\n // return consumer's initialMonth to show\r\n return new Date(this.props.initialMonth);\r\n } else {\r\n // else return today's month\r\n return new Date();\r\n }\r\n }\r\n\r\n // Utility function to update the months shown according to viewport size\r\n\r\n }, {\r\n key: 'getNumberOfMonths',\r\n value: function getNumberOfMonths() {\r\n var viewportNumberOfMonths = this.props.width === 'xs' || this.props.width === 'sm' ? 1 : 2;\r\n return this.props.numberOfMonths || viewportNumberOfMonths;\r\n }\r\n }, {\r\n key: 'getDayPickerModifiers',\r\n value: function getDayPickerModifiers() {\r\n var _state4 = this.state,\r\n selectedStart = _state4.selectedStart,\r\n selectedEnd = _state4.selectedEnd,\r\n hoverTo = _state4.hoverTo,\r\n lastFocusedField = _state4.lastFocusedField;\r\n\r\n\r\n var modifiers = {\r\n start: selectedStart,\r\n end: selectedEnd,\r\n hover: { from: selectedStart, to: hoverTo }\r\n };\r\n\r\n // we are assuming that hoverTo is a date, since it is an internal variable and only set as a valid date\r\n if (DateUtils.isDate(selectedEnd)) {\r\n if (lastFocusedField === Boundary.START && DateUtils.isDayAfter(new Date(hoverTo), selectedEnd)) {\r\n delete modifiers.hover;\r\n }\r\n }\r\n if (DateUtils.isDate(selectedStart)) {\r\n if (lastFocusedField === Boundary.END && DateUtils.isDayBefore(new Date(hoverTo), selectedStart)) {\r\n delete modifiers.hover;\r\n }\r\n }\r\n // flip the modifiers if we are picking the start date\r\n if (lastFocusedField === Boundary.START && !DateUtils.isDate(selectedStart)) {\r\n modifiers.hover = {\r\n from: hoverTo,\r\n to: selectedEnd\r\n };\r\n }\r\n if (selectedEnd != null && hoverTo !== null) {\r\n if (DateUtils.isDayAfter(hoverTo, selectedEnd)) {\r\n delete modifiers.hover;\r\n }\r\n }\r\n\r\n return modifiers;\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this,\r\n _cn4,\r\n _cn8,\r\n _cn11;\r\n\r\n var _props2 = this.props,\r\n edsContext = _props2.edsContext,\r\n classes = _props2.classes,\r\n idProp = _props2.id,\r\n ContainerProps = _props2.ContainerProps,\r\n format = _props2.format,\r\n labels = _props2.labels,\r\n disabled = _props2.disabled,\r\n error = _props2.error,\r\n required = _props2.required,\r\n fullWidth = _props2.fullWidth,\r\n size = _props2.size,\r\n startInputLabelProp = _props2.startInputLabel,\r\n endInputLabelProp = _props2.endInputLabel,\r\n startInputPlaceholder = _props2.startInputPlaceholder,\r\n endInputPlaceholder = _props2.endInputPlaceholder,\r\n StartInputProps = _props2.StartInputProps,\r\n EndInputProps = _props2.EndInputProps,\r\n StartFormControlProps = _props2.StartFormControlProps,\r\n EndFormControlProps = _props2.EndFormControlProps,\r\n StartInputLabelProps = _props2.StartInputLabelProps,\r\n EndInputLabelProps = _props2.EndInputLabelProps,\r\n FormHelperTextProps = _props2.FormHelperTextProps,\r\n helperText = _props2.helperText,\r\n PopperProps = _props2.PopperProps,\r\n ClickAwayListenerProps = _props2.ClickAwayListenerProps,\r\n minDate = _props2.minDate,\r\n maxDate = _props2.maxDate,\r\n props = _objectWithoutProperties(_props2, ['edsContext', 'classes', 'id', 'ContainerProps', 'format', 'labels', 'disabled', 'error', 'required', 'fullWidth', 'size', 'startInputLabel', 'endInputLabel', 'startInputPlaceholder', 'endInputPlaceholder', 'StartInputProps', 'EndInputProps', 'StartFormControlProps', 'EndFormControlProps', 'StartInputLabelProps', 'EndInputLabelProps', 'FormHelperTextProps', 'helperText', 'PopperProps', 'ClickAwayListenerProps', 'minDate', 'maxDate']);\r\n\r\n var _state5 = this.state,\r\n isOpen = _state5.isOpen,\r\n selectedStart = _state5.selectedStart,\r\n selectedEnd = _state5.selectedEnd,\r\n isStartInputFocused = _state5.isStartInputFocused,\r\n isEndInputFocused = _state5.isEndInputFocused,\r\n lastFocusedField = _state5.lastFocusedField,\r\n startInputError = _state5.startInputError,\r\n endInputError = _state5.endInputError,\r\n errorHelperText = _state5.errorHelperText;\r\n\r\n // Figure out DRP directions based passed in prop or on app's direction\r\n\r\n var revMonths = props.reverseMonths;\r\n var drpDir = 'dir' in props ? props.dir : edsContext.dir;\r\n\r\n var internalError = startInputError || endInputError;\r\n\r\n var id = idProp || this.uuid;\r\n\r\n // EDSApplication-level locale\r\n var locale = edsContext.locale;\r\n\r\n var startInputLabel = startInputLabelProp || edsContext.formatMessage('component.DateRangePicker.startDate');\r\n var endInputLabel = endInputLabelProp || edsContext.formatMessage('component.DateRangePicker.endDate');\r\n\r\n var anchorEl = this.startInputContainerRef.current;\r\n\r\n var modifiers = this.getDayPickerModifiers();\r\n var numberOfMonths = this.getNumberOfMonths();\r\n\r\n var selectedDays = [selectedStart, { from: selectedStart, to: selectedEnd }, selectedEnd];\r\n\r\n var buttonLabels = Object.assign({\r\n previousMonth: edsContext.formatMessage('component.DateRangePicker.previousMonth'),\r\n nextMonth: edsContext.formatMessage('component.DateRangePicker.nextMonth')\r\n }, labels);\r\n\r\n var today = moment();\r\n\r\n var defaultProps = {\r\n navbarElement: React.createElement(Navbar, null),\r\n labels: buttonLabels,\r\n captionElement: function captionElement(_ref) {\r\n var date = _ref.date,\r\n localeUtils = _ref.localeUtils,\r\n localeCaptionProp = _ref.locale,\r\n rest = _objectWithoutProperties(_ref, ['date', 'localeUtils', 'locale']);\r\n\r\n return React.createElement(Caption, Object.assign({\r\n onChange: _this2.handleYearMonthChange,\r\n date: date,\r\n localeUtils: MomentLocaleUtils,\r\n locale: localeCaptionProp\r\n }, rest));\r\n },\r\n renderDay: function renderDay(day) {\r\n // We use a new div so we can apply our custom date range picker styles via class name\r\n var isToday = moment(day).isSame(today, 'day');\r\n return React.createElement(\r\n 'div',\r\n { className: cn('hedtech-day', { 'DayPicker-Today': props.highlightToday && isToday }) },\r\n day.toLocaleDateString(locale, {\r\n day: 'numeric'\r\n })\r\n );\r\n }\r\n };\r\n\r\n var shouldStartInputShrink = isStartInputFocused || isEndInputFocused || this.getInputDisplayString(Boundary.START, locale).length !== 0;\r\n var shouldEndInputShrink = isStartInputFocused || isEndInputFocused || this.getInputDisplayString(Boundary.END, locale).length !== 0;\r\n\r\n var shouldStartInputFakeFocus = isOpen && lastFocusedField === Boundary.START || isStartInputFocused;\r\n var shouldEndInputFakeFocus = isOpen && lastFocusedField === Boundary.END || isEndInputFocused;\r\n\r\n var startInput = React.createElement(\r\n FormControl,\r\n Object.assign({\r\n id: id + '-start-form-control',\r\n disabled: disabled,\r\n error: internalError || error,\r\n fullWidth: fullWidth,\r\n key: id + '-start-input',\r\n ref: this.startInputContainerRef,\r\n className: cn(classes.container, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small'))\r\n }, StartFormControlProps),\r\n React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n id: id + '-start-input-label',\r\n htmlFor: id + '-start-input',\r\n classes: {\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n },\r\n className: cn(_defineProperty({}, classes.inputLabelSmall, size === 'small')),\r\n shrink: shouldStartInputShrink,\r\n disabled: disabled,\r\n error: internalError || error,\r\n required: required\r\n }, StartInputLabelProps),\r\n startInputLabel\r\n ),\r\n React.createElement(Input, Object.assign({\r\n autoComplete: 'off',\r\n inputRef: this.startInputRef,\r\n id: id + '-start-input',\r\n classes: {\r\n root: cn(classes.inputRoot, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small')),\r\n input: cn(classes.input, classes.startInput, (_cn4 = {}, _defineProperty(_cn4, classes.inputFocusedError, internalError || error), _defineProperty(_cn4, classes.inputFocused, shouldStartInputFakeFocus), _defineProperty(_cn4, classes.smallDateRangePickerInputRootinput, size === 'small'), _cn4)),\r\n disabled: classes.inputDisabled\r\n },\r\n disableUnderline: true,\r\n value: this.getInputDisplayString(Boundary.START, locale),\r\n placeholder: startInputPlaceholder\r\n }, StartInputProps, {\r\n onClick: function onClick(e) {\r\n return _this2.handleInputClick(e);\r\n },\r\n onChange: function onChange(e) {\r\n return _this2.handleInputChange(e, Boundary.START, locale);\r\n },\r\n onFocus: function onFocus(e) {\r\n return _this2.handleInputFocus(e, Boundary.START, locale);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.handleInputBlur(e, Boundary.START, locale);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleOnKeyDown(e);\r\n },\r\n onMouseDown: function onMouseDown() {\r\n return _this2.handleInputMouseDown();\r\n }\r\n }))\r\n );\r\n\r\n var endInput = React.createElement(\r\n FormControl,\r\n Object.assign({\r\n id: id + '-end-form-control',\r\n disabled: disabled,\r\n error: internalError || error,\r\n fullWidth: fullWidth,\r\n key: id + '-end-input',\r\n className: cn(classes.container, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small'))\r\n }, EndFormControlProps),\r\n React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n id: id + '-end-input-label',\r\n htmlFor: id + '-end-input',\r\n classes: {\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n },\r\n className: cn(_defineProperty({}, classes.inputLabelSmall, size === 'small')),\r\n shrink: shouldEndInputShrink,\r\n disabled: disabled,\r\n error: internalError || error,\r\n required: required\r\n }, EndInputLabelProps),\r\n endInputLabel\r\n ),\r\n React.createElement(Input, Object.assign({\r\n autoComplete: 'off',\r\n inputRef: this.endInputRef,\r\n id: id + '-end-input',\r\n classes: {\r\n root: cn(classes.inputRoot, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small')),\r\n input: cn(classes.input, classes.endInput, (_cn8 = {}, _defineProperty(_cn8, classes.inputFocusedError, internalError || error), _defineProperty(_cn8, classes.inputFocused, shouldEndInputFakeFocus), _cn8)),\r\n disabled: classes.inputDisabled\r\n },\r\n disableUnderline: true,\r\n value: this.getInputDisplayString(Boundary.END, locale),\r\n placeholder: endInputPlaceholder\r\n }, EndInputProps, {\r\n onClick: function onClick(e) {\r\n return _this2.handleInputClick(e);\r\n },\r\n onChange: function onChange(e) {\r\n return _this2.handleInputChange(e, Boundary.END);\r\n },\r\n onFocus: function onFocus(e) {\r\n return _this2.handleInputFocus(e, Boundary.END, locale);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.handleInputBlur(e, Boundary.END, locale);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleOnKeyDown(e);\r\n },\r\n onMouseDown: function onMouseDown() {\r\n return _this2.handleInputMouseDown();\r\n }\r\n }))\r\n );\r\n\r\n var inputArrowIcon = React.createElement(\r\n 'span',\r\n {\r\n id: id + '-arrow-icon',\r\n className: cn(classes.iconContainer, _defineProperty({}, classes.iconContainerDisabled, disabled)),\r\n key: id + '-icon'\r\n },\r\n drpDir === 'ltr' ? React.createElement(ArrowRight, null) : React.createElement(ArrowLeft, null)\r\n );\r\n\r\n return React.createElement(\r\n ClickAwayListener,\r\n Object.assign({\r\n onClickAway: function onClickAway() {\r\n return _this2.closeDateRangePicker();\r\n }\r\n }, ClickAwayListenerProps),\r\n React.createElement(\r\n 'div',\r\n Object.assign({\r\n className: cn(classes.container, _defineProperty({}, classes.inputContainerFullWidth, fullWidth))\r\n }, ContainerProps),\r\n React.createElement(\r\n 'div',\r\n {\r\n className: cn(classes.inputContainer, (_cn11 = {}, _defineProperty(_cn11, classes.inputContainerDisabled, disabled), _defineProperty(_cn11, classes.inputContainerError, internalError || error), _defineProperty(_cn11, classes.inputContainerFullWidth, fullWidth), _defineProperty(_cn11, classes.smallDateRangePicker, size === 'small'), _cn11)),\r\n role: 'presentation',\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleContainerKeyDown(e);\r\n }\r\n },\r\n [startInput, inputArrowIcon, endInput]\r\n ),\r\n (errorHelperText || helperText) && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n disabled: disabled,\r\n error: internalError || error\r\n }, FormHelperTextProps),\r\n errorHelperText || helperText\r\n ),\r\n React.createElement(\r\n Popper,\r\n Object.assign({\r\n id: id + '-popper',\r\n open: isOpen,\r\n anchorEl: anchorEl,\r\n placement: 'bottom-start',\r\n disablePortal: true,\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleContainerKeyDown(e);\r\n },\r\n className: classes.popper\r\n }, PopperProps),\r\n React.createElement(\r\n 'div',\r\n {\r\n dir: drpDir,\r\n className: cn(classes.root, _defineProperty({}, classes.hideOutsideDays, !this.props.showOutsideDays))\r\n },\r\n React.createElement(DayPicker, Object.assign({\r\n id: id,\r\n className: cn('hedtech-DateRangePicker', classes.dateRangePickerRoot, _defineProperty({}, classes.singleMonth, numberOfMonths === 1))\r\n }, defaultProps, {\r\n parse: parseDate,\r\n numberOfMonths: numberOfMonths,\r\n selectedDays: selectedDays,\r\n modifiers: modifiers,\r\n month: this.getDayPickerMonth(),\r\n format: format,\r\n locale: locale,\r\n dir: drpDir,\r\n reverseMonths: revMonths,\r\n localeUtils: MomentLocaleUtils,\r\n fromMonth: minDate,\r\n toMonth: maxDate\r\n }, props, {\r\n onDayClick: this.handleDayChange,\r\n onDayMouseEnter: function onDayMouseEnter(day) {\r\n return _this2.handleDayMouseEnter(day, locale);\r\n },\r\n onDayMouseLeave: this.handleDayMouseLeave,\r\n onBlur: function onBlur(e) {\r\n // Following condition would validate whether focus is still on the calendar or not. If not, it will close the calendar.\r\n // e.relatedTarget : This would help us to get the current focus item from the DOM.\r\n if (!e.currentTarget.contains(e.relatedTarget)) {\r\n _this2.closeDateRangePicker();\r\n }\r\n }\r\n }))\r\n )\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return DateRangePicker;\r\n}(React.Component);\r\n\r\nvar _initialiseProps = function _initialiseProps() {\r\n var _this3 = this;\r\n\r\n this.getInitialRange = function () {\r\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this3.props;\r\n var defaultValue = props.defaultValue,\r\n value = props.value;\r\n\r\n if (value != null) {\r\n return value;\r\n } else if (defaultValue != null) {\r\n return defaultValue;\r\n } else {\r\n return [null, null];\r\n }\r\n };\r\n\r\n this.getInitialOpenState = function () {\r\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this3.props;\r\n var isOpen = props.isOpen;\r\n\r\n if (isOpen != null) {\r\n return isOpen;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n this.handleContainerKeyDown = function (event) {\r\n if (event.key !== 'Escape') {\r\n return;\r\n }\r\n\r\n // Swallow the event, in case someone is listening for the escape key on the body.\r\n event.stopPropagation();\r\n\r\n _this3.closeDateRangePicker();\r\n };\r\n\r\n this.openDateRangePicker = function () {\r\n // If calendar ui is already open, exit\r\n if (_this3.state.isOpen) {\r\n return;\r\n }\r\n\r\n _this3.setState({\r\n isOpen: true\r\n });\r\n };\r\n\r\n this.closeDateRangePicker = function () {\r\n // If calendar ui is already closed, exit\r\n if (!_this3.state.isOpen) {\r\n return;\r\n }\r\n _this3.setState({\r\n isOpen: false,\r\n\r\n // Clear out these variables\r\n startHoverString: null,\r\n endHoverString: null,\r\n hoverTo: null\r\n });\r\n };\r\n\r\n this.handleInputClick = function (e) {\r\n if (!_this3.props.disabled && !_this3.state.isOpen) {\r\n _this3.openDateRangePicker();\r\n }\r\n e.stopPropagation();\r\n };\r\n\r\n this.handleInputMouseDown = function (e) {\r\n // clicking in the field constitutes an explicit focus change. we update\r\n // the flag on \"mousedown\" instead of on \"click\", because it needs to be\r\n // set before onFocus is called (\"click\" triggers after \"focus\").\r\n _this3.setState({ wasLastFocusChangeDueToHover: false });\r\n };\r\n\r\n this.doesEndBoundaryOverlapStartBoundary = function (boundaryDate, boundary) {\r\n return boundary === Boundary.START ? false : _this3.doBoundaryDatesOverlap(boundaryDate, boundary);\r\n };\r\n\r\n this.isControlled = function () {\r\n return _this3.props.value !== undefined;\r\n };\r\n\r\n this.isInputEmpty = function (inputString) {\r\n return !inputString || inputString == null || inputString.length === 0;\r\n };\r\n\r\n this.isDateValidAndInRange = function (date) {\r\n return DateUtils.isDate(date) && DateUtils.isDayInRange(date, {\r\n from: _this3.props.minDate,\r\n to: _this3.props.maxDate\r\n });\r\n };\r\n\r\n this.getDateRangeForCallback = function (currDate, currBoundary) {\r\n var otherBoundary = _this3.getOtherBoundary(currBoundary);\r\n var otherDate = _this3.getStateKeysAndValuesForBoundary(otherBoundary).values.selectedValue;\r\n\r\n return currBoundary === Boundary.START ? [currDate, otherDate] : [otherDate, currDate];\r\n };\r\n\r\n this.getOtherBoundary = function (boundary) {\r\n return boundary === Boundary.START ? Boundary.END : Boundary.START;\r\n };\r\n\r\n this.doBoundaryDatesOverlap = function (date, boundary) {\r\n var otherBoundary = _this3.getOtherBoundary(boundary);\r\n var otherBoundaryDate = _this3.getStateKeysAndValuesForBoundary(otherBoundary).values.selectedValue;\r\n\r\n if (date == null || otherBoundaryDate == null) {\r\n return false;\r\n }\r\n\r\n if (boundary === Boundary.START) {\r\n var isAfter = DateUtils.isDayAfter(date, otherBoundaryDate);\r\n return isAfter;\r\n } else {\r\n var isBefore = DateUtils.isDayBefore(date, otherBoundaryDate);\r\n return isBefore;\r\n }\r\n };\r\n\r\n this.getStateKeysAndValuesForBoundary = function (boundary) {\r\n var controlledRange = _this3.props.value;\r\n\r\n if (boundary === Boundary.START) {\r\n return {\r\n keys: {\r\n hoverString: 'startHoverString',\r\n inputString: 'startInputString',\r\n isInputFocused: 'isStartInputFocused',\r\n selectedValue: 'selectedStart',\r\n error: 'startInputError'\r\n },\r\n values: {\r\n controlledValue: controlledRange != null ? controlledRange[0] : undefined,\r\n hoverString: _this3.state.startHoverString,\r\n inputString: _this3.state.startInputString,\r\n isInputFocused: _this3.state.isStartInputFocused,\r\n selectedValue: _this3.state.selectedStart,\r\n error: _this3.state.startInputError\r\n }\r\n };\r\n } else {\r\n return {\r\n keys: {\r\n hoverString: 'endHoverString',\r\n inputString: 'endInputString',\r\n isInputFocused: 'isEndInputFocused',\r\n selectedValue: 'selectedEnd',\r\n error: 'endInputError'\r\n },\r\n values: {\r\n controlledValue: controlledRange != null ? controlledRange[1] : undefined,\r\n hoverString: _this3.state.endHoverString,\r\n inputString: _this3.state.endInputString,\r\n isInputFocused: _this3.state.isEndInputFocused,\r\n selectedValue: _this3.state.selectedEnd,\r\n error: _this3.state.endInputError\r\n }\r\n };\r\n }\r\n };\r\n};\r\n\r\nDateRangePicker.propTypes = {\r\n /**\r\n * @ignore\r\n * This is the width of the viewport coming from the withWidth HOC\r\n */\r\n width: PropTypes.string,\r\n /**\r\n * @ignore\r\n * This function fetches resource string translations. It comes from the withEDSContext HOC.\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * @ignore\r\n * Helper variable for testing.\r\n */\r\n isOpen: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Properties applied to the top-level `div` element.\r\n */\r\n ContainerProps: PropTypes.object,\r\n\r\n // Generic props\r\n /**\r\n * The id of the `input` element. This is also used to create id's for internal components such as the the `FormControl`, `InputLabel` and `DayPicker`.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * The format of the date to accept and display.\r\n *\r\n * e.g. `M/D/YYYY`, `MM-D-YY`, `l`, `LL`, `ll`.\r\n */\r\n format: PropTypes.string,\r\n /**\r\n * If `fullWidth` is true, then render the input field full width.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * Callback fired when the value is changed. This function sends back an `Array` of `Date`: ([startDate, endDate]) => setDates([startDate, endDate])\r\n * If no days are selected, it will pass `[null, null]`. If a start date is selected but not an end date, it will pass `[selectedDate, null]`. If both a start and end date are selected, it will pass `[startDate, endDate]`.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The date range value. If you are controlling the state and want to initialize with empty dates, set the value to `[null, null]`. If a single boundary is known the array could look like either `[someDate, null]` or `[null, someDate]`. If both boundaries are known the array would look like, `[someDate, someOtherDate]`.\r\n *\r\n * **Note:** Sending in a completely empty array (`[]`) will cause an the DateRangePicker to throw an error.\r\n */\r\n value: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\r\n\r\n /**\r\n * The date range value for uncontrolled implementations.\r\n */\r\n defaultValue: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\r\n /**\r\n * If true, the labels are displayed as required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * The maximum date possible to select. The selected date range must fall in between the `minDate` and `maxDate`. Default is December 31st, 10 years in the future.\r\n */\r\n maxDate: PropTypes.any,\r\n /**\r\n * The minimum date possible to select. The selected date range must fall in between the `minDate` and `maxDate`. Default is January 1st, 20 years in the past.\r\n */\r\n minDate: PropTypes.any,\r\n /**\r\n * Custom date function that parses the date. This is used to display date to the user in the input field.\r\n *\r\n * e.g.\r\n *\r\n * `(dateString: string, format: string, locale: string) => string`\r\n */\r\n parseDate: PropTypes.func,\r\n\r\n // DayPicker props\r\n /**\r\n * The month to display in the calendar at first render. This differs from the `month` prop, as it won’t re-render the calendar if its value changes.\r\n */\r\n initialMonth: PropTypes.instanceOf(Date),\r\n /**\r\n * Labels to use as `aria-label` HTML attributes for the previous and next month navigation buttons.\r\n */\r\n labels: PropTypes.object,\r\n /**\r\n * **DEPRECATED** Will be determined by the props passed to [`EDSApplication`](#/components/EDSApplication).\r\n *\r\n * Render the `DateRangePicker` right-to-left.\r\n */\r\n dir: PropTypes.oneOf(['ltr', 'rtl']),\r\n /**\r\n * Object of functions to format dates and to get the first day of the week. You can pass your own object for advanced [localization](http://react-day-picker.js.org/docs/localization/).\r\n */\r\n localeUtils: PropTypes.object,\r\n /**\r\n * An object of *day modifiers*. This will add a new CSS class name on the days that match the modifier. [View react-day-picker documentation](http://react-day-picker.js.org/docs/matching-days/).\r\n *\r\n * e.g.\r\n * `const modifiers = { birthday: new Date(2018, 8, 19) } => // Creates a day component with the class name: .DayPicker-Day--birthday`\r\n */\r\n modifiers: PropTypes.object,\r\n /**\r\n * An object of inline styles added to the day cells when a modifier is matched. Use this prop to style day cells inline instead of using CSS classes.\r\n */\r\n modifiersStyles: PropTypes.object,\r\n /**\r\n * @ignore\r\n *\r\n * The month to display in the calendar. This differs from the `initialMonth` prop, as it causes the calendar to re-render when its value changes.\r\n */\r\n month: PropTypes.instanceOf(Date),\r\n /**\r\n * An array containing the long month names to use in the month’s header. Defaults to the English month names.\r\n */\r\n months: PropTypes.arrayOf(PropTypes.string),\r\n\r\n /**\r\n * @ignore\r\n *\r\n * A React Element or React Component to render the navigation bar. It will receive the following props:\r\n *\r\n * - month: Date The currently displayed month\r\n * - previousMonth: Date\r\n * - nextMonth: Date\r\n * - onPreviousClick: () ⇒ void\r\n * - onNextClick: () ⇒ void\r\n */\r\n navbarElement: PropTypes.arrayOf(PropTypes.string),\r\n\r\n /**\r\n * The number of months to render.\r\n *\r\n * We recommend this prop to be using sparingly. In some situations,\r\n * where only one month should be shown to conserve screen space or issues arise with the visual layout\r\n * of the DateRangePicker calendar interface. Most common situations are when the `DateRangePicker` is\r\n * placed in a `Dialog` or `Table`.\r\n */\r\n numberOfMonths: PropTypes.number,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * When displaying multiple months, navigation will be paginated displaying the `numberOfMonths` at time instead of one.\r\n */\r\n pagedNavigation: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Returns the content of a day cell. As default it returns day’s current date.\r\n */\r\n renderDay: PropTypes.oneOfType([PropTypes.elementType, PropTypes.func]),\r\n /**\r\n * @ignore\r\n *\r\n * Returns the content of the week element when showWeekNumbers is set. As default it returns the week number.\r\n */\r\n renderWeek: PropTypes.func,\r\n\r\n /**\r\n * **DEPRECATED** Will be determined by the props passed to [`EDSApplication`](#/components/EDSApplication).\r\n *\r\n * Render the months in reversed order. This prop should be used when `dir=\"rtl\"`.\r\n */\r\n reverseMonths: PropTypes.bool,\r\n /**\r\n * Day(s) that should appear as selected.\r\n */\r\n selectedDays: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.object, PropTypes.arrayOf(PropTypes.instanceOf(Date)), PropTypes.func]),\r\n /**\r\n * Day(s) that should appear as disabled.\r\n */\r\n disabledDays: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.object, PropTypes.arrayOf(PropTypes.instanceOf(Date)), PropTypes.func]),\r\n\r\n /**\r\n * @ignore\r\n * Display the days falling outside the current month.\r\n */\r\n showOutsideDays: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Display the weekday names in the calendar header.\r\n */\r\n showWeekDays: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Display the year's week number next to each week.\r\n */\r\n showWeekNumbers: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Display a button to switch to the current month using the provided string as a label.\r\n */\r\n todayButton: PropTypes.bool,\r\n /**\r\n * @ignore\r\n *\r\n * A React Element or React Component to render the weekday cells in the header. It will receive the following props:\r\n *\r\n * - weekday `number`\r\n * - className `string`\r\n * - localeUtils `object`\r\n * - locale `string`\r\n */\r\n weekdayElement: PropTypes.instanceOf(Date),\r\n /**\r\n * @ignore\r\n *\r\n * An array containing the long weekdays names to use in the month's header Defaults to the English weekdays names. Must start from Sunday.\r\n */\r\n weekdaysLong: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * @ignore\r\n *\r\n * An array containing the short weekdays names to use in the month's header. Defaults to the English weekdays names. Must start from Sunday.\r\n */\r\n weekdaysShort: PropTypes.arrayOf(PropTypes.string),\r\n\r\n // DayPicker EventHandlers\r\n /**\r\n * @ignore\r\n */\r\n onCaptionClick: PropTypes.func,\r\n\r\n /**\r\n * Event handler when the calendar gets the `blur` event.\r\n *\r\n * e.g.\r\n * (e: SyntheticEvent) ⇒ void\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * Event handler when the calendar gets the `focus` event.\r\n *\r\n * e.g.\r\n * `(e: SyntheticEvent) ⇒ void`\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * Event handler when the calendar gets the `keydown` event.\r\n *\r\n * e.g.\r\n * `(e: SyntheticEvent) ⇒ void`\r\n */\r\n onKeyDown: PropTypes.func,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Event handler when the user clicks on a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayClick: PropTypes.func,\r\n /**\r\n * Event handler when the day cell gets the `keydown` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayKeyDown: PropTypes.func,\r\n /**\r\n * Event handler when the day cell gets the `focus` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayFocus: PropTypes.func,\r\n /**\r\n * Event handler when the mouse button is pressed on a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseDown: PropTypes.func,\r\n /**\r\n * @ignore\r\n * Event handler when the mouse enters a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseEnter: PropTypes.func,\r\n /**\r\n * @ignore\r\n * Event handler when the mouse leave a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseLeave: PropTypes.func,\r\n /**\r\n * Event handler when the mouse button is released on a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseUp: PropTypes.func,\r\n\r\n /**\r\n * Event handler when the day cell gets the `touchStart` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayTouchStart: PropTypes.func,\r\n /**\r\n * Event handler when the day cell gets the `touchEnd` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayTouchEnd: PropTypes.func,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Event handler when the month is changed, i.e. clicking the navigation buttons or using the keyboard.\r\n *\r\n * e.g.\r\n * `(month: date) ⇒ void`\r\n */\r\n onMonthChange: PropTypes.func,\r\n\r\n /**\r\n * @ignore\r\n */\r\n onWeekClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onTodayButtonClick: PropTypes.func,\r\n\r\n // Public Methods\r\n /**\r\n * @ignore\r\n */\r\n showMonth: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showPreviousMonth: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showNextMonth: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showPreviousYear: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showNextYear: PropTypes.func,\r\n\r\n // Input/FormControl props\r\n /**\r\n * If `true`, the input field will be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If true, the input will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * The label for the start input. Defaults to 'Start date'.\r\n */\r\n startInputLabel: PropTypes.string,\r\n /**\r\n * The label for the end input. Defaults to 'End date'.\r\n */\r\n endInputLabel: PropTypes.string,\r\n /**\r\n * The placeholder text for the start input.\r\n */\r\n startInputPlaceholder: PropTypes.string,\r\n /**\r\n * The placeholder text for the end input.\r\n */\r\n endInputPlaceholder: PropTypes.string,\r\n\r\n /**\r\n * Properties applied to the start [`Input`](https://material-ui.com/api/input/#input-api) element.\r\n * If you re-assign the `placeholder` property, it will override the `startInputPlaceholder` prop.\r\n */\r\n StartInputProps: PropTypes.object,\r\n /**\r\n * Properties applied to the start [`Input`](https://material-ui.com/api/input/#input-api) element.\r\n * If you re-assign the `placeholder` property, it will override the `endInputPlaceholder` prop.\r\n */\r\n EndInputProps: PropTypes.object,\r\n\r\n /**\r\n * Properties applied to the start [`FormControl`](#/components/FormControl) element.\r\n */\r\n StartFormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the end [`FormControl`](#/components/FormControl) element.\r\n */\r\n EndFormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the start [`InputLabel`](#/components/FormControl) element.\r\n */\r\n StartInputLabelProps: PropTypes.object,\r\n /**\r\n * Properties applied to the end [`InputLabel`](#/components/FormControl) element.\r\n */\r\n EndInputLabelProps: PropTypes.object,\r\n\r\n // Popper props\r\n /**\r\n * Properties applied to the [`Poppper`](#/components/Popper) element.\r\n */\r\n PopperProps: PropTypes.object,\r\n\r\n /**\r\n * Properties applied to the [`ClickAwaysListener`](https://material-ui.com/api/click-away-listener/) element.\r\n */\r\n ClickAwayListenerProps: PropTypes.object,\r\n\r\n // FormHelperText props\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.string,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * The size of the `DateRangePicker`. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n /**\r\n * Highlight today's date in the calendar.\r\n */\r\n highlightToday: PropTypes.bool\r\n};\r\n\r\nDateRangePicker.defaultProps = {\r\n initialMonth: new Date(),\r\n format: 'L',\r\n showOutsideDays: false,\r\n maxDate: getDefaultMaxDate(),\r\n minDate: getDefaultMinDate(),\r\n StartInputProps: {},\r\n EndInputProps: {},\r\n parseDate: parseDate,\r\n size: 'medium',\r\n highlightToday: false\r\n};\r\n\r\nexport default withWidth()(withEDSContext(withStyles(styles)(DateRangePicker)));","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _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; }\r\n\r\nimport React, { useEffect, useRef, useState, useCallback } from 'react';\r\nimport cn from 'classnames';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport makeStyles from '../makeStyles';\r\nimport { useSpacing } from './../globalSpacing';\r\n\r\nimport { spacing60 } from '../styles/tokens';\r\n\r\nvar spanAllColumns = 'span 12';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n var _sidebar;\r\n\r\n return {\r\n root: {\r\n gridTemplateColumns: 'repeat(12, minmax(0, 1fr))'\r\n },\r\n content: _defineProperty({\r\n gridColumn: spanAllColumns\r\n }, theme.breakpoints.up('lg'), {\r\n gridColumn: 'span 8',\r\n marginRight: spacing60\r\n }),\r\n hiddenSidebar: {\r\n opacity: 0,\r\n height: 0,\r\n overflow: 'hidden',\r\n visibility: 'hidden'\r\n },\r\n sidebar: (_sidebar = {\r\n gridColumn: spanAllColumns\r\n }, _defineProperty(_sidebar, theme.breakpoints.up('sm'), {\r\n gridColumn: 'span 6'\r\n }), _defineProperty(_sidebar, theme.breakpoints.up('lg'), {\r\n gridColumn: '9 / span 4'\r\n }), _sidebar),\r\n fixedSidebar: _defineProperty({}, theme.breakpoints.up('lg'), {\r\n position: 'fixed',\r\n width: function width(p) {\r\n return p.rect && p.rect.width + 'px';\r\n },\r\n left: function left(p) {\r\n return p.rect && p.rect.left + 'px';\r\n },\r\n top: function top(p) {\r\n return p.sidebarTop;\r\n }\r\n }),\r\n stickySidebar: _defineProperty({}, theme.breakpoints.up('lg'), {\r\n position: 'sticky',\r\n top: function top(p) {\r\n return p.sidebarTop || 0;\r\n }\r\n }),\r\n sidebarFullWidthSm: _defineProperty({}, theme.breakpoints.only('sm'), {\r\n gridColumn: spanAllColumns\r\n }),\r\n sidebarFullWidthMd: _defineProperty({}, theme.breakpoints.between('sm', 'md'), {\r\n gridColumn: spanAllColumns\r\n })\r\n };\r\n});\r\n\r\n/**\r\n * A stationary column that remains visible at all times\r\n * while the rest of the page changes as a user scrolls, interacts, or progresses.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v4.4.0\r\n * @template true\r\n * @examples\r\n * FixedSidebarLayoutExample\r\n * SidebarLayoutExampleWithComponents\r\n * StickySidebarLayoutExample\r\n */\r\nvar FixedSidebarLayout = React.forwardRef(function (props, ref) {\r\n var _useState = useState(),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n rect = _useState2[0],\r\n setRect = _useState2[1];\r\n\r\n var classes = useStyles({ rect: rect, sidebarTop: props.sidebarTop });\r\n var sidebarRef = useRef(null);\r\n var hiddenSidebarRef = useRef(null);\r\n\r\n var children = props.children,\r\n sidebar = props.sidebar,\r\n spacingOptions = props.spacingOptions,\r\n sidebarFullWidth = props.sidebarFullWidth,\r\n position = props.position;\r\n\r\n var _useSpacing = useSpacing(Object.assign({ outerSpacing: false }, spacingOptions)),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var handleResize = useCallback(function () {\r\n position === 'fixed' && setRect(hiddenSidebarRef.current.getBoundingClientRect());\r\n }, [position]);\r\n\r\n useEffect(function () {\r\n handleResize();\r\n window.addEventListener('resize', handleResize);\r\n\r\n return function () {\r\n return window.removeEventListener('resize', handleResize);\r\n };\r\n }, [handleResize]);\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptions);\r\n }, [spacingOptions]); // eslint-disable-line\r\n\r\n useEffect(function () {\r\n position === 'fixed' && setRect(hiddenSidebarRef.current.getBoundingClientRect());\r\n }, [position]);\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: ref, className: cn(classes.root, props.classes && props.classes.root, spacingStyles) },\r\n React.createElement(\r\n 'section',\r\n { className: cn(classes.content, spacingStyles, props.classes && props.classes.content) },\r\n children\r\n ),\r\n React.createElement(\r\n 'section',\r\n { ref: sidebarRef, className: cn(classes.sidebar, props.classes && props.classes.sidebar, _defineProperty({}, classes.fixedSidebar, position === 'fixed'), _defineProperty({}, classes.sidebarFullWidthSm, sidebarFullWidth === 'sm'), _defineProperty({}, classes.sidebarFullWidthMd, sidebarFullWidth === 'md')) },\r\n React.createElement(\r\n 'div',\r\n { className: cn(_defineProperty({}, classes.stickySidebar, position === 'sticky')) },\r\n sidebar\r\n )\r\n ),\r\n position === 'fixed' && React.createElement('section', { className: cn(classes.sidebar, classes.hiddenSidebar), ref: hiddenSidebarRef })\r\n );\r\n});\r\n\r\nFixedSidebarLayout.muiName = 'FixedSidebarLayout';\r\n\r\nFixedSidebarLayout.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The content of the main section of the layout\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * The contents of the sidebar\r\n */\r\n sidebar: PropTypes.node.isRequired,\r\n /**\r\n * By default `top` is automatically calculated.\r\n * Use this prop to override or adjust the `top` as per your need.\r\n * Use CSS units like `rem` or `px`.\r\n */\r\n sidebarTop: PropTypes.string,\r\n /**\r\n * Sets how an element is positioned in a document.\r\n * * `fixed`: Assumes the same position as \"fixed\" on initial display.\r\n * * `sticky`: Scroll with its contents until it reaches the absolute coordinates specified by `sidebarTop` (or the very top of the page, is `sidebarTop` is not specified)\r\n */\r\n position: PropTypes.oneOf(['sticky', 'fixed']),\r\n /**\r\n * Use this prop to span the sidebar to span full width (12 columns) on small (sm) or medium (md) devices or screens.\r\n *\r\n * **NOTE:** On extra small (xs) devices, sidebar will always be full width.\r\n */\r\n sidebarFullWidth: PropTypes.oneOf(['sm', 'md']),\r\n /**\r\n * To control `FixedSidebarLayout` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Dialog` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\r\n })\r\n};\r\n\r\nFixedSidebarLayout.defaultProps = {\r\n sidebarFullWidth: 'sm',\r\n position: 'fixed',\r\n spacingOptions: {\r\n outerSpacing: false\r\n }\r\n};\r\n\r\nexport default FixedSidebarLayout;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar TreeViewContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n TreeViewContext.displayName = 'TreeViewContext';\n}\n\nexport default TreeViewContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport TreeViewContext from './TreeViewContext';\nimport { withStyles } from '@material-ui/core/styles';\nimport { useControlled } from '@material-ui/core/utils';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n padding: 0,\n margin: 0,\n listStyle: 'none'\n }\n};\n\nfunction arrayDiff(arr1, arr2) {\n if (arr1.length !== arr2.length) return true;\n\n for (var i = 0; i < arr1.length; i += 1) {\n if (arr1[i] !== arr2[i]) return true;\n }\n\n return false;\n}\n\nvar findNextFirstChar = function findNextFirstChar(firstChars, startIndex, char) {\n for (var i = startIndex; i < firstChars.length; i += 1) {\n if (char === firstChars[i]) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar defaultExpandedDefault = [];\nvar defaultSelectedDefault = [];\nvar TreeView = React.forwardRef(function TreeView(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n defaultCollapseIcon = props.defaultCollapseIcon,\n defaultEndIcon = props.defaultEndIcon,\n _props$defaultExpande = props.defaultExpanded,\n defaultExpanded = _props$defaultExpande === void 0 ? defaultExpandedDefault : _props$defaultExpande,\n defaultExpandIcon = props.defaultExpandIcon,\n defaultParentIcon = props.defaultParentIcon,\n _props$defaultSelecte = props.defaultSelected,\n defaultSelected = _props$defaultSelecte === void 0 ? defaultSelectedDefault : _props$defaultSelecte,\n _props$disableSelecti = props.disableSelection,\n disableSelection = _props$disableSelecti === void 0 ? false : _props$disableSelecti,\n _props$multiSelect = props.multiSelect,\n multiSelect = _props$multiSelect === void 0 ? false : _props$multiSelect,\n expandedProp = props.expanded,\n onNodeSelect = props.onNodeSelect,\n onNodeToggle = props.onNodeToggle,\n selectedProp = props.selected,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"defaultCollapseIcon\", \"defaultEndIcon\", \"defaultExpanded\", \"defaultExpandIcon\", \"defaultParentIcon\", \"defaultSelected\", \"disableSelection\", \"multiSelect\", \"expanded\", \"onNodeSelect\", \"onNodeToggle\", \"selected\"]);\n\n var _React$useState = React.useState(null),\n tabbable = _React$useState[0],\n setTabbable = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n\n var nodeMap = React.useRef({});\n var firstCharMap = React.useRef({});\n var visibleNodes = React.useRef([]);\n\n var _useControlled = useControlled({\n controlled: expandedProp,\n default: defaultExpanded,\n name: 'TreeView'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n expanded = _useControlled2[0],\n setExpandedState = _useControlled2[1];\n\n var _useControlled3 = useControlled({\n controlled: selectedProp,\n default: defaultSelected,\n name: 'TreeView'\n }),\n _useControlled4 = _slicedToArray(_useControlled3, 2),\n selected = _useControlled4[0],\n setSelectedState = _useControlled4[1];\n /*\n * Status Helpers\n */\n\n\n var isExpanded = React.useCallback(function (id) {\n return Array.isArray(expanded) ? expanded.indexOf(id) !== -1 : false;\n }, [expanded]);\n var isSelected = React.useCallback(function (id) {\n return Array.isArray(selected) ? selected.indexOf(id) !== -1 : selected === id;\n }, [selected]);\n\n var isTabbable = function isTabbable(id) {\n return tabbable === id;\n };\n\n var isFocused = function isFocused(id) {\n return focused === id;\n };\n /*\n * Node Helpers\n */\n\n\n var getNextNode = function getNextNode(id) {\n var nodeIndex = visibleNodes.current.indexOf(id);\n\n if (nodeIndex !== -1 && nodeIndex + 1 < visibleNodes.current.length) {\n return visibleNodes.current[nodeIndex + 1];\n }\n\n return null;\n };\n\n var getPreviousNode = function getPreviousNode(id) {\n var nodeIndex = visibleNodes.current.indexOf(id);\n\n if (nodeIndex !== -1 && nodeIndex - 1 >= 0) {\n return visibleNodes.current[nodeIndex - 1];\n }\n\n return null;\n };\n\n var getLastNode = function getLastNode() {\n return visibleNodes.current[visibleNodes.current.length - 1];\n };\n\n var getFirstNode = function getFirstNode() {\n return visibleNodes.current[0];\n };\n\n var getParent = function getParent(id) {\n return nodeMap.current[id].parent;\n };\n\n var getNodesInRange = function getNodesInRange(a, b) {\n var aIndex = visibleNodes.current.indexOf(a);\n var bIndex = visibleNodes.current.indexOf(b);\n var start = Math.min(aIndex, bIndex);\n var end = Math.max(aIndex, bIndex);\n return visibleNodes.current.slice(start, end + 1);\n };\n /*\n * Focus Helpers\n */\n\n\n var focus = function focus(id) {\n if (id) {\n setTabbable(id);\n setFocused(id);\n }\n };\n\n var focusNextNode = function focusNextNode(id) {\n return focus(getNextNode(id));\n };\n\n var focusPreviousNode = function focusPreviousNode(id) {\n return focus(getPreviousNode(id));\n };\n\n var focusFirstNode = function focusFirstNode() {\n return focus(getFirstNode());\n };\n\n var focusLastNode = function focusLastNode() {\n return focus(getLastNode());\n };\n\n var focusByFirstCharacter = function focusByFirstCharacter(id, char) {\n var start;\n var index;\n var lowercaseChar = char.toLowerCase();\n var firstCharIds = [];\n var firstChars = []; // This really only works since the ids are strings\n\n Object.keys(firstCharMap.current).forEach(function (nodeId) {\n var firstChar = firstCharMap.current[nodeId];\n var map = nodeMap.current[nodeId];\n var visible = map.parent ? isExpanded(map.parent) : true;\n\n if (visible) {\n firstCharIds.push(nodeId);\n firstChars.push(firstChar);\n }\n }); // Get start index for search based on position of currentItem\n\n start = firstCharIds.indexOf(id) + 1;\n\n if (start === nodeMap.current.length) {\n start = 0;\n } // Check remaining slots in the menu\n\n\n index = findNextFirstChar(firstChars, start, lowercaseChar); // If not found in remaining slots, check from beginning\n\n if (index === -1) {\n index = findNextFirstChar(firstChars, 0, lowercaseChar);\n } // If match was found...\n\n\n if (index > -1) {\n focus(firstCharIds[index]);\n }\n };\n /*\n * Expansion Helpers\n */\n\n\n var toggleExpansion = function toggleExpansion(event) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : focused;\n var newExpanded;\n\n if (expanded.indexOf(value) !== -1) {\n newExpanded = expanded.filter(function (id) {\n return id !== value;\n });\n setTabbable(function (oldTabbable) {\n var map = nodeMap.current[oldTabbable];\n\n if (oldTabbable && (map && map.parent ? map.parent.id : null) === value) {\n return value;\n }\n\n return oldTabbable;\n });\n } else {\n newExpanded = [value].concat(_toConsumableArray(expanded));\n }\n\n if (onNodeToggle) {\n onNodeToggle(event, newExpanded);\n }\n\n setExpandedState(newExpanded);\n };\n\n var expandAllSiblings = function expandAllSiblings(event, id) {\n var map = nodeMap.current[id];\n var parent = nodeMap.current[map.parent];\n var diff;\n\n if (parent) {\n diff = parent.children.filter(function (child) {\n return !isExpanded(child);\n });\n } else {\n var topLevelNodes = nodeMap.current[-1].children;\n diff = topLevelNodes.filter(function (node) {\n return !isExpanded(node);\n });\n }\n\n var newExpanded = [].concat(_toConsumableArray(expanded), _toConsumableArray(diff));\n setExpandedState(newExpanded);\n\n if (onNodeToggle) {\n onNodeToggle(event, newExpanded);\n }\n };\n /*\n * Selection Helpers\n */\n\n\n var lastSelectedNode = React.useRef(null);\n var lastSelectionWasRange = React.useRef(false);\n var currentRangeSelection = React.useRef([]);\n\n var handleRangeArrowSelect = function handleRangeArrowSelect(event, nodes) {\n var base = selected;\n var start = nodes.start,\n next = nodes.next,\n current = nodes.current;\n\n if (!next || !current) {\n return;\n }\n\n if (currentRangeSelection.current.indexOf(current) === -1) {\n currentRangeSelection.current = [];\n }\n\n if (lastSelectionWasRange.current) {\n if (currentRangeSelection.current.indexOf(next) !== -1) {\n base = base.filter(function (id) {\n return id === start || id !== current;\n });\n currentRangeSelection.current = currentRangeSelection.current.filter(function (id) {\n return id === start || id !== current;\n });\n } else {\n base.push(next);\n currentRangeSelection.current.push(next);\n }\n } else {\n base.push(next);\n currentRangeSelection.current.push(current, next);\n }\n\n if (onNodeSelect) {\n onNodeSelect(event, base);\n }\n\n setSelectedState(base);\n };\n\n var handleRangeSelect = function handleRangeSelect(event, nodes) {\n var base = selected;\n var start = nodes.start,\n end = nodes.end; // If last selection was a range selection ignore nodes that were selected.\n\n if (lastSelectionWasRange.current) {\n base = selected.filter(function (id) {\n return currentRangeSelection.current.indexOf(id) === -1;\n });\n }\n\n var range = getNodesInRange(start, end);\n currentRangeSelection.current = range;\n var newSelected = base.concat(range);\n newSelected = newSelected.filter(function (id, i) {\n return newSelected.indexOf(id) === i;\n });\n\n if (onNodeSelect) {\n onNodeSelect(event, newSelected);\n }\n\n setSelectedState(newSelected);\n };\n\n var handleMultipleSelect = function handleMultipleSelect(event, value) {\n var newSelected = [];\n\n if (selected.indexOf(value) !== -1) {\n newSelected = selected.filter(function (id) {\n return id !== value;\n });\n } else {\n newSelected = [value].concat(_toConsumableArray(selected));\n }\n\n if (onNodeSelect) {\n onNodeSelect(event, newSelected);\n }\n\n setSelectedState(newSelected);\n };\n\n var handleSingleSelect = function handleSingleSelect(event, value) {\n var newSelected = multiSelect ? [value] : value;\n\n if (onNodeSelect) {\n onNodeSelect(event, newSelected);\n }\n\n setSelectedState(newSelected);\n };\n\n var selectNode = function selectNode(event, id) {\n var multiple = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n if (id) {\n if (multiple) {\n handleMultipleSelect(event, id);\n } else {\n handleSingleSelect(event, id);\n }\n\n lastSelectedNode.current = id;\n lastSelectionWasRange.current = false;\n currentRangeSelection.current = [];\n }\n };\n\n var selectRange = function selectRange(event, nodes) {\n var stacked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var _nodes$start = nodes.start,\n start = _nodes$start === void 0 ? lastSelectedNode.current : _nodes$start,\n end = nodes.end,\n current = nodes.current;\n\n if (stacked) {\n handleRangeArrowSelect(event, {\n start: start,\n next: end,\n current: current\n });\n } else {\n handleRangeSelect(event, {\n start: start,\n end: end\n });\n }\n\n lastSelectionWasRange.current = true;\n };\n\n var rangeSelectToFirst = function rangeSelectToFirst(event, id) {\n if (!lastSelectedNode.current) {\n lastSelectedNode.current = id;\n }\n\n var start = lastSelectionWasRange.current ? lastSelectedNode.current : id;\n selectRange(event, {\n start: start,\n end: getFirstNode()\n });\n };\n\n var rangeSelectToLast = function rangeSelectToLast(event, id) {\n if (!lastSelectedNode.current) {\n lastSelectedNode.current = id;\n }\n\n var start = lastSelectionWasRange.current ? lastSelectedNode.current : id;\n selectRange(event, {\n start: start,\n end: getLastNode()\n });\n };\n\n var selectNextNode = function selectNextNode(event, id) {\n return selectRange(event, {\n end: getNextNode(id),\n current: id\n }, true);\n };\n\n var selectPreviousNode = function selectPreviousNode(event, id) {\n return selectRange(event, {\n end: getPreviousNode(id),\n current: id\n }, true);\n };\n\n var selectAllNodes = function selectAllNodes(event) {\n return selectRange(event, {\n start: getFirstNode(),\n end: getLastNode()\n });\n };\n /*\n * Mapping Helpers\n */\n\n\n var addNodeToNodeMap = function addNodeToNodeMap(id, childrenIds) {\n var currentMap = nodeMap.current[id];\n nodeMap.current[id] = _extends({}, currentMap, {\n children: childrenIds,\n id: id\n });\n childrenIds.forEach(function (childId) {\n var currentChildMap = nodeMap.current[childId];\n nodeMap.current[childId] = _extends({}, currentChildMap, {\n parent: id,\n id: childId\n });\n });\n };\n\n var getNodesToRemove = React.useCallback(function (id) {\n var map = nodeMap.current[id];\n var nodes = [];\n\n if (map) {\n nodes.push(id);\n\n if (map.children) {\n nodes.push.apply(nodes, _toConsumableArray(map.children));\n map.children.forEach(function (node) {\n nodes.push.apply(nodes, _toConsumableArray(getNodesToRemove(node)));\n });\n }\n }\n\n return nodes;\n }, []);\n var removeNodeFromNodeMap = React.useCallback(function (id) {\n var nodes = getNodesToRemove(id);\n\n var newMap = _extends({}, nodeMap.current);\n\n nodes.forEach(function (node) {\n var map = newMap[node];\n\n if (map) {\n if (map.parent) {\n var parentMap = newMap[map.parent];\n\n if (parentMap && parentMap.children) {\n var parentChildren = parentMap.children.filter(function (c) {\n return c !== node;\n });\n newMap[map.parent] = _extends({}, parentMap, {\n children: parentChildren\n });\n }\n }\n\n delete newMap[node];\n }\n });\n nodeMap.current = newMap;\n }, [getNodesToRemove]);\n\n var mapFirstChar = function mapFirstChar(id, firstChar) {\n firstCharMap.current[id] = firstChar;\n };\n\n var prevChildIds = React.useRef([]);\n\n var _React$useState3 = React.useState(false),\n childrenCalculated = _React$useState3[0],\n setChildrenCalculated = _React$useState3[1];\n\n React.useEffect(function () {\n var childIds = [];\n React.Children.forEach(children, function (child) {\n if (React.isValidElement(child) && child.props.nodeId) {\n childIds.push(child.props.nodeId);\n }\n });\n\n if (arrayDiff(prevChildIds.current, childIds)) {\n nodeMap.current[-1] = {\n parent: null,\n children: childIds\n };\n childIds.forEach(function (id, index) {\n if (index === 0) {\n setTabbable(id);\n }\n\n nodeMap.current[id] = {\n parent: null\n };\n });\n visibleNodes.current = nodeMap.current[-1].children;\n prevChildIds.current = childIds;\n setChildrenCalculated(true);\n }\n }, [children]);\n React.useEffect(function () {\n var buildVisible = function buildVisible(nodes) {\n var list = [];\n\n for (var i = 0; i < nodes.length; i += 1) {\n var item = nodes[i];\n list.push(item);\n var childs = nodeMap.current[item].children;\n\n if (isExpanded(item) && childs) {\n list = list.concat(buildVisible(childs));\n }\n }\n\n return list;\n };\n\n if (childrenCalculated) {\n visibleNodes.current = buildVisible(nodeMap.current[-1].children);\n }\n }, [expanded, childrenCalculated, isExpanded]);\n return React.createElement(TreeViewContext.Provider, {\n value: {\n icons: {\n defaultCollapseIcon: defaultCollapseIcon,\n defaultExpandIcon: defaultExpandIcon,\n defaultParentIcon: defaultParentIcon,\n defaultEndIcon: defaultEndIcon\n },\n focus: focus,\n focusFirstNode: focusFirstNode,\n focusLastNode: focusLastNode,\n focusNextNode: focusNextNode,\n focusPreviousNode: focusPreviousNode,\n focusByFirstCharacter: focusByFirstCharacter,\n expandAllSiblings: expandAllSiblings,\n toggleExpansion: toggleExpansion,\n isExpanded: isExpanded,\n isFocused: isFocused,\n isSelected: isSelected,\n selectNode: selectNode,\n selectRange: selectRange,\n selectNextNode: selectNextNode,\n selectPreviousNode: selectPreviousNode,\n rangeSelectToFirst: rangeSelectToFirst,\n rangeSelectToLast: rangeSelectToLast,\n selectAllNodes: selectAllNodes,\n isTabbable: isTabbable,\n multiSelect: multiSelect,\n selectionDisabled: disableSelection,\n getParent: getParent,\n mapFirstChar: mapFirstChar,\n addNodeToNodeMap: addNodeToNodeMap,\n removeNodeFromNodeMap: removeNodeFromNodeMap\n }\n }, React.createElement(\"ul\", _extends({\n role: \"tree\",\n \"aria-multiselectable\": multiSelect,\n className: clsx(classes.root, className),\n ref: ref\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? TreeView.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The default icon used to collapse the node.\n */\n defaultCollapseIcon: PropTypes.node,\n\n /**\n * The default icon displayed next to a end node. This is applied to all\n * tree nodes and can be overridden by the TreeItem `icon` prop.\n */\n defaultEndIcon: PropTypes.node,\n\n /**\n * Expanded node ids. (Uncontrolled)\n */\n defaultExpanded: PropTypes.arrayOf(PropTypes.string),\n\n /**\n * The default icon used to expand the node.\n */\n defaultExpandIcon: PropTypes.node,\n\n /**\n * The default icon displayed next to a parent node. This is applied to all\n * parent nodes and can be overridden by the TreeItem `icon` prop.\n */\n defaultParentIcon: PropTypes.node,\n\n /**\n * Selected node ids. (Uncontrolled)\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\n */\n defaultSelected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string]),\n\n /**\n * If `true` selection is disabled.\n */\n disableSelection: PropTypes.bool,\n\n /**\n * Expanded node ids. (Controlled)\n */\n expanded: PropTypes.arrayOf(PropTypes.string),\n\n /**\n * If true `ctrl` and `shift` will trigger multiselect.\n */\n multiSelect: PropTypes.bool,\n\n /**\n * Callback fired when tree items are selected/unselected.\n *\n * @param {object} event The event source of the callback\n * @param {(array|string)} value of the selected nodes. When `multiSelect` is true\n * this is an array of strings; when false (default) a string.\n */\n onNodeSelect: PropTypes.func,\n\n /**\n * Callback fired when tree items are expanded/collapsed.\n *\n * @param {object} event The event source of the callback.\n * @param {array} nodeIds The ids of the expanded nodes.\n */\n onNodeToggle: PropTypes.func,\n\n /**\n * Selected node ids. (Controlled)\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\n */\n selected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTreeView'\n})(TreeView);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiTreeView } from '@material-ui/lab/TreeView';\r\n\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ChevronUpIcon from '@ellucian/ds-icons/lib/ChevronUp';\r\n\r\n// TreeView code @material-ui/lab@4.0.0-alpha.46:\r\n// https://github.com/mui-org/material-ui/blob/v4.9.6/packages/material-ui-lab/src/TreeView/TreeView.js\r\nfunction TreeView(props) {\r\n return React.createElement(MuiTreeView, Object.assign({\r\n defaultCollapseIcon: React.createElement(ChevronUpIcon, null),\r\n defaultExpandIcon: React.createElement(ChevronDownIcon, null)\r\n }, props));\r\n}\r\n\r\nTreeView.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The default icon used to collapse the node.\r\n */\r\n defaultCollapseIcon: PropTypes.node,\r\n /**\r\n * The default icon displayed next to a end node. This is applied to all\r\n * tree nodes and can be overridden by the TreeItem `icon` prop.\r\n */\r\n defaultEndIcon: PropTypes.node,\r\n /**\r\n * Expanded node ids. (Uncontrolled)\r\n */\r\n defaultExpanded: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * The default icon used to expand the node.\r\n */\r\n defaultExpandIcon: PropTypes.node,\r\n /**\r\n * The default icon displayed next to a parent node. This is applied to all\r\n * parent nodes and can be overridden by the TreeItem `icon` prop.\r\n */\r\n defaultParentIcon: PropTypes.node,\r\n /**\r\n * Selected node ids. (Uncontrolled)\r\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\r\n */\r\n defaultSelected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string]),\r\n /**\r\n * If `true` selection is disabled.\r\n */\r\n disableSelection: PropTypes.bool,\r\n /**\r\n * Expanded node ids. (Controlled)\r\n */\r\n expanded: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * If true `ctrl` and `shift` will trigger multiselect.\r\n */\r\n multiSelect: PropTypes.bool,\r\n /**\r\n * Callback fired when tree items are selected/unselected.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {(array|string)} value of the selected nodes. When `multiSelect` is true\r\n * this is an array of strings; when false (default) a string.\r\n */\r\n onNodeSelect: PropTypes.func,\r\n /**\r\n * Callback fired when tree items are expanded/collapsed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * @param {array} nodeIds The ids of the expanded nodes.\r\n */\r\n onNodeToggle: PropTypes.func,\r\n /**\r\n * Selected node ids. (Controlled)\r\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\r\n */\r\n selected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string])\r\n};\r\n\r\nTreeView.muiName = 'TreeView';\r\nTreeView.displayName = 'TreeView';\r\n\r\nexport default TreeView;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport Typography from '@material-ui/core/Typography';\nimport Collapse from '@material-ui/core/Collapse';\nimport { fade, withStyles, useTheme } from '@material-ui/core/styles';\nimport { useForkRef } from '@material-ui/core/utils';\nimport TreeViewContext from '../TreeView/TreeViewContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n listStyle: 'none',\n margin: 0,\n padding: 0,\n outline: 0,\n WebkitTapHighlightColor: 'transparent',\n '&:focus > $content $label': {\n backgroundColor: theme.palette.action.hover\n },\n '&$selected > $content $label': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.selectedOpacity)\n },\n '&$selected > $content $label:hover, &$selected:focus > $content $label': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Pseudo-class applied to the root element when expanded. */\n expanded: {},\n\n /* Pseudo-class applied to the root element when selected. */\n selected: {},\n\n /* Styles applied to the `role=\"group\"` element. */\n group: {\n margin: 0,\n padding: 0,\n marginLeft: 17\n },\n\n /* Styles applied to the tree node content. */\n content: {\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n cursor: 'pointer'\n },\n\n /* Styles applied to the tree node icon and collapse/expand icon. */\n iconContainer: {\n marginRight: 4,\n width: 15,\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n '& svg': {\n fontSize: 18\n }\n },\n\n /* Styles applied to the label element. */\n label: {\n width: '100%',\n paddingLeft: 4,\n position: 'relative',\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n };\n};\n\nvar isPrintableCharacter = function isPrintableCharacter(str) {\n return str && str.length === 1 && str.match(/\\S/);\n};\n\nvar TreeItem = React.forwardRef(function TreeItem(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n collapseIcon = props.collapseIcon,\n endIcon = props.endIcon,\n expandIcon = props.expandIcon,\n iconProp = props.icon,\n label = props.label,\n nodeId = props.nodeId,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onKeyDown = props.onKeyDown,\n onMouseDown = props.onMouseDown,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"collapseIcon\", \"endIcon\", \"expandIcon\", \"icon\", \"label\", \"nodeId\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onMouseDown\", \"TransitionComponent\", \"TransitionProps\"]);\n\n var _React$useContext = React.useContext(TreeViewContext),\n contextIcons = _React$useContext.icons,\n focus = _React$useContext.focus,\n focusFirstNode = _React$useContext.focusFirstNode,\n focusLastNode = _React$useContext.focusLastNode,\n focusNextNode = _React$useContext.focusNextNode,\n focusPreviousNode = _React$useContext.focusPreviousNode,\n focusByFirstCharacter = _React$useContext.focusByFirstCharacter,\n selectNode = _React$useContext.selectNode,\n selectRange = _React$useContext.selectRange,\n selectNextNode = _React$useContext.selectNextNode,\n selectPreviousNode = _React$useContext.selectPreviousNode,\n rangeSelectToFirst = _React$useContext.rangeSelectToFirst,\n rangeSelectToLast = _React$useContext.rangeSelectToLast,\n selectAllNodes = _React$useContext.selectAllNodes,\n expandAllSiblings = _React$useContext.expandAllSiblings,\n toggleExpansion = _React$useContext.toggleExpansion,\n isExpanded = _React$useContext.isExpanded,\n isFocused = _React$useContext.isFocused,\n isSelected = _React$useContext.isSelected,\n isTabbable = _React$useContext.isTabbable,\n multiSelect = _React$useContext.multiSelect,\n selectionDisabled = _React$useContext.selectionDisabled,\n getParent = _React$useContext.getParent,\n mapFirstChar = _React$useContext.mapFirstChar,\n addNodeToNodeMap = _React$useContext.addNodeToNodeMap,\n removeNodeFromNodeMap = _React$useContext.removeNodeFromNodeMap;\n\n var nodeRef = React.useRef(null);\n var contentRef = React.useRef(null);\n var handleRef = useForkRef(nodeRef, ref);\n var icon = iconProp;\n var expandable = Boolean(Array.isArray(children) ? children.length : children);\n var expanded = isExpanded ? isExpanded(nodeId) : false;\n var focused = isFocused ? isFocused(nodeId) : false;\n var tabbable = isTabbable ? isTabbable(nodeId) : false;\n var selected = isSelected ? isSelected(nodeId) : false;\n var icons = contextIcons || {};\n var theme = useTheme();\n\n if (!icon) {\n if (expandable) {\n if (!expanded) {\n icon = expandIcon || icons.defaultExpandIcon;\n } else {\n icon = collapseIcon || icons.defaultCollapseIcon;\n }\n\n if (!icon) {\n icon = icons.defaultParentIcon;\n }\n } else {\n icon = endIcon || icons.defaultEndIcon;\n }\n }\n\n var handleClick = function handleClick(event) {\n if (!focused) {\n focus(nodeId);\n }\n\n var multiple = multiSelect && (event.shiftKey || event.ctrlKey || event.metaKey); // If already expanded and trying to toggle selection don't close\n\n if (expandable && !(multiple && isExpanded(nodeId))) {\n toggleExpansion(event, nodeId);\n }\n\n if (!selectionDisabled) {\n if (multiple) {\n if (event.shiftKey) {\n selectRange(event, {\n end: nodeId\n });\n } else {\n selectNode(event, nodeId, true);\n }\n } else {\n selectNode(event, nodeId);\n }\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var handleMouseDown = function handleMouseDown(event) {\n if (event.shiftKey || event.ctrlKey || event.metaKey) {\n event.preventDefault();\n }\n\n if (onMouseDown) {\n onMouseDown(event);\n }\n };\n\n var printableCharacter = function printableCharacter(event, key) {\n if (isPrintableCharacter(key)) {\n focusByFirstCharacter(nodeId, key);\n return true;\n }\n\n return false;\n };\n\n var handleNextArrow = function handleNextArrow(event) {\n if (expandable) {\n if (expanded) {\n focusNextNode(nodeId);\n } else {\n toggleExpansion(event);\n }\n }\n\n return true;\n };\n\n var handlePreviousArrow = function handlePreviousArrow(event) {\n if (expanded) {\n toggleExpansion(event, nodeId);\n return true;\n }\n\n var parent = getParent(nodeId);\n\n if (parent) {\n focus(parent);\n return true;\n }\n\n return false;\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n var flag = false;\n var key = event.key;\n\n if (event.altKey || event.currentTarget !== event.target) {\n return;\n }\n\n var ctrlPressed = event.ctrlKey || event.metaKey;\n\n switch (key) {\n case ' ':\n if (nodeRef.current === event.currentTarget) {\n if (multiSelect && event.shiftKey) {\n selectRange(event, {\n end: nodeId\n });\n } else if (multiSelect) {\n selectNode(event, nodeId, true);\n } else {\n selectNode(event, nodeId);\n }\n\n flag = true;\n }\n\n event.stopPropagation();\n break;\n\n case 'Enter':\n if (nodeRef.current === event.currentTarget && expandable) {\n toggleExpansion(event);\n flag = true;\n }\n\n event.stopPropagation();\n break;\n\n case 'ArrowDown':\n if (multiSelect && event.shiftKey) {\n selectNextNode(event, nodeId);\n }\n\n focusNextNode(nodeId);\n flag = true;\n break;\n\n case 'ArrowUp':\n if (multiSelect && event.shiftKey) {\n selectPreviousNode(event, nodeId);\n }\n\n focusPreviousNode(nodeId);\n flag = true;\n break;\n\n case 'ArrowRight':\n if (theme.direction === 'rtl') {\n flag = handlePreviousArrow(event);\n } else {\n flag = handleNextArrow(event);\n }\n\n break;\n\n case 'ArrowLeft':\n if (theme.direction === 'rtl') {\n flag = handleNextArrow(event);\n } else {\n flag = handlePreviousArrow(event);\n }\n\n break;\n\n case 'Home':\n if (multiSelect && ctrlPressed && event.shiftKey) {\n rangeSelectToFirst(event, nodeId);\n }\n\n focusFirstNode();\n flag = true;\n break;\n\n case 'End':\n if (multiSelect && ctrlPressed && event.shiftKey) {\n rangeSelectToLast(event, nodeId);\n }\n\n focusLastNode();\n flag = true;\n break;\n\n default:\n if (key === '*') {\n expandAllSiblings(event, nodeId);\n flag = true;\n } else if (multiSelect && ctrlPressed && key.toLowerCase() === 'a') {\n selectAllNodes(event);\n flag = true;\n } else if (isPrintableCharacter(key)) {\n flag = printableCharacter(event, key);\n }\n\n }\n\n if (flag) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleFocus = function handleFocus(event) {\n if (!focused && tabbable) {\n focus(nodeId);\n }\n\n if (onFocus) {\n onFocus(event);\n }\n };\n\n React.useEffect(function () {\n var childIds = React.Children.map(children, function (child) {\n return child.props.nodeId;\n }) || [];\n\n if (addNodeToNodeMap) {\n addNodeToNodeMap(nodeId, childIds);\n }\n }, [children, nodeId, addNodeToNodeMap]);\n React.useEffect(function () {\n if (removeNodeFromNodeMap) {\n return function () {\n removeNodeFromNodeMap(nodeId);\n };\n }\n\n return undefined;\n }, [nodeId, removeNodeFromNodeMap]);\n React.useEffect(function () {\n if (mapFirstChar && label) {\n mapFirstChar(nodeId, contentRef.current.textContent.substring(0, 1).toLowerCase());\n }\n }, [mapFirstChar, nodeId, label]);\n React.useEffect(function () {\n if (focused) {\n nodeRef.current.focus();\n }\n }, [focused]);\n return React.createElement(\"li\", _extends({\n className: clsx(classes.root, className, expanded && classes.expanded, selected && classes.selected),\n role: \"treeitem\",\n onKeyDown: handleKeyDown,\n onFocus: handleFocus,\n \"aria-expanded\": expandable ? expanded : null,\n \"aria-selected\": !selectionDisabled && isSelected ? isSelected(nodeId) : undefined,\n ref: handleRef,\n tabIndex: tabbable ? 0 : -1\n }, other), React.createElement(\"div\", {\n className: classes.content,\n onClick: handleClick,\n onMouseDown: handleMouseDown,\n ref: contentRef\n }, React.createElement(\"div\", {\n className: classes.iconContainer\n }, icon), React.createElement(Typography, {\n component: \"div\",\n className: classes.label\n }, label)), children && React.createElement(TransitionComponent, _extends({\n unmountOnExit: true,\n className: classes.group,\n in: expanded,\n component: \"ul\",\n role: \"group\"\n }, TransitionProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? TreeItem.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The icon used to collapse the node.\n */\n collapseIcon: PropTypes.node,\n\n /**\n * The icon displayed next to a end node.\n */\n endIcon: PropTypes.node,\n\n /**\n * The icon used to expand the node.\n */\n expandIcon: PropTypes.node,\n\n /**\n * The icon to display next to the tree node's label.\n */\n icon: PropTypes.node,\n\n /**\n * The tree node label.\n */\n label: PropTypes.node,\n\n /**\n * The id of the node.\n */\n nodeId: PropTypes.string.isRequired,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTreeItem'\n})(TreeItem);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiTreeItem } from '@material-ui/lab/TreeItem';\r\n\r\nimport { default as withStyles } from '../../styles';\r\nimport { spacing20, spacing40 } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n '&:focus > $content $label': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.text.primary\r\n },\r\n '&$selected > $content $label': {\r\n backgroundColor: theme.palette.action.active,\r\n color: theme.palette.text.white\r\n },\r\n '&$selected > $content $label:hover, &$selected:focus > $content $label': {\r\n backgroundColor: theme.palette.action.hover,\r\n color: theme.palette.text.white\r\n }\r\n },\r\n expanded: {},\r\n selected: {},\r\n group: {},\r\n content: {},\r\n iconContainer: {\r\n marginLeft: spacing40,\r\n marginRight: spacing20\r\n },\r\n label: {\r\n padding: spacing20,\r\n paddingRight: spacing40,\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.text.primary\r\n }\r\n }\r\n };\r\n};\r\n\r\n// TreeItem code @material-ui/lab@4.0.0-alpha.46:\r\n// https://github.com/mui-org/material-ui/blob/v4.9.6/packages/material-ui-lab/src/TreeItem/TreeItem.js\r\nfunction TreeItem(props) {\r\n return React.createElement(MuiTreeItem, props);\r\n}\r\n\r\nTreeItem.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The icon used to collapse the node.\r\n */\r\n collapseIcon: PropTypes.node,\r\n /**\r\n * The icon displayed next to a end node.\r\n */\r\n endIcon: PropTypes.node,\r\n /**\r\n * The icon used to expand the node.\r\n */\r\n expandIcon: PropTypes.node,\r\n /**\r\n * The icon to display next to the tree node's label.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The tree node label.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * The id of the node.\r\n */\r\n nodeId: PropTypes.string.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onMouseDown: PropTypes.func,\r\n /**\r\n * The component used for the transition.\r\n */\r\n TransitionComponent: PropTypes.elementType,\r\n /**\r\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\r\n */\r\n TransitionProps: PropTypes.object\r\n};\r\n\r\nTreeItem.muiName = 'TreeItem';\r\nTreeItem.displayName = 'TreeItem';\r\n\r\nexport default withStyles(styles)(TreeItem);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport Paper from '../Paper';\r\nimport Typography from '../Typography';\r\nimport TreeView from './internal/TreeView';\r\nimport TreeItem from './internal/TreeItem';\r\n\r\nimport makeStyles from '../makeStyles';\r\nimport { borderWidthThin, spacing60 } from '../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n width: '100%',\r\n height: '100%'\r\n },\r\n sideMenuRoot: {\r\n borderRight: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n overflow: 'hidden',\r\n display: 'flex',\r\n flexDirection: 'column'\r\n },\r\n sideTitle: {\r\n padding: spacing60,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n },\r\n sideMenuTreeViewContainer: {\r\n overflow: 'auto',\r\n paddingBottom: spacing60\r\n },\r\n sideMenuTreeView: {},\r\n contentRoot: {\r\n padding: spacing60,\r\n width: '100%',\r\n height: '100%',\r\n overflowY: 'auto'\r\n }\r\n };\r\n});\r\n\r\n/**\r\n * A layout container that has a side menu and content area\r\n * @done false\r\n * @updated true\r\n * @versionAdded v5.1.0\r\n * @template true\r\n * @examples\r\n * MasterDetailExample\r\n */\r\nvar MasterDetail = React.forwardRef(function (props, ref) {\r\n var children = props.children,\r\n menu = props.menu,\r\n title = props.title,\r\n TitleTypographyProps = props.TitleTypographyProps,\r\n onNodeSelect = props.onNodeSelect,\r\n defaultExpanded = props.defaultExpanded,\r\n defaultSelected = props.defaultSelected,\r\n rest = _objectWithoutProperties(props, ['children', 'menu', 'title', 'TitleTypographyProps', 'onNodeSelect', 'defaultExpanded', 'defaultSelected']);\r\n\r\n var localClasses = useStyles();\r\n\r\n // Similar to this: https://material-ui.com/components/tree-view/#rich-object\r\n var generateMenu = function generateMenu() {\r\n var generateChildren = function generateChildren(items) {\r\n var treeItems = items.length > 0 && items.map(function (_ref) {\r\n var label = _ref.label,\r\n nodeId = _ref.nodeId,\r\n childrenProp = _ref.children,\r\n itemRest = _objectWithoutProperties(_ref, ['label', 'nodeId', 'children']);\r\n\r\n return React.createElement(\r\n TreeItem,\r\n Object.assign({ key: nodeId + '-' + label, label: label, nodeId: nodeId }, itemRest),\r\n childrenProp && generateChildren(childrenProp)\r\n );\r\n });\r\n return treeItems;\r\n };\r\n\r\n return React.createElement(\r\n TreeView,\r\n {\r\n onNodeSelect: onNodeSelect,\r\n className: localClasses.sideMenuTreeView,\r\n defaultExpanded: defaultExpanded,\r\n defaultSelected: defaultSelected\r\n },\r\n menu.map(function (child) {\r\n var label = child.label,\r\n nodeId = child.nodeId,\r\n childrenProp = child.children,\r\n childProps = _objectWithoutProperties(child, ['label', 'nodeId', 'children']);\r\n\r\n return React.createElement(\r\n TreeItem,\r\n Object.assign({ key: nodeId + '-' + label, label: label, nodeId: nodeId }, childProps),\r\n childrenProp && generateChildren(childrenProp)\r\n );\r\n })\r\n );\r\n };\r\n return React.createElement(\r\n Paper,\r\n Object.assign({ ref: ref, className: localClasses.root }, rest),\r\n React.createElement(\r\n 'div',\r\n { className: localClasses.sideMenuRoot },\r\n React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h2', className: localClasses.sideTitle }, TitleTypographyProps),\r\n title\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: localClasses.sideMenuTreeViewContainer },\r\n generateMenu()\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: localClasses.contentRoot },\r\n children\r\n )\r\n );\r\n});\r\n\r\nMasterDetail.muiName = 'MasterDetail';\r\n\r\nMasterDetail.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The content of the detail view.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * The title of the master view.\r\n */\r\n title: PropTypes.string,\r\n /**\r\n * Props applied to the `Typography` element of the `title` prop.\r\n */\r\n TitleTypographyProps: PropTypes.object,\r\n /**\r\n * The structure and content of the master tree.\r\n *\r\n * Accepts an array of objects, one for each node in the tree. Object format:\r\n *\r\n * * `label`: {string} (required) The node label.\r\n * * `nodeId`: {string} (required) The id of the node. Provided to `onNodeSelect` when the node is selected.\r\n * * `onClick`: {function} Callback that's invoked when the node is clicked.\r\n * * `children`: {array} The children of this node. Accepts an array with the same structure as the parent `menu`.\r\n */\r\n menu: PropTypes.array,\r\n /**\r\n * Callback fired when tree items are selected/unselected.\r\n *\r\n * `@param {object} event`: The event source of the callback\r\n *\r\n * `@param {string} value`: The `nodeId` of the selected node.\r\n */\r\n onNodeSelect: PropTypes.func,\r\n /**\r\n * The nodes that should be automatically expanded when the tree is rendered. Accepts an array of `nodeId`s.\r\n */\r\n defaultExpanded: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * The node that should be selected by default when the tree is rendered. Accepts a `nodeId`.\r\n */\r\n defaultSelected: PropTypes.string\r\n};\r\n\r\nexport default MasterDetail;","import { makeStyles } from '@material-ui/core/styles';\r\n\r\nexport default makeStyles;","import { withStyles as MuiWithStyles } from '@material-ui/core/styles';\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 1 for internal team use to\r\n * override the MUI base styles.\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 1 }, options);\r\n return MuiWithStyles(styles, defaultOptions);\r\n};\r\n\r\nexport default withStyles;","/* eslint-disable no-underscore-dangle */\r\n\r\n// note: this was taken, more or less verbatim, from MUI's generator script:\r\n// https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/createGenerateClassName.js\r\n\r\nimport { nanoid } from 'nanoid';\r\n\r\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g;\r\n\r\nfunction safePrefix(classNamePrefix) {\r\n var prefix = String(classNamePrefix);\r\n if (prefix.length >= 256) {\r\n console.warn('Material-UI: the class name prefix is too long: ' + prefix + '.');\r\n }\r\n // Sanitize the string as will be used to prefix the generated class name.\r\n return prefix.replace(escapeRegex, '-');\r\n}\r\n\r\n// Returns a function which generates unique class names based on counters.\r\n// When new generator function is created, rule counter is reset.\r\n// We need to reset the rule counter for SSR for each request.\r\n//\r\n// It's inspired by\r\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\r\nvar classGenerator = function createGenerateClassName() {\r\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n\r\n\r\n // the default length of nono-id ids is 21 characters, which guarantees uniqueness for\r\n // for 1 billion years, more or less; given our specific requirements (a transitory css id that\r\n // will only have to ensure that two sets of values need to be unique, 10 characters are enough;\r\n // they'll ensure that 17 years of uniqueness\r\n //\r\n // see this id collision caclulator for details - https://zelark.github.io/nano-id-cc/\r\n var _options$dangerouslyU = options.dangerouslyUseGlobalCSS,\r\n dangerouslyUseGlobalCSS = _options$dangerouslyU === undefined ? false : _options$dangerouslyU,\r\n _options$productionPr = options.productionPrefix,\r\n productionPrefix = _options$productionPr === undefined ? 'jss' : _options$productionPr,\r\n _options$seed = options.seed,\r\n seed = _options$seed === undefined ? nanoid(10) : _options$seed;\r\n\r\n var ruleCounter = 0;\r\n\r\n return function (rule, styleSheet) {\r\n\r\n // default name\r\n var name = rule.key + '-' + seed + ruleCounter;\r\n\r\n ruleCounter += 1;\r\n\r\n if (ruleCounter > 1e10) {\r\n console.warn(['Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));\r\n };\r\n\r\n // Code branch the whole block at the expense of more code.\r\n if (dangerouslyUseGlobalCSS) {\r\n\r\n if (styleSheet) {\r\n if (styleSheet.options.name) {\r\n name = styleSheet.options.name + '-' + rule.key;\r\n } else if (styleSheet.options.classNamePrefix && process.env.NODE_ENV !== 'production') {\r\n var prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n name = prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n } else if (styleSheet && styleSheet.options.classNamePrefix) {\r\n var _prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n\r\n name = _prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n\r\n return name;\r\n };\r\n};\r\n\r\nexport default classGenerator();","/* CTA taupe base color */\r\nexport var colorCtaTaupeBase = \"#72665B\";\r\n/* CTA blue tint color */\r\nexport var colorCtaBlueTint = \"#F2F8FC\";\r\n/* CTA iris active color */\r\nexport var colorCtaIrisActive = \"#3A3B87\";\r\n/* CTA green hover color */\r\nexport var colorCtaGreenHover = \"#046D44\";\r\n/* CTA plum active color */\r\nexport var colorCtaPlumActive = \"#502F5E\";\r\n/* CTA green base color */\r\nexport var colorCtaGreenBase = \"#00834F\";\r\n/* Brand Neutral 250 color */\r\nexport var colorBrandNeutral250 = \"#E9E9E9\";\r\n/* CTA taupe tint color */\r\nexport var colorCtaTaupeTint = \"#F8F7F7\";\r\n/* CTA taupe hover color */\r\nexport var colorCtaTaupeHover = \"#5F564E\";\r\n/* CTA blue active color */\r\nexport var colorCtaBlueActive = \"#0A4982\";\r\n/* Brand Neutral 100 color */\r\nexport var colorBrandNeutral100 = \"#FFFFFF\";\r\n/* Brand Neutral 200 color */\r\nexport var colorBrandNeutral200 = \"#F8F8F8\";\r\n/* Brand CTA hover color */\r\nexport var colorBrandCtaHover = \"#065AA5\";\r\n/* Brand Neutral 300 color */\r\nexport var colorBrandNeutral300 = \"#D9D9D9\";\r\n/* Brand secondary base color */\r\nexport var colorBrandSecondary = \"#51ABFF\";\r\n/* CTA iris base color */\r\nexport var colorCtaIrisBase = \"#5353D1\";\r\n/* Brand Neutral 400 color */\r\nexport var colorBrandNeutral400 = \"#B2B3B7\";\r\n/* CTA green tint color */\r\nexport var colorCtaGreenTint = \"#F2F9F6\";\r\n/* CTA plum base color */\r\nexport var colorCtaPlumBase = \"#783F8C\";\r\n/* Brand Neutral 500 color */\r\nexport var colorBrandNeutral500 = \"#5B5E65\";\r\n/* Brand CTA active color */\r\nexport var colorBrandCtaActive = \"#0A4982\";\r\n/* Brand Neutral 600 color */\r\nexport var colorBrandNeutral600 = \"#151618\";\r\n/* CTA blue hover color */\r\nexport var colorCtaBlueHover = \"#065AA5\";\r\n/* CTA taupe active color */\r\nexport var colorCtaTaupeActive = \"#4D4640\";\r\n/* CTA blue base color */\r\nexport var colorCtaBlueBase = \"#026BC8\";\r\n/* CTA iris tint color */\r\nexport var colorCtaIrisTint = \"#F6F6FD\";\r\n/* CTA plum hover color */\r\nexport var colorCtaPlumHover = \"#643775\";\r\n/* CTA plum tint color */\r\nexport var colorCtaPlumTint = \"#F8F5F9\";\r\n/* CTA green active color */\r\nexport var colorCtaGreenActive = \"#085739\";\r\n/* CTA iris hover color */\r\nexport var colorCtaIrisHover = \"#4747AC\";\r\n/* Brand CTA base color */\r\nexport var colorBrandCtaBase = \"#026BC8\";\r\n/* Brand primary base color */\r\nexport var colorBrandPrimary = \"#5353D1\";\r\nexport var fountain400 = \"#90C9FF\";\r\nexport var iris300 = \"#B0B0EA\";\r\nexport var fountain500 = \"#70BAFF\";\r\nexport var iris400 = \"#9191E2\";\r\nexport var kiwi100 = \"#F4FAEF\";\r\nexport var iris500 = \"#7272D9\";\r\nexport var kiwi200 = \"#E1F2D3\";\r\nexport var fountain600 = \"#51ABFF\";\r\nexport var kiwi300 = \"#CEEAB7\";\r\nexport var colorBackgroundHeaderBarItemSelected = \"#21226E\";\r\nexport var iris600 = \"#5353D1\";\r\nexport var kiwi400 = \"#BBE29B\";\r\nexport var tangerine100 = \"#FFF4EB\";\r\nexport var kiwi500 = \"#A8D97E\";\r\nexport var tangerine200 = \"#FFDFC8\";\r\n/* Fill color to be used behind white warning icon. */\r\nexport var colorFillAlertWarning = \"#EFC728\";\r\nexport var kiwi600 = \"#95D162\";\r\nexport var tangerine300 = \"#FFCAA4\";\r\nexport var tangerine400 = \"#FFB581\";\r\n/* Global divider color. */\r\nexport var colorBackgroundDivider = \"#B2B3B7\";\r\nexport var tangerine500 = \"#FFA15D\";\r\nexport var tangerine600 = \"#FF8C3A\";\r\nexport var colorFillLogoAlternativeText = \"#454647\";\r\n/* Fill color to be used behind white success icon. */\r\nexport var colorFillAlertSuccess = \"#00AF69\";\r\nexport var meadow100 = \"#E8F9F5\";\r\nexport var saffron100 = \"#FDF9EA\";\r\nexport var saffron200 = \"#FBEFC3\";\r\nexport var meadow200 = \"#BFEDE2\";\r\n/* Default background color that should be applied to all pages other than login and dashboard pages. */\r\nexport var colorBackgroundDefault = \"#F8F8F8\";\r\nexport var colorFillLogoPreferred = \"#FFFFFF\";\r\nexport var saffron300 = \"#F8E59C\";\r\nexport var meadow300 = \"#96E2CF\";\r\n/* Background color for warning alerts and notifications. */\r\nexport var colorBackgroundAlertWarning = \"#F5F2E7\";\r\nexport var saffron400 = \"#F5DB75\";\r\n/* Fill color to be used behind white neutral/information icon. */\r\nexport var colorFillAlertNeutral = \"#51ABFF\";\r\nexport var meadow400 = \"#6CD6BC\";\r\n/* Fill color to be used behind white error icon. */\r\nexport var colorFillAlertError = \"#D42828\";\r\nexport var saffron500 = \"#F2D14F\";\r\nexport var meadow500 = \"#43CBA9\";\r\nexport var saffron600 = \"#EFC728\";\r\nexport var meadow600 = \"#1ABF96\";\r\nexport var colorBackgroundHeaderBarItemHover = \"#2E2E93\";\r\nexport var purple100 = \"#F8EEF6\";\r\nexport var purple200 = \"#ECCCE6\";\r\n/* Background color for default alerts and notifications. */\r\nexport var colorBackgroundAlertDefault = \"#F8F8F8\";\r\nexport var purple300 = \"#DFAAD6\";\r\n/* Background color for success alerts and notifications. */\r\nexport var colorBackgroundAlertSuccess = \"#EAF7F2\";\r\nexport var purple400 = \"#D389C6\";\r\nexport var purple500 = \"#C667B6\";\r\nexport var purple600 = \"#BA46A6\";\r\nexport var colorFillLogoAlternativePowerButton = \"#5353D1\";\r\n/* Background color for neutral alerts and notifications. */\r\nexport var colorBackgroundAlertNeutral = \"#EFF7FF\";\r\nexport var fountain100 = \"#EFF7FF\";\r\n/* Background color for error alerts and notifications. */\r\nexport var colorBackgroundAlertError = \"#FFEEED\";\r\nexport var fountain200 = \"#CEE7FF\";\r\nexport var iris100 = \"#EEEEFA\";\r\nexport var fountain300 = \"#AFD8FF\";\r\nexport var iris200 = \"#CFCFF2\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThin = \"0.063rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThick = \"0.125rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThicker = \"0.1875rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThickest = \"0.25rem\";\r\n/* Global focus color for better accessibility. */\r\nexport var colorBorderGlobalFocus = \"#51ABFF\";\r\n/* Global error state border color. */\r\nexport var colorGlobalBorderError = \"#D42828\";\r\n/* Global default state border color. */\r\nexport var colorGlobalBorderDefault = \"#B2B3B7\";\r\n/* Global disabled state border color. */\r\nexport var colorGlobalBorderDisabled = \"#B2B3B7\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertSuccess = \"#00AF69\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertWarning = \"#EFC728\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertNeutral = \"#51ABFF\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertError = \"#D42828\";\r\n/* 0 second */\r\nexport var durationNone = \"0s\";\r\n/* .1 second */\r\nexport var durationFast = \".1s\";\r\n/* .15 seconds */\r\nexport var durationFastAlt = \".15s\";\r\n/* .3 seconds */\r\nexport var durationMedium = \".3s\";\r\n/* .5 seconds */\r\nexport var durationSlow = \".5s\";\r\nexport var fontFamilyDefault = \"'Noto Sans', Helvetica, Arial, sans-serif\";\r\nexport var fontFamilyHeader = \"'Roboto', Helvetica, Arial, sans-serif\";\r\nexport var fontFamilyCondensed = \"'Roboto Condensed', 'Impact', 'Franklin Gothic Bold', sans-serif\";\r\nexport var fontFamilyMonospace = \"'Courier New', Courier, monospace\";\r\n/* Large body text. */\r\nexport var fontSizeLarge = \"1rem\";\r\n/* h5 small font size. */\r\nexport var fontSizeHeader5Small = \"0.75rem\";\r\n/* h4 small font size. */\r\nexport var fontSizeHeader4Small = \"0.875rem\";\r\n/* h3 small font size. */\r\nexport var fontSizeHeader3Small = \"1rem\";\r\n/* Default body text. */\r\nexport var fontSizeDefault = \"0.875rem\";\r\n/* h2 small font size. */\r\nexport var fontSizeHeader2Small = \"1.375rem\";\r\n/* h1 small font size. */\r\nexport var fontSizeHeader1Small = \"1.75rem\";\r\n/* h1 font size. */\r\nexport var fontSizeHeader1 = \"2rem\";\r\n/* h2 font size. */\r\nexport var fontSizeHeader2 = \"1.5rem\";\r\n/* h3 font size. */\r\nexport var fontSizeHeader3 = \"1.125rem\";\r\n/* h4 font size. */\r\nexport var fontSizeHeader4 = \"1rem\";\r\n/* Small body text. */\r\nexport var fontSizeSmall = \"0.75rem\";\r\n/* h5 font size. */\r\nexport var fontSizeHeader5 = \"0.875rem\";\r\n/* h6 font size. */\r\nexport var fontSizeHeader6 = \"0.75rem\";\r\n/* Light font weight. */\r\nexport var fontWeightLight = 300;\r\n/* Normal or regular font weight. */\r\nexport var fontWeightNormal = 400;\r\n/* Bold font weight. */\r\nexport var fontWeightBold = 700;\r\n/* Minimum accessible line height value. */\r\nexport var lineHeightDefault = 1.5;\r\nexport var lineHeightParagraphLarge = \"1.375\";\r\nexport var lineHeightParagraphMedium = \"1.43\";\r\nexport var lineHeightHeader1 = \"1.17\";\r\nexport var lineHeightHeader2 = \"1.23\";\r\nexport var lineHeightHeader3 = \"1.33\";\r\nexport var lineHeightHeader4 = \"1.33\";\r\nexport var lineHeightParagraphSmall = \"1.5\";\r\nexport var lineHeightReset = \"1\";\r\nexport var lineHeightHeader2Small = \"1.25\";\r\n/* Screens smaller than 480px. */\r\nexport var mqXSmall = \"only screen and (min-width: 0px) and (max-width: 479px)\";\r\n/* Screens smaller than 768px. */\r\nexport var mqSmallDown = \"only screen and (min-width: 0px) and (max-width: 767px)\";\r\n/* Screens 480px or larger. */\r\nexport var mqSmall = \"only screen and (min-width: 480px)\";\r\n/* Screens smaller than 992px. */\r\nexport var mqMediumDown = \"only screen and (min-width: 0px) and (max-width: 991px)\";\r\n/* Screens 768px or larger. */\r\nexport var mqMedium = \"only screen and (min-width: 768px)\";\r\n/* Screens 992px or larger. */\r\nexport var mqLarge = \"only screen and (min-width: 992px)\";\r\n/* 20% of transparency of an element */\r\nexport var opacity2 = \"0.2\";\r\n/* 30% of transparency of an element */\r\nexport var opacity3 = \"0.3\";\r\n/* 40% of transparency of an element */\r\nexport var opacity4 = \"0.4\";\r\n/* 70% of transparency of an element */\r\nexport var opacity7 = \"0.7\";\r\n/* 80% of transparency of an element */\r\nexport var opacity8 = \"0.8\";\r\n/* Generic reset border radius for global use. */\r\nexport var borderRadiusReset = \"0\";\r\n/* Circle border radius for global use. */\r\nexport var borderRadiusCircle = \"50%\";\r\n/* Generic extra small border radius value. */\r\nexport var borderRadiusXSmall = \"0.125rem\";\r\n/* Generic small border radius value. */\r\nexport var borderRadiusSmall = \"0.25rem\";\r\n/* Generic medium border radius value. */\r\nexport var borderRadiusMedium = \"0.375rem\";\r\n/* Generic large border radius value. */\r\nexport var borderRadiusLarge = \"1rem\";\r\n/* Generic extra large border radius value. */\r\nexport var borderRadiusXLarge = \"6.25rem\";\r\nexport var boxShadowReset = \"none\";\r\n/* Focus state border, inset. */\r\nexport var boxShadowFocusInset = \"inset 0 0 0 0.125rem #51ABFF\";\r\n/* Focus state border, default outset. */\r\nexport var boxShadowFocus = \"0 0 0 0.125rem #51ABFF\";\r\n/* Error state border, outset. */\r\nexport var boxShadowError = \"0 0 0 0.063rem #D42828\";\r\nexport var sizingXLarge = \"2.5rem\";\r\n/* Height used to span the entire height of its children. */\r\nexport var heightFluid = \"100%\";\r\n/* Width used to span the entirety of its parent container. */\r\nexport var widthFluid = \"100%\";\r\nexport var sizingSmall = \"1rem\";\r\nexport var sizingXxSmall = \"0.25rem\";\r\n/* Height of small input fields. */\r\nexport var heightInputFieldsSmall = \"2.375rem\";\r\nexport var sizingXSmall = \"0.5rem\";\r\nexport var sizingMedium = \"1.5rem\";\r\nexport var sizingXxLarge1 = \"4rem\";\r\n/* Height of input fields. */\r\nexport var heightInputFields = \"3.375rem\";\r\nexport var sizingLarge = \"2rem\";\r\n/* Width of input fields that are not full width. */\r\nexport var widthInputFields = \"20.9375rem\";\r\nexport var sizingXxLarge = \"3rem\";\r\n/* Height of the HeaderBar component. */\r\nexport var heightHeaderBar = \"4rem\";\r\n/* */\r\nexport var spacing30 = \"0.5rem\";\r\n/* */\r\nexport var spacing20 = \"0.25rem\";\r\n/* */\r\nexport var spacing10 = \"0.125rem\";\r\n/* */\r\nexport var spacing90 = \"4.5rem\";\r\n/* */\r\nexport var spacing80 = \"3rem\";\r\n/* */\r\nexport var spacing70 = \"2.5rem\";\r\n/* Padding around TextField, DatePicker, and TimePicker component inputs. */\r\nexport var paddingTextField = \"1.375rem 1rem .625rem 1rem\";\r\n/* */\r\nexport var spacing60 = \"2rem\";\r\n/* */\r\nexport var spacing50 = \"1.5rem\";\r\n/* */\r\nexport var spacing40 = \"1rem\";\r\n/* */\r\nexport var spacingInsetShort20 = \"0.5rem 1rem\";\r\n/* */\r\nexport var spacingInsetTall60 = \"4.5rem 3rem\";\r\n/* */\r\nexport var spacingInsetShort10 = \"0.25rem 0.5rem\";\r\n/* */\r\nexport var spacingInsetTall50 = \"3rem 2rem\";\r\n/* */\r\nexport var spacingInsetTall40 = \"2.25rem 1.5rem\";\r\n/* */\r\nexport var spacingInsetTall30 = \"1.5rem 1rem\";\r\n/* */\r\nexport var spacingInsetTall20 = \"0.75rem 0.5rem\";\r\n/* */\r\nexport var spacingInsetTall10 = \"0.375rem 0.25rem\";\r\n/* */\r\nexport var spacingInset70 = \"4rem\";\r\n/* */\r\nexport var spacingInset60 = \"3rem\";\r\n/* */\r\nexport var spacingInset50 = \"2rem\";\r\n/* */\r\nexport var spacingInset40 = \"1.5rem\";\r\n/* */\r\nexport var spacingInset30 = \"1rem\";\r\n/* */\r\nexport var spacingInset20 = \"0.5rem\";\r\n/* */\r\nexport var spacingInset10 = \"0.25rem\";\r\n/* */\r\nexport var spacingInsetShort60 = \"2rem 3rem\";\r\n/* */\r\nexport var spacingInsetShort50 = \"1.25rem 2.5rem\";\r\n/* */\r\nexport var spacingInsetShort40 = \"1rem 2rem\";\r\n/* */\r\nexport var spacingInsetShort30 = \"0.75rem 1.5rem\";\r\n/* */\r\nexport var layout10 = \"1rem\";\r\n/* */\r\nexport var layout20 = \"1.5rem\";\r\n/* */\r\nexport var layout30 = \"2rem\";\r\n/* */\r\nexport var layout40 = \"3rem\";\r\n/* */\r\nexport var layout50 = \"4rem\";\r\n/* */\r\nexport var layout60 = \"6rem\";\r\n/* */\r\nexport var layout70 = \"7.5rem\";\r\nexport var colorTextSecondary = \"#5B5E65\";\r\nexport var colorTextDisabled = \"#5B5E65\";\r\n/* Text color for warning and draft notifications. */\r\nexport var colorTextAlertWarning = \"#8A6A00\";\r\nexport var colorTextPrimary = \"#151618\";\r\n/* Text color for default notifications. */\r\nexport var colorTextAlertDefault = \"#5B5E65\";\r\nexport var colorTextNeutral250 = \"#E9E9E9\";\r\n/* Text color for success notifications. */\r\nexport var colorTextAlertSuccess = \"#00804D\";\r\nexport var colorTextError = \"#D42828\";\r\nexport var colorTextNeutral100 = \"#FFFFFF\";\r\n/* Text color for hint, neutral and pending notifications. */\r\nexport var colorTextAlertNeutral = \"#2874BB\";\r\nexport var colorTextNeutral200 = \"#F8F8F8\";\r\n/* Text color for error and failure notifications. */\r\nexport var colorTextAlertError = \"#D42828\";\r\nexport var colorTextNeutral300 = \"#D9D9D9\";\r\nexport var colorTextNeutral400 = \"#B2B3B7\";\r\nexport var colorTextNeutral500 = \"#5B5E65\";\r\nexport var colorTextNeutral600 = \"#151618\";\r\nexport var zIndexDropdown = 1450;\r\nexport var zIndexMegaMenu = 1500;\r\nexport var zIndexDefault = 1;\r\nexport var zIndexDrawer = 1200;\r\nexport var zIndexAppBar = 1100;\r\nexport var zIndexTooltip = 1500;\r\nexport var zIndexInlineAlert = 1425;\r\nexport var zIndexActionMenu = 1450;\r\nexport var zIndexHeaderBar = 1500;\r\nexport var zIndexBackdrop = 1500;\r\nexport var zIndexSmall = 2;\r\nexport var zIndexDatePicker = 1050;\r\nexport var zIndexModal = 1500;\r\nexport var zIndexPageAlert = 1475;\r\nexport var zIndexMobileStepper = 1000;\r\nexport var zIndexSnackbar = 1600;\r\nexport var zIndexTextFieldLabel = 1;\r\nexport var zIndexHeaderBarDropdown = 1450;","import { withStyles as MuiWithStyles } from '@material-ui/core/styles';\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 2 for consuming teams to\r\n * override the EDS 2 base styles\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 2 }, options);\r\n return MuiWithStyles(styles, defaultOptions);\r\n};\r\n\r\nexport default withStyles;","import { useTheme } from '@material-ui/core/styles';\r\n\r\nexport default useTheme;","import useMediaQuery from '@material-ui/core/useMediaQuery';\r\n\r\nexport default useMediaQuery;","function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nimport useTheme from '../useTheme';\r\nimport useMediaQuery from '../useMediaQuery';\r\n\r\n/**\r\n * Be careful using this hook. It only works because the number of\r\n * breakpoints in theme is static. It will break once you change the number of\r\n * breakpoints. See https://reactjs.org/docs/hooks-rules.html#only-call-hooks-at-the-top-level\r\n * https://material-ui.com/components/use-media-query/#migrating-from-withwidth\r\n */\r\n\r\n/**\r\n * This method returns the size of the viewport on which an app is running.\r\n * Return value would be one of 'xs', 'sm', 'md', 'lg', 'xl'.\r\n */\r\nvar useWidth = function useWidth() {\r\n var theme = useTheme();\r\n var keys = [].concat(_toConsumableArray(theme.breakpoints.keys)).reverse();\r\n\r\n return keys.reduce(function (output, key) {\r\n // eslint-disable-next-line react-hooks/rules-of-hooks\r\n var matches = useMediaQuery(theme.breakpoints.up(key));\r\n return !output && matches ? key : output;\r\n }, null) || 'xs';\r\n};\r\n\r\nexport default useWidth;","import withWidth, { isWidthUp, isWidthDown } from '@material-ui/core/withWidth';\r\n\r\nexport default withWidth;\r\nexport { isWidthUp, isWidthDown };","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.i18n = undefined;\r\n\r\nvar _ar_SA = require('./ar_SA/ar_SA.json');\r\n\r\nvar _ar_SA2 = _interopRequireDefault(_ar_SA);\r\n\r\nvar _es = require('./es/es.json');\r\n\r\nvar _es2 = _interopRequireDefault(_es);\r\n\r\nvar _en_GB = require('./en_GB/en_GB.json');\r\n\r\nvar _en_GB2 = _interopRequireDefault(_en_GB);\r\n\r\nvar _en_AU = require('./en_AU/en_AU.json');\r\n\r\nvar _en_AU2 = _interopRequireDefault(_en_AU);\r\n\r\nvar _en_US = require('./en_US/en_US.json');\r\n\r\nvar _en_US2 = _interopRequireDefault(_en_US);\r\n\r\nvar _fr = require('./fr/fr.json');\r\n\r\nvar _fr2 = _interopRequireDefault(_fr);\r\n\r\nvar _fr_CA = require('./fr_CA/fr_CA.json');\r\n\r\nvar _fr_CA2 = _interopRequireDefault(_fr_CA);\r\n\r\nvar _pt = require('./pt/pt.json');\r\n\r\nvar _pt2 = _interopRequireDefault(_pt);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nvar i18n = exports.i18n = {\r\n ar_SA: Object.assign({}, _ar_SA2.default),\r\n en_US: Object.assign({}, _en_US2.default),\r\n en_GB: Object.assign({}, _en_GB2.default),\r\n en_AU: Object.assign({}, _en_AU2.default),\r\n es: Object.assign({}, _es2.default),\r\n fr: Object.assign({}, _fr2.default),\r\n fr_CA: Object.assign({}, _fr_CA2.default),\r\n pt: Object.assign({}, _pt2.default)\r\n};","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _nanoid = require('nanoid');\r\n\r\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g; /* eslint-disable no-underscore-dangle */\r\n\r\n// note: this was taken, more or less verbatim, from MUI's generator script:\r\n// https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/createGenerateClassName.js\r\n\r\nfunction safePrefix(classNamePrefix) {\r\n var prefix = String(classNamePrefix);\r\n if (prefix.length >= 256) {\r\n console.warn('Material-UI: the class name prefix is too long: ' + prefix + '.');\r\n }\r\n // Sanitize the string as will be used to prefix the generated class name.\r\n return prefix.replace(escapeRegex, '-');\r\n}\r\n\r\n// Returns a function which generates unique class names based on counters.\r\n// When new generator function is created, rule counter is reset.\r\n// We need to reset the rule counter for SSR for each request.\r\n//\r\n// It's inspired by\r\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\r\nvar classGenerator = function createGenerateClassName() {\r\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n\r\n\r\n // the default length of nono-id ids is 21 characters, which guarantees uniqueness for\r\n // for 1 billion years, more or less; given our specific requirements (a transitory css id that\r\n // will only have to ensure that two sets of values need to be unique, 10 characters are enough;\r\n // they'll ensure that 17 years of uniqueness\r\n //\r\n // see this id collision caclulator for details - https://zelark.github.io/nano-id-cc/\r\n var _options$dangerouslyU = options.dangerouslyUseGlobalCSS,\r\n dangerouslyUseGlobalCSS = _options$dangerouslyU === undefined ? false : _options$dangerouslyU,\r\n _options$productionPr = options.productionPrefix,\r\n productionPrefix = _options$productionPr === undefined ? 'jss' : _options$productionPr,\r\n _options$seed = options.seed,\r\n seed = _options$seed === undefined ? (0, _nanoid.nanoid)(10) : _options$seed;\r\n\r\n var ruleCounter = 0;\r\n\r\n return function (rule, styleSheet) {\r\n\r\n // default name\r\n var name = rule.key + '-' + seed + ruleCounter;\r\n\r\n ruleCounter += 1;\r\n\r\n if (ruleCounter > 1e10) {\r\n console.warn(['Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));\r\n };\r\n\r\n // Code branch the whole block at the expense of more code.\r\n if (dangerouslyUseGlobalCSS) {\r\n\r\n if (styleSheet) {\r\n if (styleSheet.options.name) {\r\n name = styleSheet.options.name + '-' + rule.key;\r\n } else if (styleSheet.options.classNamePrefix && process.env.NODE_ENV !== 'production') {\r\n var prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n name = prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n } else if (styleSheet && styleSheet.options.classNamePrefix) {\r\n var _prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n\r\n name = _prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n\r\n return name;\r\n };\r\n};\r\n\r\nexports.default = classGenerator();","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _withStylesInternal = require('./withStylesInternal');\r\n\r\nObject.defineProperty(exports, 'default', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_withStylesInternal).default;\r\n }\r\n});\r\n\r\nvar _withStyles = require('./withStyles');\r\n\r\nObject.defineProperty(exports, 'withStyles', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_withStyles).default;\r\n }\r\n});\r\n\r\nvar _classNameGenerator = require('./classNameGenerator');\r\n\r\nObject.defineProperty(exports, 'classNameGenerator', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_classNameGenerator).default;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n/* CTA taupe base color */\r\nvar colorCtaTaupeBase = exports.colorCtaTaupeBase = \"#72665B\";\r\n/* CTA blue tint color */\r\nvar colorCtaBlueTint = exports.colorCtaBlueTint = \"#F2F8FC\";\r\n/* CTA iris active color */\r\nvar colorCtaIrisActive = exports.colorCtaIrisActive = \"#3A3B87\";\r\n/* CTA green hover color */\r\nvar colorCtaGreenHover = exports.colorCtaGreenHover = \"#046D44\";\r\n/* CTA plum active color */\r\nvar colorCtaPlumActive = exports.colorCtaPlumActive = \"#502F5E\";\r\n/* CTA green base color */\r\nvar colorCtaGreenBase = exports.colorCtaGreenBase = \"#00834F\";\r\n/* Brand Neutral 250 color */\r\nvar colorBrandNeutral250 = exports.colorBrandNeutral250 = \"#E9E9E9\";\r\n/* CTA taupe tint color */\r\nvar colorCtaTaupeTint = exports.colorCtaTaupeTint = \"#F8F7F7\";\r\n/* CTA taupe hover color */\r\nvar colorCtaTaupeHover = exports.colorCtaTaupeHover = \"#5F564E\";\r\n/* CTA blue active color */\r\nvar colorCtaBlueActive = exports.colorCtaBlueActive = \"#0A4982\";\r\n/* Brand Neutral 100 color */\r\nvar colorBrandNeutral100 = exports.colorBrandNeutral100 = \"#FFFFFF\";\r\n/* Brand Neutral 200 color */\r\nvar colorBrandNeutral200 = exports.colorBrandNeutral200 = \"#F8F8F8\";\r\n/* Brand CTA hover color */\r\nvar colorBrandCtaHover = exports.colorBrandCtaHover = \"#065AA5\";\r\n/* Brand Neutral 300 color */\r\nvar colorBrandNeutral300 = exports.colorBrandNeutral300 = \"#D9D9D9\";\r\n/* Brand secondary base color */\r\nvar colorBrandSecondary = exports.colorBrandSecondary = \"#51ABFF\";\r\n/* CTA iris base color */\r\nvar colorCtaIrisBase = exports.colorCtaIrisBase = \"#5353D1\";\r\n/* Brand Neutral 400 color */\r\nvar colorBrandNeutral400 = exports.colorBrandNeutral400 = \"#B2B3B7\";\r\n/* CTA green tint color */\r\nvar colorCtaGreenTint = exports.colorCtaGreenTint = \"#F2F9F6\";\r\n/* CTA plum base color */\r\nvar colorCtaPlumBase = exports.colorCtaPlumBase = \"#783F8C\";\r\n/* Brand Neutral 500 color */\r\nvar colorBrandNeutral500 = exports.colorBrandNeutral500 = \"#5B5E65\";\r\n/* Brand CTA active color */\r\nvar colorBrandCtaActive = exports.colorBrandCtaActive = \"#0A4982\";\r\n/* Brand Neutral 600 color */\r\nvar colorBrandNeutral600 = exports.colorBrandNeutral600 = \"#151618\";\r\n/* CTA blue hover color */\r\nvar colorCtaBlueHover = exports.colorCtaBlueHover = \"#065AA5\";\r\n/* CTA taupe active color */\r\nvar colorCtaTaupeActive = exports.colorCtaTaupeActive = \"#4D4640\";\r\n/* CTA blue base color */\r\nvar colorCtaBlueBase = exports.colorCtaBlueBase = \"#026BC8\";\r\n/* CTA iris tint color */\r\nvar colorCtaIrisTint = exports.colorCtaIrisTint = \"#F6F6FD\";\r\n/* CTA plum hover color */\r\nvar colorCtaPlumHover = exports.colorCtaPlumHover = \"#643775\";\r\n/* CTA plum tint color */\r\nvar colorCtaPlumTint = exports.colorCtaPlumTint = \"#F8F5F9\";\r\n/* CTA green active color */\r\nvar colorCtaGreenActive = exports.colorCtaGreenActive = \"#085739\";\r\n/* CTA iris hover color */\r\nvar colorCtaIrisHover = exports.colorCtaIrisHover = \"#4747AC\";\r\n/* Brand CTA base color */\r\nvar colorBrandCtaBase = exports.colorBrandCtaBase = \"#026BC8\";\r\n/* Brand primary base color */\r\nvar colorBrandPrimary = exports.colorBrandPrimary = \"#5353D1\";\r\nvar fountain400 = exports.fountain400 = \"#90C9FF\";\r\nvar iris300 = exports.iris300 = \"#B0B0EA\";\r\nvar fountain500 = exports.fountain500 = \"#70BAFF\";\r\nvar iris400 = exports.iris400 = \"#9191E2\";\r\nvar kiwi100 = exports.kiwi100 = \"#F4FAEF\";\r\nvar iris500 = exports.iris500 = \"#7272D9\";\r\nvar kiwi200 = exports.kiwi200 = \"#E1F2D3\";\r\nvar fountain600 = exports.fountain600 = \"#51ABFF\";\r\nvar kiwi300 = exports.kiwi300 = \"#CEEAB7\";\r\nvar colorBackgroundHeaderBarItemSelected = exports.colorBackgroundHeaderBarItemSelected = \"#21226E\";\r\nvar iris600 = exports.iris600 = \"#5353D1\";\r\nvar kiwi400 = exports.kiwi400 = \"#BBE29B\";\r\nvar tangerine100 = exports.tangerine100 = \"#FFF4EB\";\r\nvar kiwi500 = exports.kiwi500 = \"#A8D97E\";\r\nvar tangerine200 = exports.tangerine200 = \"#FFDFC8\";\r\n/* Fill color to be used behind white warning icon. */\r\nvar colorFillAlertWarning = exports.colorFillAlertWarning = \"#EFC728\";\r\nvar kiwi600 = exports.kiwi600 = \"#95D162\";\r\nvar tangerine300 = exports.tangerine300 = \"#FFCAA4\";\r\nvar tangerine400 = exports.tangerine400 = \"#FFB581\";\r\n/* Global divider color. */\r\nvar colorBackgroundDivider = exports.colorBackgroundDivider = \"#B2B3B7\";\r\nvar tangerine500 = exports.tangerine500 = \"#FFA15D\";\r\nvar tangerine600 = exports.tangerine600 = \"#FF8C3A\";\r\nvar colorFillLogoAlternativeText = exports.colorFillLogoAlternativeText = \"#454647\";\r\n/* Fill color to be used behind white success icon. */\r\nvar colorFillAlertSuccess = exports.colorFillAlertSuccess = \"#00AF69\";\r\nvar meadow100 = exports.meadow100 = \"#E8F9F5\";\r\nvar saffron100 = exports.saffron100 = \"#FDF9EA\";\r\nvar saffron200 = exports.saffron200 = \"#FBEFC3\";\r\nvar meadow200 = exports.meadow200 = \"#BFEDE2\";\r\n/* Default background color that should be applied to all pages other than login and dashboard pages. */\r\nvar colorBackgroundDefault = exports.colorBackgroundDefault = \"#F8F8F8\";\r\nvar colorFillLogoPreferred = exports.colorFillLogoPreferred = \"#FFFFFF\";\r\nvar saffron300 = exports.saffron300 = \"#F8E59C\";\r\nvar meadow300 = exports.meadow300 = \"#96E2CF\";\r\n/* Background color for warning alerts and notifications. */\r\nvar colorBackgroundAlertWarning = exports.colorBackgroundAlertWarning = \"#F5F2E7\";\r\nvar saffron400 = exports.saffron400 = \"#F5DB75\";\r\n/* Fill color to be used behind white neutral/information icon. */\r\nvar colorFillAlertNeutral = exports.colorFillAlertNeutral = \"#51ABFF\";\r\nvar meadow400 = exports.meadow400 = \"#6CD6BC\";\r\n/* Fill color to be used behind white error icon. */\r\nvar colorFillAlertError = exports.colorFillAlertError = \"#D42828\";\r\nvar saffron500 = exports.saffron500 = \"#F2D14F\";\r\nvar meadow500 = exports.meadow500 = \"#43CBA9\";\r\nvar saffron600 = exports.saffron600 = \"#EFC728\";\r\nvar meadow600 = exports.meadow600 = \"#1ABF96\";\r\nvar colorBackgroundHeaderBarItemHover = exports.colorBackgroundHeaderBarItemHover = \"#2E2E93\";\r\nvar purple100 = exports.purple100 = \"#F8EEF6\";\r\nvar purple200 = exports.purple200 = \"#ECCCE6\";\r\n/* Background color for default alerts and notifications. */\r\nvar colorBackgroundAlertDefault = exports.colorBackgroundAlertDefault = \"#F8F8F8\";\r\nvar purple300 = exports.purple300 = \"#DFAAD6\";\r\n/* Background color for success alerts and notifications. */\r\nvar colorBackgroundAlertSuccess = exports.colorBackgroundAlertSuccess = \"#EAF7F2\";\r\nvar purple400 = exports.purple400 = \"#D389C6\";\r\nvar purple500 = exports.purple500 = \"#C667B6\";\r\nvar purple600 = exports.purple600 = \"#BA46A6\";\r\nvar colorFillLogoAlternativePowerButton = exports.colorFillLogoAlternativePowerButton = \"#5353D1\";\r\n/* Background color for neutral alerts and notifications. */\r\nvar colorBackgroundAlertNeutral = exports.colorBackgroundAlertNeutral = \"#EFF7FF\";\r\nvar fountain100 = exports.fountain100 = \"#EFF7FF\";\r\n/* Background color for error alerts and notifications. */\r\nvar colorBackgroundAlertError = exports.colorBackgroundAlertError = \"#FFEEED\";\r\nvar fountain200 = exports.fountain200 = \"#CEE7FF\";\r\nvar iris100 = exports.iris100 = \"#EEEEFA\";\r\nvar fountain300 = exports.fountain300 = \"#AFD8FF\";\r\nvar iris200 = exports.iris200 = \"#CFCFF2\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThin = exports.borderWidthThin = \"0.063rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThick = exports.borderWidthThick = \"0.125rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThicker = exports.borderWidthThicker = \"0.1875rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThickest = exports.borderWidthThickest = \"0.25rem\";\r\n/* Global focus color for better accessibility. */\r\nvar colorBorderGlobalFocus = exports.colorBorderGlobalFocus = \"#51ABFF\";\r\n/* Global error state border color. */\r\nvar colorGlobalBorderError = exports.colorGlobalBorderError = \"#D42828\";\r\n/* Global default state border color. */\r\nvar colorGlobalBorderDefault = exports.colorGlobalBorderDefault = \"#B2B3B7\";\r\n/* Global disabled state border color. */\r\nvar colorGlobalBorderDisabled = exports.colorGlobalBorderDisabled = \"#B2B3B7\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertSuccess = exports.colorBorderAlertSuccess = \"#00AF69\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertWarning = exports.colorBorderAlertWarning = \"#EFC728\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertNeutral = exports.colorBorderAlertNeutral = \"#51ABFF\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertError = exports.colorBorderAlertError = \"#D42828\";\r\n/* 0 second */\r\nvar durationNone = exports.durationNone = \"0s\";\r\n/* .1 second */\r\nvar durationFast = exports.durationFast = \".1s\";\r\n/* .15 seconds */\r\nvar durationFastAlt = exports.durationFastAlt = \".15s\";\r\n/* .3 seconds */\r\nvar durationMedium = exports.durationMedium = \".3s\";\r\n/* .5 seconds */\r\nvar durationSlow = exports.durationSlow = \".5s\";\r\nvar fontFamilyDefault = exports.fontFamilyDefault = \"'Noto Sans', Helvetica, Arial, sans-serif\";\r\nvar fontFamilyHeader = exports.fontFamilyHeader = \"'Roboto', Helvetica, Arial, sans-serif\";\r\nvar fontFamilyCondensed = exports.fontFamilyCondensed = \"'Roboto Condensed', 'Impact', 'Franklin Gothic Bold', sans-serif\";\r\nvar fontFamilyMonospace = exports.fontFamilyMonospace = \"'Courier New', Courier, monospace\";\r\n/* Large body text. */\r\nvar fontSizeLarge = exports.fontSizeLarge = \"1rem\";\r\n/* h5 small font size. */\r\nvar fontSizeHeader5Small = exports.fontSizeHeader5Small = \"0.75rem\";\r\n/* h4 small font size. */\r\nvar fontSizeHeader4Small = exports.fontSizeHeader4Small = \"0.875rem\";\r\n/* h3 small font size. */\r\nvar fontSizeHeader3Small = exports.fontSizeHeader3Small = \"1rem\";\r\n/* Default body text. */\r\nvar fontSizeDefault = exports.fontSizeDefault = \"0.875rem\";\r\n/* h2 small font size. */\r\nvar fontSizeHeader2Small = exports.fontSizeHeader2Small = \"1.375rem\";\r\n/* h1 small font size. */\r\nvar fontSizeHeader1Small = exports.fontSizeHeader1Small = \"1.75rem\";\r\n/* h1 font size. */\r\nvar fontSizeHeader1 = exports.fontSizeHeader1 = \"2rem\";\r\n/* h2 font size. */\r\nvar fontSizeHeader2 = exports.fontSizeHeader2 = \"1.5rem\";\r\n/* h3 font size. */\r\nvar fontSizeHeader3 = exports.fontSizeHeader3 = \"1.125rem\";\r\n/* h4 font size. */\r\nvar fontSizeHeader4 = exports.fontSizeHeader4 = \"1rem\";\r\n/* Small body text. */\r\nvar fontSizeSmall = exports.fontSizeSmall = \"0.75rem\";\r\n/* h5 font size. */\r\nvar fontSizeHeader5 = exports.fontSizeHeader5 = \"0.875rem\";\r\n/* h6 font size. */\r\nvar fontSizeHeader6 = exports.fontSizeHeader6 = \"0.75rem\";\r\n/* Light font weight. */\r\nvar fontWeightLight = exports.fontWeightLight = 300;\r\n/* Normal or regular font weight. */\r\nvar fontWeightNormal = exports.fontWeightNormal = 400;\r\n/* Bold font weight. */\r\nvar fontWeightBold = exports.fontWeightBold = 700;\r\n/* Minimum accessible line height value. */\r\nvar lineHeightDefault = exports.lineHeightDefault = 1.5;\r\nvar lineHeightParagraphLarge = exports.lineHeightParagraphLarge = \"1.375\";\r\nvar lineHeightParagraphMedium = exports.lineHeightParagraphMedium = \"1.43\";\r\nvar lineHeightHeader1 = exports.lineHeightHeader1 = \"1.17\";\r\nvar lineHeightHeader2 = exports.lineHeightHeader2 = \"1.23\";\r\nvar lineHeightHeader3 = exports.lineHeightHeader3 = \"1.33\";\r\nvar lineHeightHeader4 = exports.lineHeightHeader4 = \"1.33\";\r\nvar lineHeightParagraphSmall = exports.lineHeightParagraphSmall = \"1.5\";\r\nvar lineHeightReset = exports.lineHeightReset = \"1\";\r\nvar lineHeightHeader2Small = exports.lineHeightHeader2Small = \"1.25\";\r\n/* Screens smaller than 480px. */\r\nvar mqXSmall = exports.mqXSmall = \"only screen and (min-width: 0px) and (max-width: 479px)\";\r\n/* Screens smaller than 768px. */\r\nvar mqSmallDown = exports.mqSmallDown = \"only screen and (min-width: 0px) and (max-width: 767px)\";\r\n/* Screens 480px or larger. */\r\nvar mqSmall = exports.mqSmall = \"only screen and (min-width: 480px)\";\r\n/* Screens smaller than 992px. */\r\nvar mqMediumDown = exports.mqMediumDown = \"only screen and (min-width: 0px) and (max-width: 991px)\";\r\n/* Screens 768px or larger. */\r\nvar mqMedium = exports.mqMedium = \"only screen and (min-width: 768px)\";\r\n/* Screens 992px or larger. */\r\nvar mqLarge = exports.mqLarge = \"only screen and (min-width: 992px)\";\r\n/* 20% of transparency of an element */\r\nvar opacity2 = exports.opacity2 = \"0.2\";\r\n/* 30% of transparency of an element */\r\nvar opacity3 = exports.opacity3 = \"0.3\";\r\n/* 40% of transparency of an element */\r\nvar opacity4 = exports.opacity4 = \"0.4\";\r\n/* 70% of transparency of an element */\r\nvar opacity7 = exports.opacity7 = \"0.7\";\r\n/* 80% of transparency of an element */\r\nvar opacity8 = exports.opacity8 = \"0.8\";\r\n/* Generic reset border radius for global use. */\r\nvar borderRadiusReset = exports.borderRadiusReset = \"0\";\r\n/* Circle border radius for global use. */\r\nvar borderRadiusCircle = exports.borderRadiusCircle = \"50%\";\r\n/* Generic extra small border radius value. */\r\nvar borderRadiusXSmall = exports.borderRadiusXSmall = \"0.125rem\";\r\n/* Generic small border radius value. */\r\nvar borderRadiusSmall = exports.borderRadiusSmall = \"0.25rem\";\r\n/* Generic medium border radius value. */\r\nvar borderRadiusMedium = exports.borderRadiusMedium = \"0.375rem\";\r\n/* Generic large border radius value. */\r\nvar borderRadiusLarge = exports.borderRadiusLarge = \"1rem\";\r\n/* Generic extra large border radius value. */\r\nvar borderRadiusXLarge = exports.borderRadiusXLarge = \"6.25rem\";\r\nvar boxShadowReset = exports.boxShadowReset = \"none\";\r\n/* Focus state border, inset. */\r\nvar boxShadowFocusInset = exports.boxShadowFocusInset = \"inset 0 0 0 0.125rem #51ABFF\";\r\n/* Focus state border, default outset. */\r\nvar boxShadowFocus = exports.boxShadowFocus = \"0 0 0 0.125rem #51ABFF\";\r\n/* Error state border, outset. */\r\nvar boxShadowError = exports.boxShadowError = \"0 0 0 0.063rem #D42828\";\r\nvar sizingXLarge = exports.sizingXLarge = \"2.5rem\";\r\n/* Height used to span the entire height of its children. */\r\nvar heightFluid = exports.heightFluid = \"100%\";\r\n/* Width used to span the entirety of its parent container. */\r\nvar widthFluid = exports.widthFluid = \"100%\";\r\nvar sizingSmall = exports.sizingSmall = \"1rem\";\r\nvar sizingXxSmall = exports.sizingXxSmall = \"0.25rem\";\r\n/* Height of small input fields. */\r\nvar heightInputFieldsSmall = exports.heightInputFieldsSmall = \"2.375rem\";\r\nvar sizingXSmall = exports.sizingXSmall = \"0.5rem\";\r\nvar sizingMedium = exports.sizingMedium = \"1.5rem\";\r\nvar sizingXxLarge1 = exports.sizingXxLarge1 = \"4rem\";\r\n/* Height of input fields. */\r\nvar heightInputFields = exports.heightInputFields = \"3.375rem\";\r\nvar sizingLarge = exports.sizingLarge = \"2rem\";\r\n/* Width of input fields that are not full width. */\r\nvar widthInputFields = exports.widthInputFields = \"20.9375rem\";\r\nvar sizingXxLarge = exports.sizingXxLarge = \"3rem\";\r\n/* Height of the HeaderBar component. */\r\nvar heightHeaderBar = exports.heightHeaderBar = \"4rem\";\r\n/* */\r\nvar spacing30 = exports.spacing30 = \"0.5rem\";\r\n/* */\r\nvar spacing20 = exports.spacing20 = \"0.25rem\";\r\n/* */\r\nvar spacing10 = exports.spacing10 = \"0.125rem\";\r\n/* */\r\nvar spacing90 = exports.spacing90 = \"4.5rem\";\r\n/* */\r\nvar spacing80 = exports.spacing80 = \"3rem\";\r\n/* */\r\nvar spacing70 = exports.spacing70 = \"2.5rem\";\r\n/* Padding around TextField, DatePicker, and TimePicker component inputs. */\r\nvar paddingTextField = exports.paddingTextField = \"1.375rem 1rem .625rem 1rem\";\r\n/* */\r\nvar spacing60 = exports.spacing60 = \"2rem\";\r\n/* */\r\nvar spacing50 = exports.spacing50 = \"1.5rem\";\r\n/* */\r\nvar spacing40 = exports.spacing40 = \"1rem\";\r\n/* */\r\nvar spacingInsetShort20 = exports.spacingInsetShort20 = \"0.5rem 1rem\";\r\n/* */\r\nvar spacingInsetTall60 = exports.spacingInsetTall60 = \"4.5rem 3rem\";\r\n/* */\r\nvar spacingInsetShort10 = exports.spacingInsetShort10 = \"0.25rem 0.5rem\";\r\n/* */\r\nvar spacingInsetTall50 = exports.spacingInsetTall50 = \"3rem 2rem\";\r\n/* */\r\nvar spacingInsetTall40 = exports.spacingInsetTall40 = \"2.25rem 1.5rem\";\r\n/* */\r\nvar spacingInsetTall30 = exports.spacingInsetTall30 = \"1.5rem 1rem\";\r\n/* */\r\nvar spacingInsetTall20 = exports.spacingInsetTall20 = \"0.75rem 0.5rem\";\r\n/* */\r\nvar spacingInsetTall10 = exports.spacingInsetTall10 = \"0.375rem 0.25rem\";\r\n/* */\r\nvar spacingInset70 = exports.spacingInset70 = \"4rem\";\r\n/* */\r\nvar spacingInset60 = exports.spacingInset60 = \"3rem\";\r\n/* */\r\nvar spacingInset50 = exports.spacingInset50 = \"2rem\";\r\n/* */\r\nvar spacingInset40 = exports.spacingInset40 = \"1.5rem\";\r\n/* */\r\nvar spacingInset30 = exports.spacingInset30 = \"1rem\";\r\n/* */\r\nvar spacingInset20 = exports.spacingInset20 = \"0.5rem\";\r\n/* */\r\nvar spacingInset10 = exports.spacingInset10 = \"0.25rem\";\r\n/* */\r\nvar spacingInsetShort60 = exports.spacingInsetShort60 = \"2rem 3rem\";\r\n/* */\r\nvar spacingInsetShort50 = exports.spacingInsetShort50 = \"1.25rem 2.5rem\";\r\n/* */\r\nvar spacingInsetShort40 = exports.spacingInsetShort40 = \"1rem 2rem\";\r\n/* */\r\nvar spacingInsetShort30 = exports.spacingInsetShort30 = \"0.75rem 1.5rem\";\r\n/* */\r\nvar layout10 = exports.layout10 = \"1rem\";\r\n/* */\r\nvar layout20 = exports.layout20 = \"1.5rem\";\r\n/* */\r\nvar layout30 = exports.layout30 = \"2rem\";\r\n/* */\r\nvar layout40 = exports.layout40 = \"3rem\";\r\n/* */\r\nvar layout50 = exports.layout50 = \"4rem\";\r\n/* */\r\nvar layout60 = exports.layout60 = \"6rem\";\r\n/* */\r\nvar layout70 = exports.layout70 = \"7.5rem\";\r\nvar colorTextSecondary = exports.colorTextSecondary = \"#5B5E65\";\r\nvar colorTextDisabled = exports.colorTextDisabled = \"#5B5E65\";\r\n/* Text color for warning and draft notifications. */\r\nvar colorTextAlertWarning = exports.colorTextAlertWarning = \"#8A6A00\";\r\nvar colorTextPrimary = exports.colorTextPrimary = \"#151618\";\r\n/* Text color for default notifications. */\r\nvar colorTextAlertDefault = exports.colorTextAlertDefault = \"#5B5E65\";\r\nvar colorTextNeutral250 = exports.colorTextNeutral250 = \"#E9E9E9\";\r\n/* Text color for success notifications. */\r\nvar colorTextAlertSuccess = exports.colorTextAlertSuccess = \"#00804D\";\r\nvar colorTextError = exports.colorTextError = \"#D42828\";\r\nvar colorTextNeutral100 = exports.colorTextNeutral100 = \"#FFFFFF\";\r\n/* Text color for hint, neutral and pending notifications. */\r\nvar colorTextAlertNeutral = exports.colorTextAlertNeutral = \"#2874BB\";\r\nvar colorTextNeutral200 = exports.colorTextNeutral200 = \"#F8F8F8\";\r\n/* Text color for error and failure notifications. */\r\nvar colorTextAlertError = exports.colorTextAlertError = \"#D42828\";\r\nvar colorTextNeutral300 = exports.colorTextNeutral300 = \"#D9D9D9\";\r\nvar colorTextNeutral400 = exports.colorTextNeutral400 = \"#B2B3B7\";\r\nvar colorTextNeutral500 = exports.colorTextNeutral500 = \"#5B5E65\";\r\nvar colorTextNeutral600 = exports.colorTextNeutral600 = \"#151618\";\r\nvar zIndexDropdown = exports.zIndexDropdown = 1450;\r\nvar zIndexMegaMenu = exports.zIndexMegaMenu = 1500;\r\nvar zIndexDefault = exports.zIndexDefault = 1;\r\nvar zIndexDrawer = exports.zIndexDrawer = 1200;\r\nvar zIndexAppBar = exports.zIndexAppBar = 1100;\r\nvar zIndexTooltip = exports.zIndexTooltip = 1500;\r\nvar zIndexInlineAlert = exports.zIndexInlineAlert = 1425;\r\nvar zIndexActionMenu = exports.zIndexActionMenu = 1450;\r\nvar zIndexHeaderBar = exports.zIndexHeaderBar = 1500;\r\nvar zIndexBackdrop = exports.zIndexBackdrop = 1500;\r\nvar zIndexSmall = exports.zIndexSmall = 2;\r\nvar zIndexDatePicker = exports.zIndexDatePicker = 1050;\r\nvar zIndexModal = exports.zIndexModal = 1500;\r\nvar zIndexPageAlert = exports.zIndexPageAlert = 1475;\r\nvar zIndexMobileStepper = exports.zIndexMobileStepper = 1000;\r\nvar zIndexSnackbar = exports.zIndexSnackbar = 1600;\r\nvar zIndexTextFieldLabel = exports.zIndexTextFieldLabel = 1;\r\nvar zIndexHeaderBarDropdown = exports.zIndexHeaderBarDropdown = 1450;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 2 for consuming teams to\r\n * override the EDS 2 base styles\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 2 }, options);\r\n return (0, _styles.withStyles)(styles, defaultOptions);\r\n};\r\n\r\nexports.default = withStyles;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 1 for internal team use to\r\n * override the MUI base styles.\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 1 }, options);\r\n return (0, _styles.withStyles)(styles, defaultOptions);\r\n};\r\n\r\nexports.default = withStyles;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _tokens = require('@ellucian/react-design-system/core/styles/tokens');\r\n\r\nvar palette = {\r\n // Iris\r\n primary: {\r\n main: _tokens.colorBrandPrimary,\r\n contrastText: _tokens.colorTextNeutral100\r\n },\r\n // Fountain\r\n secondary: {\r\n main: _tokens.colorBrandSecondary,\r\n contrastText: _tokens.colorTextNeutral100\r\n },\r\n // CTA Blue\r\n ctaColor: {\r\n base: _tokens.colorCtaBlueBase,\r\n hover: _tokens.colorCtaBlueHover,\r\n active: _tokens.colorCtaBlueActive,\r\n tint: _tokens.colorCtaBlueTint\r\n },\r\n // Disabled\r\n disabled: {\r\n background: _tokens.colorBrandNeutral400\r\n },\r\n // Global Focus\r\n focus: _tokens.colorBorderGlobalFocus,\r\n // Status: Error, Warning, Pending, Success\r\n status: {\r\n default: {\r\n text: _tokens.colorTextAlertDefault,\r\n background: _tokens.colorBackgroundAlertDefault\r\n },\r\n error: {\r\n text: _tokens.colorTextAlertError,\r\n background: _tokens.colorBackgroundAlertError,\r\n fill: _tokens.colorFillAlertError\r\n },\r\n success: {\r\n text: _tokens.colorTextAlertSuccess,\r\n background: _tokens.colorBackgroundAlertSuccess,\r\n fill: _tokens.colorFillAlertSuccess\r\n },\r\n neutral: {\r\n text: _tokens.colorTextAlertNeutral,\r\n background: _tokens.colorBackgroundAlertNeutral,\r\n fill: _tokens.colorFillAlertNeutral\r\n },\r\n warning: {\r\n text: _tokens.colorTextAlertWarning,\r\n background: _tokens.colorBackgroundAlertWarning,\r\n fill: _tokens.colorFillAlertWarning\r\n }\r\n },\r\n common: {\r\n black: _tokens.colorBrandNeutral600,\r\n white: _tokens.colorBrandNeutral100\r\n },\r\n text: {\r\n primary: _tokens.colorTextPrimary,\r\n secondary: _tokens.colorTextSecondary,\r\n disabled: _tokens.colorTextDisabled,\r\n white: _tokens.colorTextNeutral100\r\n },\r\n background: {\r\n default: _tokens.colorBackgroundDefault\r\n },\r\n tertiary: {\r\n purple: {\r\n 100: '#F8EEF6',\r\n 200: '#ECCCE6',\r\n 300: '#DFAAD6',\r\n 400: '#D389C6',\r\n 500: '#C667B6',\r\n 600: '#BA46A6'\r\n },\r\n iris: {\r\n 100: '#EEEEFA',\r\n 200: '#CFCFF2',\r\n 300: '#B0B0EA',\r\n 400: '#9191E2',\r\n 500: '#7272D9',\r\n 600: '#5353D1'\r\n },\r\n fountain: {\r\n 100: '#EFF7FF',\r\n 200: '#CEE7FF',\r\n 300: '#AFD8FF',\r\n 400: '#90C9FF',\r\n 500: '#70BAFF',\r\n 600: '#51ABFF'\r\n },\r\n meadow: {\r\n 100: '#E8F9F5',\r\n 200: '#BFEDE2',\r\n 300: '#96E2CF',\r\n 400: '#6CD6BC',\r\n 500: '#43CBA9',\r\n 600: '#1ABF96'\r\n },\r\n kiwi: {\r\n 100: '#F4FAEF',\r\n 200: '#E1F2D3',\r\n 300: '#CEEAB7',\r\n 400: '#BBE29B',\r\n 500: '#A8D97E',\r\n 600: '#95D162'\r\n },\r\n saffron: {\r\n 100: '#FDF9EA',\r\n 200: '#FBEFC3',\r\n 300: '#F8E59C',\r\n 400: '#F5DB75',\r\n 500: '#F2D14F',\r\n 600: '#EFC728'\r\n },\r\n tangerine: {\r\n 100: '#FFF4EB',\r\n 200: '#FFDFC8',\r\n 300: '#FFCAA4',\r\n 400: '#FFB581',\r\n 500: '#FFA15D',\r\n 600: '#FF8C3A'\r\n }\r\n }\r\n}; // Ellucian's Default theme\r\nexports.default = palette;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\nvar _lightTheme = require('./light/light-theme.js');\r\n\r\nvar _lightTheme2 = _interopRequireDefault(_lightTheme);\r\n\r\nvar _darkTheme = require('./dark/dark-theme.js');\r\n\r\nvar _darkTheme2 = _interopRequireDefault(_darkTheme);\r\n\r\nvar _cloneDeep = require('lodash/cloneDeep');\r\n\r\nvar _cloneDeep2 = _interopRequireDefault(_cloneDeep);\r\n\r\nvar _merge = require('lodash/merge');\r\n\r\nvar _merge2 = _interopRequireDefault(_merge);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n/**\r\n * Creates an Ethos theme, based on one of our standard themes.\r\n *\r\n * @example Create a theme that overrides the large breakpoint value\r\n *\r\n * createEDSTheme('light', {\r\n * breakpoints: {\r\n * values: {\r\n * lg: '1500',\r\n * }\r\n * }\r\n * })\r\n *\r\n * @since v0.0.13\r\n *\r\n * @param {theme} baseTheme The theme to use as the basis of new new theme. Valid values: 'light', 'dark'.\r\n * @param {object} [overrides] Overrides to the base theme\r\n * @return {object} The Ethos theme\r\n */\r\nfunction createEDSTheme(baseTheme, overrides) {\r\n\r\n var theme = (0, _cloneDeep2.default)(_lightTheme2.default);\r\n var themeOptions = (0, _cloneDeep2.default)(_lightTheme.lightThemeOptions);\r\n\r\n // grab the baseline theme\r\n switch (baseTheme) {\r\n case 'light':\r\n break;\r\n case 'dark':\r\n theme = (0, _cloneDeep2.default)(_darkTheme2.default);\r\n themeOptions = (0, _cloneDeep2.default)(_darkTheme.darkThemeOptions);\r\n break;\r\n default:\r\n console.warn('createEDSTheme: Invalid base theme specified: ' + baseTheme + '. Defaulting to light theme.');\r\n break;\r\n\r\n }\r\n\r\n // apply any overrides\r\n if (overrides) {\r\n theme = (0, _styles.createMuiTheme)((0, _merge2.default)(themeOptions, overrides));\r\n }\r\n\r\n return theme;\r\n}\r\n\r\nexports.default = createEDSTheme;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.darkThemeOptions = exports.default = undefined;\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\n// This is a copy of lightTheme -- needs to be changed\r\nvar darkThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n palette: {\r\n primary: {\r\n light: '#8a80ff',\r\n main: '#5353d1',\r\n dark: '#012a9f',\r\n contrastText: '#ffffff'\r\n },\r\n secondary: {\r\n light: '#5b97fc',\r\n main: '#026ab8',\r\n dark: '#004097',\r\n contrastText: '#ffffff'\r\n }\r\n },\r\n typography: {\r\n fontFamily: \"'Noto Sans', Helvetica, Arial, sans-serif\"\r\n }\r\n};\r\n\r\nvar darkTheme = (0, _styles.createMuiTheme)(darkThemeOptions);\r\n\r\nexports.default = darkTheme;\r\nexports.darkThemeOptions = darkThemeOptions;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _createEDSTheme = require('./createEDSTheme');\r\n\r\nObject.defineProperty(exports, 'createEDSTheme', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_createEDSTheme).default;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.lightThemeOptions = exports.default = undefined;\r\n\r\nvar _toolbar;\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\nvar _createBreakpoints = require('@material-ui/core/styles/createBreakpoints');\r\n\r\nvar _createBreakpoints2 = _interopRequireDefault(_createBreakpoints);\r\n\r\nvar _palette = require('../common/palette');\r\n\r\nvar _palette2 = _interopRequireDefault(_palette);\r\n\r\nvar _tokens = require('@ellucian/react-design-system/core/styles/tokens');\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _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; }\r\n\r\n// Breakpoints must be defined in ascending order of viewport size. These breakpoints are used to calculate the size of the viewport in useWidth() hook.\r\n// If values are \"NOT\" in ascending order then useWidth() hook will fail to return correct value.\r\nvar breakpoints = (0, _createBreakpoints2.default)({\r\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\r\n values: {\r\n xs: 0,\r\n sm: 480,\r\n md: 768,\r\n lg: 992,\r\n xl: 1920\r\n }\r\n});\r\n\r\nvar lightThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n breakpoints: breakpoints,\r\n mixins: {\r\n toolbar: (_toolbar = {\r\n minHeight: _tokens.sizingXxLarge1\r\n }, _defineProperty(_toolbar, breakpoints.up('xs') + ' and (orientation: landscape)', {\r\n minHeight: _tokens.sizingXxLarge1\r\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\r\n minHeight: _tokens.sizingXxLarge1\r\n }), _toolbar)\r\n },\r\n overrides: {\r\n MuiFormLabel: {\r\n root: {\r\n color: _tokens.colorBrandNeutral500,\r\n '&$disabled:hover': {\r\n cursor: 'not-allowed'\r\n },\r\n '&$error': {\r\n color: _tokens.colorBrandNeutral500\r\n },\r\n '&$focused': {\r\n color: _tokens.colorBrandNeutral500\r\n }\r\n },\r\n asterisk: {\r\n '&$error': {\r\n color: _tokens.colorBrandNeutral500\r\n }\r\n }\r\n },\r\n MuiInput: {\r\n formControl: {\r\n 'label + &': {\r\n marginTop: 0,\r\n width: '100%'\r\n }\r\n }\r\n },\r\n // Hover and selected states are same across\r\n MuiMenuItem: {\r\n root: {\r\n '&:hover': {\r\n color: _tokens.colorBrandNeutral100\r\n },\r\n '&$selected': {\r\n color: _tokens.colorBrandNeutral100\r\n }\r\n }\r\n }\r\n },\r\n palette: Object.assign({\r\n action: {\r\n active: _tokens.colorBrandCtaActive, // cta blue 800\r\n hover: _tokens.colorBrandCtaHover, // cta blue 700\r\n base: _tokens.colorBrandCtaBase, // cta blue 600\r\n disabled: _tokens.colorBrandNeutral400\r\n },\r\n grey: {\r\n 100: _tokens.colorBrandNeutral100,\r\n 200: _tokens.colorBrandNeutral200,\r\n 250: _tokens.colorBrandNeutral250,\r\n 300: _tokens.colorBrandNeutral300,\r\n 400: _tokens.colorBrandNeutral400,\r\n 500: _tokens.colorBrandNeutral500,\r\n 600: _tokens.colorBrandNeutral600\r\n }\r\n }, _palette2.default),\r\n\r\n spacing: 4,\r\n\r\n typography: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: 14, // fontSizeDefault, MUI converts to rem for us\r\n fontWeightLight: _tokens.fontWeightLight,\r\n fontWeightRegular: _tokens.fontWeightNormal,\r\n fontWeightBold: _tokens.fontWeightBold,\r\n\r\n h1: _defineProperty({\r\n fontFamily: _tokens.fontFamilyHeader,\r\n fontSize: _tokens.fontSizeHeader1,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader1Small\r\n }),\r\n h2: _defineProperty({\r\n fontFamily: _tokens.fontFamilyHeader,\r\n fontSize: _tokens.fontSizeHeader2,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader2Small\r\n }),\r\n h3: _defineProperty({\r\n fontFamily: _tokens.fontFamilyHeader,\r\n fontSize: _tokens.fontSizeHeader3,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n letterSpacing: '0.03125rem',\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader3Small\r\n }),\r\n h4: _defineProperty({\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader4,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader4Small\r\n }),\r\n h5: _defineProperty({\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontWeight: _tokens.fontWeightBold,\r\n fontSize: _tokens.fontSizeHeader5,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader5Small\r\n }),\r\n h6: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader6,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle1: { // set to h5 styles in case anyone uses this\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader5,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle2: { // set to h6 styles in case anyone uses this\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader6,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body1: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeLarge,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body2: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeDefault,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body3: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeSmall,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: 'initial',\r\n textTransform: 'initial'\r\n },\r\n button: {\r\n fontFamily: _tokens.fontFamilyCondensed,\r\n fontSize: _tokens.fontSizeLarge,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n caption: {\r\n fontFamily: _tokens.fontFamilyCondensed,\r\n fontSize: _tokens.fontSizeDefault,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n overline: { // set to caption styles in case anyone uses this\r\n fontFamily: _tokens.fontFamilyCondensed,\r\n fontSize: _tokens.fontSizeDefault,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n }\r\n },\r\n zIndex: {\r\n textFieldLabel: _tokens.zIndexTextFieldLabel,\r\n dropdown: _tokens.zIndexDropdown,\r\n headerBarDropdown: _tokens.zIndexHeaderBarDropdown,\r\n actionMenu: _tokens.zIndexActionMenu,\r\n megaMenu: _tokens.zIndexMegaMenu,\r\n inlineAlert: _tokens.zIndexInlineAlert,\r\n pageAlert: _tokens.zIndexPageAlert,\r\n headerBar: _tokens.zIndexHeaderBar,\r\n modal: _tokens.zIndexModal,\r\n drawer: _tokens.zIndexDrawer,\r\n backdrop: _tokens.zIndexBackdrop\r\n }\r\n};\r\n\r\nvar lightTheme = (0, _styles.createMuiTheme)(lightThemeOptions);\r\n\r\nexports.default = lightTheme;\r\nexports.lightThemeOptions = lightThemeOptions;","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import { Dispatcher } from 'Flux';\r\nclass AppDispatcher extends Dispatcher {\r\n constructor() {\r\n super();\r\n }\r\n dispatch(obj) {\r\n super.dispatch(obj);\r\n }\r\n dispatchAsync(promise, types, payload) {\r\n const { request, success, failure } = types;\r\n super.dispatch({ type: request, payload: Object.assign({}, payload) });\r\n promise.then((response) => super.dispatch({\r\n payload: Object.assign({}, payload, { response }),\r\n type: success\r\n }), (error) => super.dispatch({\r\n payload: Object.assign({}, payload, { error }),\r\n type: failure\r\n }));\r\n }\r\n register(callback) {\r\n return super.register(callback);\r\n }\r\n}\r\nexport default new AppDispatcher();\r\n","import AppDispatcher from '../AppDispatcher';\r\nimport { LayoutStatus } from '../../types/LayoutStatus';\r\nimport Requests from '../../requests/LayoutRequests';\r\nconst LayoutActions = {\r\n getCountCart() {\r\n AppDispatcher.dispatchAsync(Requests.getCountCart(), {\r\n failure: LayoutStatus.ErrorGetCountCart,\r\n request: LayoutStatus.FetchGetCountCart,\r\n success: LayoutStatus.SuccessGetCountCart\r\n }, {});\r\n },\r\n hidePageLoader() {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessHidePageLoader });\r\n },\r\n resetTimeout() {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessResetTimeout, payload: null });\r\n },\r\n setAlert(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetAlert, payload: { value } });\r\n },\r\n setCountCart(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetCountCart, payload: { value } });\r\n },\r\n setLayoutReady(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetLayoutReady, payload: { value } });\r\n },\r\n setLoading(value) {\r\n if (value) {\r\n console.warn('setLoading function was deprecated, use the showPageLoader function.');\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessShowPageLoader });\r\n }\r\n else {\r\n console.warn('setLoading function was deprecated, use the hidePageLoader function.');\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessHidePageLoader });\r\n }\r\n },\r\n setLogData(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetLogData, payload: { value } });\r\n },\r\n setRedirectCode(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetRedirectCode, payload: { value } });\r\n },\r\n setReloadTheme(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetReloadTheme, payload: { value } });\r\n },\r\n setTimeout(sessionTimeout, tokenTimeout, sessionTimeoutType, tokenTimeoutType) {\r\n AppDispatcher.dispatch({\r\n type: LayoutStatus.SuccessSetTimeout,\r\n payload: { sessionTimeout, tokenTimeout, sessionTimeoutType, tokenTimeoutType }\r\n });\r\n },\r\n showPageLoader() {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessShowPageLoader });\r\n }\r\n};\r\nexport default LayoutActions;\r\n","export var LayoutEventStatus;\r\n(function (LayoutEventStatus) {\r\n LayoutEventStatus[\"ChangeAlert\"] = \"ChangeAlert\";\r\n LayoutEventStatus[\"ChangeCountCart\"] = \"ChangeCountCart\";\r\n LayoutEventStatus[\"ChangeLayoutReady\"] = \"ChangeLayoutReady\";\r\n LayoutEventStatus[\"ChangeLoading\"] = \"ChangeLoading\";\r\n LayoutEventStatus[\"ChangeLogData\"] = \"ChangeLogData\";\r\n LayoutEventStatus[\"ChangeRedirectCode\"] = \"ChangeRedirectCode\";\r\n LayoutEventStatus[\"ChangeReloadTheme\"] = \"ChangeReloadTheme\";\r\n LayoutEventStatus[\"ChangeTimeout\"] = \"ChangeTimeout\";\r\n LayoutEventStatus[\"Error\"] = \"LayoutError\";\r\n})(LayoutEventStatus || (LayoutEventStatus = {}));\r\n","export var TimeoutType;\r\n(function (TimeoutType) {\r\n TimeoutType[TimeoutType[\"Absolute\"] = 1] = \"Absolute\";\r\n TimeoutType[TimeoutType[\"Refresh\"] = 2] = \"Refresh\";\r\n})(TimeoutType || (TimeoutType = {}));\r\n","import { EventEmitter } from 'events';\r\nimport { CartItemType } from '../../types/Student/ICartItem';\r\nimport { LayoutEventStatus } from '../../types/LayoutEventStatus';\r\nimport { LayoutStatus } from '../../types/LayoutStatus';\r\nimport { TimeoutType } from '../../types/TimeoutType';\r\nimport AppDispatcher from '../AppDispatcher';\r\nclass LayoutStoreEmitter extends EventEmitter {\r\n constructor() {\r\n super();\r\n this.abortController = new AbortController();\r\n this.alert = undefined;\r\n this.authMode = undefined;\r\n this.countCart = 0;\r\n this.cultures = undefined;\r\n this.hasProfile = false;\r\n this.isAuthenticated = false;\r\n this.layoutReady = false;\r\n this.loaders = {};\r\n this.loading = false;\r\n this.logData = undefined;\r\n this.menuOptions = undefined;\r\n this.permissions = undefined;\r\n this.redirectCode = 0;\r\n this.resources = {};\r\n this.theme = undefined;\r\n this.sessionTimeout = -1;\r\n this.sessionTimeoutType = TimeoutType.Refresh;\r\n this.tokenTimeout = -1;\r\n this.tokenTimeoutType = TimeoutType.Absolute;\r\n this.dateTimeout = new Date();\r\n this.error = false;\r\n this.errorMessage = undefined;\r\n }\r\n getSignal() {\r\n return this.abortController.signal;\r\n }\r\n abort() {\r\n try {\r\n this.abortController.abort();\r\n this.abortController = new AbortController();\r\n }\r\n catch (_a) {\r\n console.warn('The request was not aborted');\r\n }\r\n }\r\n addAlertListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeAlert, callback);\r\n }\r\n removeAlertListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeAlert, callback);\r\n }\r\n emitAlert() {\r\n this.emit(LayoutEventStatus.ChangeAlert);\r\n }\r\n getAlert() {\r\n return this.alert;\r\n }\r\n setAlert(alert) {\r\n this.alert = alert;\r\n }\r\n getAuthMode() {\r\n return this.authMode;\r\n }\r\n setAuthMode(value) {\r\n this.authMode = value;\r\n }\r\n addCountCartListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeCountCart, callback);\r\n }\r\n removeCountCartListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeCountCart, callback);\r\n }\r\n emitCountCart() {\r\n this.emit(LayoutEventStatus.ChangeCountCart);\r\n }\r\n getCountCart() {\r\n return this.countCart;\r\n }\r\n getCartItems() {\r\n return this.cartItems;\r\n }\r\n setCountCart(value, cartItems) {\r\n this.cartItems = cartItems;\r\n this.countCart = value;\r\n }\r\n getCultures() {\r\n if (!this.cultures) {\r\n const culturesStorage = window.sessionStorage.getItem('pc_cultures');\r\n if (culturesStorage) {\r\n this.cultures = JSON.parse(culturesStorage);\r\n }\r\n }\r\n if (this.cultures) {\r\n return this.cultures;\r\n }\r\n else {\r\n return this.getDefaultCutlure();\r\n }\r\n }\r\n getDefaultCutlure() {\r\n return {\r\n amDesignator: 'AM',\r\n currencyCulture: 'en-us',\r\n currencySymbol: '$',\r\n dateTimeCulture: 'en-us',\r\n firstDayOfWeek: 0,\r\n isRightToLeft: false,\r\n numberCulture: 'en-us',\r\n pmDesignator: 'PM',\r\n shortDatePattern: 'M/d/yyyy',\r\n shortTimePattern: 'hh:mm A',\r\n uiCulture: 'en-us'\r\n };\r\n }\r\n setCultures(value) {\r\n this.cultures = value;\r\n if (this.cultures) {\r\n window.sessionStorage.setItem('pc_cultures', JSON.stringify(this.cultures));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_cultures');\r\n }\r\n }\r\n getHasProfile() {\r\n return this.hasProfile;\r\n }\r\n setHasProfile(value) {\r\n this.hasProfile = value;\r\n }\r\n getIsAuthenticated() {\r\n const isAuthenticatedStorage = window.sessionStorage.getItem('pc_auth');\r\n if (isAuthenticatedStorage) {\r\n this.isAuthenticated = isAuthenticatedStorage === '1' ? true : false;\r\n }\r\n return this.isAuthenticated;\r\n }\r\n setIsAuthenticated(value) {\r\n this.isAuthenticated = value;\r\n window.sessionStorage.setItem('pc_auth', this.isAuthenticated ? '1' : '0');\r\n }\r\n addLogDataListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeLogData, callback);\r\n }\r\n removeLogDataListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeLogData, callback);\r\n }\r\n emitLogData() {\r\n this.emit(LayoutEventStatus.ChangeLogData);\r\n }\r\n getLogData() {\r\n return this.logData;\r\n }\r\n setLogData(logData) {\r\n this.logData = logData;\r\n }\r\n addLayoutReadyListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeLayoutReady, callback);\r\n }\r\n removeLayoutReadyListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeLayoutReady, callback);\r\n }\r\n emitLayoutReady() {\r\n this.emit(LayoutEventStatus.ChangeLayoutReady);\r\n }\r\n getLayoutReady() {\r\n return this.layoutReady;\r\n }\r\n setLayoutReady(value) {\r\n this.layoutReady = value;\r\n }\r\n getLoader(key) {\r\n return this.loaders[key];\r\n }\r\n setLoader(key, value) {\r\n this.loaders[key] = value;\r\n }\r\n setLoadersOff() {\r\n const loaderKeys = Object.keys(this.loaders);\r\n loaderKeys.forEach(key => this.loaders[key] = false);\r\n }\r\n addLoadingListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeLoading, callback);\r\n }\r\n removeLoadingListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeLoading, callback);\r\n }\r\n emitLoading() {\r\n this.emit(LayoutEventStatus.ChangeLoading);\r\n }\r\n getLoading() {\r\n return this.loading;\r\n }\r\n setLoading(loading) {\r\n this.loading = loading;\r\n }\r\n getMenuOptions() {\r\n if (!this.menuOptions) {\r\n const menuStorage = window.sessionStorage.getItem('pc_menu');\r\n if (menuStorage) {\r\n this.menuOptions = JSON.parse(menuStorage);\r\n }\r\n }\r\n return this.menuOptions;\r\n }\r\n setMenuOptions(value) {\r\n this.menuOptions = value;\r\n if (this.menuOptions) {\r\n window.sessionStorage.setItem('pc_menu', JSON.stringify(this.menuOptions));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_menu');\r\n }\r\n }\r\n getPermissions() {\r\n return this.permissions;\r\n }\r\n setPermissions(value) {\r\n this.permissions = value;\r\n }\r\n addRedirectCodeListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeRedirectCode, callback);\r\n }\r\n removeRedirectCodeListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeRedirectCode, callback);\r\n }\r\n emitRedirectCode() {\r\n this.emit(LayoutEventStatus.ChangeRedirectCode);\r\n }\r\n getRedirectCode() {\r\n return this.redirectCode;\r\n }\r\n setRedirectCode(redirectCode) {\r\n this.redirectCode = redirectCode;\r\n }\r\n getResources() {\r\n return this.resources.View;\r\n }\r\n setResources(value) {\r\n this.resources.View = value;\r\n }\r\n getResourcesLayout() {\r\n if (!this.resources.Layout) {\r\n const layoutResourcesStorage = window.sessionStorage.getItem('pc_res_lay');\r\n if (layoutResourcesStorage) {\r\n this.resources.Layout = JSON.parse(layoutResourcesStorage);\r\n }\r\n }\r\n return this.resources.Layout;\r\n }\r\n setResourcesLayout(value) {\r\n this.resources.Layout = value;\r\n if (this.resources.Layout) {\r\n window.sessionStorage.setItem('pc_res_lay', JSON.stringify(this.resources.Layout));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_res_lay');\r\n }\r\n }\r\n getResourcesByKey(key) {\r\n return this.resources[key];\r\n }\r\n setResourcesByKey(key, value) {\r\n this.resources[key] = value;\r\n }\r\n addReloadThemeListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeReloadTheme, callback);\r\n }\r\n removeReloadThemeListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeReloadTheme, callback);\r\n }\r\n emitReloadTheme() {\r\n this.emit(LayoutEventStatus.ChangeReloadTheme);\r\n }\r\n getTheme() {\r\n if (!this.theme) {\r\n const themeStorage = window.sessionStorage.getItem('pc_theme');\r\n if (themeStorage) {\r\n this.theme = JSON.parse(themeStorage);\r\n }\r\n }\r\n return this.theme;\r\n }\r\n setTheme(value) {\r\n this.theme = value;\r\n if (this.theme) {\r\n window.sessionStorage.setItem('pc_theme', JSON.stringify(this.theme));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_theme');\r\n }\r\n }\r\n addTimeoutListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeTimeout, callback);\r\n }\r\n removeTimeoutListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeTimeout, callback);\r\n }\r\n emitTimeout() {\r\n this.emit(LayoutEventStatus.ChangeTimeout);\r\n }\r\n getTimeout() {\r\n let minTimeout = -1;\r\n if (this.sessionTimeout !== -1 && this.tokenTimeout !== -1) {\r\n minTimeout = this.sessionTimeout <= this.tokenTimeout ? this.sessionTimeout : this.tokenTimeout;\r\n }\r\n else if (this.sessionTimeout !== -1) {\r\n minTimeout = this.sessionTimeout;\r\n }\r\n else if (this.tokenTimeout !== -1) {\r\n minTimeout = this.tokenTimeout;\r\n }\r\n this.dateTimeout = new Date();\r\n return minTimeout;\r\n }\r\n resetTimeout() {\r\n if (this.tokenTimeout !== -1 && this.tokenTimeoutType === TimeoutType.Absolute) {\r\n const newDate = new Date();\r\n const pastTime = (newDate.getTime() - this.dateTimeout.getTime());\r\n const remainingTime = this.tokenTimeout - (pastTime / 1000);\r\n this.dateTimeout = newDate;\r\n this.tokenTimeout = remainingTime > 0 ? remainingTime : 0;\r\n }\r\n }\r\n setTimeout(sessionTimeout, tokenTimeout, sessionTimeoutType, tokenTimeoutType) {\r\n this.sessionTimeout = sessionTimeout;\r\n this.sessionTimeoutType = sessionTimeoutType ? sessionTimeoutType : this.sessionTimeoutType;\r\n this.tokenTimeout = tokenTimeout;\r\n this.tokenTimeoutType = tokenTimeoutType ? tokenTimeoutType : this.tokenTimeoutType;\r\n }\r\n addErrorListener(callback) {\r\n this.addListener(LayoutEventStatus.Error, callback);\r\n }\r\n removeErrorListener(callback) {\r\n this.removeListener(LayoutEventStatus.Error, callback);\r\n }\r\n emitError() {\r\n this.emit(LayoutEventStatus.Error);\r\n }\r\n getError() {\r\n return this.error;\r\n }\r\n getErrorMessage() {\r\n return this.errorMessage;\r\n }\r\n setError(error, errorMessage) {\r\n this.error = error;\r\n this.errorMessage = errorMessage;\r\n }\r\n}\r\nconst LayoutStore = new LayoutStoreEmitter();\r\nAppDispatcher.register((callback) => {\r\n switch (callback.type) {\r\n case LayoutStatus.SuccessGetCountCart:\r\n if (callback.payload.response) {\r\n const result = JSON.parse(callback.payload.response);\r\n if (result.status) {\r\n let cartItemList = result.data;\r\n const menuOptions = LayoutStore.getMenuOptions();\r\n if (cartItemList && cartItemList.length > 0 && menuOptions) {\r\n let registrationUrl;\r\n let conEdRegistrationUrl;\r\n menuOptions.forEach(optionMenu => {\r\n if (optionMenu.options) {\r\n optionMenu.options.forEach(option => {\r\n if (option.id === 'CoursesId') {\r\n registrationUrl = option.url;\r\n }\r\n if (option.id === 'ConEdCoursesId') {\r\n conEdRegistrationUrl = option.url;\r\n }\r\n });\r\n }\r\n });\r\n if (!registrationUrl) {\r\n cartItemList = cartItemList.filter(cartItem => cartItem.type !== CartItemType.Traditional);\r\n }\r\n if (!conEdRegistrationUrl) {\r\n cartItemList = cartItemList.filter(cartItem => cartItem.type !== CartItemType.ContinuingEducation);\r\n }\r\n }\r\n else {\r\n cartItemList = [];\r\n }\r\n let overallCountCart = 0;\r\n if (cartItemList.length > 0) {\r\n cartItemList.forEach(cartItem => {\r\n overallCountCart += cartItem.count;\r\n });\r\n }\r\n LayoutStore.setCountCart(overallCountCart, cartItemList);\r\n LayoutStore.emitCountCart();\r\n }\r\n }\r\n break;\r\n case LayoutStatus.SuccessSetAlert:\r\n LayoutStore.setAlert(callback.payload.value);\r\n LayoutStore.emitAlert();\r\n break;\r\n case LayoutStatus.SuccessSetCountCart:\r\n LayoutStore.emitCountCart();\r\n break;\r\n case LayoutStatus.SuccessSetLayoutReady:\r\n LayoutStore.setLayoutReady(callback.payload.value);\r\n LayoutStore.emitLayoutReady();\r\n break;\r\n case LayoutStatus.SuccessHidePageLoader:\r\n LayoutStore.setLoading(false);\r\n LayoutStore.emitLoading();\r\n break;\r\n case LayoutStatus.SuccessShowPageLoader:\r\n LayoutStore.setLoading(true);\r\n LayoutStore.emitLoading();\r\n break;\r\n case LayoutStatus.SuccessSetLogData:\r\n LayoutStore.setLogData(callback.payload.value);\r\n LayoutStore.emitLogData();\r\n break;\r\n case LayoutStatus.SuccessSetRedirectCode:\r\n LayoutStore.setRedirectCode(callback.payload.value);\r\n LayoutStore.emitRedirectCode();\r\n break;\r\n case LayoutStatus.SuccessSetReloadTheme:\r\n LayoutStore.setTheme(callback.payload.value);\r\n LayoutStore.emitReloadTheme();\r\n break;\r\n case LayoutStatus.SuccessResetTimeout:\r\n LayoutStore.resetTimeout();\r\n LayoutStore.emitTimeout();\r\n break;\r\n case LayoutStatus.SuccessSetTimeout:\r\n LayoutStore.setTimeout(callback.payload.sessionTimeout, callback.payload.tokenTimeout, callback.payload.sessionTimeoutType, callback.payload.tokenTimeoutType);\r\n LayoutStore.emitTimeout();\r\n break;\r\n case LayoutStatus.ErrorGetCountCart:\r\n if (callback.payload.response) {\r\n LayoutStore.setError(true, callback.payload.response);\r\n }\r\n break;\r\n default:\r\n break;\r\n }\r\n});\r\nexport default LayoutStore;\r\n","const hdnBaseAddress = document.getElementById('hdnBaseAddress');\r\nconst webUrl = hdnBaseAddress ? hdnBaseAddress.value : '';\r\nconst siteConfigurationMissing = document.getElementById('siteConfigurationMissing');\r\nconst Constants = {\r\n defaultActionColor: 'blue',\r\n faviconCDN: 'https://cdn.elluciancloud.com/assets/EDS2/0.0.8/favicon/favicon.ico',\r\n headersRequestsJson: {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json'\r\n },\r\n imagesCDN: 'https://cdn.elluciancloud.com/assets/EDS2/4.4.0/img',\r\n peoplePictureUrl: `${webUrl}/People/Picture/`,\r\n siteConfigurationMissing: siteConfigurationMissing ? (siteConfigurationMissing.value === 'true') : false,\r\n webUrl: webUrl\r\n};\r\nexport default Constants;\r\n","import moment from 'moment';\r\nconst Format = {\r\n toJson(json) {\r\n if (typeof json === 'string') {\r\n return JSON.parse(json);\r\n }\r\n return json;\r\n },\r\n toMask(textFormat) {\r\n let mask = [];\r\n for (const character of textFormat) {\r\n switch (character) {\r\n case 'X':\r\n mask.push(/[0-9a-zA-Z]/);\r\n break;\r\n case '#':\r\n case '0':\r\n mask.push(/\\d/);\r\n break;\r\n default:\r\n mask.push(character);\r\n break;\r\n }\r\n }\r\n return mask;\r\n },\r\n toPhone(value, format, formatChar) {\r\n if (format && value && formatChar) {\r\n let formattedNumber = '';\r\n let iNumber = 0;\r\n for (const fChar of format) {\r\n if (fChar === formatChar) {\r\n if (iNumber < value.length) {\r\n formattedNumber = `${formattedNumber}${value[iNumber]}`;\r\n iNumber++;\r\n }\r\n }\r\n else {\r\n formattedNumber = `${formattedNumber}${fChar}`;\r\n }\r\n }\r\n if (iNumber < value.length) {\r\n for (let iRest = iNumber; iRest < value.length; iRest++) {\r\n formattedNumber = `${formattedNumber}${value[iRest]}`;\r\n }\r\n }\r\n return formattedNumber;\r\n }\r\n else {\r\n return value;\r\n }\r\n },\r\n toShortDate(dateFormat, date) {\r\n return date ? moment(date, dateFormat.toUpperCase()).format('YYYY-MM-DD') : '';\r\n },\r\n toString(format, args) {\r\n return format.replace(/{(\\d+)}/g, (_match, value) => (typeof args[value] !== 'undefined') && args[value] !== null ? args[value] : '');\r\n },\r\n toSumRem(rem) {\r\n let result = 0;\r\n rem.forEach(value => result += Number(value.replace('rem', '')));\r\n return `${result}rem`;\r\n }\r\n};\r\nexport default Format;\r\n","import { LogType } from '../types/LogType';\r\nconst LogData = {\r\n fromException(functionName, e) {\r\n return {\r\n functionName: functionName,\r\n message: `Code: ${e.code}; Name: ${e.name}; Message: ${e.message}; Stack: ${e.stack}`,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n fromResponse(functionName, response) {\r\n return {\r\n functionName: functionName,\r\n message: `Status: ${response.status}; StatusText: ${response.statusText}; Url: ${response.url}`,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n fromComponentException(functionName, e, info) {\r\n return {\r\n functionName: functionName,\r\n message: `Code: ${e.code}; Name: ${e.name}; Message: ${e.message}; Stack: ${e.stack}; ComponentStack: ${info.componentStack}`,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n fromMessage(functionName, message) {\r\n return {\r\n functionName: functionName,\r\n message: message,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n badJsonResult(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'JsonResult has bad structure',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n layoutNoReady(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'Layout was not ready.',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n noPermissions(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'Permissions object is null.',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n noResources(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'Resources object is null.',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n }\r\n};\r\nexport default LogData;\r\n","import Constants from './Constants';\r\nconst Redirect = {\r\n refreshPage: () => {\r\n window.location.assign(window.location.href);\r\n },\r\n toADFSLogin: (username) => {\r\n if (username) {\r\n window.location.assign(`${Constants.webUrl}/ADFS/Authentication?username=${username}`);\r\n }\r\n else {\r\n window.location.assign(`${Constants.webUrl}/ADFS/Authentication`);\r\n }\r\n },\r\n toError: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error`);\r\n },\r\n toError400: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error400`);\r\n },\r\n toError401: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error401`);\r\n },\r\n toError403: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error403`);\r\n },\r\n toError404: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error404`);\r\n },\r\n toError500: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error500`);\r\n },\r\n toError503: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error503`);\r\n },\r\n toHome: () => {\r\n window.location.assign(`${Constants.webUrl}/Home`);\r\n },\r\n toLogin: () => {\r\n window.location.assign(`${Constants.webUrl}/Home/LogIn`);\r\n },\r\n toLogout: () => {\r\n window.location.assign(`${Constants.webUrl}/Home/LogOut`);\r\n },\r\n toLogoutWithReturnUrl: () => {\r\n window.location.assign(`${Constants.webUrl}/Home/LogOutWithReturnUrl`);\r\n },\r\n toSAMLLogin: () => {\r\n window.location.assign(`${Constants.webUrl}/SSO/SAML`);\r\n }\r\n};\r\nexport default Redirect;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EdsErrorPage from '@ellucian/react-design-system/core/es/ErrorPage';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport Format from '../../../helpers/Format';\r\nconst styles = createStyles({\r\n errorPageContainer: {\r\n height: `calc(100vh - ${Format.toSumRem([Tokens.spacing85, Tokens.spacing85])})`\r\n }\r\n});\r\nconst ErrorPage = (props) => {\r\n const { classes } = props, rest = __rest(props, [\"classes\"]);\r\n return (React.createElement(\"div\", { className: classes.errorPageContainer },\r\n React.createElement(EdsErrorPage, Object.assign({}, rest))));\r\n};\r\nexport default withStyles(styles)(ErrorPage);\r\n","import React from 'react';\r\nimport ErrorPage from '../ErrorPage';\r\nimport Layout, { withLayout } from '../Layout';\r\nconst Error = () => {\r\n const hdnTitle = document.getElementById('hdnTitle');\r\n let title;\r\n if (hdnTitle) {\r\n title = hdnTitle.value;\r\n hdnTitle.remove();\r\n }\r\n const hdnMessage = document.getElementById('hdnMessage');\r\n let message;\r\n if (hdnMessage) {\r\n message = hdnMessage.value;\r\n hdnMessage.remove();\r\n }\r\n return (React.createElement(Layout, { idModule: \"\", idPage: \"\", noPadding: true, noServer: true },\r\n React.createElement(ErrorPage, { errorTitle: title || '', errorType: \"500\", id: \"ErrorPage\", message: message || '', noHeader: true })));\r\n};\r\nconst ErrorWithLayout = withLayout(Error);\r\nexport default ErrorWithLayout;\r\n","import React from 'react';\r\nimport EdsTextLink from '@ellucian/react-design-system/core/es/TextLink';\r\nconst TextLink = (props) => (React.createElement(EdsTextLink, Object.assign({}, props)));\r\nexport default TextLink;\r\n","import React from 'react';\r\nimport TextLink from '../../core/TextLink';\r\nimport ErrorPage from '../ErrorPage';\r\nimport Layout, { withLayout } from '../Layout';\r\nimport LogData from '../../../helpers/LogData';\r\nimport Redirect from '../../../helpers/Redirect';\r\nimport LayoutActions from '../../../flux/actions/LayoutActions';\r\nimport LayoutStore from '../../../flux/stores/LayoutStore';\r\nclass SpecifcError extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.hideAllLoaders = () => {\r\n this.setState({\r\n isLoading: false\r\n });\r\n };\r\n this.resolveLayoutReady = () => {\r\n try {\r\n const { resources } = this.state;\r\n if (resources) {\r\n document.title = resources.lblPageTitle;\r\n this.setState({\r\n isAuthenticated: LayoutStore.getIsAuthenticated(),\r\n isLoading: false\r\n }, LayoutActions.hidePageLoader);\r\n }\r\n else {\r\n this.logError(LogData.noResources(this.resolveLayoutReady.name));\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.resolveLayoutReady.name, e));\r\n }\r\n };\r\n this.onLayoutReady = () => {\r\n const ready = LayoutStore.getLayoutReady();\r\n const resources = LayoutStore.getResources();\r\n if (ready) {\r\n this.setState({\r\n resources: resources\r\n }, this.resolveLayoutReady);\r\n }\r\n else {\r\n this.logError(LogData.layoutNoReady(this.onLayoutReady.name));\r\n this.redirectError(500);\r\n }\r\n };\r\n this.idModule = 'Errors';\r\n const hdnIdPage = document.getElementById('hdnIdPage');\r\n if (hdnIdPage && hdnIdPage.value) {\r\n this.idPage = hdnIdPage.value;\r\n hdnIdPage.remove();\r\n }\r\n else {\r\n this.idPage = '';\r\n Redirect.toError();\r\n }\r\n this.state = this.getInitialState();\r\n LayoutStore.addLayoutReadyListener(this.onLayoutReady);\r\n }\r\n getInitialState() {\r\n let isLoading = true;\r\n let resources;\r\n if (this.state) {\r\n isLoading = this.state.isLoading;\r\n resources = this.state.resources;\r\n }\r\n return {\r\n isAuthenticated: false,\r\n isLoading: isLoading,\r\n resources: resources\r\n };\r\n }\r\n redirectToHome() {\r\n Redirect.toHome();\r\n }\r\n logError(logData) {\r\n this.hideAllLoaders();\r\n LayoutActions.setLogData(logData);\r\n }\r\n redirectError(code) {\r\n this.hideAllLoaders();\r\n LayoutActions.setRedirectCode(code);\r\n }\r\n componentWillUnmount() {\r\n LayoutStore.removeLayoutReadyListener(this.onLayoutReady);\r\n }\r\n render() {\r\n const { homeButtonRequireAuth } = this.props;\r\n const { isAuthenticated, isLoading, resources } = this.state;\r\n let contentPage;\r\n if (resources && !isLoading) {\r\n let errorCode = '500';\r\n switch (this.idPage) {\r\n case 'Error400':\r\n errorCode = '400';\r\n break;\r\n case 'Error401':\r\n errorCode = '401';\r\n break;\r\n case 'Error403':\r\n case 'ExpiredInvitation':\r\n case 'InvalidInvitation':\r\n case 'InvalidToken':\r\n errorCode = '403';\r\n break;\r\n case 'Error404':\r\n errorCode = '404';\r\n break;\r\n case 'Error500':\r\n errorCode = '500';\r\n break;\r\n case 'Error503':\r\n errorCode = '503';\r\n break;\r\n }\r\n const hasAction = !homeButtonRequireAuth || (homeButtonRequireAuth && (this.idPage !== 'Error401' || isAuthenticated));\r\n contentPage = (React.createElement(ErrorPage, { action: hasAction ? (React.createElement(TextLink, { href: \"#\", id: \"btnGoHome\", onClick: this.redirectToHome }, resources.lblGoToHome)) : null, errorTitle: resources.lblTitle, errorType: errorCode, hasAction: hasAction, id: \"ErrorPage\", message: resources.lblText, noHeader: true }));\r\n }\r\n return (React.createElement(Layout, { idModule: this.idModule, idPage: this.idPage, noPadding: true }, contentPage));\r\n }\r\n}\r\nconst SpecifcErrorWithLayout = withLayout(SpecifcError);\r\nexport default SpecifcErrorWithLayout;\r\n","// Ellucian's Default theme\r\nimport { colorBackgroundAlertDefault, colorBackgroundAlertError, colorBackgroundAlertNeutral, colorBackgroundAlertSuccess, colorBackgroundAlertWarning, colorBackgroundDefault, colorBorderGlobalFocus, colorBrandNeutral100, colorBrandNeutral400, colorBrandNeutral600, colorBrandPrimary, colorBrandSecondary, colorCtaBlueActive, colorCtaBlueBase, colorCtaBlueHover, colorCtaBlueTint, colorFillAlertError, colorFillAlertNeutral, colorFillAlertSuccess, colorFillAlertWarning, colorTextAlertDefault, colorTextAlertError, colorTextAlertNeutral, colorTextAlertSuccess, colorTextAlertWarning, colorTextDisabled, colorTextNeutral100, colorTextPrimary, colorTextSecondary } from '@ellucian/react-design-system/core/styles/tokens';\r\n\r\nvar palette = {\r\n // Iris\r\n primary: {\r\n main: colorBrandPrimary,\r\n contrastText: colorTextNeutral100\r\n },\r\n // Fountain\r\n secondary: {\r\n main: colorBrandSecondary,\r\n contrastText: colorTextNeutral100\r\n },\r\n // CTA Blue\r\n ctaColor: {\r\n base: colorCtaBlueBase,\r\n hover: colorCtaBlueHover,\r\n active: colorCtaBlueActive,\r\n tint: colorCtaBlueTint\r\n },\r\n // Disabled\r\n disabled: {\r\n background: colorBrandNeutral400\r\n },\r\n // Global Focus\r\n focus: colorBorderGlobalFocus,\r\n // Status: Error, Warning, Pending, Success\r\n status: {\r\n default: {\r\n text: colorTextAlertDefault,\r\n background: colorBackgroundAlertDefault\r\n },\r\n error: {\r\n text: colorTextAlertError,\r\n background: colorBackgroundAlertError,\r\n fill: colorFillAlertError\r\n },\r\n success: {\r\n text: colorTextAlertSuccess,\r\n background: colorBackgroundAlertSuccess,\r\n fill: colorFillAlertSuccess\r\n },\r\n neutral: {\r\n text: colorTextAlertNeutral,\r\n background: colorBackgroundAlertNeutral,\r\n fill: colorFillAlertNeutral\r\n },\r\n warning: {\r\n text: colorTextAlertWarning,\r\n background: colorBackgroundAlertWarning,\r\n fill: colorFillAlertWarning\r\n }\r\n },\r\n common: {\r\n black: colorBrandNeutral600,\r\n white: colorBrandNeutral100\r\n },\r\n text: {\r\n primary: colorTextPrimary,\r\n secondary: colorTextSecondary,\r\n disabled: colorTextDisabled,\r\n white: colorTextNeutral100\r\n },\r\n background: {\r\n default: colorBackgroundDefault\r\n },\r\n tertiary: {\r\n purple: {\r\n 100: '#F8EEF6',\r\n 200: '#ECCCE6',\r\n 300: '#DFAAD6',\r\n 400: '#D389C6',\r\n 500: '#C667B6',\r\n 600: '#BA46A6'\r\n },\r\n iris: {\r\n 100: '#EEEEFA',\r\n 200: '#CFCFF2',\r\n 300: '#B0B0EA',\r\n 400: '#9191E2',\r\n 500: '#7272D9',\r\n 600: '#5353D1'\r\n },\r\n fountain: {\r\n 100: '#EFF7FF',\r\n 200: '#CEE7FF',\r\n 300: '#AFD8FF',\r\n 400: '#90C9FF',\r\n 500: '#70BAFF',\r\n 600: '#51ABFF'\r\n },\r\n meadow: {\r\n 100: '#E8F9F5',\r\n 200: '#BFEDE2',\r\n 300: '#96E2CF',\r\n 400: '#6CD6BC',\r\n 500: '#43CBA9',\r\n 600: '#1ABF96'\r\n },\r\n kiwi: {\r\n 100: '#F4FAEF',\r\n 200: '#E1F2D3',\r\n 300: '#CEEAB7',\r\n 400: '#BBE29B',\r\n 500: '#A8D97E',\r\n 600: '#95D162'\r\n },\r\n saffron: {\r\n 100: '#FDF9EA',\r\n 200: '#FBEFC3',\r\n 300: '#F8E59C',\r\n 400: '#F5DB75',\r\n 500: '#F2D14F',\r\n 600: '#EFC728'\r\n },\r\n tangerine: {\r\n 100: '#FFF4EB',\r\n 200: '#FFDFC8',\r\n 300: '#FFCAA4',\r\n 400: '#FFB581',\r\n 500: '#FFA15D',\r\n 600: '#FF8C3A'\r\n }\r\n }\r\n};\r\n\r\nexport default palette;","var _toolbar;\r\n\r\nfunction _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; }\r\n\r\nimport { createMuiTheme } from '@material-ui/core/styles';\r\nimport createBreakpoints from '@material-ui/core/styles/createBreakpoints';\r\nimport colorPalette from '../common/palette';\r\nimport { colorBrandCtaActive, colorBrandCtaBase, colorBrandCtaHover, colorBrandNeutral100, colorBrandNeutral200, colorBrandNeutral250, colorBrandNeutral300, colorBrandNeutral400, colorBrandNeutral500, colorBrandNeutral600, fontSizeHeader1, fontSizeHeader1Small, fontSizeHeader2, fontSizeHeader2Small, fontSizeHeader3, fontSizeHeader3Small, fontSizeHeader4, fontSizeHeader4Small, fontSizeHeader5, fontSizeHeader5Small, fontSizeHeader6, fontSizeLarge, fontSizeSmall, fontSizeDefault, fontFamilyDefault, fontFamilyHeader, fontFamilyCondensed, fontWeightLight, fontWeightNormal, fontWeightBold, lineHeightDefault, sizingXxLarge1, zIndexTextFieldLabel, zIndexDrawer, zIndexDropdown, zIndexHeaderBarDropdown, zIndexMegaMenu, zIndexInlineAlert, zIndexPageAlert, zIndexActionMenu, zIndexHeaderBar, zIndexModal, zIndexBackdrop } from '@ellucian/react-design-system/core/styles/tokens';\r\n\r\n// Breakpoints must be defined in ascending order of viewport size. These breakpoints are used to calculate the size of the viewport in useWidth() hook.\r\n// If values are \"NOT\" in ascending order then useWidth() hook will fail to return correct value.\r\nvar breakpoints = createBreakpoints({\r\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\r\n values: {\r\n xs: 0,\r\n sm: 480,\r\n md: 768,\r\n lg: 992,\r\n xl: 1920\r\n }\r\n});\r\n\r\nvar lightThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n breakpoints: breakpoints,\r\n mixins: {\r\n toolbar: (_toolbar = {\r\n minHeight: sizingXxLarge1\r\n }, _defineProperty(_toolbar, breakpoints.up('xs') + ' and (orientation: landscape)', {\r\n minHeight: sizingXxLarge1\r\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\r\n minHeight: sizingXxLarge1\r\n }), _toolbar)\r\n },\r\n overrides: {\r\n MuiFormLabel: {\r\n root: {\r\n color: colorBrandNeutral500,\r\n '&$disabled:hover': {\r\n cursor: 'not-allowed'\r\n },\r\n '&$error': {\r\n color: colorBrandNeutral500\r\n },\r\n '&$focused': {\r\n color: colorBrandNeutral500\r\n }\r\n },\r\n asterisk: {\r\n '&$error': {\r\n color: colorBrandNeutral500\r\n }\r\n }\r\n },\r\n MuiInput: {\r\n formControl: {\r\n 'label + &': {\r\n marginTop: 0,\r\n width: '100%'\r\n }\r\n }\r\n },\r\n // Hover and selected states are same across\r\n MuiMenuItem: {\r\n root: {\r\n '&:hover': {\r\n color: colorBrandNeutral100\r\n },\r\n '&$selected': {\r\n color: colorBrandNeutral100\r\n }\r\n }\r\n }\r\n },\r\n palette: Object.assign({\r\n action: {\r\n active: colorBrandCtaActive, // cta blue 800\r\n hover: colorBrandCtaHover, // cta blue 700\r\n base: colorBrandCtaBase, // cta blue 600\r\n disabled: colorBrandNeutral400\r\n },\r\n grey: {\r\n 100: colorBrandNeutral100,\r\n 200: colorBrandNeutral200,\r\n 250: colorBrandNeutral250,\r\n 300: colorBrandNeutral300,\r\n 400: colorBrandNeutral400,\r\n 500: colorBrandNeutral500,\r\n 600: colorBrandNeutral600\r\n }\r\n }, colorPalette),\r\n\r\n spacing: 4,\r\n\r\n typography: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: 14, // fontSizeDefault, MUI converts to rem for us\r\n fontWeightLight: fontWeightLight,\r\n fontWeightRegular: fontWeightNormal,\r\n fontWeightBold: fontWeightBold,\r\n\r\n h1: _defineProperty({\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeHeader1,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader1Small\r\n }),\r\n h2: _defineProperty({\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeHeader2,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader2Small\r\n }),\r\n h3: _defineProperty({\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeHeader3,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n letterSpacing: '0.03125rem',\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader3Small\r\n }),\r\n h4: _defineProperty({\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader4,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader4Small\r\n }),\r\n h5: _defineProperty({\r\n fontFamily: fontFamilyDefault,\r\n fontWeight: fontWeightBold,\r\n fontSize: fontSizeHeader5,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader5Small\r\n }),\r\n h6: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader6,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle1: { // set to h5 styles in case anyone uses this\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader5,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle2: { // set to h6 styles in case anyone uses this\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader6,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body1: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeLarge,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body2: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body3: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeSmall,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: 'initial',\r\n textTransform: 'initial'\r\n },\r\n button: {\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeLarge,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n caption: {\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n overline: { // set to caption styles in case anyone uses this\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n }\r\n },\r\n zIndex: {\r\n textFieldLabel: zIndexTextFieldLabel,\r\n dropdown: zIndexDropdown,\r\n headerBarDropdown: zIndexHeaderBarDropdown,\r\n actionMenu: zIndexActionMenu,\r\n megaMenu: zIndexMegaMenu,\r\n inlineAlert: zIndexInlineAlert,\r\n pageAlert: zIndexPageAlert,\r\n headerBar: zIndexHeaderBar,\r\n modal: zIndexModal,\r\n drawer: zIndexDrawer,\r\n backdrop: zIndexBackdrop\r\n }\r\n};\r\n\r\nvar lightTheme = createMuiTheme(lightThemeOptions);\r\n\r\nexport { lightTheme as default, lightThemeOptions };","import { createMuiTheme } from '@material-ui/core/styles';\r\n\r\n// This is a copy of lightTheme -- needs to be changed\r\nvar darkThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n palette: {\r\n primary: {\r\n light: '#8a80ff',\r\n main: '#5353d1',\r\n dark: '#012a9f',\r\n contrastText: '#ffffff'\r\n },\r\n secondary: {\r\n light: '#5b97fc',\r\n main: '#026ab8',\r\n dark: '#004097',\r\n contrastText: '#ffffff'\r\n }\r\n },\r\n typography: {\r\n fontFamily: \"'Noto Sans', Helvetica, Arial, sans-serif\"\r\n }\r\n};\r\n\r\nvar darkTheme = createMuiTheme(darkThemeOptions);\r\n\r\nexport { darkTheme as default, darkThemeOptions };","import { createMuiTheme } from '@material-ui/core/styles';\r\nimport lightTheme, { lightThemeOptions } from './light/light-theme.js';\r\nimport darkTheme, { darkThemeOptions } from './dark/dark-theme.js';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport merge from 'lodash/merge';\r\n\r\n/**\r\n * Creates an Ethos theme, based on one of our standard themes.\r\n *\r\n * @example Create a theme that overrides the large breakpoint value\r\n *\r\n * createEDSTheme('light', {\r\n * breakpoints: {\r\n * values: {\r\n * lg: '1500',\r\n * }\r\n * }\r\n * })\r\n *\r\n * @since v0.0.13\r\n *\r\n * @param {theme} baseTheme The theme to use as the basis of new new theme. Valid values: 'light', 'dark'.\r\n * @param {object} [overrides] Overrides to the base theme\r\n * @return {object} The Ethos theme\r\n */\r\nfunction createEDSTheme(baseTheme, overrides) {\r\n\r\n var theme = cloneDeep(lightTheme);\r\n var themeOptions = cloneDeep(lightThemeOptions);\r\n\r\n // grab the baseline theme\r\n switch (baseTheme) {\r\n case 'light':\r\n break;\r\n case 'dark':\r\n theme = cloneDeep(darkTheme);\r\n themeOptions = cloneDeep(darkThemeOptions);\r\n break;\r\n default:\r\n console.warn('createEDSTheme: Invalid base theme specified: ' + baseTheme + '. Defaulting to light theme.');\r\n break;\r\n\r\n }\r\n\r\n // apply any overrides\r\n if (overrides) {\r\n theme = createMuiTheme(merge(themeOptions, overrides));\r\n }\r\n\r\n return theme;\r\n}\r\n\r\nexport default createEDSTheme;","import EdsCreateEDSTheme from '@ellucian/react-design-system/core/es/themes/createEDSTheme';\r\nconst createEDSTheme = (baseTheme, overrides) => EdsCreateEDSTheme(baseTheme, overrides);\r\nexport default createEDSTheme;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsAlert from '@ellucian/react-design-system/core/es/Alert';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = (theme) => createStyles({\r\n overModal: {\r\n top: 0,\r\n zIndex: Number(Tokens.zIndexModal) + 1\r\n },\r\n pageTop: {\r\n [theme.breakpoints.only('xs')]: {\r\n left: 0,\r\n right: 0\r\n }\r\n }\r\n});\r\nconst Alert = (props, ref) => {\r\n const { children, classes, overModal, type } = props, rest = __rest(props, [\"children\", \"classes\", \"overModal\", \"type\"]);\r\n const classOverrides = omit(classes, ['overModal']);\r\n if (overModal) {\r\n classOverrides.pageTop = classnames(classes.pageTop, classes.overModal);\r\n }\r\n return (React.createElement(EdsAlert, Object.assign({ alertType: type, classes: classOverrides, ref: ref }, rest), children));\r\n};\r\nconst AlertFRC = forwardRef(Alert);\r\nAlertFRC.displayName = 'AlertFRC';\r\nAlertFRC.defaultProps = {\r\n id: '',\r\n userDismissable: false\r\n};\r\nexport default withStyles(styles, { name: 'AlertWS' })(AlertFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EDSApplication from '@ellucian/react-design-system/core/es/EDSApplication';\r\nconst Application = (props) => {\r\n const { children, dir } = props, rest = __rest(props, [\"children\", \"dir\"]);\r\n return (React.createElement(EDSApplication, Object.assign({ dir: dir }, rest),\r\n React.createElement(\"div\", { dir: dir }, children)));\r\n};\r\nexport default Application;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport cn from 'classnames';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsIcon from '@ellucian/ds-icons/lib/es6/Icon';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n default: {\r\n color: Tokens.colorBrandNeutral400\r\n },\r\n defaultBg: {\r\n background: Tokens.colorBrandNeutral400\r\n },\r\n error: {\r\n color: Tokens.colorTextAlertError\r\n },\r\n errorBg: {\r\n background: Tokens.colorFillAlertError\r\n },\r\n iconBackground: {\r\n alignItems: 'center',\r\n borderRadius: Tokens.borderRadiusCircle,\r\n color: Tokens.colorBrandNeutral100,\r\n display: 'inline-flex',\r\n height: '1.8125rem',\r\n justifyContent: 'center',\r\n verticalAlign: 'middle',\r\n width: '1.8125rem'\r\n },\r\n info: {\r\n color: Tokens.colorTextAlertNeutral\r\n },\r\n infoBg: {\r\n background: Tokens.colorFillAlertNeutral\r\n },\r\n marginBottom2Icon: {\r\n marginBottom: Tokens.spacing35\r\n },\r\n marginBottomIcon: {\r\n marginBottom: Tokens.spacing30\r\n },\r\n marginLeft2Icon: {\r\n marginLeft: Tokens.spacing35\r\n },\r\n marginLeftIcon: {\r\n marginLeft: Tokens.spacing30\r\n },\r\n marginRight2Icon: {\r\n marginRight: Tokens.spacing35\r\n },\r\n marginRightIcon: {\r\n marginRight: Tokens.spacing30\r\n },\r\n marginTop2Icon: {\r\n marginTop: Tokens.spacing35\r\n },\r\n marginTopIcon: {\r\n marginTop: Tokens.spacing30\r\n },\r\n middle: {\r\n display: 'inline-flex',\r\n verticalAlign: 'middle'\r\n },\r\n neutral: {\r\n color: Tokens.colorBrandNeutral100\r\n },\r\n neutralBg: {\r\n background: Tokens.colorBrandNeutral100\r\n },\r\n success: {\r\n color: Tokens.colorTextAlertSuccess\r\n },\r\n successBg: {\r\n background: Tokens.colorFillAlertSuccess\r\n },\r\n warning: {\r\n color: Tokens.colorTextAlertWarning\r\n },\r\n warningBg: {\r\n background: Tokens.colorFillAlertWarning\r\n },\r\n xLarge: {\r\n height: `${Tokens.sizingXLarge}${Tokens.important}`,\r\n width: `${Tokens.sizingXLarge}${Tokens.important}`\r\n },\r\n xxLarge: {\r\n height: `${Tokens.sizingXxLarge}${Tokens.important}`,\r\n width: `${Tokens.sizingXxLarge}${Tokens.important}`\r\n },\r\n xxLarge1: {\r\n height: `${Tokens.sizingXxLarge1}${Tokens.important}`,\r\n width: `${Tokens.sizingXxLarge1}${Tokens.important}`\r\n }\r\n});\r\nconst Icon = (props, ref) => {\r\n const { className, classes, iconWithBackground, marginBottom, marginBottom2, marginLeft, marginLeft2, marginRight, marginRight2, marginTop, marginTop2, size, type, verticalAlign } = props, rest = __rest(props, [\"className\", \"classes\", \"iconWithBackground\", \"marginBottom\", \"marginBottom2\", \"marginLeft\", \"marginLeft2\", \"marginRight\", \"marginRight2\", \"marginTop\", \"marginTop2\", \"size\", \"type\", \"verticalAlign\"]);\r\n let classIcon;\r\n let classIconDiv;\r\n if (type) {\r\n switch (type) {\r\n case 'error':\r\n classIcon = iconWithBackground ? classes.errorBg : classes.error;\r\n break;\r\n case 'info':\r\n classIcon = iconWithBackground ? classes.infoBg : classes.info;\r\n break;\r\n case 'success':\r\n classIcon = iconWithBackground ? classes.successBg : classes.success;\r\n break;\r\n case 'warning':\r\n classIcon = iconWithBackground ? classes.warningBg : classes.warning;\r\n break;\r\n case 'neutral':\r\n classIcon = iconWithBackground ? classes.neutralBg : classes.neutral;\r\n break;\r\n case 'default':\r\n classIcon = iconWithBackground ? classes.defaultBg : classes.default;\r\n break;\r\n }\r\n }\r\n if (marginBottom) {\r\n classIcon = cn(classIcon, classes.marginBottomIcon);\r\n }\r\n else if (marginBottom2) {\r\n classIcon = cn(classIcon, classes.marginBottom2Icon);\r\n }\r\n if (marginLeft) {\r\n classIcon = cn(classIcon, classes.marginLeftIcon);\r\n }\r\n else if (marginLeft2) {\r\n classIcon = cn(classIcon, classes.marginLeft2Icon);\r\n }\r\n if (marginRight) {\r\n classIcon = cn(classIcon, classes.marginRightIcon);\r\n }\r\n else if (marginRight2) {\r\n classIcon = cn(classIcon, classes.marginRight2Icon);\r\n }\r\n if (marginTop) {\r\n classIcon = cn(classIcon, classes.marginTopIcon);\r\n }\r\n else if (marginTop2) {\r\n classIcon = cn(classIcon, classes.marginTop2Icon);\r\n }\r\n if (size) {\r\n switch (size) {\r\n case 'xLarge':\r\n classIcon = cn(classIcon, classes.xLarge);\r\n break;\r\n case 'xxLarge':\r\n classIcon = cn(classIcon, classes.xxLarge);\r\n break;\r\n case 'xxLarge1':\r\n classIcon = cn(classIcon, classes.xxLarge1);\r\n break;\r\n }\r\n }\r\n if (className) {\r\n classIcon = cn(classIcon, className);\r\n }\r\n if (iconWithBackground || verticalAlign) {\r\n if (verticalAlign === 'middle') {\r\n classIconDiv = cn(classIcon, classes.middle);\r\n }\r\n else if (iconWithBackground) {\r\n classIconDiv = cn(classIcon, classes.iconBackground);\r\n }\r\n else {\r\n classIconDiv = classIcon;\r\n }\r\n return (React.createElement(\"div\", { className: classIconDiv },\r\n React.createElement(EdsIcon, Object.assign({ ref: ref }, rest))));\r\n }\r\n return (React.createElement(EdsIcon, Object.assign({ className: classIcon, ref: ref }, rest)));\r\n};\r\nconst IconFRC = forwardRef(Icon);\r\nIconFRC.displayName = 'IconFRC';\r\nexport default withStyles(styles, { name: 'IconWS' })(IconFRC);\r\n","import React from 'react';\r\nimport EdsGrid from '@ellucian/react-design-system/core/es/Grid';\r\nconst defaultProps = {\r\n component: 'div',\r\n container: false,\r\n item: false\r\n};\r\nconst defaultPropsContainer = Object.assign({ alignContent: 'stretch', alignItems: 'stretch', direction: 'row', justify: 'flex-start', wrap: 'wrap' }, defaultProps);\r\nconst defaultPropsItem = Object.assign({ lg: false, md: false, sm: false, xl: false, xs: false, zeroMinWidth: false }, defaultProps);\r\nconst Grid = (props) => {\r\n const { container, item } = props;\r\n let defaultPropsGrid = {};\r\n if (container) {\r\n defaultPropsGrid = defaultPropsContainer;\r\n }\r\n else if (item) {\r\n defaultPropsGrid = defaultPropsItem;\r\n }\r\n else {\r\n defaultPropsGrid = defaultProps;\r\n }\r\n return (React.createElement(EdsGrid, Object.assign({}, defaultPropsGrid, props)));\r\n};\r\nexport default Grid;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport React, { forwardRef } from 'react';\r\nimport Grid from '../Grid';\r\nimport EdsTypography from '@ellucian/react-design-system/core/es/Typography';\r\nimport Icon from '../Icon';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n baseline: {\r\n verticalAlign: 'baseline'\r\n },\r\n block: {\r\n display: 'block'\r\n },\r\n bottom: {\r\n verticalAlign: 'bottom'\r\n },\r\n inheritVerticalAlign: {\r\n verticalAlign: 'inherit'\r\n },\r\n inline: {\r\n display: 'inline'\r\n },\r\n inlineBlock: {\r\n display: 'inline-block'\r\n },\r\n light: {\r\n fontWeight: Tokens.fontWeightLight\r\n },\r\n middle: {\r\n verticalAlign: 'middle'\r\n },\r\n normal: {\r\n fontWeight: Tokens.fontWeightNormal\r\n },\r\n sizeInherit: {\r\n fontSize: 'inherit'\r\n },\r\n strong: {\r\n fontWeight: Tokens.fontWeightBold\r\n },\r\n top: {\r\n verticalAlign: 'top'\r\n }\r\n});\r\nconst Text = (props, ref) => {\r\n const { IconProps, children, classes, className, component, display, size, verticalAlign, verticalAlignIcon, weight } = props, rest = __rest(props, [\"IconProps\", \"children\", \"classes\", \"className\", \"component\", \"display\", \"size\", \"verticalAlign\", \"verticalAlignIcon\", \"weight\"]);\r\n let classText = '';\r\n let customComponent;\r\n let variant;\r\n switch (size) {\r\n case 'inherit':\r\n classText = classes.sizeInherit;\r\n variant = 'body2';\r\n break;\r\n case 'h1':\r\n variant = 'h1';\r\n break;\r\n case 'h2':\r\n variant = 'h2';\r\n break;\r\n case 'h3':\r\n variant = 'h3';\r\n break;\r\n case 'h4':\r\n variant = 'h4';\r\n break;\r\n case 'large':\r\n variant = 'body1';\r\n break;\r\n case 'small':\r\n variant = 'body3';\r\n break;\r\n default:\r\n variant = 'body2';\r\n }\r\n if (!Boolean(customComponent)) {\r\n customComponent = component;\r\n }\r\n switch (weight) {\r\n case 'light':\r\n classText = classnames(classText, classes.light);\r\n break;\r\n case 'strong':\r\n classText = classnames(classText, classes.strong);\r\n break;\r\n default:\r\n classText = classnames(classText, classes.normal);\r\n }\r\n if (IconProps) {\r\n classText = classnames(classText, classes.inline);\r\n }\r\n else {\r\n switch (display) {\r\n case 'inline':\r\n classText = classnames(classText, classes.inline);\r\n break;\r\n case 'inline-block':\r\n classText = classnames(classText, classes.inlineBlock);\r\n break;\r\n default:\r\n classText = classnames(classText, classes.block);\r\n }\r\n }\r\n switch (verticalAlign) {\r\n case 'inherit':\r\n classText = classnames(classText, classes.inheritVerticalAlign);\r\n break;\r\n case 'top':\r\n classText = classnames(classText, classes.top);\r\n break;\r\n case 'middle':\r\n classText = classnames(classText, classes.middle);\r\n break;\r\n case 'bottom':\r\n classText = classnames(classText, classes.bottom);\r\n break;\r\n case 'baseline':\r\n classText = classnames(classText, classes.baseline);\r\n break;\r\n }\r\n if (className) {\r\n classText = classnames(classText, className);\r\n }\r\n const typographyComponent = (React.createElement(EdsTypography, Object.assign({ className: classText, component: customComponent, ref: ref, variant: variant }, rest), children));\r\n if (IconProps) {\r\n return (React.createElement(Grid, { container: true, spacing: 0, wrap: \"nowrap\", alignItems: verticalAlignIcon },\r\n React.createElement(Grid, { item: true },\r\n React.createElement(Icon, Object.assign({ marginRight2: true, verticalAlign: \"middle\" }, IconProps))),\r\n React.createElement(Grid, { item: true, xs: true }, typographyComponent)));\r\n }\r\n return (React.createElement(React.Fragment, null, typographyComponent));\r\n};\r\nconst TextFRC = forwardRef(Text);\r\nTextFRC.displayName = 'TextFRC';\r\nTextFRC.defaultProps = {\r\n align: 'inherit',\r\n color: 'initial',\r\n display: 'block',\r\n gutterBottom: false,\r\n size: 'default',\r\n weight: 'normal'\r\n};\r\nexport default withStyles(styles)(TextFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsButton from '@ellucian/react-design-system/core/es/Button';\r\nimport Icon from '../Icon';\r\nimport Text from '../Text';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nimport Tokens from '../styles/Tokens';\r\nimport { isWidthDown, withWidth } from '../withWidth/withWidth';\r\nconst styles = createStyles({\r\n centerAlign: {\r\n textAlign: 'center'\r\n },\r\n childrenContainer: {\r\n alignItems: 'center',\r\n display: 'flex',\r\n justifyContent: 'center'\r\n },\r\n contained: {},\r\n containedSecondary: {},\r\n disabled: {},\r\n inheritAlign: {\r\n textAlign: 'inherit'\r\n },\r\n justifyAlign: {\r\n textAlign: 'justify'\r\n },\r\n leftAlign: {\r\n textAlign: 'left'\r\n },\r\n rightAlign: {\r\n textAlign: 'right'\r\n },\r\n root: {},\r\n text: {},\r\n textInline: {\r\n textAlign: 'center',\r\n width: Tokens.widthFluid\r\n },\r\n sizeDefault: {},\r\n sizeLarge: {}\r\n});\r\nconst Button = (props, ref) => {\r\n const { IconProps, TextProps, align, children, classes, disabled, fluid, loading, noTextCover, textVariantStyling, variant, width } = props, rest = __rest(props, [\"IconProps\", \"TextProps\", \"align\", \"children\", \"classes\", \"disabled\", \"fluid\", \"loading\", \"noTextCover\", \"textVariantStyling\", \"variant\", \"width\"]);\r\n const isXSmall = isWidthDown('xs', width);\r\n const isTextInlineButton = variant === 'text' && textVariantStyling === 'inline';\r\n const isTextStandaloneButton = variant === 'text' && textVariantStyling !== 'inline';\r\n const classOverrides = omit(classes, ['centerAlign', 'childrenContainer', 'inheritAlign',\r\n 'justifyAlign', 'leftAlign', 'rightAlign', 'textInline']);\r\n if (align) {\r\n switch (align) {\r\n case 'center':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.centerAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.centerAlign);\r\n break;\r\n case 'inherit':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.inheritAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.inheritAlign);\r\n break;\r\n case 'justify':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.justifyAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.justifyAlign);\r\n break;\r\n case 'left':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.leftAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.leftAlign);\r\n break;\r\n case 'right':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.rightAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.rightAlign);\r\n break;\r\n }\r\n }\r\n if (isXSmall && isTextStandaloneButton) {\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.textInline);\r\n }\r\n const contentButton = (React.createElement(React.Fragment, null, IconProps || loading ? (React.createElement(\"span\", { className: classes.childrenContainer },\r\n loading ? (React.createElement(Icon, { marginRight: true, name: \"spinner\", spin: true })) : (IconProps && (React.createElement(Icon, Object.assign({ marginRight: true }, IconProps)))),\r\n React.createElement(\"span\", null, children))) : (React.createElement(\"span\", null, children))));\r\n const button = (React.createElement(EdsButton, Object.assign({ classes: classOverrides, disabled: loading ? true : disabled, fluid: !isXSmall\r\n || fluid !== undefined\r\n || isTextInlineButton ? fluid : true, textVariantStyling: textVariantStyling, variant: variant, ref: ref }, rest), contentButton));\r\n if (!noTextCover && isTextInlineButton) {\r\n return (React.createElement(Text, Object.assign({ component: \"span\", ref: ref }, TextProps), button));\r\n }\r\n else {\r\n return (React.createElement(React.Fragment, null, button));\r\n }\r\n};\r\nconst ButtonFRC = forwardRef(Button);\r\nButtonFRC.displayName = 'ButtonFRC';\r\nButtonFRC.defaultProps = {\r\n id: ''\r\n};\r\nexport default withStyles(styles, { name: 'ButtonWS' })(withWidth()(ButtonFRC));\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport { ButtonGroup as EdsButtonGroup } from '@ellucian/react-design-system/core/es/Button';\r\nimport { Tokens } from '../styles';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = (theme) => createStyles({\r\n root: {\r\n [theme.breakpoints.only('xs')]: {\r\n width: Tokens.widthFluid\r\n },\r\n '& button': {\r\n [theme.breakpoints.only('xs')]: {\r\n marginLeft: 0,\r\n marginRight: 0\r\n }\r\n },\r\n width: 'auto'\r\n },\r\n toggleGroup: {\r\n '& > button:first-child': {\r\n borderBottomRightRadius: 0,\r\n borderTopRightRadius: 0\r\n },\r\n '& > button:last-child': {\r\n borderBottomLeftRadius: 0,\r\n borderTopLeftRadius: 0\r\n },\r\n '& > button:not(:first-child):not(:last-child)': {\r\n borderBottomLeftRadius: 0,\r\n borderBottomRightRadius: 0,\r\n borderTopLeftRadius: 0,\r\n borderTopRightRadius: 0\r\n },\r\n '& button': {\r\n marginLeft: 0,\r\n marginRight: 0\r\n },\r\n display: 'flex',\r\n flexWrap: 'nowrap'\r\n }\r\n});\r\nconst ButtonGroup = (props, ref) => {\r\n const { children, classes, toggle } = props, rest = __rest(props, [\"children\", \"classes\", \"toggle\"]);\r\n const classOverrides = omit(classes, ['toggleGroup']);\r\n if (toggle) {\r\n classOverrides.root = classnames(classes.root, classes.toggleGroup);\r\n }\r\n return (React.createElement(EdsButtonGroup, Object.assign({ classes: classOverrides, ref: ref }, rest), children));\r\n};\r\nconst ButtonGroupFRC = forwardRef(ButtonGroup);\r\nButtonGroupFRC.displayName = 'ButtonGroupFRC';\r\nexport default withStyles(styles, { name: 'ButtonGroupWS' })(ButtonGroupFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsIconButton from '@ellucian/react-design-system/core/es/IconButton';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n notSelectedStatus: {\r\n border: `${Tokens.borderWidthThin} solid ${Tokens.colorBrandNeutral300}`\r\n },\r\n root: {\r\n '& *': {\r\n pointerEvents: 'none'\r\n }\r\n },\r\n selectedStatus: {\r\n backgroundColor: Tokens.colorBrandNeutral300\r\n }\r\n});\r\nconst IconButton = (props, ref) => {\r\n const { children, classes, selected, title } = props, rest = __rest(props, [\"children\", \"classes\", \"selected\", \"title\"]);\r\n const classOverrides = omit(classes, ['notSelectedStatus', 'selectedStatus']);\r\n if (selected === true) {\r\n classOverrides.root = classnames(classes.root, classes.selectedStatus);\r\n }\r\n else if (selected === false) {\r\n classOverrides.root = classnames(classes.root, classes.notSelectedStatus);\r\n }\r\n return (React.createElement(EdsIconButton, Object.assign({ \"aria-label\": title, classes: classOverrides, title: title, ref: ref }, rest), children));\r\n};\r\nconst IconButtonFRC = forwardRef(IconButton);\r\nIconButtonFRC.displayName = 'IconButtonFRC';\r\nexport default withStyles(styles, { name: 'IconButtonWS' })(IconButtonFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React, { forwardRef } from 'react';\r\nimport EdsTooltip from '@ellucian/react-design-system/core/es/Tooltip';\r\nconst Tooltip = (props, ref) => {\r\n const { children } = props, rest = __rest(props, [\"children\"]);\r\n return (React.createElement(EdsTooltip, Object.assign({ ref: ref }, rest), children));\r\n};\r\nconst TooltipFRC = forwardRef(Tooltip);\r\nTooltipFRC.displayName = 'TooltipFRC';\r\nexport default TooltipFRC;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EdsDialog, { DialogActions as EdsDialogActions, DialogContent as EdsDialogContent, DialogTitle as EdsDialogTitle } from '@ellucian/react-design-system/core/es/Dialog';\r\nimport withMobileDialog from '@ellucian/react-design-system/core/es/withMobileDialog';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n modalContent: {\r\n padding: Tokens.spacing40\r\n }\r\n});\r\nconst Modal = (props) => {\r\n const { children, classes, disableHeaderTypography, disableSpacing, footer, header, id, noContentPadding } = props, rest = __rest(props, [\"children\", \"classes\", \"disableHeaderTypography\", \"disableSpacing\", \"footer\", \"header\", \"id\", \"noContentPadding\"]);\r\n let modalHeader;\r\n if (header) {\r\n modalHeader = (React.createElement(EdsDialogTitle, { disableTypography: disableHeaderTypography, id: `title${id}` }, header));\r\n }\r\n let modalBody;\r\n if (children) {\r\n modalBody = (React.createElement(EdsDialogContent, { classes: { root: noContentPadding ? undefined : classes.modalContent } }, children));\r\n }\r\n let modalFooter;\r\n if (footer) {\r\n modalFooter = (React.createElement(EdsDialogActions, { disableSpacing: disableSpacing }, footer));\r\n }\r\n return (React.createElement(EdsDialog, Object.assign({ \"aria-labelledby\": `title${id}`, id: id }, rest),\r\n modalHeader,\r\n modalBody,\r\n modalFooter));\r\n};\r\nexport default withMobileDialog()(withStyles(styles)(Modal));\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport withWidth, { isWidthDown } from '../withWidth';\n/**\n * Dialog will responsively be full screen *at or below* the given breakpoint\n * (defaults to 'sm' for mobile devices).\n * Notice that this Higher-order Component is incompatible with server-side rendering.\n */\n\nvar withMobileDialog = function withMobileDialog() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return function (Component) {\n var _options$breakpoint = options.breakpoint,\n breakpoint = _options$breakpoint === void 0 ? 'sm' : _options$breakpoint;\n\n function WithMobileDialog(props) {\n return /*#__PURE__*/React.createElement(Component, _extends({\n fullScreen: isWidthDown(breakpoint, props.width)\n }, props));\n }\n\n process.env.NODE_ENV !== \"production\" ? WithMobileDialog.propTypes = {\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']).isRequired\n } : void 0;\n return withWidth()(WithMobileDialog);\n };\n};\n\nexport default withMobileDialog;","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React from 'react';\r\nimport EdsBackdrop from '@ellucian/react-design-system/core/es/Backdrop';\r\nimport EdsCircularProgress from '@ellucian/react-design-system/core/es/CircularProgress';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = (theme) => createStyles({\r\n customPageLoader: {\r\n color: theme.palette.primary.main\r\n },\r\n overModal: {\r\n 'z-index': `${Number(Tokens.zIndexModal) + 1}${Tokens.important}`\r\n }\r\n});\r\nconst PageLoader = (props) => {\r\n const { classes, id, isDefault, open, overModal } = props, rest = __rest(props, [\"classes\", \"id\", \"isDefault\", \"open\", \"overModal\"]);\r\n const classOverrides = omit(classes, ['overModal', 'customPageLoader']);\r\n if (overModal) {\r\n classOverrides.root = classnames(classes.root, classes.overModal);\r\n }\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(EdsBackdrop, { classes: classOverrides, open: open },\r\n React.createElement(EdsCircularProgress, Object.assign({ className: !isDefault ? classes.customPageLoader : undefined, id: id, ize: 50, role: \"progressbar\" }, rest)))));\r\n};\r\nexport default withStyles(styles)(PageLoader);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EdsSnackbar from '@ellucian/react-design-system/core/es/Snackbar';\r\nconst Snackbar = (props) => {\r\n const { children, type } = props, rest = __rest(props, [\"children\", \"type\"]);\r\n return (React.createElement(EdsSnackbar, Object.assign({ variant: type }, rest), children));\r\n};\r\nexport default Snackbar;\r\n","import classnames from 'classnames';\r\nimport React from 'react';\r\nimport EdsFooter from '@ellucian/react-design-system/core/es/Footer';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n footer: {\r\n width: Tokens.widthFluid\r\n }\r\n});\r\nconst Footer = (props) => {\r\n const { children, classes, className, id, text } = props;\r\n let classFooter = classes.footer;\r\n if (className) {\r\n classFooter = classnames(classFooter, className);\r\n }\r\n return (React.createElement(\"div\", { className: classFooter },\r\n React.createElement(EdsFooter, { footerText: text, id: id }, children)));\r\n};\r\nexport default withStyles(styles)(Footer);\r\n","import classnames from 'classnames';\r\nimport React from 'react';\r\nimport EdsPageHeader from '@ellucian/react-design-system/core/es/PageHeader';\r\nimport Grid from '../Grid';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n h1: {},\r\n pageHeaderWhite: {\r\n color: Tokens.colorBrandNeutral100\r\n }\r\n});\r\nconst PageHeader = (props) => {\r\n const { classes, id, text, white } = props;\r\n const classOverrides = {\r\n h1: classes.h1\r\n };\r\n if (white) {\r\n classOverrides.h1 = classnames(classes.h1, classes.pageHeaderWhite);\r\n }\r\n return (React.createElement(Grid, { container: true },\r\n React.createElement(Grid, { item: true },\r\n React.createElement(EdsPageHeader, { classes: classOverrides, id: id, text: text }))));\r\n};\r\nexport default withStyles(styles)(PageHeader);\r\n","import React from 'react';\r\nimport Footer from '../../core/Footer';\r\nimport Grid from '../../core/Grid';\r\nimport PageHeader from '../../core/PageHeader';\r\nimport Constants from '../../../helpers/Constants';\r\nimport Format from '../../../helpers/Format';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport LayoutStore from '../../../flux/stores/LayoutStore';\r\nconst minWidthSS = '320px!important';\r\nconst styles = (theme) => createStyles({\r\n '@global': {\r\n '#root > div': {\r\n '& > header > nav': {\r\n '& > div > div:nth-child(3)': {\r\n '& > div > div > div > div > div > a': {\r\n '& > div': {\r\n '& > div': {\r\n [theme.breakpoints.up('sm')]: {\r\n maxWidth: '136px',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap'\r\n }\r\n },\r\n [theme.breakpoints.up('sm')]: {\r\n overflow: 'hidden'\r\n }\r\n }\r\n },\r\n left: 'auto',\r\n position: 'absolute',\r\n right: 0\r\n },\r\n '& > div > div:nth-child(4)': {\r\n minWidth: minWidthSS\r\n },\r\n minWidth: minWidthSS,\r\n right: 'auto!important'\r\n },\r\n height: Tokens.heightFluid\r\n },\r\n '.rbc-event-label': {\r\n display: 'none'\r\n },\r\n '.ss-app': {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n height: 'inherit',\r\n minWidth: minWidthSS,\r\n overflowX: 'hidden',\r\n overflowY: 'hidden',\r\n WebkitOverflowScrolling: 'touch'\r\n },\r\n '.static-element': {\r\n position: 'sticky',\r\n top: Tokens.spacing05\r\n },\r\n '@keyframes blinker': {\r\n '0%, 50%, 100%': { opacity: 0 },\r\n '25%, 75%': { opacity: 1 }\r\n },\r\n '@keyframes slidein': {\r\n from: {\r\n opacity: 0\r\n },\r\n to: {\r\n opacity: 1\r\n }\r\n }\r\n },\r\n containerContentPage: {\r\n [theme.breakpoints.down('md')]: {\r\n paddingLeft: Tokens.sizingXxLarge,\r\n paddingRight: Tokens.sizingXxLarge\r\n },\r\n [theme.breakpoints.only('xs')]: {\r\n paddingLeft: Tokens.spacing50,\r\n paddingRight: Tokens.spacing50\r\n },\r\n paddingLeft: '130px',\r\n paddingRight: '130px'\r\n },\r\n containerMain: {\r\n height: Tokens.heightFluid\r\n },\r\n contentPage: {\r\n height: 'inherit',\r\n marginBottom: Tokens.spacing70\r\n },\r\n main: {\r\n backgroundPosition: 'top',\r\n backgroundRepeat: 'no-repeat',\r\n backgroundSize: 'cover',\r\n height: Tokens.heightFluid,\r\n overflowX: 'hidden',\r\n overflowY: 'auto',\r\n WebkitOverflowScrolling: 'touch'\r\n },\r\n topMain: {\r\n minHeight: Tokens.spacing85\r\n }\r\n});\r\nconst ContentPage = (props) => {\r\n const { backgroundImageUrl, buildVersion, buildYear, classes, contentPage, headerTitle, navTabs, noPadding, withBackgroundImage, withFooter } = props;\r\n let styleMain;\r\n if (withBackgroundImage) {\r\n const backgroundDefaultUrl = `${Constants.imagesCDN}/bg/PowerCampus-Background.png`;\r\n const gradient = 'linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%), ';\r\n styleMain = {\r\n backgroundImage: `${backgroundImageUrl ? gradient : ''}url(${backgroundImageUrl ? backgroundImageUrl : backgroundDefaultUrl})`\r\n };\r\n }\r\n const layoutResources = LayoutStore.getResourcesLayout();\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(\"div\", { className: classes.topMain }),\r\n React.createElement(\"main\", { id: \"mainContent\", className: classes.main, style: styleMain },\r\n React.createElement(Grid, { className: classes.main, container: true, direction: \"column\", justify: \"space-between\", wrap: \"nowrap\", spacing: 0 },\r\n React.createElement(Grid, { item: true },\r\n React.createElement(Grid, { container: true, className: noPadding ? undefined : classes.containerContentPage, spacing: 0 },\r\n React.createElement(Grid, { item: true, className: classes.contentPage, id: \"contentPage\", xs: 12 },\r\n headerTitle ? (React.createElement(PageHeader, { id: \"lblPageHeader\", text: headerTitle, white: withBackgroundImage && Boolean(backgroundImageUrl) })) : undefined,\r\n navTabs,\r\n React.createElement(Grid, { container: true, spacing: 0 },\r\n React.createElement(Grid, { item: true, xs: true }, contentPage))))),\r\n React.createElement(Grid, { item: true }, withFooter\r\n && layoutResources\r\n && layoutResources.footer\r\n && buildVersion\r\n && buildYear ? (React.createElement(Footer, { id: \"footerContent\", text: Format.toString(layoutResources.footer.formatText, [buildVersion, buildYear]) })) : undefined)))));\r\n};\r\nexport default withStyles(styles)(ContentPage);\r\n","import LayoutActions from '../flux/actions/LayoutActions';\r\nimport LogData from '../helpers/LogData';\r\nconst Storage = {\r\n loadFromStorage(key) {\r\n try {\r\n const stateFromStorage = localStorage.getItem(key);\r\n if (stateFromStorage == null) {\r\n return undefined;\r\n }\r\n return JSON.parse(stateFromStorage);\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.loadFromStorage.name, e));\r\n }\r\n },\r\n saveToStorage(key, value) {\r\n try {\r\n const stateFromStorage = JSON.stringify(value);\r\n localStorage.setItem(key, stateFromStorage);\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.saveToStorage.name, e));\r\n }\r\n },\r\n removeFromStorage(key) {\r\n try {\r\n localStorage.removeItem(key);\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.removeFromStorage.name, e));\r\n }\r\n },\r\n clearStorage() {\r\n try {\r\n localStorage.clear();\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.clearStorage.name, e));\r\n }\r\n }\r\n};\r\nexport default Storage;\r\n","const StorageKeys = {\r\n urlAdvisees: 'urlAdvisees',\r\n urlChecklist: 'urlChecklist',\r\n urlDegreeReq: 'urlDegreeReq'\r\n};\r\nexport default StorageKeys;\r\n","export var NotificationType;\r\n(function (NotificationType) {\r\n NotificationType[NotificationType[\"PermissionRequest\"] = 1] = \"PermissionRequest\";\r\n})(NotificationType || (NotificationType = {}));\r\n","import React from 'react';\r\nimport EdsBadge, { NotificationBadge as EdsNotificationBadge } from '@ellucian/react-design-system/core/es/Badge';\r\nimport EdsHeaderBar, { HeaderBarLogo as EdsHeaderBarLogo } from '@ellucian/react-design-system/core/es/HeaderBar';\r\nimport EdsLogo from '@ellucian/react-design-system/core/es/Logo';\r\nimport Icon from '../../core/Icon';\r\nimport Text from '../../core/Text';\r\nimport { withWidth } from '../../core/withWidth';\r\nimport Format from '../../../helpers/Format';\r\nimport Storage from '../../../storage';\r\nimport StorageKeys from '../../../storage/StorageKeys';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport { CartItemType } from '../../../types/Student/ICartItem';\r\nimport { NotificationType } from '../../../types/INotification';\r\nimport LayoutStore from '../../../flux/stores/LayoutStore';\r\nconst styles = ((theme) => createStyles({\r\n badgeCart: {\r\n [theme.breakpoints.up('sm')]: {\r\n right: '-30.4px'\r\n },\r\n minWidth: '0rem',\r\n position: 'absolute',\r\n right: 0,\r\n top: 0\r\n },\r\n badgeCartContainer: {\r\n [theme.breakpoints.up('sm')]: {\r\n width: `calc(${Tokens.widthFluid} - 32px)`\r\n },\r\n '& > span': {\r\n [theme.breakpoints.up('sm')]: {\r\n width: Tokens.widthFluid\r\n }\r\n }\r\n },\r\n badgeCartText: {\r\n [theme.breakpoints.only('xs')]: {\r\n width: '90vw'\r\n }\r\n },\r\n customLogo: {\r\n display: 'inline-block',\r\n fill: Tokens.colorFillLogoPreferred,\r\n height: Tokens.sizingXxLarge1,\r\n padding: Tokens.spacing40\r\n },\r\n customLogoContainer: {\r\n padding: '0rem'\r\n },\r\n edsLogo: {\r\n '& svg': {\r\n width: '5.625rem'\r\n },\r\n minWidth: '0rem!important',\r\n padding: '0rem!important'\r\n },\r\n iconListMenu: {\r\n marginRight: Tokens.spacing50\r\n }\r\n}));\r\nconst defaultProps = {\r\n countCart: -1,\r\n homeUrl: '/',\r\n isAuthenticated: false,\r\n logOutUrl: '/Home/LogOut',\r\n profileUrl: '/Account/Profile',\r\n resources: undefined,\r\n valueSelected: ''\r\n};\r\nconst NavBar = (props) => {\r\n const { cartItems, classes, countCart, displayName, homeUrl, isAuthenticated, layoutPermissions, logoAlternateText, logoUrl, logOutUrl, menuOptions, notifications, profileUrl, resources, showCart, showNotifications, valueSelected, width } = props;\r\n const getCartKey = (cartItem) => {\r\n let cartKey = '';\r\n if (resources) {\r\n switch (cartItem.type) {\r\n case CartItemType.Traditional:\r\n cartKey = `btnCartItem_${cartItem.value}`;\r\n break;\r\n case CartItemType.ContinuingEducation:\r\n cartKey = 'btnConEdCartItem';\r\n break;\r\n }\r\n }\r\n return cartKey;\r\n };\r\n const getCartLabel = (cartItem) => {\r\n let cartLabel = '';\r\n if (resources) {\r\n switch (cartItem.type) {\r\n case CartItemType.Traditional:\r\n cartLabel = cartItem.description;\r\n break;\r\n case CartItemType.ContinuingEducation:\r\n cartLabel = resources.utilityNav.cartMessages.lblContinuingEducation;\r\n break;\r\n }\r\n }\r\n return cartLabel;\r\n };\r\n const getCartSingleLabel = (cartItem) => {\r\n let cartLabel = '';\r\n if (resources) {\r\n switch (cartItem.type) {\r\n case CartItemType.Traditional:\r\n cartLabel = `${resources.utilityNav.lblCart}: ${cartItem.description}`;\r\n break;\r\n case CartItemType.ContinuingEducation:\r\n cartLabel = `${resources.utilityNav.lblCart}: ${resources.utilityNav.cartMessages.lblContinuingEducation}`;\r\n break;\r\n }\r\n }\r\n return cartLabel;\r\n };\r\n const lstMenuOptions = [];\r\n const lstUtilityOptions = [];\r\n const lstMegaMenuOptions = [];\r\n let registrationUrl;\r\n let conEdRegistrationUrl;\r\n let enrollmentUrl;\r\n if (menuOptions && menuOptions !== null) {\r\n let items;\r\n menuOptions.forEach(optionMenu => {\r\n if (optionMenu.isVisible) {\r\n if (optionMenu.options && optionMenu.options.length > 0) {\r\n items = [];\r\n optionMenu.options.forEach(optionSubMenu => {\r\n if (optionSubMenu.id === 'CoursesId') {\r\n registrationUrl = optionSubMenu.url;\r\n }\r\n if (optionSubMenu.id === 'ConEdCoursesId') {\r\n conEdRegistrationUrl = optionSubMenu.url;\r\n }\r\n if (optionSubMenu.id === 'EnrollmentId') {\r\n enrollmentUrl = optionSubMenu.url;\r\n }\r\n if (items && optionSubMenu.isVisible) {\r\n items.push({\r\n content: (React.createElement(\"span\", { className: \"megamenu-option-second-level\", id: `${optionMenu.id.replace(' ', '')}_${optionSubMenu.id.replace(' ', '')}` }, optionSubMenu.text)),\r\n isCustom: optionSubMenu.isCustom,\r\n key: optionSubMenu.id,\r\n value: optionSubMenu.url\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n items = undefined;\r\n }\r\n lstMenuOptions.push({\r\n active: optionMenu.id === valueSelected,\r\n content: (React.createElement(\"span\", { className: \"megamenu-option-first-level\", id: optionMenu.id.replace(' ', '') }, optionMenu.text)),\r\n isCustom: optionMenu.isCustom,\r\n items: items,\r\n key: optionMenu.id,\r\n value: optionMenu.url\r\n });\r\n }\r\n });\r\n }\r\n if (resources && isAuthenticated) {\r\n let cartIcon;\r\n if (showCart &&\r\n (registrationUrl || conEdRegistrationUrl)\r\n && countCart !== undefined\r\n && countCart !== null\r\n && countCart >= 0) {\r\n if (countCart > 0) {\r\n cartIcon = (React.createElement(EdsNotificationBadge, { badgeContent: countCart },\r\n React.createElement(Icon, { name: \"cart\" })));\r\n }\r\n else {\r\n cartIcon = (React.createElement(Icon, { name: \"cart\" }));\r\n }\r\n }\r\n if (cartIcon && cartItems) {\r\n if (cartItems && cartItems.length > 0) {\r\n if (cartItems.length === 1) {\r\n lstUtilityOptions.push({\r\n content: cartIcon,\r\n items: undefined,\r\n key: getCartKey(cartItems[0]),\r\n label: getCartSingleLabel(cartItems[0])\r\n });\r\n }\r\n else {\r\n lstUtilityOptions.push({\r\n content: cartIcon,\r\n items: cartItems.map(cartItem => ({\r\n content: (React.createElement(\"span\", { className: classes.badgeCartContainer },\r\n React.createElement(EdsBadge, { badgeContent: cartItem.count, classes: { badge: classes.badgeCart } },\r\n React.createElement(\"span\", { className: classes.badgeCartText }, getCartLabel(cartItem))))),\r\n key: getCartKey(cartItem)\r\n })),\r\n key: 'btnCartItemList',\r\n label: resources.utilityNav.lblCart\r\n });\r\n }\r\n }\r\n else {\r\n lstUtilityOptions.push({\r\n content: cartIcon,\r\n items: undefined,\r\n key: 'btnCart',\r\n label: resources.utilityNav.lblCart\r\n });\r\n }\r\n }\r\n if (showNotifications && notifications && notifications.length > 0) {\r\n lstUtilityOptions.push({\r\n content: (React.createElement(EdsNotificationBadge, { badgeContent: notifications.length > 0 ? notifications.length : undefined },\r\n React.createElement(Icon, { name: \"notification\" }))),\r\n items: notifications.map((notification, iNotif) => {\r\n let notificationText = '';\r\n switch (notification.notificationType) {\r\n case NotificationType.PermissionRequest:\r\n notificationText = Format.toString(resources.utilityNav.notificationMessages.formatPermissionRequest, [notification.personFrom]);\r\n break;\r\n }\r\n return {\r\n content: (React.createElement(Text, null, notificationText)),\r\n key: `btnNotification_${iNotif}_${notification.notificationType}_${notification.personIdFrom}`\r\n };\r\n }),\r\n key: 'btnNotifications',\r\n label: resources.utilityNav.lblNotifications\r\n });\r\n }\r\n const accountMenu = [];\r\n let megaMenuAccount;\r\n if (width !== 'xs') {\r\n megaMenuAccount = {\r\n content: resources.utilityNav.lblProfile,\r\n items: [],\r\n key: 'account-menu'\r\n };\r\n }\r\n if (layoutPermissions && layoutPermissions.hasProfileClaim) {\r\n accountMenu.push({\r\n content: (React.createElement(React.Fragment, null,\r\n React.createElement(Icon, { name: \"user\", className: classes.iconListMenu }),\r\n React.createElement(\"span\", { id: \"lblUtilityProfile\" }, resources.utilityNav.profileMenu.lblProfile))),\r\n key: 'btnProfile'\r\n });\r\n if (megaMenuAccount && megaMenuAccount.items) {\r\n megaMenuAccount.items.push({\r\n content: (React.createElement(\"span\", { id: \"lblMegaMenuProfile\" }, resources.utilityNav.profileMenu.lblProfile)),\r\n key: 'btnMegaMenuProfile'\r\n });\r\n }\r\n }\r\n accountMenu.push({\r\n content: (React.createElement(React.Fragment, null,\r\n React.createElement(Icon, { name: \"sign-out\", className: classes.iconListMenu }),\r\n React.createElement(\"span\", { id: \"lblUtilityLogOut\" }, resources.utilityNav.profileMenu.lblLogOut))),\r\n key: 'btnLogOut'\r\n });\r\n if (megaMenuAccount && megaMenuAccount.items) {\r\n megaMenuAccount.items.push({\r\n content: (React.createElement(\"span\", { id: \"lblMegaMenuLogOut\" }, resources.utilityNav.profileMenu.lblLogOut)),\r\n key: 'btnMegaMenuLogOut'\r\n });\r\n }\r\n lstUtilityOptions.push({\r\n content: (React.createElement(Icon, { name: \"user\" })),\r\n contentLabel: displayName,\r\n items: accountMenu,\r\n key: 'profile-utility',\r\n label: resources.utilityNav.lblProfile\r\n });\r\n if (megaMenuAccount) {\r\n lstMegaMenuOptions.push(megaMenuAccount);\r\n }\r\n }\r\n const onItemSelected = (item) => {\r\n if (item.key) {\r\n const parts = item.key.split('_');\r\n switch (parts[0]) {\r\n case 'btnNotification':\r\n switch (parts[2]) {\r\n case '1':\r\n if (enrollmentUrl) {\r\n LayoutStore.abort();\r\n window.location.assign(`${enrollmentUrl}`);\r\n }\r\n break;\r\n }\r\n break;\r\n case 'btnCart':\r\n LayoutStore.abort();\r\n if (registrationUrl) {\r\n window.location.assign(registrationUrl);\r\n }\r\n else if (conEdRegistrationUrl) {\r\n window.location.assign(`${conEdRegistrationUrl}/Cart`);\r\n }\r\n break;\r\n case 'btnCartItem':\r\n LayoutStore.abort();\r\n if (registrationUrl) {\r\n window.location.assign(`${registrationUrl}/${parts[1]}`);\r\n }\r\n break;\r\n case 'btnConEdCartItem':\r\n LayoutStore.abort();\r\n if (conEdRegistrationUrl) {\r\n window.location.assign(`${conEdRegistrationUrl}/Cart`);\r\n }\r\n break;\r\n case 'btnMegaMenuLogOut':\r\n case 'btnLogOut':\r\n LayoutStore.abort();\r\n LayoutStore.setIsAuthenticated(false);\r\n LayoutStore.setMenuOptions(undefined);\r\n LayoutStore.setResourcesLayout(undefined);\r\n Storage.removeFromStorage(StorageKeys.urlAdvisees);\r\n window.location.assign(logOutUrl);\r\n break;\r\n case 'btnMegaMenuProfile':\r\n case 'btnProfile':\r\n LayoutStore.abort();\r\n window.location.assign(profileUrl);\r\n break;\r\n default:\r\n if (item.value) {\r\n if (item.isCustom) {\r\n window.open(item.value);\r\n }\r\n else {\r\n LayoutStore.abort();\r\n window.location.assign(item.value);\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n };\r\n const logo = logoUrl ? (React.createElement(EdsHeaderBarLogo, { classes: { root: classes.customLogoContainer } },\r\n React.createElement(\"a\", { href: homeUrl, id: \"logoNavBar\" },\r\n React.createElement(\"img\", { alt: logoAlternateText, className: classes.customLogo, role: \"img\", src: logoUrl })))) : (React.createElement(EdsHeaderBarLogo, null,\r\n React.createElement(\"a\", { href: homeUrl, id: \"logoNavBar\" },\r\n React.createElement(EdsLogo, { className: classes.edsLogo }))));\r\n return (React.createElement(EdsHeaderBar, { autoGenerateMenus: true, logo: logo, megaMenuBadge: Boolean((countCart && countCart > 0) || (notifications && notifications.length > 0)), megaMenuDefinition: lstMegaMenuOptions, menuDefinition: lstMenuOptions, menuItemsLabel: resources ? resources.utilityNav.lblMegaMenuTitle : '', position: \"fixed\", showSearch: false, utilityDefinition: lstUtilityOptions, onItemSelected: onItemSelected }));\r\n};\r\nNavBar.defaultProps = defaultProps;\r\nexport default withStyles(styles)(withWidth()(NavBar));\r\n","export var ResultType;\r\n(function (ResultType) {\r\n ResultType[\"error\"] = \"error\";\r\n ResultType[\"info\"] = \"info\";\r\n ResultType[\"success\"] = \"success\";\r\n ResultType[\"warning\"] = \"warning\";\r\n})(ResultType || (ResultType = {}));\r\n","import LayoutActions from '../flux/actions/LayoutActions';\r\nimport LogData from '../helpers/LogData';\r\nimport { ResultType } from '../types/ResultType';\r\nimport Format from './Format';\r\nconst Resolver = (json, functionName, onCatch) => {\r\n let result;\r\n try {\r\n result = Format.toJson(json);\r\n if (result && !result.status) {\r\n if (result.code) {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setRedirectCode(result.code);\r\n }\r\n else if (result.log) {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setAlert({ messageType: ResultType.error });\r\n }\r\n else {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setLogData(LogData.badJsonResult(functionName));\r\n }\r\n }\r\n }\r\n catch (e) {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setLogData(LogData.fromException(functionName, e));\r\n }\r\n return result;\r\n};\r\nexport default Resolver;\r\n","import { Tokens } from '../react/core/styles';\r\nimport Constants from './Constants';\r\nconst ThemeHelper = {\r\n getDefaultEmpty() {\r\n return {\r\n actionColor: '',\r\n backgroundUrl: '',\r\n faviconUrl: '',\r\n logoAlternateText: '',\r\n logoUrl: '',\r\n primaryColor: '',\r\n secondaryColor: '',\r\n studyingCalendarColor: '',\r\n teachingCalendarColor: ''\r\n };\r\n },\r\n getDefaultValues() {\r\n return {\r\n actionColor: Constants.defaultActionColor,\r\n backgroundUrl: '',\r\n faviconUrl: '',\r\n logoAlternateText: '',\r\n logoUrl: '',\r\n primaryColor: Tokens.colorBrandPrimary,\r\n secondaryColor: Tokens.colorBrandSecondary,\r\n studyingCalendarColor: Tokens.tangerine600,\r\n teachingCalendarColor: Tokens.purple600\r\n };\r\n },\r\n withDefaultValues(theme) {\r\n if (theme) {\r\n const themeSettingsWithDefaults = Object.assign({}, theme);\r\n const defaultTheme = this.getDefaultValues();\r\n if (!themeSettingsWithDefaults.primaryColor) {\r\n themeSettingsWithDefaults.primaryColor = defaultTheme.primaryColor;\r\n }\r\n if (!themeSettingsWithDefaults.secondaryColor) {\r\n themeSettingsWithDefaults.secondaryColor = defaultTheme.secondaryColor;\r\n }\r\n if (!themeSettingsWithDefaults.actionColor) {\r\n themeSettingsWithDefaults.actionColor = defaultTheme.actionColor;\r\n }\r\n if (!themeSettingsWithDefaults.studyingCalendarColor) {\r\n themeSettingsWithDefaults.studyingCalendarColor = defaultTheme.studyingCalendarColor;\r\n }\r\n if (!themeSettingsWithDefaults.teachingCalendarColor) {\r\n themeSettingsWithDefaults.teachingCalendarColor = defaultTheme.teachingCalendarColor;\r\n }\r\n return themeSettingsWithDefaults;\r\n }\r\n return this.getDefaultValues();\r\n },\r\n hasHTML5ColorCompatibility() {\r\n try {\r\n const color = document.createElement('input');\r\n color.setAttribute('type', 'color');\r\n return color.type !== 'text';\r\n }\r\n catch (_a) {\r\n return false;\r\n }\r\n }\r\n};\r\nexport default ThemeHelper;\r\n","import React from 'react';\r\nimport { clearInterval, clearTimeout, setInterval, setTimeout } from 'timers';\r\nimport { IconSprite as EdsIconSprite } from '@ellucian/ds-icons/lib';\r\nimport createEDSTheme from '../../core/themes/createEDSTheme';\r\nimport Alert from '../../core/Alert';\r\nimport Application from '../../core/Application';\r\nimport Button from '../../core/Button';\r\nimport Grid from '../../core/Grid';\r\nimport Icon from '../../core/Icon';\r\nimport IconButton from '../../core/IconButton';\r\nimport Modal from '../../core/Modal';\r\nimport PageLoader from '../../core/PageLoader';\r\nimport Snackbar from '../../core/Snackbar';\r\nimport Text from '../../core/Text';\r\nimport Tooltip from '../../core/Tooltip';\r\nimport ContentPage from '../ContentPage';\r\nimport NavBar from '../NavBar';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { CtaColors } from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport { LogType } from '../../../types/LogType';\r\nimport { ResultType } from '../../../types/ResultType';\r\nimport Constants from '../../../helpers/Constants';\r\nimport LogData from '../../../helpers/LogData';\r\nimport Format from '../../../helpers/Format';\r\nimport Redirect from '../../../helpers/Redirect';\r\nimport Resolver from '../../../helpers/Resolver';\r\nimport ThemeHelper from '../../../helpers/ThemeHelper';\r\nimport Requests from '../../../requests/LayoutRequests';\r\nimport Actions from '../../../flux/actions/LayoutActions';\r\nimport Store from '../../../flux/stores/LayoutStore';\r\nconst styles = createStyles({\r\n privacyLink: {\r\n color: Tokens.colorBrandCtaBase,\r\n flexBasis: '100%',\r\n fontFamily: Tokens.fontFamilyDefault,\r\n fontSize: Tokens.fontSizeDefault,\r\n textAlign: 'center',\r\n textDecoration: 'underline',\r\n padding: `0 ${Tokens.spacing10}`,\r\n '&:hover': {\r\n color: Tokens.colorBrandCtaHover,\r\n textDecoration: 'underline',\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: Tokens.colorBrandCtaActive,\r\n textDecoration: 'underline'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n textDecoration: 'underline',\r\n borderRadius: Tokens.borderRadiusSmall,\r\n boxShadow: `0 0 0 ${Tokens.borderWidthThick} ${Tokens.colorBorderGlobalFocus}`\r\n }\r\n }\r\n});\r\nclass Layout extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.onCloseTimeoutNotification = () => {\r\n try {\r\n this.setState({\r\n openTimeoutNotification: false\r\n });\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.onCloseTimeoutNotification.name, e));\r\n }\r\n };\r\n this.onExtendTimeoutNotification = () => {\r\n try {\r\n this.clearTimeoutSession();\r\n this.setState({\r\n isLoadingTimeoutNotification: true\r\n });\r\n Requests.getIsAuthenticated(this.resolveGetIsAuthenticated);\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.onExtendTimeoutNotification.name, e));\r\n }\r\n };\r\n this.setMegaMenuSuffix = (element) => {\r\n if (element.id && !element.id.endsWith('_megamenu')) {\r\n element.id = `${element.id}_megamenu`;\r\n }\r\n };\r\n this.setMegaMenuIds = () => {\r\n try {\r\n const megaMenuElementsFirstLevel = document.querySelectorAll('.megamenu-section span.megamenu-option-first-level');\r\n if (megaMenuElementsFirstLevel) {\r\n megaMenuElementsFirstLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n const megaMenuElementsSecondLevel = document.querySelectorAll('.megamenu-section span.megamenu-option-second-level');\r\n if (megaMenuElementsSecondLevel) {\r\n megaMenuElementsSecondLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n this.setMegaMenuIdsMobile();\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.setMegaMenuIds.name, e));\r\n }\r\n };\r\n this.setMegaMenuIdsMobile = () => {\r\n try {\r\n const megaMenuElementsMobileFirstLevel = document.querySelectorAll('.megamenu-menu-list span.megamenu-option-first-level');\r\n if (megaMenuElementsMobileFirstLevel) {\r\n megaMenuElementsMobileFirstLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n const megaMenuElementsMobileSecondLevel = document.querySelectorAll('.megamenu-menu-list span.megamenu-option-first-level');\r\n if (megaMenuElementsMobileSecondLevel) {\r\n megaMenuElementsMobileSecondLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.setMegaMenuIds.name, e));\r\n }\r\n };\r\n this.setPrivacyPolicy = () => {\r\n try {\r\n const { classes } = this.props;\r\n const { cultures } = this.state;\r\n let privacyLink = document.getElementById('lnkEllucianPrivacyPolicy');\r\n if (!privacyLink) {\r\n let megamenuFooter;\r\n megamenuFooter = document.querySelector('.megamenu-footer');\r\n if (megamenuFooter) {\r\n if (megamenuFooter.innerHTML.startsWith(' div');\r\n }\r\n if (megamenuFooter) {\r\n privacyLink = document.createElement('a');\r\n privacyLink.id = 'lnkEllucianPrivacyPolicy';\r\n privacyLink.href = 'https://www.ellucian.com/privacy';\r\n privacyLink.innerText = 'Privacy Notice';\r\n if (cultures === null || cultures === void 0 ? void 0 : cultures.uiCulture) {\r\n if (cultures.uiCulture.startsWith('es')) {\r\n privacyLink.href = 'https://www.ellucian.com/es/politica-de-privacidad';\r\n privacyLink.innerText = 'Aviso de Privacidad';\r\n }\r\n }\r\n privacyLink.target = '_blank';\r\n privacyLink.className = classes.privacyLink;\r\n megamenuFooter.appendChild(privacyLink);\r\n megamenuFooter.style.justifyContent = 'center';\r\n megamenuFooter.style.flexWrap = 'wrap';\r\n }\r\n }\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.setPrivacyPolicy.name, e));\r\n }\r\n };\r\n this.callbackObserver = (mutationRecord) => {\r\n if ((mutationRecord === null || mutationRecord === void 0 ? void 0 : mutationRecord.length) > 0) {\r\n const mutationType = mutationRecord.find(m => m.attributeName === 'style');\r\n if (mutationType) {\r\n this.setState({\r\n overModal: Boolean(mutationType.target.style) && mutationType.target.style.cssText === 'overflow: hidden;'\r\n });\r\n }\r\n }\r\n };\r\n this.clearTimeoutSessionCounter = () => {\r\n try {\r\n if (this.timeoutSessionCounter !== undefined) {\r\n this.timeoutSessionCounter.unref();\r\n clearInterval(this.timeoutSessionCounter);\r\n this.timeoutSessionCounter = undefined;\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.clearTimeoutSessionCounter.name, e));\r\n }\r\n };\r\n this.clearTimeoutNotification = () => {\r\n try {\r\n if (this.timeoutNotification !== undefined) {\r\n this.timeoutNotification.unref();\r\n clearTimeout(this.timeoutNotification);\r\n this.timeoutNotification = undefined;\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.clearTimeoutNotification.name, e));\r\n }\r\n };\r\n this.clearTimeoutSession = () => {\r\n try {\r\n if (this.timeoutSession !== undefined) {\r\n this.timeoutSession.unref();\r\n clearTimeout(this.timeoutSession);\r\n this.timeoutSession = undefined;\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.clearTimeoutSession.name, e));\r\n }\r\n };\r\n this.countTimeoutSessionCounter = () => {\r\n try {\r\n const { sessionCount } = this.state;\r\n if (sessionCount > 0) {\r\n this.setState({\r\n sessionCount: sessionCount - 1\r\n });\r\n }\r\n else {\r\n this.clearTimeoutSessionCounter();\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.countTimeoutSessionCounter.name, e));\r\n }\r\n };\r\n this.displayNotificationTimeout = () => {\r\n try {\r\n this.setState({\r\n sessionCount: this.notificationTimeout\r\n }, () => {\r\n this.setState({\r\n openTimeoutNotification: true\r\n });\r\n });\r\n this.clearTimeoutSession();\r\n const timeout = Store.getTimeout();\r\n if (timeout >= 0) {\r\n this.timeoutSession = setTimeout(this.redirectToLogout, (this.notificationTimeout * 1000) + 1000);\r\n }\r\n this.timeoutSessionCounter = setInterval(this.countTimeoutSessionCounter, 1000);\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.displayNotificationTimeout.name, e));\r\n }\r\n };\r\n this.redirectToLogout = () => {\r\n if (this.isADFS) {\r\n Redirect.refreshPage();\r\n }\r\n else if (this.isSAML) {\r\n Redirect.toSAMLLogin();\r\n }\r\n else {\r\n Redirect.toLogoutWithReturnUrl();\r\n }\r\n };\r\n this.resolveGetInitialLoadData = (json) => {\r\n try {\r\n const result = Resolver(json, this.resolveGetInitialLoadData.name);\r\n if (result === null || result === void 0 ? void 0 : result.status) {\r\n const { idMainModule, idMainPage, idModule, idPage, showCart } = this.props;\r\n const isAuthenticated = result.data.isAuthenticated;\r\n if (isAuthenticated) {\r\n if (showCart) {\r\n Actions.getCountCart();\r\n }\r\n const sessionTimeOut = result.data.sessionTimeout !== undefined ? result.data.sessionTimeout : -1;\r\n const tokenTimeout = result.data.tokenTimeout !== undefined ? result.data.tokenTimeout : -1;\r\n this.isADFS = Boolean(result.data.isADFS);\r\n this.isSAML = Boolean(result.data.isSAML);\r\n this.notificationTimeout = result.data.notificationTimeout || 0;\r\n Actions.setTimeout(sessionTimeOut, tokenTimeout, this.props.sessionTimeoutType, this.props.tokenTimeoutType);\r\n }\r\n const displayName = result.data.displayName;\r\n const layoutPermissions = result.data.layoutPermissions;\r\n let theme = result.data.theme;\r\n const cultures = result.data.cultures;\r\n const menu = result.data.options;\r\n const resources = result.data.resources;\r\n const layoutResources = result.data.layoutResources;\r\n if ((resources === null || resources === void 0 ? void 0 : resources.lblPageTitle) && (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblPageTitleGeneral) && layoutResources.lblPageTitleGeneral) {\r\n resources.lblPageTitle = `${layoutResources.lblPageTitleGeneral}${resources.lblPageTitle}`;\r\n }\r\n if (menu) {\r\n const moduleSelected = idMainModule ? `${idMainModule}Id` : `${idModule}Id`;\r\n const pageSelected = idMainPage ? `${idMainPage}Id` : `${idPage}Id`;\r\n menu.forEach(item => {\r\n if (item.id === moduleSelected) {\r\n if (item.options) {\r\n item.options.forEach(suboption => {\r\n if (suboption.id === pageSelected) {\r\n if (resources) {\r\n if (!resources.lblPageTitle) {\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblPageTitleGeneral) {\r\n resources.lblPageTitle = `${layoutResources.lblPageTitleGeneral}${suboption.text}`;\r\n }\r\n else {\r\n resources.lblPageTitle = suboption.text;\r\n }\r\n }\r\n if (!resources.lblHeaderTitle) {\r\n resources.lblHeaderTitle = suboption.text;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n Store.setAuthMode(result.data.authMode);\r\n Store.setHasProfile(result.data.hasProfile);\r\n Store.setIsAuthenticated(isAuthenticated);\r\n Store.setMenuOptions(menu);\r\n Store.setPermissions(result.data.permissions);\r\n Store.setResources(result.data.resources);\r\n Store.setResourcesLayout(layoutResources);\r\n if (Boolean(cultures)) {\r\n Store.setCultures(cultures);\r\n this.setHTMLAttributes(cultures);\r\n }\r\n else {\r\n this.setHTMLAttributes(this.state.cultures);\r\n }\r\n Store.setTheme(theme);\r\n if (!Boolean(theme)) {\r\n theme = ThemeHelper.getDefaultEmpty();\r\n }\r\n const newUITheme = this.getUITheme(theme);\r\n let componentTranslations;\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.component) {\r\n const componentKeys = Object.keys(layoutResources.component);\r\n if (componentKeys.length > 0) {\r\n componentTranslations = {};\r\n let elementKeys;\r\n let componentName;\r\n let propName;\r\n for (const componentKey of componentKeys) {\r\n elementKeys = Object.keys(layoutResources.component[componentKey]);\r\n for (const elementKey of elementKeys) {\r\n componentName = `${componentKey[0].toUpperCase()}${componentKey.substr(1, componentKey.length - 1)}`;\r\n propName = `component.${componentName}.${elementKey}`;\r\n componentTranslations[propName] = layoutResources.component[componentKey][elementKey];\r\n }\r\n }\r\n }\r\n }\r\n this.setState({\r\n buildVersion: result.data.buildVersion,\r\n buildYear: result.data.buildYear,\r\n componentTranslations: componentTranslations,\r\n cultures: cultures !== null && cultures !== void 0 ? cultures : this.state.cultures,\r\n displayName: displayName,\r\n isAuthenticated: isAuthenticated,\r\n layoutPermissions: layoutPermissions,\r\n layoutResources: layoutResources,\r\n menuOptions: menu,\r\n notifications: result.data.notifications,\r\n resources: resources,\r\n sessionCount: this.notificationTimeout,\r\n themeEds: newUITheme,\r\n themeSettings: theme\r\n }, () => this.setState({\r\n ready: true\r\n }, () => {\r\n Actions.setLayoutReady(true);\r\n this.setMegaMenuIds();\r\n }));\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.resolveGetInitialLoadData.name, e));\r\n }\r\n };\r\n this.resolveGetIsAuthenticated = (json) => {\r\n try {\r\n const result = Resolver(json, this.resolveGetIsAuthenticated.name, this.redirectToLogout);\r\n if ((result === null || result === void 0 ? void 0 : result.status) && result.data) {\r\n this.setState({\r\n isLoadingTimeoutNotification: false,\r\n openTimeoutNotification: false\r\n });\r\n }\r\n else {\r\n this.clearTimeoutSession();\r\n this.clearTimeoutSessionCounter();\r\n this.clearTimeoutNotification();\r\n this.onCloseTimeoutNotification();\r\n this.redirectToLogout();\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.resolveGetIsAuthenticated.name, e));\r\n }\r\n };\r\n this.onAlertChange = () => {\r\n const alert = Store.getAlert();\r\n if (alert) {\r\n this.setState({\r\n alert: alert,\r\n loading: false,\r\n showMessage: true\r\n });\r\n }\r\n else {\r\n this.setState({\r\n alert: undefined,\r\n loading: false,\r\n showMessage: false\r\n });\r\n }\r\n };\r\n this.onCloseAlert = () => {\r\n this.setState({\r\n showMessage: false\r\n });\r\n };\r\n this.onCountCartChange = () => {\r\n this.setState({\r\n cartItems: Store.getCartItems(),\r\n countCart: Store.getCountCart()\r\n });\r\n };\r\n this.onError = () => {\r\n const error = Store.getError();\r\n const errorMessage = Store.getErrorMessage();\r\n if (error && errorMessage) {\r\n this.logError(LogData.fromMessage(this.onError.name, errorMessage));\r\n }\r\n };\r\n this.onLoadingChange = () => {\r\n const loading = Store.getLoading();\r\n this.setState({\r\n loading: loading\r\n });\r\n };\r\n this.onLogDataChange = () => {\r\n const { idModule, idPage } = this.props;\r\n const { layoutResources } = this.state;\r\n const alert = {\r\n message: 'There was an error in PowerCampus. Try again.',\r\n messageType: ResultType.error\r\n };\r\n const logData = Store.getLogData();\r\n if (logData) {\r\n logData.idModule = idModule;\r\n logData.idPage = idPage;\r\n switch (logData.type) {\r\n case LogType.GenericError:\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblError) {\r\n alert.message = layoutResources.lblError;\r\n }\r\n break;\r\n case LogType.CustomError:\r\n if (logData.userMessage) {\r\n alert.message = logData.userMessage;\r\n }\r\n break;\r\n }\r\n Requests.postError(logData);\r\n }\r\n this.setState({\r\n alert: alert,\r\n loading: false,\r\n logData: logData,\r\n showMessage: true\r\n });\r\n };\r\n this.onRedirectCodeChange = () => {\r\n const redirectCode = Store.getRedirectCode();\r\n if (redirectCode) {\r\n this.setState({\r\n loading: true\r\n });\r\n switch (redirectCode) {\r\n case -1:\r\n Redirect.toError();\r\n break;\r\n case 400:\r\n Redirect.toError400();\r\n break;\r\n case 401:\r\n Redirect.toError401();\r\n break;\r\n case 403:\r\n Redirect.toError403();\r\n break;\r\n case 404:\r\n Redirect.toError404();\r\n break;\r\n case 500:\r\n Redirect.toError500();\r\n break;\r\n case 503:\r\n Redirect.toError503();\r\n break;\r\n default:\r\n Redirect.toError500();\r\n break;\r\n }\r\n }\r\n };\r\n this.onReloadThemeChange = () => {\r\n const theme = Store.getTheme();\r\n const newUITheme = this.getUITheme(theme);\r\n this.setState({\r\n themeEds: newUITheme,\r\n themeSettings: theme\r\n });\r\n };\r\n this.onSetTimeout = () => {\r\n this.clearTimeoutSession();\r\n this.clearTimeoutSessionCounter();\r\n this.clearTimeoutNotification();\r\n this.onCloseTimeoutNotification();\r\n const timeout = Store.getTimeout();\r\n if (timeout >= 0) {\r\n if (this.notificationTimeout && this.notificationTimeout > 0) {\r\n this.timeoutNotification = setTimeout(this.displayNotificationTimeout, ((timeout - this.notificationTimeout) * 1000));\r\n }\r\n else {\r\n this.timeoutSession = setTimeout(this.redirectToLogout, (timeout * 1000));\r\n }\r\n }\r\n };\r\n document.title = '';\r\n this.notificationTimeout = 0;\r\n this.isADFS = false;\r\n this.isSAML = false;\r\n this.state = this.getInitialState();\r\n const target = document.getElementsByTagName('body');\r\n if ((target === null || target === void 0 ? void 0 : target.length) > 0) {\r\n this.bodyStyleObserver = new MutationObserver(this.callbackObserver);\r\n const config = {\r\n attributeFilter: ['style'],\r\n attributeOldValue: true,\r\n attributes: true\r\n };\r\n this.bodyStyleObserver.observe(target[0], config);\r\n }\r\n Store.addAlertListener(this.onAlertChange);\r\n Store.addCountCartListener(this.onCountCartChange);\r\n Store.addErrorListener(this.onError);\r\n Store.addLoadingListener(this.onLoadingChange);\r\n Store.addLogDataListener(this.onLogDataChange);\r\n Store.addRedirectCodeListener(this.onRedirectCodeChange);\r\n Store.addReloadThemeListener(this.onReloadThemeChange);\r\n Store.addTimeoutListener(this.onSetTimeout);\r\n window.onresize = () => {\r\n this.setPrivacyPolicy();\r\n this.setMegaMenuIds();\r\n };\r\n }\r\n getInitialState() {\r\n const themeSettings = Store.getTheme();\r\n return {\r\n countCart: -1,\r\n cultures: Store.getCultures(),\r\n isAuthenticated: Store.getIsAuthenticated(),\r\n isLoadingTimeoutNotification: false,\r\n layoutResources: Store.getResourcesLayout(),\r\n loading: false,\r\n logData: undefined,\r\n menuOptions: Store.getMenuOptions(),\r\n openTimeoutNotification: false,\r\n ready: false,\r\n sessionCount: this.notificationTimeout,\r\n showMessage: false,\r\n themeEds: themeSettings ? this.getUITheme(themeSettings) : undefined,\r\n themeSettings: themeSettings\r\n };\r\n }\r\n logError(logData) {\r\n Actions.setLogData(logData);\r\n }\r\n getUITheme(theme) {\r\n const oldMetaTheme = document.getElementById('dynamic-theme');\r\n const oldLinkFavicon = document.getElementById('dynamic-favicon');\r\n const metaTheme = document.createElement('meta');\r\n metaTheme.id = 'dynamic-theme';\r\n metaTheme.name = 'theme-color';\r\n const linkFavicon = document.createElement('link');\r\n linkFavicon.id = 'dynamic-favicon';\r\n linkFavicon.rel = 'icon';\r\n const newUITheme = createEDSTheme('light');\r\n if (theme) {\r\n if (theme.primaryColor || theme.secondaryColor) {\r\n newUITheme.palette.primary.main = theme.primaryColor ? theme.primaryColor.toUpperCase() : Tokens.colorBrandPrimary;\r\n newUITheme.palette.secondary.main = theme.secondaryColor ? theme.secondaryColor.toUpperCase() : Tokens.colorBrandSecondary;\r\n metaTheme.content = newUITheme.palette.primary.main;\r\n }\r\n else {\r\n metaTheme.content = Tokens.colorBrandPrimary;\r\n }\r\n if (theme.actionColor) {\r\n newUITheme.palette.ctaColor = CtaColors[theme.actionColor];\r\n }\r\n if (theme.faviconUrl) {\r\n linkFavicon.href = theme.faviconUrl;\r\n }\r\n else {\r\n linkFavicon.href = Constants.faviconCDN;\r\n }\r\n }\r\n else {\r\n metaTheme.content = Tokens.colorBrandPrimary;\r\n linkFavicon.href = Constants.faviconCDN;\r\n }\r\n if (oldMetaTheme) {\r\n document.head.removeChild(oldMetaTheme);\r\n }\r\n if (oldLinkFavicon) {\r\n document.head.removeChild(oldLinkFavicon);\r\n }\r\n document.head.appendChild(metaTheme);\r\n document.head.appendChild(linkFavicon);\r\n return newUITheme;\r\n }\r\n setHTMLAttributes(cultures) {\r\n const htmlTag = document.getElementsByTagName('html');\r\n if ((htmlTag === null || htmlTag === void 0 ? void 0 : htmlTag.length) > 0 && cultures.uiCulture) {\r\n htmlTag[0].lang = cultures.uiCulture;\r\n htmlTag[0].dir = cultures.isRightToLeft ? 'rtl' : 'ltr';\r\n }\r\n }\r\n componentDidMount() {\r\n try {\r\n const { idModule, idPage, noServer } = this.props;\r\n if (!noServer) {\r\n Actions.showPageLoader();\r\n Requests.getInitialLoadData(idModule, idPage, this.resolveGetInitialLoadData);\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.componentDidMount.name, e));\r\n }\r\n }\r\n componentWillUnmount() {\r\n if (this.bodyStyleObserver) {\r\n this.bodyStyleObserver.disconnect();\r\n }\r\n if (this.timeoutSession !== undefined) {\r\n clearTimeout(this.timeoutSession);\r\n }\r\n Store.removeAlertListener(this.onAlertChange);\r\n Store.removeCountCartListener(this.onCountCartChange);\r\n Store.removeErrorListener(this.onError);\r\n Store.removeLoadingListener(this.onLoadingChange);\r\n Store.removeLogDataListener(this.onLogDataChange);\r\n Store.removeRedirectCodeListener(this.onRedirectCodeChange);\r\n Store.removeTimeoutListener(this.onSetTimeout);\r\n }\r\n render() {\r\n var _a;\r\n const { children, idMainModule, idModule, hideHeader, noPadding, noServer, showCart, showNotifications, withBackgroundImage, withFooter } = this.props;\r\n const { alert, buildVersion, buildYear, cartItems, componentTranslations, countCart, cultures, displayName, isAuthenticated, isLoadingTimeoutNotification, layoutPermissions, loading, menuOptions, notifications, overModal, openTimeoutNotification: openNotificationTimeout, ready, resources, layoutResources, sessionCount, showMessage, themeEds, themeSettings } = this.state;\r\n let pageAlert;\r\n if (alert) {\r\n if (alert.snackbar) {\r\n pageAlert = (React.createElement(Snackbar, { action: layoutResources ? (React.createElement(Tooltip, { title: layoutResources.lblClose },\r\n React.createElement(IconButton, { color: \"white\", id: \"btnClosePageMessage\", \"aria-label\": layoutResources.lblClose, onClick: this.onCloseAlert },\r\n React.createElement(Icon, { name: \"close\" })))) : undefined, ContentProps: {\r\n 'aria-describedby': 'pageMessage'\r\n }, message: (React.createElement(\"span\", { id: \"pageMessage\" }, alert.message\r\n || (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblError)\r\n || 'There was an error in PowerCampus. Try again.')), open: showMessage, type: alert.message ? alert.messageType : ResultType.error, onClose: this.onCloseAlert }));\r\n }\r\n else {\r\n pageAlert = (React.createElement(Alert, { id: \"pageAlert\", open: showMessage, overModal: overModal, text: alert.message\r\n || (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblError)\r\n || 'There was an error in PowerCampus. Try again.', type: alert.message ? alert.messageType : ResultType.error, userDismissable: true, variant: \"page\", onClose: this.onCloseAlert }));\r\n }\r\n }\r\n let timeoutSessionModal;\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.timeoutNotification) {\r\n timeoutSessionModal = (React.createElement(Modal, { disableBackdropClick: true, disableEscapeKeyDown: true, footer: (React.createElement(Button, { loading: isLoadingTimeoutNotification, id: \"btnExtendSession\", onClick: this.onExtendTimeoutNotification }, layoutResources.timeoutNotification.btnExtendSession)), id: \"TimeoutNotification\", header: layoutResources.timeoutNotification.lblNotificationTitle, open: openNotificationTimeout, showTitleBarClose: !isLoadingTimeoutNotification, onClose: this.onCloseTimeoutNotification },\r\n React.createElement(Grid, { container: true, spacing: 0 },\r\n React.createElement(Grid, { item: true, xs: true },\r\n React.createElement(Text, null, Format.toString(layoutResources.timeoutNotification.formatNotificationMessage, [sessionCount]))))));\r\n }\r\n let headerTitle;\r\n let navTabs;\r\n if (ready) {\r\n if (!hideHeader) {\r\n headerTitle = resources.lblHeaderTitle;\r\n }\r\n this.setPrivacyPolicy();\r\n }\r\n const dir = (cultures === null || cultures === void 0 ? void 0 : cultures.isRightToLeft) ? 'rtl' : 'ltr';\r\n return (React.createElement(Application, { dir: dir, labelOverrides: componentTranslations, theme: themeEds },\r\n React.createElement(EdsIconSprite, null),\r\n (themeEds && themeSettings) || noServer ? (React.createElement(React.Fragment, null,\r\n React.createElement(NavBar, { cartItems: cartItems, countCart: countCart, displayName: displayName, homeUrl: `${Constants.webUrl}/Home`, isAuthenticated: isAuthenticated, layoutPermissions: layoutPermissions, logoAlternateText: themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.logoAlternateText, logOutUrl: `${Constants.webUrl}/Home/LogOut`, logoUrl: themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.logoUrl, menuOptions: menuOptions, notifications: notifications, profileUrl: `${Constants.webUrl}/Account/Profile`, showCart: showCart, showNotifications: showNotifications, resources: (_a = layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.navBar) !== null && _a !== void 0 ? _a : undefined, valueSelected: idMainModule ? `${idMainModule}Id` : `${idModule}Id` }),\r\n React.createElement(\"div\", { className: \"ss-app\" },\r\n React.createElement(ContentPage, { backgroundImageUrl: themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.backgroundUrl, buildVersion: buildVersion, buildYear: buildYear, contentPage: children, headerTitle: headerTitle, isAuthenticated: isAuthenticated, navTabs: navTabs, noPadding: noPadding, withBackgroundImage: withBackgroundImage, withFooter: withFooter })))) : undefined,\r\n React.createElement(PageLoader, { id: \"pageLoader\", isDefault: Boolean(themeEds && themeSettings), open: loading, overModal: overModal, title: (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblLoading) || '' }),\r\n pageAlert,\r\n timeoutSessionModal));\r\n }\r\n}\r\nconst LayoutWithStyles = withStyles(styles)(Layout);\r\nexport default LayoutWithStyles;\r\n","import React from 'react';\r\nimport { ResultType } from '../../../types/ResultType';\r\nimport LogData from '../../../helpers/LogData';\r\nimport LayoutActions from '../../../flux/actions/LayoutActions';\r\nclass DSErrorBoundary extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.showError = (message) => {\r\n LayoutActions.setAlert({ message: message, messageType: ResultType.error });\r\n };\r\n this.state = this.getInitialState();\r\n }\r\n getInitialState() {\r\n return {\r\n componentError: false\r\n };\r\n }\r\n static getDerivedStateFromError() {\r\n return {\r\n componentError: true\r\n };\r\n }\r\n logError(logData) {\r\n LayoutActions.setLogData(logData);\r\n }\r\n redirectError(code) {\r\n LayoutActions.setRedirectCode(code);\r\n }\r\n componentDidCatch(error, info) {\r\n this.logError(LogData.fromComponentException(this.componentDidCatch.name, error, info));\r\n this.showError();\r\n this.redirectError(500);\r\n }\r\n render() {\r\n const { children } = this.props;\r\n return (React.createElement(React.Fragment, null, children));\r\n }\r\n}\r\nexport default DSErrorBoundary;\r\n","import React from 'react';\r\nimport DSErrorBoundary from '../DSErrorBoundary';\r\nconst withLayout = (WrappedComponent) => {\r\n class LayoutWrap extends React.Component {\r\n render() {\r\n return (React.createElement(DSErrorBoundary, null,\r\n React.createElement(WrappedComponent, Object.assign({}, this.props))));\r\n }\r\n }\r\n return LayoutWrap;\r\n};\r\nexport default withLayout;\r\n","export const heightReset = '0rem';\r\nexport const important = '!important';\r\nexport const nonBreakingSpace = ' ';\r\nexport const spacing0 = '0rem';\r\nexport const spacing05 = '0.0625rem';\r\nexport const spacing34 = '0.625rem';\r\nexport const spacing35 = '0.75rem';\r\nexport const spacing55 = '1.75rem';\r\nexport const spacing85 = '4rem';\r\nexport const spacingReset = '0';\r\nexport const widthReset = '0rem';\r\n","// Ellucian's CTA Colors\r\nimport { colorCtaBlueBase, colorCtaBlueHover, colorCtaBlueActive, colorCtaBlueTint, colorCtaGreenBase, colorCtaGreenHover, colorCtaGreenActive, colorCtaGreenTint, colorCtaIrisBase, colorCtaIrisHover, colorCtaIrisActive, colorCtaIrisTint, colorCtaPlumBase, colorCtaPlumHover, colorCtaPlumActive, colorCtaPlumTint, colorCtaTaupeBase, colorCtaTaupeHover, colorCtaTaupeActive, colorCtaTaupeTint } from '@ellucian/react-design-system/core/styles/tokens';\r\n\r\nvar ctaColor = {\r\n blue: {\r\n base: colorCtaBlueBase,\r\n hover: colorCtaBlueHover,\r\n active: colorCtaBlueActive,\r\n tint: colorCtaBlueTint\r\n },\r\n green: {\r\n base: colorCtaGreenBase,\r\n hover: colorCtaGreenHover,\r\n active: colorCtaGreenActive,\r\n tint: colorCtaGreenTint\r\n },\r\n iris: {\r\n base: colorCtaIrisBase,\r\n hover: colorCtaIrisHover,\r\n active: colorCtaIrisActive,\r\n tint: colorCtaIrisTint\r\n },\r\n plum: {\r\n base: colorCtaPlumBase,\r\n hover: colorCtaPlumHover,\r\n active: colorCtaPlumActive,\r\n tint: colorCtaPlumTint\r\n },\r\n taupe: {\r\n base: colorCtaTaupeBase,\r\n hover: colorCtaTaupeHover,\r\n active: colorCtaTaupeActive,\r\n tint: colorCtaTaupeTint\r\n }\r\n};\r\n\r\nexport default ctaColor;","import * as Tokens from '@ellucian/react-design-system/core/es/styles/tokens';\r\nimport * as InternalTokens from './internalTokens';\r\nexport { default as CtaColors } from '@ellucian/react-design-system/core/es/themes/common/ctaColors';\r\nexport default Object.assign(Object.assign({}, Tokens), InternalTokens);\r\n","import { LogType } from '../types/LogType';\r\nimport LogData from '../helpers/LogData';\r\nimport Constants from './Constants';\r\nimport Redirect from './Redirect';\r\nimport LayoutActions from '../flux/actions/LayoutActions';\r\nimport LayoutStore from '../flux/stores/LayoutStore';\r\nconst onRejectRequest = (info) => {\r\n console.warn('The request was rejected');\r\n console.debug(info);\r\n};\r\nconst onCatchRequest = (ex, functionName) => {\r\n if (ex.code !== 20) {\r\n const logData = LogData.fromException(functionName, ex);\r\n logData.type = LogType.NoConnection;\r\n LayoutActions.setLogData(logData);\r\n Redirect.toError500();\r\n }\r\n};\r\nconst onResolveRequest = (response, functionName, resolver) => {\r\n if (!(response && response.ok)) {\r\n LayoutActions.setLogData(LogData.fromResponse(functionName, response));\r\n }\r\n else if (response.redirected) {\r\n if (response.url.indexOf('LogIn?ReturnUrl') >= 0) {\r\n window.location.assign(window.location.href);\r\n }\r\n else if (response.url.indexOf('Error400') >= 0) {\r\n Redirect.toError400();\r\n }\r\n else if (response.url.indexOf('Error401') >= 0) {\r\n Redirect.toError401();\r\n }\r\n else if (response.url.indexOf('Error403') >= 0) {\r\n Redirect.toError403();\r\n }\r\n else if (response.url.indexOf('Error404') >= 0) {\r\n Redirect.toError404();\r\n }\r\n else if (response.url.indexOf('Error500') >= 0) {\r\n Redirect.toError500();\r\n }\r\n else if (response.url.indexOf('Error503') >= 0) {\r\n Redirect.toError503();\r\n }\r\n }\r\n else {\r\n LayoutActions.resetTimeout();\r\n if (resolver) {\r\n response.json()\r\n .then(resolver)\r\n .catch(ex => {\r\n LayoutActions.setLogData(LogData.fromResponse(functionName, ex));\r\n });\r\n }\r\n }\r\n};\r\nconst Request = {\r\n get(functionName, url, resolver, resolveError, signal) {\r\n try {\r\n fetch(`${Constants.webUrl}${url}`, {\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'get',\r\n signal: signal ? signal : LayoutStore.getSignal()\r\n })\r\n .then(response => onResolveRequest(response, functionName, resolver), onRejectRequest)\r\n .catch(ex => onCatchRequest(ex, functionName));\r\n if (resolveError) {\r\n console.warn('resolveError parameter was deprecated.');\r\n }\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(functionName, e));\r\n }\r\n },\r\n post(functionName, url, data, resolver, resolveError, signal) {\r\n try {\r\n fetch(`${Constants.webUrl}${url}`, {\r\n body: JSON.stringify(data),\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'post',\r\n signal: signal ? signal : LayoutStore.getSignal()\r\n })\r\n .then(response => onResolveRequest(response, functionName, resolver), onRejectRequest)\r\n .catch(ex => onCatchRequest(ex, functionName));\r\n if (resolveError) {\r\n console.warn('resolveError parameter was deprecated.');\r\n }\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(functionName, e));\r\n }\r\n }\r\n};\r\nexport default Request;\r\n","import Constants from '../helpers/Constants';\r\nimport Request from '../helpers/Request';\r\nimport LayoutActions from '../flux/actions/LayoutActions';\r\nconst LayoutRequests = {\r\n getCountCart() {\r\n return fetch(`${Constants.webUrl}/Cart/Count`, {\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'get'\r\n })\r\n .then(response => {\r\n if (response && response.ok) {\r\n LayoutActions.resetTimeout();\r\n return response.json();\r\n }\r\n else {\r\n throw new DOMException('Error in getCountCart');\r\n }\r\n })\r\n .catch(error => console.error(error));\r\n },\r\n getInitialLoadData(idModule, idPage, resolver, resolveError) {\r\n const data = { idModule: encodeURI(idModule), idPage: encodeURI(idPage) };\r\n Request.post(this.getInitialLoadData.name, '/Layout/InitialLoadData', data, resolver, resolveError);\r\n },\r\n getIsAuthenticated(resolver) {\r\n Request.post(this.getIsAuthenticated.name, '/SignIn/IsAuthenticated', null, resolver);\r\n },\r\n getResources(idModule, idPage, resolver, resolveError, signal) {\r\n Request.get(this.getResources.name, `/Layout/Resources/${encodeURI(idModule)}/${encodeURI(idPage)}`, resolver, resolveError, signal);\r\n },\r\n getPermissions(idModule, idPage, resolver, resolveError) {\r\n Request.get(this.getPermissions.name, `/Layout/Permissions/${encodeURI(idModule)}/${encodeURI(idPage)}`, resolver, resolveError);\r\n },\r\n postError(logData) {\r\n try {\r\n fetch(`${Constants.webUrl}/Logging/Error`, {\r\n body: JSON.stringify(logData),\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'post'\r\n })\r\n .then(response => {\r\n if (response && response.ok) {\r\n LayoutActions.resetTimeout();\r\n }\r\n else {\r\n throw new Error('Failed to register the error.');\r\n }\r\n })\r\n .catch(e => {\r\n throw e;\r\n });\r\n }\r\n catch (e) {\r\n throw e;\r\n }\r\n }\r\n};\r\nexport default LayoutRequests;\r\n","export var LayoutStatus;\r\n(function (LayoutStatus) {\r\n LayoutStatus[\"ErrorGetCountCart\"] = \"ErrorGetCountCart\";\r\n LayoutStatus[\"FetchGetCountCart\"] = \"FetchGetCountCart\";\r\n LayoutStatus[\"SuccessGetCountCart\"] = \"SuccessGetCountCart\";\r\n LayoutStatus[\"SuccessHidePageLoader\"] = \"SuccessHidePageLoader\";\r\n LayoutStatus[\"SuccessSetAlert\"] = \"SuccessSetAlert\";\r\n LayoutStatus[\"SuccessSetCountCart\"] = \"SuccessSetCountCart\";\r\n LayoutStatus[\"SuccessSetLayoutReady\"] = \"SuccessSetLayoutReady\";\r\n LayoutStatus[\"SuccessSetLogData\"] = \"SuccessSetLogData\";\r\n LayoutStatus[\"SuccessSetRedirectCode\"] = \"SuccessSetRedirectCode\";\r\n LayoutStatus[\"SuccessSetReloadTheme\"] = \"SuccessSetReloadTheme\";\r\n LayoutStatus[\"SuccessShowPageLoader\"] = \"SuccessShowPageLoader\";\r\n LayoutStatus[\"SuccessResetTimeout\"] = \"SuccessResetTimeout\";\r\n LayoutStatus[\"SuccessSetTimeout\"] = \"SuccessSetTimeout\";\r\n})(LayoutStatus || (LayoutStatus = {}));\r\n","export var LogType;\r\n(function (LogType) {\r\n LogType[LogType[\"GenericError\"] = 1] = \"GenericError\";\r\n LogType[LogType[\"NoConnection\"] = 2] = \"NoConnection\";\r\n LogType[LogType[\"CustomError\"] = 3] = \"CustomError\";\r\n})(LogType || (LogType = {}));\r\n","export var CartItemType;\r\n(function (CartItemType) {\r\n CartItemType[CartItemType[\"Traditional\"] = 0] = \"Traditional\";\r\n CartItemType[CartItemType[\"ContinuingEducation\"] = 1] = \"ContinuingEducation\";\r\n})(CartItemType || (CartItemType = {}));\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nvar _default = blue;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar common = {\n black: '#000',\n white: '#fff'\n};\nvar _default = common;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nvar _default = green;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#d5d5d5',\n A200: '#aaaaaa',\n A400: '#303030',\n A700: '#616161'\n};\nvar _default = grey;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar indigo = {\n 50: '#e8eaf6',\n 100: '#c5cae9',\n 200: '#9fa8da',\n 300: '#7986cb',\n 400: '#5c6bc0',\n 500: '#3f51b5',\n 600: '#3949ab',\n 700: '#303f9f',\n 800: '#283593',\n 900: '#1a237e',\n A100: '#8c9eff',\n A200: '#536dfe',\n A400: '#3d5afe',\n A700: '#304ffe'\n};\nvar _default = indigo;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nvar _default = orange;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar pink = {\n 50: '#fce4ec',\n 100: '#f8bbd0',\n 200: '#f48fb1',\n 300: '#f06292',\n 400: '#ec407a',\n 500: '#e91e63',\n 600: '#d81b60',\n 700: '#c2185b',\n 800: '#ad1457',\n 900: '#880e4f',\n A100: '#ff80ab',\n A200: '#ff4081',\n A400: '#f50057',\n A700: '#c51162'\n};\nvar _default = pink;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nvar _default = red;\nexports.default = _default;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Fade from '../Fade';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n // Improve scrollable dialog support.\n zIndex: -1,\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n },\n\n /* Styles applied to the root element if `invisible={true}`. */\n invisible: {\n backgroundColor: 'transparent'\n }\n};\nvar Backdrop = React.forwardRef(function Backdrop(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$invisible = props.invisible,\n invisible = _props$invisible === void 0 ? false : _props$invisible,\n open = props.open,\n transitionDuration = props.transitionDuration,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Fade : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"invisible\", \"open\", \"transitionDuration\", \"TransitionComponent\"]);\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: open,\n timeout: transitionDuration\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.root, className, invisible && classes.invisible),\n \"aria-hidden\": true,\n ref: ref\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is open.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiBackdrop'\n})(Backdrop);","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport useEventCallback from '../utils/useEventCallback';\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * @ignore - internal component.\n */\n\nfunction Ripple(props) {\n var classes = props.classes,\n _props$pulsate = props.pulsate,\n pulsate = _props$pulsate === void 0 ? false : _props$pulsate,\n rippleX = props.rippleX,\n rippleY = props.rippleY,\n rippleSize = props.rippleSize,\n inProp = props.in,\n _props$onExited = props.onExited,\n onExited = _props$onExited === void 0 ? function () {} : _props$onExited,\n timeout = props.timeout;\n\n var _React$useState = React.useState(false),\n leaving = _React$useState[0],\n setLeaving = _React$useState[1];\n\n var rippleClassName = clsx(classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n var rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n var childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n var handleExited = useEventCallback(onExited); // Ripple is used for user feedback (e.g. click or press) so we want to apply styles with the highest priority\n\n useEnhancedEffect(function () {\n if (!inProp) {\n // react-transition-group#onExit\n setLeaving(true); // react-transition-group#onExited\n\n var timeoutId = setTimeout(handleExited, timeout);\n return function () {\n clearTimeout(timeoutId);\n };\n }\n\n return undefined;\n }, [handleExited, inProp, timeout]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: rippleClassName,\n style: rippleStyles\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: childClassName\n }));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Ripple from './Ripple';\nvar DURATION = 550;\nexport var DELAY_RIPPLE = 80;\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n },\n\n /* Styles applied to the internal `Ripple` components `ripple` class. */\n ripple: {\n opacity: 0,\n position: 'absolute'\n },\n\n /* Styles applied to the internal `Ripple` components `rippleVisible` class. */\n rippleVisible: {\n opacity: 0.3,\n transform: 'scale(1)',\n animation: \"$enter \".concat(DURATION, \"ms \").concat(theme.transitions.easing.easeInOut)\n },\n\n /* Styles applied to the internal `Ripple` components `ripplePulsate` class. */\n ripplePulsate: {\n animationDuration: \"\".concat(theme.transitions.duration.shorter, \"ms\")\n },\n\n /* Styles applied to the internal `Ripple` components `child` class. */\n child: {\n opacity: 1,\n display: 'block',\n width: '100%',\n height: '100%',\n borderRadius: '50%',\n backgroundColor: 'currentColor'\n },\n\n /* Styles applied to the internal `Ripple` components `childLeaving` class. */\n childLeaving: {\n opacity: 0,\n animation: \"$exit \".concat(DURATION, \"ms \").concat(theme.transitions.easing.easeInOut)\n },\n\n /* Styles applied to the internal `Ripple` components `childPulsate` class. */\n childPulsate: {\n position: 'absolute',\n left: 0,\n top: 0,\n animation: \"$pulsate 2500ms \".concat(theme.transitions.easing.easeInOut, \" 200ms infinite\")\n },\n '@keyframes enter': {\n '0%': {\n transform: 'scale(0)',\n opacity: 0.1\n },\n '100%': {\n transform: 'scale(1)',\n opacity: 0.3\n }\n },\n '@keyframes exit': {\n '0%': {\n opacity: 1\n },\n '100%': {\n opacity: 0\n }\n },\n '@keyframes pulsate': {\n '0%': {\n transform: 'scale(1)'\n },\n '50%': {\n transform: 'scale(0.92)'\n },\n '100%': {\n transform: 'scale(1)'\n }\n }\n };\n};\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\n\nvar TouchRipple = React.forwardRef(function TouchRipple(props, ref) {\n var _props$center = props.center,\n centerProp = _props$center === void 0 ? false : _props$center,\n classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"center\", \"classes\", \"className\"]);\n\n var _React$useState = React.useState([]),\n ripples = _React$useState[0],\n setRipples = _React$useState[1];\n\n var nextKey = React.useRef(0);\n var rippleCallback = React.useRef(null);\n React.useEffect(function () {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]); // Used to filter out mouse emulated events on mobile.\n\n var ignoringMouseDown = React.useRef(false); // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n\n var startTimer = React.useRef(null); // This is the hook called once the previous timeout is ready.\n\n var startTimerCommit = React.useRef(null);\n var container = React.useRef(null);\n React.useEffect(function () {\n return function () {\n clearTimeout(startTimer.current);\n };\n }, []);\n var startCommit = React.useCallback(function (params) {\n var pulsate = params.pulsate,\n rippleX = params.rippleX,\n rippleY = params.rippleY,\n rippleSize = params.rippleSize,\n cb = params.cb;\n setRipples(function (oldRipples) {\n return [].concat(_toConsumableArray(oldRipples), [/*#__PURE__*/React.createElement(Ripple, {\n key: nextKey.current,\n classes: classes,\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n })]);\n });\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n var start = React.useCallback(function () {\n var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var cb = arguments.length > 2 ? arguments[2] : undefined;\n var _options$pulsate = options.pulsate,\n pulsate = _options$pulsate === void 0 ? false : _options$pulsate,\n _options$center = options.center,\n center = _options$center === void 0 ? centerProp || options.pulsate : _options$center,\n _options$fakeElement = options.fakeElement,\n fakeElement = _options$fakeElement === void 0 ? false : _options$fakeElement;\n\n if (event.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n\n if (event.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n\n var element = fakeElement ? null : container.current;\n var rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n }; // Get the size of the ripple\n\n var rippleX;\n var rippleY;\n var rippleSize;\n\n if (center || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n var _ref = event.touches ? event.touches[0] : event,\n clientX = _ref.clientX,\n clientY = _ref.clientY;\n\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n\n if (center) {\n 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.\n\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n var sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n var sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(Math.pow(sizeX, 2) + Math.pow(sizeY, 2));\n } // Touche devices\n\n\n if (event.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = function () {\n startCommit({\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize,\n cb: cb\n });\n }; // Delay the execution of the ripple effect.\n\n\n startTimer.current = setTimeout(function () {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n }, DELAY_RIPPLE); // We have to make a tradeoff with this value.\n }\n } else {\n startCommit({\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize,\n cb: cb\n });\n }\n }, [centerProp, startCommit]);\n var pulsate = React.useCallback(function () {\n start({}, {\n pulsate: true\n });\n }, [start]);\n var stop = React.useCallback(function (event, cb) {\n clearTimeout(startTimer.current); // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n\n if (event.type === 'touchend' && startTimerCommit.current) {\n event.persist();\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.current = setTimeout(function () {\n stop(event, cb);\n });\n return;\n }\n\n startTimerCommit.current = null;\n setRipples(function (oldRipples) {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, []);\n React.useImperativeHandle(ref, function () {\n return {\n pulsate: pulsate,\n start: start,\n stop: stop\n };\n }, [pulsate, start, stop]);\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, className),\n ref: container\n }, other), /*#__PURE__*/React.createElement(TransitionGroup, {\n component: null,\n exit: true\n }, ripples));\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n flip: false,\n name: 'MuiTouchRipple'\n})(React.memo(TouchRipple));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport clsx from 'clsx';\nimport { elementTypeAcceptingRef, refType } from '@material-ui/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport withStyles from '../styles/withStyles';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport TouchRipple from './TouchRipple';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n\n },\n '&$disabled': {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if keyboard focused. */\n focusVisible: {}\n};\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\n\nvar ButtonBase = React.forwardRef(function ButtonBase(props, ref) {\n var action = props.action,\n buttonRefProp = props.buttonRef,\n _props$centerRipple = props.centerRipple,\n centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n component = _props$component === void 0 ? 'button' : _props$component,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableRipple = props.disableRipple,\n disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple,\n _props$disableTouchRi = props.disableTouchRipple,\n disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi,\n _props$focusRipple = props.focusRipple,\n focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple,\n focusVisibleClassName = props.focusVisibleClassName,\n onBlur = props.onBlur,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onFocusVisible = props.onFocusVisible,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n onMouseDown = props.onMouseDown,\n onMouseLeave = props.onMouseLeave,\n onMouseUp = props.onMouseUp,\n onTouchEnd = props.onTouchEnd,\n onTouchMove = props.onTouchMove,\n onTouchStart = props.onTouchStart,\n onDragLeave = props.onDragLeave,\n _props$tabIndex = props.tabIndex,\n tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,\n TouchRippleProps = props.TouchRippleProps,\n _props$type = props.type,\n type = _props$type === void 0 ? 'button' : _props$type,\n other = _objectWithoutProperties(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\"]);\n\n var buttonRef = React.useRef(null);\n\n function getButtonNode() {\n // #StrictMode ready\n return ReactDOM.findDOMNode(buttonRef.current);\n }\n\n var rippleRef = React.useRef(null);\n\n var _React$useState = React.useState(false),\n focusVisible = _React$useState[0],\n setFocusVisible = _React$useState[1];\n\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n React.useImperativeHandle(action, function () {\n return {\n focusVisible: function focusVisible() {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n };\n }, []);\n React.useEffect(function () {\n if (focusVisible && focusRipple && !disableRipple) {\n rippleRef.current.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible]);\n\n function useRippleHandler(rippleAction, eventCallback) {\n var skipRippleAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : disableTouchRipple;\n return useEventCallback(function (event) {\n if (eventCallback) {\n eventCallback(event);\n }\n\n var ignore = skipRippleAction;\n\n if (!ignore && rippleRef.current) {\n rippleRef.current[rippleAction](event);\n }\n\n return true;\n });\n }\n\n var handleMouseDown = useRippleHandler('start', onMouseDown);\n var handleDragLeave = useRippleHandler('stop', onDragLeave);\n var handleMouseUp = useRippleHandler('stop', onMouseUp);\n var handleMouseLeave = useRippleHandler('stop', function (event) {\n if (focusVisible) {\n event.preventDefault();\n }\n\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n var handleTouchStart = useRippleHandler('start', onTouchStart);\n var handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n var handleTouchMove = useRippleHandler('stop', onTouchMove);\n var handleBlur = useRippleHandler('stop', function (event) {\n if (focusVisible) {\n onBlurVisible(event);\n setFocusVisible(false);\n }\n\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n var handleFocus = useEventCallback(function (event) {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n\n if (isFocusVisible(event)) {\n setFocusVisible(true);\n\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n\n if (onFocus) {\n onFocus(event);\n }\n });\n\n var isNonNativeButton = function isNonNativeButton() {\n var button = getButtonNode();\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n /**\n * IE 11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat\n */\n\n\n var keydownRef = React.useRef(false);\n var handleKeyDown = useEventCallback(function (event) {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') {\n keydownRef.current = true;\n event.persist();\n rippleRef.current.stop(event, function () {\n rippleRef.current.start(event);\n });\n }\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n } // Keyboard accessibility for non interactive elements\n\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n\n if (onClick) {\n onClick(event);\n }\n }\n });\n var handleKeyUp = useEventCallback(function (event) {\n // calling preventDefault in keyUp on a will not dispatch a click event if Space is pressed\n // https://codesandbox.io/s/button-keyup-preventdefault-dn7f0\n if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {\n keydownRef.current = false;\n event.persist();\n rippleRef.current.stop(event, function () {\n rippleRef.current.pulsate(event);\n });\n }\n\n if (onKeyUp) {\n onKeyUp(event);\n } // Keyboard accessibility for non interactive elements\n\n\n if (onClick && event.target === event.currentTarget && isNonNativeButton() && event.key === ' ' && !event.defaultPrevented) {\n onClick(event);\n }\n });\n var ComponentProp = component;\n\n if (ComponentProp === 'button' && other.href) {\n ComponentProp = 'a';\n }\n\n var buttonProps = {};\n\n if (ComponentProp === 'button') {\n buttonProps.type = type;\n buttonProps.disabled = disabled;\n } else {\n if (ComponentProp !== 'a' || !other.href) {\n buttonProps.role = 'button';\n }\n\n buttonProps['aria-disabled'] = disabled;\n }\n\n var handleUserRef = useForkRef(buttonRefProp, ref);\n var handleOwnRef = useForkRef(focusVisibleRef, buttonRef);\n var handleRef = useForkRef(handleUserRef, handleOwnRef);\n\n var _React$useState2 = React.useState(false),\n mountedState = _React$useState2[0],\n setMountedState = _React$useState2[1];\n\n React.useEffect(function () {\n setMountedState(true);\n }, []);\n var enableTouchRipple = mountedState && !disableRipple && !disabled;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (enableTouchRipple && !rippleRef.current) {\n 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'));\n }\n }, [enableTouchRipple]);\n }\n\n return /*#__PURE__*/React.createElement(ComponentProp, _extends({\n className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),\n onBlur: handleBlur,\n onClick: onClick,\n onFocus: handleFocus,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n onMouseDown: handleMouseDown,\n onMouseLeave: handleMouseLeave,\n onMouseUp: handleMouseUp,\n onDragLeave: handleDragLeave,\n onTouchEnd: handleTouchEnd,\n onTouchMove: handleTouchMove,\n onTouchStart: handleTouchStart,\n ref: handleRef,\n tabIndex: disabled ? -1 : tabIndex\n }, buttonProps, other), children, enableTouchRipple ?\n /*#__PURE__*/\n\n /* TouchRipple is only needed client-side, x2 boost on the server. */\n React.createElement(TouchRipple, _extends({\n ref: rippleRef,\n center: centerRipple\n }, TouchRippleProps)) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? ButtonBase.propTypes = {\n /**\n * A ref for imperative actions.\n * It currently only supports `focusVisible()` action.\n */\n action: refType,\n\n /**\n * @ignore\n *\n * Use that prop to pass a ref to the native button component.\n * @deprecated Use `ref` instead.\n */\n buttonRef: refType,\n\n /**\n * If `true`, the ripples will be centered.\n * They won't start at the cursor interaction position.\n */\n centerRipple: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n\n /**\n * If `true`, the base button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `focusVisibleClassName`.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If `true`, the touch ripple effect will be disabled.\n */\n disableTouchRipple: PropTypes.bool,\n\n /**\n * If `true`, the base button will have a keyboard focus ripple.\n * `disableRipple` must also be `false`.\n */\n focusRipple: PropTypes.bool,\n\n /**\n * This prop can help a person know which element has the keyboard focus.\n * The class name will be applied when the element gain the focus through a keyboard interaction.\n * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).\n * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n * if needed.\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onDragLeave: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * Callback fired when the component is focused with a keyboard.\n * We trigger a `onFocus` callback too.\n */\n onFocusVisible: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseUp: PropTypes.func,\n\n /**\n * @ignore\n */\n onTouchEnd: PropTypes.func,\n\n /**\n * @ignore\n */\n onTouchMove: PropTypes.func,\n\n /**\n * @ignore\n */\n onTouchStart: PropTypes.func,\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Props applied to the `TouchRipple` element.\n */\n TouchRippleProps: PropTypes.object,\n\n /**\n * Used to control the button's purpose.\n * This prop passes the value to the `type` attribute of the native button component.\n */\n type: PropTypes.oneOf(['submit', 'reset', 'button'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiButtonBase'\n})(ButtonBase);","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport ownerDocument from '../utils/ownerDocument';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport { elementAcceptingRef, exactProp } from '@material-ui/utils';\n\nfunction mapEventPropToEvent(eventProp) {\n return eventProp.substring(2).toLowerCase();\n}\n\nfunction clickedRootScrollbar(event) {\n return document.documentElement.clientWidth < event.clientX || document.documentElement.clientHeight < event.clientY;\n}\n/**\n * Listen for click events that occur somewhere in the document, outside of the element itself.\n * For instance, if you need to hide a menu when people click anywhere else on your page.\n */\n\n\nfunction ClickAwayListener(props) {\n var children = props.children,\n _props$disableReactTr = props.disableReactTree,\n disableReactTree = _props$disableReactTr === void 0 ? false : _props$disableReactTr,\n _props$mouseEvent = props.mouseEvent,\n mouseEvent = _props$mouseEvent === void 0 ? 'onClick' : _props$mouseEvent,\n onClickAway = props.onClickAway,\n _props$touchEvent = props.touchEvent,\n touchEvent = _props$touchEvent === void 0 ? 'onTouchEnd' : _props$touchEvent;\n var movedRef = React.useRef(false);\n var nodeRef = React.useRef(null);\n var mountedRef = React.useRef(false);\n var syntheticEventRef = React.useRef(false);\n React.useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []); // can be removed once we drop support for non ref forwarding class components\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n nodeRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(children.ref, handleOwnRef); // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviours like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n\n var handleClickAway = useEventCallback(function (event) {\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n var insideReactTree = syntheticEventRef.current;\n syntheticEventRef.current = false; // 1. IE 11 support, which trigger the handleClickAway even after the unbind\n // 2. The child might render null.\n // 3. Behave like a blur listener.\n\n if (!mountedRef.current || !nodeRef.current || clickedRootScrollbar(event)) {\n return;\n } // Do not act if user performed touchmove\n\n\n if (movedRef.current) {\n movedRef.current = false;\n return;\n }\n\n var insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js\n\n if (event.composedPath) {\n insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;\n } else {\n // TODO v6 remove dead logic https://caniuse.com/#search=composedPath.\n var doc = ownerDocument(nodeRef.current);\n insideDOM = !doc.documentElement.contains(event.target) || nodeRef.current.contains(event.target);\n }\n\n if (!insideDOM && (disableReactTree || !insideReactTree)) {\n onClickAway(event);\n }\n }); // Keep track of mouse/touch events that bubbled up through the portal.\n\n var createHandleSynthetic = function createHandleSynthetic(handlerName) {\n return function (event) {\n syntheticEventRef.current = true;\n var childrenPropsHandler = children.props[handlerName];\n\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n };\n\n var childrenProps = {\n ref: handleRef\n };\n\n if (touchEvent !== false) {\n childrenProps[touchEvent] = createHandleSynthetic(touchEvent);\n }\n\n React.useEffect(function () {\n if (touchEvent !== false) {\n var mappedTouchEvent = mapEventPropToEvent(touchEvent);\n var doc = ownerDocument(nodeRef.current);\n\n var handleTouchMove = function handleTouchMove() {\n movedRef.current = true;\n };\n\n doc.addEventListener(mappedTouchEvent, handleClickAway);\n doc.addEventListener('touchmove', handleTouchMove);\n return function () {\n doc.removeEventListener(mappedTouchEvent, handleClickAway);\n doc.removeEventListener('touchmove', handleTouchMove);\n };\n }\n\n return undefined;\n }, [handleClickAway, touchEvent]);\n\n if (mouseEvent !== false) {\n childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);\n }\n\n React.useEffect(function () {\n if (mouseEvent !== false) {\n var mappedMouseEvent = mapEventPropToEvent(mouseEvent);\n var doc = ownerDocument(nodeRef.current);\n doc.addEventListener(mappedMouseEvent, handleClickAway);\n return function () {\n doc.removeEventListener(mappedMouseEvent, handleClickAway);\n };\n }\n\n return undefined;\n }, [handleClickAway, mouseEvent]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, React.cloneElement(children, childrenProps));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? ClickAwayListener.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The wrapped element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n */\n disableReactTree: PropTypes.bool,\n\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n */\n mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),\n\n /**\n * Callback fired when a \"click away\" event is detected.\n */\n onClickAway: PropTypes.func.isRequired,\n\n /**\n * The touch event to listen to. You can disable the listener by providing `false`.\n */\n touchEvent: PropTypes.oneOf(['onTouchEnd', 'onTouchStart', false])\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);\n}\n\nexport default ClickAwayListener;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport withStyles from '../styles/withStyles';\nimport { duration } from '../styles/transitions';\nimport { getTransitionProps } from '../transitions/utils';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the container element. */\n container: {\n height: 0,\n overflow: 'hidden',\n transition: theme.transitions.create('height')\n },\n\n /* Styles applied to the container element when the transition has entered. */\n entered: {\n height: 'auto',\n overflow: 'visible'\n },\n\n /* Styles applied to the container element when the transition has exited and `collapsedHeight` != 0px. */\n hidden: {\n visibility: 'hidden'\n },\n\n /* Styles applied to the outer wrapper element. */\n wrapper: {\n // Hack to get children with a negative margin to not falsify the height computation.\n display: 'flex'\n },\n\n /* Styles applied to the inner wrapper element. */\n wrapperInner: {\n width: '100%'\n }\n };\n};\n/**\n * The Collapse transition is used by the\n * [Vertical Stepper](/components/steppers/#vertical-stepper) StepContent component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Collapse = React.forwardRef(function Collapse(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$collapsedHeigh = props.collapsedHeight,\n collapsedHeightProp = _props$collapsedHeigh === void 0 ? '0px' : _props$collapsedHeigh,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExiting = props.onExiting,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? duration.standard : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"collapsedHeight\", \"component\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExiting\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var timer = React.useRef();\n var wrapperRef = React.useRef(null);\n var autoTransitionDuration = React.useRef();\n var collapsedHeight = typeof collapsedHeightProp === 'number' ? \"\".concat(collapsedHeightProp, \"px\") : collapsedHeightProp;\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n\n var handleEnter = function handleEnter(node, isAppearing) {\n node.style.height = collapsedHeight;\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleEntering = function handleEntering(node, isAppearing) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration;\n\n if (timeout === 'auto') {\n var duration2 = theme.transitions.getAutoHeightDuration(wrapperHeight);\n node.style.transitionDuration = \"\".concat(duration2, \"ms\");\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : \"\".concat(transitionDuration, \"ms\");\n }\n\n node.style.height = \"\".concat(wrapperHeight, \"px\");\n\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n };\n\n var handleEntered = function handleEntered(node, isAppearing) {\n node.style.height = 'auto';\n\n if (onEntered) {\n onEntered(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n node.style.height = \"\".concat(wrapperHeight, \"px\");\n\n if (onExit) {\n onExit(node);\n }\n };\n\n var handleExiting = function handleExiting(node) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration;\n\n if (timeout === 'auto') {\n var duration2 = theme.transitions.getAutoHeightDuration(wrapperHeight);\n node.style.transitionDuration = \"\".concat(duration2, \"ms\");\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : \"\".concat(transitionDuration, \"ms\");\n }\n\n node.style.height = collapsedHeight;\n\n if (onExiting) {\n onExiting(node);\n }\n };\n\n var addEndListener = function addEndListener(_, next) {\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTransitionDuration.current || 0);\n }\n };\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: inProp,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExiting: handleExiting,\n addEndListener: addEndListener,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.container, className, {\n 'entered': classes.entered,\n 'exited': !inProp && collapsedHeight === '0px' && classes.hidden\n }[state]),\n style: _extends({\n minHeight: collapsedHeight\n }, style),\n ref: ref\n }, childProps), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.wrapper,\n ref: wrapperRef\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classes.wrapperInner\n }, children)));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Collapse.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content node to be collapsed.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The height of the container when collapsed.\n */\n collapsedHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nCollapse.muiSupportAuto = true;\nexport default withStyles(styles, {\n name: 'MuiCollapse'\n})(Collapse);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\nvar styles = {\n entering: {\n opacity: 1\n },\n entered: {\n opacity: 1\n }\n};\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Fade transition is used by the [Modal](/components/modal/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Fade = React.forwardRef(function Fade(props, ref) {\n var children = props.children,\n inProp = props.in,\n onEnter = props.onEnter,\n onExit = props.onExit,\n style = props.style,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n other = _objectWithoutProperties(props, [\"children\", \"in\", \"onEnter\", \"onExit\", \"style\", \"TransitionComponent\", \"timeout\"]);\n\n var theme = useTheme();\n var handleRef = useForkRef(children.ref, ref);\n\n var handleEnter = function handleEnter(node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n onEnter: handleEnter,\n onExit: handleExit,\n timeout: timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n style: _extends(_extends(_extends({\n opacity: 0,\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state]), style), children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Fade.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Fade;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n var backgroundColor = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n backgroundColor: backgroundColor,\n borderTopLeftRadius: theme.shape.borderRadius,\n borderTopRightRadius: theme.shape.borderRadius,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n '&:hover': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.13)' : 'rgba(255, 255, 255, 0.13)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: backgroundColor\n }\n },\n '&$focused': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)'\n },\n '&$disabled': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)'\n }\n },\n\n /* Styles applied to the root element if color secondary. */\n colorSecondary: {\n '&$underline:after': {\n borderBottomColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if `disableUnderline={false}`. */\n underline: {\n '&:after': {\n borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&$focused:after': {\n transform: 'scaleX(1)'\n },\n '&$error:after': {\n borderBottomColor: theme.palette.error.main,\n transform: 'scaleX(1)' // error is always underlined in red\n\n },\n '&:before': {\n borderBottom: \"1px solid \".concat(bottomLineColor),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&:hover:before': {\n borderBottom: \"1px solid \".concat(theme.palette.text.primary)\n },\n '&$disabled:before': {\n borderBottomStyle: 'dotted'\n }\n },\n\n /* Pseudo-class applied to the root element if the component is focused. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {\n paddingLeft: 12\n },\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {\n paddingRight: 12\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: '27px 12px 10px',\n '&$marginDense': {\n paddingTop: 23,\n paddingBottom: 6\n }\n },\n\n /* Styles applied to the `input` element. */\n input: {\n padding: '27px 12px 10px',\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.type === 'dark' ? '0 0 0 100px #266798 inset' : null,\n WebkitTextFillColor: theme.palette.type === 'dark' ? '#fff' : null,\n caretColor: theme.palette.type === 'dark' ? '#fff' : null,\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 23,\n paddingBottom: 6\n },\n\n /* Styles applied to the `input` if in ``. */\n inputHiddenLabel: {\n paddingTop: 18,\n paddingBottom: 19,\n '&$inputMarginDense': {\n paddingTop: 10,\n paddingBottom: 11\n }\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n padding: 0\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {\n paddingLeft: 0\n },\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {\n paddingRight: 0\n }\n };\n};\nvar FilledInput = React.forwardRef(function FilledInput(props, ref) {\n var disableUnderline = props.disableUnderline,\n classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n classes: _extends(_extends({}, classes), {}, {\n root: clsx(classes.root, !disableUnderline && classes.underline),\n underline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? FilledInput.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nFilledInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiFilledInput'\n})(FilledInput);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { isFilled, isAdornedStart } from '../InputBase/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport isMuiElement from '../utils/isMuiElement';\nimport FormControlContext from './FormControlContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top' // Fix alignment issue on Safari.\n\n },\n\n /* Styles applied to the root element if `margin=\"normal\"`. */\n marginNormal: {\n marginTop: 16,\n marginBottom: 8\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 8,\n marginBottom: 4\n },\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n }\n};\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n *\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * You can find one composition example below and more going to [the demos](/components/text-fields/#components).\n *\n * ```jsx\n * \n * Email address\n * \n * We'll never share your email.\n * \n * ```\n *\n * ⚠️Only one input can be used within a FormControl.\n */\n\nvar FormControl = React.forwardRef(function FormControl(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n visuallyFocused = props.focused,\n _props$hiddenLabel = props.hiddenLabel,\n hiddenLabel = _props$hiddenLabel === void 0 ? false : _props$hiddenLabel,\n _props$margin = props.margin,\n margin = _props$margin === void 0 ? 'none' : _props$margin,\n _props$required = props.required,\n required = _props$required === void 0 ? false : _props$required,\n size = props.size,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"fullWidth\", \"focused\", \"hiddenLabel\", \"margin\", \"required\", \"size\", \"variant\"]);\n\n var _React$useState = React.useState(function () {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n var initialAdornedStart = false;\n\n if (children) {\n React.Children.forEach(children, function (child) {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n\n var input = isMuiElement(child, ['Select']) ? child.props.input : child;\n\n if (input && isAdornedStart(input.props)) {\n initialAdornedStart = true;\n }\n });\n }\n\n return initialAdornedStart;\n }),\n adornedStart = _React$useState[0],\n setAdornedStart = _React$useState[1];\n\n var _React$useState2 = React.useState(function () {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n var initialFilled = false;\n\n if (children) {\n React.Children.forEach(children, function (child) {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n\n if (isFilled(child.props, true)) {\n initialFilled = true;\n }\n });\n }\n\n return initialFilled;\n }),\n filled = _React$useState2[0],\n setFilled = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n _focused = _React$useState3[0],\n setFocused = _React$useState3[1];\n\n var focused = visuallyFocused !== undefined ? visuallyFocused : _focused;\n\n if (disabled && focused) {\n setFocused(false);\n }\n\n var registerEffect;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var registeredInput = React.useRef(false);\n\n registerEffect = function registerEffect() {\n if (registeredInput.current) {\n console.error(['Material-UI: There are multiple InputBase components inside a FormControl.', 'This is not supported. It might cause infinite rendering loops.', 'Only use one InputBase.'].join('\\n'));\n }\n\n registeredInput.current = true;\n return function () {\n registeredInput.current = false;\n };\n };\n }\n\n var onFilled = React.useCallback(function () {\n setFilled(true);\n }, []);\n var onEmpty = React.useCallback(function () {\n setFilled(false);\n }, []);\n var childContext = {\n adornedStart: adornedStart,\n setAdornedStart: setAdornedStart,\n color: color,\n disabled: disabled,\n error: error,\n filled: filled,\n focused: focused,\n fullWidth: fullWidth,\n hiddenLabel: hiddenLabel,\n margin: (size === 'small' ? 'dense' : undefined) || margin,\n onBlur: function onBlur() {\n setFocused(false);\n },\n onEmpty: onEmpty,\n onFilled: onFilled,\n onFocus: function onFocus() {\n setFocused(true);\n },\n registerEffect: registerEffect,\n required: required,\n variant: variant\n };\n return /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, margin !== 'none' && classes[\"margin\".concat(capitalize(margin))], fullWidth && classes.fullWidth),\n ref: ref\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes = {\n /**\n * The contents of the form control.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the component will be displayed in focused state.\n */\n focused: PropTypes.bool,\n\n /**\n * If `true`, the component will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * If `true`, the label will be hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n */\n hiddenLabel: PropTypes.bool,\n\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n */\n margin: PropTypes.oneOf(['none', 'dense', 'normal']),\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the text field.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormControl'\n})(FormControl);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar FormControlContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n FormControlContext.displayName = 'FormControlContext';\n}\n\nexport function useFormControl() {\n return React.useContext(FormControlContext);\n}\nexport default FormControlContext;","export default function formControlState(_ref) {\n var props = _ref.props,\n states = _ref.states,\n muiFormControl = _ref.muiFormControl;\n return states.reduce(function (acc, state) {\n acc[state] = props[state];\n\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n\n return acc;\n }, {});\n}","import * as React from 'react';\nimport FormControlContext from './FormControlContext';\nexport default function useFormControl() {\n return React.useContext(FormControlContext);\n}","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({\n color: theme.palette.text.secondary\n }, theme.typography.caption), {}, {\n textAlign: 'left',\n marginTop: 3,\n margin: 0,\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n }),\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 4\n },\n\n /* Styles applied to the root element if `variant=\"filled\"` or `variant=\"outlined\"`. */\n contained: {\n marginLeft: 14,\n marginRight: 14\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {}\n };\n};\nvar FormHelperText = React.forwardRef(function FormHelperText(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'p' : _props$component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n margin = props.margin,\n required = props.required,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"margin\", \"required\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant', 'margin', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, (fcs.variant === 'filled' || fcs.variant === 'outlined') && classes.contained, className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required, fcs.margin === 'dense' && classes.marginDense),\n ref: ref\n }, other), children === ' ' ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n }) : children);\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.propTypes = {\n /**\n * The content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormHelperText'\n})(FormHelperText);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({\n color: theme.palette.text.secondary\n }, theme.typography.body1), {}, {\n lineHeight: 1,\n padding: 0,\n '&$focused': {\n color: theme.palette.primary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n }),\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {\n '&$focused': {\n color: theme.palette.secondary.main\n }\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {},\n\n /* Styles applied to the asterisk element. */\n asterisk: {\n '&$error': {\n color: theme.palette.error.main\n }\n }\n };\n};\nvar FormLabel = React.forwardRef(function FormLabel(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n color = props.color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'label' : _props$component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n required = props.required,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"required\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']\n });\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(fcs.color || 'primary'))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),\n ref: ref\n }, other), children, fcs.required && /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true,\n className: clsx(classes.asterisk, fcs.error && classes.error)\n }, \"\\u2009\", '*'));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the label should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the label should use filled classes key.\n */\n filled: PropTypes.bool,\n\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: PropTypes.bool,\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormLabel'\n})(FormLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getScale(value) {\n return \"scale(\".concat(value, \", \").concat(Math.pow(value, 2), \")\");\n}\n\nvar styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n/**\n * The Grow transition is used by the [Tooltip](/components/tooltips/) and\n * [Popover](/components/popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Grow = React.forwardRef(function Grow(props, ref) {\n var children = props.children,\n inProp = props.in,\n onEnter = props.onEnter,\n onExit = props.onExit,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? 'auto' : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"in\", \"onEnter\", \"onExit\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var timer = React.useRef();\n var autoTimeout = React.useRef();\n var handleRef = useForkRef(children.ref, ref);\n var theme = useTheme();\n\n var handleEnter = function handleEnter(node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration,\n delay = _getTransitionProps.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay\n })].join(',');\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration,\n delay = _getTransitionProps2.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay || duration * 0.333\n })].join(',');\n node.style.opacity = '0';\n node.style.transform = getScale(0.75);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n var addEndListener = function addEndListener(_, next) {\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTimeout.current || 0);\n }\n };\n\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n onEnter: handleEnter,\n onExit: handleExit,\n addEndListener: addEndListener,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n style: _extends(_extends(_extends({\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state]), style), children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nGrow.muiSupportAuto = true;\nexport default Grow;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 12,\n borderRadius: '50%',\n overflow: 'visible',\n // Explicitly set the default value to solve a bug on IE 11.\n color: theme.palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n backgroundColor: fade(theme.palette.action.active, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&$disabled': {\n backgroundColor: 'transparent',\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `edge=\"start\"`. */\n edgeStart: {\n marginLeft: -12,\n '$sizeSmall&': {\n marginLeft: -3\n }\n },\n\n /* Styles applied to the root element if `edge=\"end\"`. */\n edgeEnd: {\n marginRight: -12,\n '$sizeSmall&': {\n marginRight: -3\n }\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: 3,\n fontSize: theme.typography.pxToRem(18)\n },\n\n /* Styles applied to the children container element. */\n label: {\n width: '100%',\n display: 'flex',\n alignItems: 'inherit',\n justifyContent: 'inherit'\n }\n };\n};\n/**\n * Refer to the [Icons](/components/icons/) section of the documentation\n * regarding the available icon options.\n */\n\nvar IconButton = React.forwardRef(function IconButton(props, ref) {\n var _props$edge = props.edge,\n edge = _props$edge === void 0 ? false : _props$edge,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"edge\", \"children\", \"classes\", \"className\", \"color\", \"disabled\", \"disableFocusRipple\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, color !== 'default' && classes[\"color\".concat(capitalize(color))], disabled && classes.disabled, size === \"small\" && classes[\"size\".concat(capitalize(size))], {\n 'start': classes.edgeStart,\n 'end': classes.edgeEnd\n }[edge]),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes = {\n /**\n * The icon element.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var found = React.Children.toArray(props.children).some(function (child) {\n return React.isValidElement(child) && child.props.onClick;\n });\n\n if (found) {\n 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'));\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\n /**\n * If `true`, the button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n * `disableRipple` must also be true.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n */\n edge: PropTypes.oneOf(['start', 'end', false]),\n\n /**\n * The size of the button.\n * `small` is equivalent to the dense button styling.\n */\n size: PropTypes.oneOf(['small', 'medium'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiIconButton'\n})(IconButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Typography from '../Typography';\nimport withStyles from '../styles/withStyles';\nimport FormControlContext, { useFormControl } from '../FormControl/FormControlContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n height: '0.01em',\n // Fix IE 11 flexbox alignment. To remove at some point.\n maxHeight: '2em',\n alignItems: 'center',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the root element if `variant=\"filled\"`. */\n filled: {\n '&$positionStart:not($hiddenLabel)': {\n marginTop: 16\n }\n },\n\n /* Styles applied to the root element if `position=\"start\"`. */\n positionStart: {\n marginRight: 8\n },\n\n /* Styles applied to the root element if `position=\"end\"`. */\n positionEnd: {\n marginLeft: 8\n },\n\n /* Styles applied to the root element if `disablePointerEvents=true`. */\n disablePointerEvents: {\n pointerEvents: 'none'\n },\n\n /* Styles applied if the adornment is used inside . */\n hiddenLabel: {},\n\n /* Styles applied if the adornment is used inside . */\n marginDense: {}\n};\nvar InputAdornment = React.forwardRef(function InputAdornment(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disablePointer = props.disablePointerEvents,\n disablePointerEvents = _props$disablePointer === void 0 ? false : _props$disablePointer,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n position = props.position,\n variantProp = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"disablePointerEvents\", \"disableTypography\", \"position\", \"variant\"]);\n\n var muiFormControl = useFormControl() || {};\n var variant = variantProp;\n\n if (variantProp && muiFormControl.variant) {\n if (process.env.NODE_ENV !== 'production') {\n if (variantProp === muiFormControl.variant) {\n console.error('Material-UI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');\n }\n }\n }\n\n if (muiFormControl && !variant) {\n variant = muiFormControl.variant;\n }\n\n return /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, disablePointerEvents && classes.disablePointerEvents, muiFormControl.hiddenLabel && classes.hiddenLabel, variant === 'filled' && classes.filled, {\n 'start': classes.positionStart,\n 'end': classes.positionEnd\n }[position], muiFormControl.margin === 'dense' && classes.marginDense),\n ref: ref\n }, other), typeof children === 'string' && !disableTypography ? /*#__PURE__*/React.createElement(Typography, {\n color: \"textSecondary\"\n }, children) : children));\n});\nprocess.env.NODE_ENV !== \"production\" ? InputAdornment.propTypes = {\n /**\n * The content of the component, normally an `IconButton` or string.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Disable pointer events on the root.\n * This allows for the content of the adornment to focus the input on click.\n */\n disablePointerEvents: PropTypes.bool,\n\n /**\n * If children is a string then disable wrapping in a Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * @ignore\n */\n muiFormControl: PropTypes.object,\n\n /**\n * The position this adornment should appear relative to the `Input`.\n */\n position: PropTypes.oneOf(['start', 'end']),\n\n /**\n * The variant to use.\n * Note: If you are using the `TextField` component or the `FormControl` component\n * you do not have to set this manually.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputAdornment'\n})(InputAdornment);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getStyleValue(computedStyle, property) {\n return parseInt(computedStyle[property], 10) || 0;\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar styles = {\n /* Styles applied to the shadow textarea element. */\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nvar TextareaAutosize = React.forwardRef(function TextareaAutosize(props, ref) {\n var onChange = props.onChange,\n rows = props.rows,\n rowsMax = props.rowsMax,\n _props$rowsMin = props.rowsMin,\n rowsMinProp = _props$rowsMin === void 0 ? 1 : _props$rowsMin,\n style = props.style,\n value = props.value,\n other = _objectWithoutProperties(props, [\"onChange\", \"rows\", \"rowsMax\", \"rowsMin\", \"style\", \"value\"]);\n\n var rowsMin = rows || rowsMinProp;\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef(null);\n var handleRef = useForkRef(ref, inputRef);\n var shadowRef = React.useRef(null);\n var renders = React.useRef(0);\n\n var _React$useState = React.useState({}),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var syncHeight = React.useCallback(function () {\n var input = inputRef.current;\n var computedStyle = window.getComputedStyle(input);\n var inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n\n var boxSizing = computedStyle['box-sizing'];\n var padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');\n var border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content\n\n var innerHeight = inputShallow.scrollHeight - padding; // Measure height of a textarea with a single row\n\n inputShallow.value = 'x';\n var singleRowHeight = inputShallow.scrollHeight - padding; // The height of the outer content\n\n var outerHeight = innerHeight;\n\n if (rowsMin) {\n outerHeight = Math.max(Number(rowsMin) * singleRowHeight, outerHeight);\n }\n\n if (rowsMax) {\n outerHeight = Math.min(Number(rowsMax) * singleRowHeight, outerHeight);\n }\n\n outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.\n\n var outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n var overflow = Math.abs(outerHeight - innerHeight) <= 1;\n setState(function (prevState) {\n // Need a large enough difference to update the height.\n // This prevents infinite rendering loop.\n if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {\n renders.current += 1;\n return {\n overflow: overflow,\n outerHeightStyle: outerHeightStyle\n };\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (renders.current === 20) {\n console.error(['Material-UI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\\n'));\n }\n }\n\n return prevState;\n });\n }, [rowsMax, rowsMin, props.placeholder]);\n React.useEffect(function () {\n var handleResize = debounce(function () {\n renders.current = 0;\n syncHeight();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [syncHeight]);\n useEnhancedEffect(function () {\n syncHeight();\n });\n React.useEffect(function () {\n renders.current = 0;\n }, [value]);\n\n var handleChange = function handleChange(event) {\n renders.current = 0;\n\n if (!isControlled) {\n syncHeight();\n }\n\n if (onChange) {\n onChange(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: rowsMin,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough difference to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : null\n }, style)\n }, other)), /*#__PURE__*/React.createElement(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends(_extends({}, styles.shadow), style)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n\n /**\n * Use `rowsMin` instead. The prop will be removed in v5.\n *\n * @deprecated\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display.\n */\n rowsMin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\n/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport formControlState from '../FormControl/formControlState';\nimport FormControlContext, { useFormControl } from '../FormControl/FormControlContext';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport useForkRef from '../utils/useForkRef';\nimport TextareaAutosize from '../TextareaAutosize';\nimport { isFilled } from './utils';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var placeholder = {\n color: 'currentColor',\n opacity: light ? 0.42 : 0.5,\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n var placeholderHidden = {\n opacity: '0 !important'\n };\n var placeholderVisible = {\n opacity: light ? 0.42 : 0.5\n };\n return {\n '@global': {\n '@keyframes mui-auto-fill': {\n from: {}\n },\n '@keyframes mui-auto-fill-cancel': {\n from: {}\n }\n },\n\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body1), {}, {\n color: theme.palette.text.primary,\n lineHeight: '1.1876em',\n // Reset (19px), match the native input line-height\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n '&$disabled': {\n color: theme.palette.text.disabled,\n cursor: 'default'\n }\n }),\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {},\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {},\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n '&$marginDense': {\n paddingTop: 4 - 1\n }\n },\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n },\n\n /* Styles applied to the `input` element. */\n input: {\n font: 'inherit',\n color: 'currentColor',\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.1876em',\n // Reset (19px), match the native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n // Fix IE 11 width issue\n animationName: 'mui-auto-fill-cancel',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholder,\n // IE 11\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n '-webkit-appearance': 'none'\n },\n // Show and hide the placeholder logic\n 'label[data-shrink=false] + $formControl &': {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholderHidden,\n // IE 11\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus:-ms-input-placeholder': placeholderVisible,\n // IE 11\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n\n },\n '&$disabled': {\n opacity: 1 // Reset iOS opacity\n\n },\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 4 - 1\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n height: 'auto',\n resize: 'none',\n padding: 0\n },\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {\n // Improve type search style.\n '-moz-appearance': 'textfield',\n '-webkit-appearance': 'textfield'\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {},\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {},\n\n /* Styles applied to the `input` element if `hiddenLabel={true}`. */\n inputHiddenLabel: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\n\nvar InputBase = React.forwardRef(function InputBase(props, ref) {\n var ariaDescribedby = props['aria-describedby'],\n autoComplete = props.autoComplete,\n autoFocus = props.autoFocus,\n classes = props.classes,\n className = props.className,\n color = props.color,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n endAdornment = props.endAdornment,\n error = props.error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n id = props.id,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$inputProps = props.inputProps,\n inputPropsProp = _props$inputProps === void 0 ? {} : _props$inputProps,\n inputRefProp = props.inputRef,\n margin = props.margin,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n placeholder = props.placeholder,\n readOnly = props.readOnly,\n renderSuffix = props.renderSuffix,\n rows = props.rows,\n rowsMax = props.rowsMax,\n rowsMin = props.rowsMin,\n startAdornment = props.startAdornment,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n valueProp = props.value,\n other = _objectWithoutProperties(props, [\"aria-describedby\", \"autoComplete\", \"autoFocus\", \"classes\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"endAdornment\", \"error\", \"fullWidth\", \"id\", \"inputComponent\", \"inputProps\", \"inputRef\", \"margin\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onKeyUp\", \"placeholder\", \"readOnly\", \"renderSuffix\", \"rows\", \"rowsMax\", \"rowsMin\", \"startAdornment\", \"type\", \"value\"]);\n\n var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef();\n var handleInputRefWarning = React.useCallback(function (instance) {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['Material-UI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `inputRef` prop.', 'Make sure the `inputRef` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n var handleInputPropsRefProp = useForkRef(inputPropsProp.ref, handleInputRefWarning);\n var handleInputRefProp = useForkRef(inputRefProp, handleInputPropsRefProp);\n var handleInputRef = useForkRef(inputRef, handleInputRefProp);\n\n var _React$useState = React.useState(false),\n focused = _React$useState[0],\n setFocused = _React$useState[1];\n\n var muiFormControl = useFormControl();\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n\n return undefined;\n }, [muiFormControl]);\n }\n\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'margin', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused; // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n\n React.useEffect(function () {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n var onFilled = muiFormControl && muiFormControl.onFilled;\n var onEmpty = muiFormControl && muiFormControl.onEmpty;\n var checkDirty = React.useCallback(function (obj) {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(function () {\n if (isControlled) {\n checkDirty({\n value: value\n });\n }\n }, [value, checkDirty, isControlled]);\n\n var handleFocus = function handleFocus(event) {\n // Fix a bug with IE 11 where the focus/blur events are triggered\n // while the input is disabled.\n if (fcs.disabled) {\n event.stopPropagation();\n return;\n }\n\n if (onFocus) {\n onFocus(event);\n }\n\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n if (onBlur) {\n onBlur(event);\n }\n\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n\n var handleChange = function handleChange(event) {\n if (!isControlled) {\n var element = event.target || inputRef.current;\n\n if (element == null) {\n throw new TypeError('Material-UI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://material-ui.com/r/input-component-ref-interface for more info.');\n }\n\n checkDirty({\n value: element.value\n });\n }\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange.apply(inputPropsProp, [event].concat(args));\n } // Perform in the willUpdate\n\n\n if (onChange) {\n onChange.apply(void 0, [event].concat(args));\n }\n }; // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n\n\n React.useEffect(function () {\n checkDirty(inputRef.current);\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n var handleClick = function handleClick(event) {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var InputComponent = inputComponent;\n\n var inputProps = _extends(_extends({}, inputPropsProp), {}, {\n ref: handleInputRef\n });\n\n if (typeof InputComponent !== 'string') {\n inputProps = _extends(_extends({\n // Rename ref to inputRef as we don't know the\n // provided `inputComponent` structure.\n inputRef: handleInputRef,\n type: type\n }, inputProps), {}, {\n ref: null\n });\n } else if (multiline) {\n if (rows && !rowsMax && !rowsMin) {\n InputComponent = 'textarea';\n } else {\n inputProps = _extends({\n rows: rows,\n rowsMax: rowsMax\n }, inputProps);\n InputComponent = TextareaAutosize;\n }\n } else {\n inputProps = _extends({\n type: type\n }, inputProps);\n }\n\n var handleAutoFill = function handleAutoFill(event) {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n\n React.useEffect(function () {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(fcs.color || 'primary'))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === 'dense' && classes.marginDense),\n onClick: handleClick,\n ref: ref\n }, other), startAdornment, /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(InputComponent, _extends({\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp\n }, inputProps, {\n className: clsx(classes.input, inputPropsProp.className, fcs.disabled && classes.disabled, multiline && classes.inputMultiline, fcs.hiddenLabel && classes.inputHiddenLabel, startAdornment && classes.inputAdornedStart, endAdornment && classes.inputAdornedEnd, type === 'search' && classes.inputTypeSearch, fcs.margin === 'dense' && classes.inputMarginDense),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n }))), endAdornment, renderSuffix ? renderSuffix(_extends(_extends({}, fcs), {}, {\n startAdornment: startAdornment\n })) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the input is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n rowsMin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputBase'\n})(InputBase);","// Supports determination of isControlled().\n// Controlled input accepts its current value as a prop.\n//\n// @see https://facebook.github.io/react/docs/forms.html#controlled-components\n// @param value\n// @returns {boolean} true if string (including '') or number (including zero)\nexport function hasValue(value) {\n return value != null && !(Array.isArray(value) && value.length === 0);\n} // Determine if field is empty or filled.\n// Response determines if label is presented above field or as placeholder.\n//\n// @param obj\n// @param SSR\n// @returns {boolean} False when not present or empty string.\n// True when any number or string with length.\n\nexport function isFilled(obj) {\n var SSR = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\n} // Determine if an Input is adorned on start.\n// It's corresponding to the left with LTR.\n//\n// @param obj\n// @returns {boolean} False when no adornments.\n// True when adorned at the start.\n\nexport function isAdornedStart(obj) {\n return obj.startAdornment;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport FormLabel from '../FormLabel';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n transformOrigin: 'top left'\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {},\n\n /* Pseudo-class applied to the asterisk element. */\n asterisk: {},\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {\n position: 'absolute',\n left: 0,\n top: 0,\n // slight alteration to spec spacing to match visual spec result\n transform: 'translate(0, 24px) scale(1)'\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n // Compensation for the `Input.inputDense` style.\n transform: 'translate(0, 21px) scale(1)'\n },\n\n /* Styles applied to the `input` element if `shrink={true}`. */\n shrink: {\n transform: 'translate(0, 1.5px) scale(0.75)',\n transformOrigin: 'top left'\n },\n\n /* Styles applied to the `input` element if `disableAnimation={false}`. */\n animated: {\n transition: theme.transitions.create(['color', 'transform'], {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n })\n },\n\n /* Styles applied to the root element if `variant=\"filled\"`. */\n filled: {\n // Chrome's autofill feature gives the input field a yellow background.\n // Since the input field is behind the label in the HTML tree,\n // the input field is drawn last and hides the label with an opaque background color.\n // zIndex: 1 will raise the label above opaque background-colors of input.\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(12px, 20px) scale(1)',\n '&$marginDense': {\n transform: 'translate(12px, 17px) scale(1)'\n },\n '&$shrink': {\n transform: 'translate(12px, 10px) scale(0.75)',\n '&$marginDense': {\n transform: 'translate(12px, 7px) scale(0.75)'\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n // see comment above on filled.zIndex\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(14px, 20px) scale(1)',\n '&$marginDense': {\n transform: 'translate(14px, 12px) scale(1)'\n },\n '&$shrink': {\n transform: 'translate(14px, -6px) scale(0.75)'\n }\n }\n };\n};\nvar InputLabel = React.forwardRef(function InputLabel(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disableAnimati = props.disableAnimation,\n disableAnimation = _props$disableAnimati === void 0 ? false : _props$disableAnimati,\n margin = props.margin,\n shrinkProp = props.shrink,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disableAnimation\", \"margin\", \"shrink\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var shrink = shrinkProp;\n\n if (typeof shrink === 'undefined' && muiFormControl) {\n shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;\n }\n\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['margin', 'variant']\n });\n return /*#__PURE__*/React.createElement(FormLabel, _extends({\n \"data-shrink\": shrink,\n className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === 'dense' && classes.marginDense, {\n 'filled': classes.filled,\n 'outlined': classes.outlined\n }[fcs.variant]),\n classes: {\n focused: classes.focused,\n disabled: classes.disabled,\n error: classes.error,\n required: classes.required,\n asterisk: classes.asterisk\n },\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? InputLabel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The contents of the `InputLabel`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * If `true`, the transition animation is disabled.\n */\n disableAnimation: PropTypes.bool,\n\n /**\n * If `true`, apply disabled class.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label will be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input of this label is focused.\n */\n focused: PropTypes.bool,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n\n /**\n * if `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool,\n\n /**\n * If `true`, the label is shrunk.\n */\n shrink: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputLabel'\n})(InputLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative'\n },\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {\n 'label + &': {\n marginTop: 16\n }\n },\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if color secondary. */\n colorSecondary: {\n '&$underline:after': {\n borderBottomColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if `disableUnderline={false}`. */\n underline: {\n '&:after': {\n borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&$focused:after': {\n transform: 'scaleX(1)'\n },\n '&$error:after': {\n borderBottomColor: theme.palette.error.main,\n transform: 'scaleX(1)' // error is always underlined in red\n\n },\n '&:before': {\n borderBottom: \"1px solid \".concat(bottomLineColor),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&:hover:not($disabled):before': {\n borderBottom: \"2px solid \".concat(theme.palette.text.primary),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n borderBottom: \"1px solid \".concat(bottomLineColor)\n }\n },\n '&$disabled:before': {\n borderBottomStyle: 'dotted'\n }\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {},\n\n /* Styles applied to the `input` element. */\n input: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {},\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {},\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {}\n };\n};\nvar Input = React.forwardRef(function Input(props, ref) {\n var disableUnderline = props.disableUnderline,\n classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n classes: _extends(_extends({}, classes), {}, {\n root: clsx(classes.root, !disableUnderline && classes.underline),\n underline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Input.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiInput'\n})(Input);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n root: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n paddingTop: 8,\n paddingBottom: 8,\n '&$focusVisible': {\n backgroundColor: theme.palette.action.selected\n },\n '&$selected, &$selected:hover': {\n backgroundColor: theme.palette.action.selected\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n container: {\n position: 'relative'\n },\n\n /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n focusVisible: {},\n\n /* Styles applied to the `component` element if dense. */\n dense: {\n paddingTop: 4,\n paddingBottom: 4\n },\n\n /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n alignItems: 'flex-start'\n },\n\n /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the inner `component` element if `divider={true}`. */\n divider: {\n borderBottom: \"1px solid \".concat(theme.palette.divider),\n backgroundClip: 'padding-box'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the inner `component` element if `button={true}`. */\n button: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n secondaryAction: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = React.forwardRef(function ListItem(props, ref) {\n var _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$button = props.button,\n button = _props$button === void 0 ? false : _props$button,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n componentProp = props.component,\n _props$ContainerCompo = props.ContainerComponent,\n ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n _props$ContainerProps = props.ContainerProps;\n _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n\n var ContainerClassName = _props$ContainerProps.className,\n ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? false : _props$divider,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n\n var context = React.useContext(ListContext);\n var childContext = {\n dense: dense || context.dense || false,\n alignItems: alignItems\n };\n var listItemRef = React.useRef(null);\n useEnhancedEffect(function () {\n if (autoFocus) {\n if (listItemRef.current) {\n listItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n var children = React.Children.toArray(childrenProp);\n var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listItemRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n\n var componentProps = _extends({\n className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n disabled: disabled\n }, other);\n\n var Component = componentProp || 'li';\n\n if (button) {\n componentProps.component = componentProp || 'div';\n componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n Component = ButtonBase;\n }\n\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef\n }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef\n }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes = {\n /**\n * Defines the `align-items` style property.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center']),\n\n /**\n * If `true`, the list item will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the list item will be a button (using `ButtonBase`). Props intended\n * for `ButtonBase` can then be applied to `ListItem`.\n */\n button: PropTypes.bool,\n\n /**\n * The content of the component. If a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var children = React.Children.toArray(props.children); // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n\n var secondaryActionIndex = -1;\n\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n } // is ListItemSecondaryAction the last child of ListItem\n\n\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('Material-UI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\n */\n component: PropTypes.elementType,\n\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n */\n ContainerComponent: PropTypes.elementType,\n\n /**\n * Props applied to the container component if used.\n */\n ContainerProps: PropTypes.object,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, the list item will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n */\n divider: PropTypes.bool,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * Use to apply selected styling.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItem'\n})(ListItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from './ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative'\n },\n\n /* Styles applied to the root element if `disablePadding={false}`. */\n padding: {\n paddingTop: 8,\n paddingBottom: 8\n },\n\n /* Styles applied to the root element if dense. */\n dense: {},\n\n /* Styles applied to the root element if a `subheader` is provided. */\n subheader: {\n paddingTop: 0\n }\n};\nvar List = React.forwardRef(function List(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'ul' : _props$component,\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disablePadding = props.disablePadding,\n disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding,\n subheader = props.subheader,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"dense\", \"disablePadding\", \"subheader\"]);\n\n var context = React.useMemo(function () {\n return {\n dense: dense\n };\n }, [dense]);\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: context\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),\n ref: ref\n }, other), subheader, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? List.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, vertical padding will be removed from the list.\n */\n disablePadding: PropTypes.bool,\n\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiList'\n})(List);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar ListContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\n\nexport default ListContext;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListItem from '../ListItem';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body1), {}, _defineProperty({\n minHeight: 48,\n paddingTop: 6,\n paddingBottom: 6,\n boxSizing: 'border-box',\n width: 'auto',\n overflow: 'hidden',\n whiteSpace: 'nowrap'\n }, theme.breakpoints.up('sm'), {\n minHeight: 'auto'\n })),\n // TODO v5: remove\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: {},\n\n /* Styles applied to the root element if `selected={true}`. */\n selected: {},\n\n /* Styles applied to the root element if dense. */\n dense: _extends(_extends({}, theme.typography.body2), {}, {\n minHeight: 'auto'\n })\n };\n};\nvar MenuItem = React.forwardRef(function MenuItem(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n component = _props$component === void 0 ? 'li' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n ListItemClasses = props.ListItemClasses,\n _props$role = props.role,\n role = _props$role === void 0 ? 'menuitem' : _props$role,\n selected = props.selected,\n tabIndexProp = props.tabIndex,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"ListItemClasses\", \"role\", \"selected\", \"tabIndex\"]);\n\n var tabIndex;\n\n if (!props.disabled) {\n tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n }\n\n return /*#__PURE__*/React.createElement(ListItem, _extends({\n button: true,\n role: role,\n tabIndex: tabIndex,\n component: component,\n selected: selected,\n disableGutters: disableGutters,\n classes: _extends({\n dense: classes.dense\n }, ListItemClasses),\n className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes = {\n /**\n * Menu item contents.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * @ignore\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * `classes` prop applied to the [`ListItem`](/api/list-item/) element.\n */\n ListItemClasses: PropTypes.object,\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * @ignore\n */\n selected: PropTypes.bool,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.number\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMenuItem'\n})(MenuItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport ownerDocument from '../utils/ownerDocument';\nimport List from '../List';\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport useForkRef from '../utils/useForkRef';\n\nfunction nextItem(list, item, disableListWrap) {\n if (list === item) {\n return list.firstChild;\n }\n\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n\n return disableListWrap ? null : list.firstChild;\n}\n\nfunction previousItem(list, item, disableListWrap) {\n if (list === item) {\n return disableListWrap ? list.firstChild : list.lastChild;\n }\n\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n\n return disableListWrap ? null : list.lastChild;\n}\n\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n\n var text = nextFocus.innerText;\n\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = nextFocus.textContent;\n }\n\n text = text.trim().toLowerCase();\n\n if (text.length === 0) {\n return false;\n }\n\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n\n return text.indexOf(textCriteria.keys.join('')) === 0;\n}\n\nfunction moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {\n var wrappedOnce = false;\n var nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return;\n }\n\n wrappedOnce = true;\n } // Same logic as useAutocomplete.js\n\n\n var nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n\n if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n } else {\n nextFocus.focus();\n return;\n }\n }\n}\n\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * A permanently displayed menu following https://www.w3.org/TR/wai-aria-practices/#menubutton.\n * It's exposed to help customization of the [`Menu`](/api/menu/) component. If you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\n\nvar MenuList = React.forwardRef(function MenuList(props, ref) {\n var actions = props.actions,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$autoFocusItem = props.autoFocusItem,\n autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem,\n children = props.children,\n className = props.className,\n _props$disabledItemsF = props.disabledItemsFocusable,\n disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF,\n _props$disableListWra = props.disableListWrap,\n disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra,\n onKeyDown = props.onKeyDown,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n other = _objectWithoutProperties(props, [\"actions\", \"autoFocus\", \"autoFocusItem\", \"children\", \"className\", \"disabledItemsFocusable\", \"disableListWrap\", \"onKeyDown\", \"variant\"]);\n\n var listRef = React.useRef(null);\n var textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n useEnhancedEffect(function () {\n if (autoFocus) {\n listRef.current.focus();\n }\n }, [autoFocus]);\n React.useImperativeHandle(actions, function () {\n return {\n adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement, theme) {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n var noExplicitWidth = !listRef.current.style.width;\n\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n var scrollbarSize = \"\".concat(getScrollbarSize(true), \"px\");\n listRef.current.style[theme.direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n listRef.current.style.width = \"calc(100% + \".concat(scrollbarSize, \")\");\n }\n\n return listRef.current;\n }\n };\n }, []);\n\n var handleKeyDown = function handleKeyDown(event) {\n var list = listRef.current;\n var key = event.key;\n /**\n * @type {Element} - will always be defined since we are in a keydown handler\n * attached to an element. A keydown event is either dispatched to the activeElement\n * or document.body or document.documentElement. Only the first case will\n * trigger this specific handler.\n */\n\n var currentFocus = ownerDocument(list).activeElement;\n\n if (key === 'ArrowDown') {\n // Prevent scroll of the page\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'ArrowUp') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key === 'Home') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'End') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key.length === 1) {\n var criteria = textCriteriaRef.current;\n var lowerKey = key.toLowerCase();\n var currTime = performance.now();\n\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n var keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n\n var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n\n React.Children.forEach(children, function (child, index) {\n if (!React.isValidElement(child)) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n });\n var items = React.Children.map(children, function (child, index) {\n if (index === activeItemIndex) {\n var newChildProps = {};\n\n if (autoFocusItem) {\n newChildProps.autoFocus = true;\n }\n\n if (child.props.tabIndex === undefined && variant === 'selectedMenu') {\n newChildProps.tabIndex = 0;\n }\n\n return React.cloneElement(child, newChildProps);\n }\n\n return child;\n });\n return /*#__PURE__*/React.createElement(List, _extends({\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: autoFocus ? 0 : -1\n }, other), items);\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, will focus the `[role=\"menu\"]` container and move into tab order.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, will focus the first menuitem if `variant=\"menu\"` or selected item\n * if `variant=\"selectedMenu\"`.\n */\n autoFocusItem: PropTypes.bool,\n\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, will allow focus on disabled items.\n */\n disabledItemsFocusable: PropTypes.bool,\n\n /**\n * If `true`, the menu items will not wrap focus.\n */\n disableListWrap: PropTypes.bool,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default MenuList;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { HTMLElementType } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport Popover from '../Popover';\nimport MenuList from '../MenuList';\nimport * as ReactDOM from 'react-dom';\nimport setRef from '../utils/setRef';\nimport useTheme from '../styles/useTheme';\nvar RTL_ORIGIN = {\n vertical: 'top',\n horizontal: 'right'\n};\nvar LTR_ORIGIN = {\n vertical: 'top',\n horizontal: 'left'\n};\nexport var styles = {\n /* Styles applied to the `Paper` component. */\n paper: {\n // specZ: The maximum height of a simple menu should be one or more rows less than the view\n // height. This ensures a tapable area outside of the simple menu with which to dismiss\n // the menu.\n maxHeight: 'calc(100% - 96px)',\n // Add iOS momentum scrolling.\n WebkitOverflowScrolling: 'touch'\n },\n\n /* Styles applied to the `List` component via `MenuList`. */\n list: {\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n }\n};\nvar Menu = React.forwardRef(function Menu(props, ref) {\n var _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,\n children = props.children,\n classes = props.classes,\n _props$disableAutoFoc = props.disableAutoFocusItem,\n disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$MenuListProps = props.MenuListProps,\n MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps,\n onClose = props.onClose,\n onEntering = props.onEntering,\n open = props.open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n PopoverClasses = props.PopoverClasses,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoFocus\", \"children\", \"classes\", \"disableAutoFocusItem\", \"MenuListProps\", \"onClose\", \"onEntering\", \"open\", \"PaperProps\", \"PopoverClasses\", \"transitionDuration\", \"variant\"]);\n\n var theme = useTheme();\n var autoFocusItem = autoFocus && !disableAutoFocusItem && open;\n var menuListActionsRef = React.useRef(null);\n var contentAnchorRef = React.useRef(null);\n\n var getContentAnchorEl = function getContentAnchorEl() {\n return contentAnchorRef.current;\n };\n\n var handleEntering = function handleEntering(element, isAppearing) {\n if (menuListActionsRef.current) {\n menuListActionsRef.current.adjustStyleForScrollbar(element, theme);\n }\n\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n };\n\n var handleListKeyDown = function handleListKeyDown(event) {\n if (event.key === 'Tab') {\n event.preventDefault();\n\n if (onClose) {\n onClose(event, 'tabKeyDown');\n }\n }\n };\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n\n\n var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n\n React.Children.map(children, function (child, index) {\n if (!React.isValidElement(child)) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n if (!child.props.disabled) {\n if (variant !== \"menu\" && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n });\n var items = React.Children.map(children, function (child, index) {\n if (index === activeItemIndex) {\n return React.cloneElement(child, {\n ref: function ref(instance) {\n // #StrictMode ready\n contentAnchorRef.current = ReactDOM.findDOMNode(instance);\n setRef(child.ref, instance);\n }\n });\n }\n\n return child;\n });\n return /*#__PURE__*/React.createElement(Popover, _extends({\n getContentAnchorEl: getContentAnchorEl,\n classes: PopoverClasses,\n onClose: onClose,\n onEntering: handleEntering,\n anchorOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n transformOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n PaperProps: _extends(_extends({}, PaperProps), {}, {\n classes: _extends(_extends({}, PaperProps.classes), {}, {\n root: classes.paper\n })\n }),\n open: open,\n ref: ref,\n transitionDuration: transitionDuration\n }, other), /*#__PURE__*/React.createElement(MenuList, _extends({\n onKeyDown: handleListKeyDown,\n actions: menuListActionsRef,\n autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),\n autoFocusItem: autoFocusItem,\n variant: variant\n }, MenuListProps, {\n className: clsx(classes.list, MenuListProps.className)\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? Menu.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A HTML element, or a function that returns it.\n * It's used to set the position of the menu.\n */\n anchorEl: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.func]),\n\n /**\n * If `true` (Default) will focus the `[role=\"menu\"]` if no focusable child is found. Disabled\n * children are not focusable. If you set this prop to `false` focus will be placed\n * on the parent modal container. This has severe accessibility implications\n * and should only be considered if you manage focus otherwise.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Menu contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * When opening the menu will not focus the active item but the `[role=\"menu\"]`\n * unless `autoFocus` is also set to `false`. Not using the default means not\n * following WAI-ARIA authoring practices. Please be considerate about possible\n * accessibility implications.\n */\n disableAutoFocusItem: PropTypes.bool,\n\n /**\n * Props applied to the [`MenuList`](/api/menu-list/) element.\n */\n MenuListProps: PropTypes.object,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the Menu enters.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the Menu has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the Menu is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the Menu exits.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the Menu has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the Menu is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the menu is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * @ignore\n */\n PaperProps: PropTypes.object,\n\n /**\n * `classes` prop applied to the [`Popover`](/api/popover/) element.\n */\n PopoverClasses: PropTypes.object,\n\n /**\n * The length of the transition in `ms`, or 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMenu'\n})(Menu);","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow'; // Is a vertical scrollbar displayed?\n\nfunction isOverflowing(container) {\n var doc = ownerDocument(container);\n\n if (doc.body === container) {\n return ownerWindow(doc).innerWidth > doc.documentElement.clientWidth;\n }\n\n return container.scrollHeight > container.clientHeight;\n}\n\nexport function ariaHidden(node, show) {\n if (show) {\n node.setAttribute('aria-hidden', 'true');\n } else {\n node.removeAttribute('aria-hidden');\n }\n}\n\nfunction getPaddingRight(node) {\n return parseInt(window.getComputedStyle(node)['padding-right'], 10) || 0;\n}\n\nfunction ariaHiddenSiblings(container, mountNode, currentNode) {\n var nodesToExclude = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var show = arguments.length > 4 ? arguments[4] : undefined;\n var blacklist = [mountNode, currentNode].concat(_toConsumableArray(nodesToExclude));\n var blacklistTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE'];\n [].forEach.call(container.children, function (node) {\n if (node.nodeType === 1 && blacklist.indexOf(node) === -1 && blacklistTagNames.indexOf(node.tagName) === -1) {\n ariaHidden(node, show);\n }\n });\n}\n\nfunction findIndexOf(containerInfo, callback) {\n var idx = -1;\n containerInfo.some(function (item, index) {\n if (callback(item)) {\n idx = index;\n return true;\n }\n\n return false;\n });\n return idx;\n}\n\nfunction handleContainer(containerInfo, props) {\n var restoreStyle = [];\n var restorePaddings = [];\n var container = containerInfo.container;\n var fixedNodes;\n\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n var scrollbarSize = getScrollbarSize();\n restoreStyle.push({\n value: container.style.paddingRight,\n key: 'padding-right',\n el: container\n }); // Use computed style, here to get the real padding to add our scrollbar width.\n\n container.style['padding-right'] = \"\".concat(getPaddingRight(container) + scrollbarSize, \"px\"); // .mui-fixed is a global helper.\n\n fixedNodes = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedNodes, function (node) {\n restorePaddings.push(node.style.paddingRight);\n node.style.paddingRight = \"\".concat(getPaddingRight(node) + scrollbarSize, \"px\");\n });\n } // Improve Gatsby support\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n\n\n var parent = container.parentElement;\n var scrollContainer = parent.nodeName === 'HTML' && window.getComputedStyle(parent)['overflow-y'] === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n key: 'overflow',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n\n var restore = function restore() {\n if (fixedNodes) {\n [].forEach.call(fixedNodes, function (node, i) {\n if (restorePaddings[i]) {\n node.style.paddingRight = restorePaddings[i];\n } else {\n node.style.removeProperty('padding-right');\n }\n });\n }\n\n restoreStyle.forEach(function (_ref) {\n var value = _ref.value,\n el = _ref.el,\n key = _ref.key;\n\n if (value) {\n el.style.setProperty(key, value);\n } else {\n el.style.removeProperty(key);\n }\n });\n };\n\n return restore;\n}\n\nfunction getHiddenSiblings(container) {\n var hiddenSiblings = [];\n [].forEach.call(container.children, function (node) {\n if (node.getAttribute && node.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(node);\n }\n });\n return hiddenSiblings;\n}\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\n\n\nvar ModalManager = /*#__PURE__*/function () {\n function ModalManager() {\n _classCallCheck(this, ModalManager);\n\n // this.modals[modalIndex] = modal\n this.modals = []; // this.containers[containerIndex] = {\n // modals: [],\n // container,\n // restore: null,\n // }\n\n this.containers = [];\n }\n\n _createClass(ModalManager, [{\n key: \"add\",\n value: function add(modal, container) {\n var modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex !== -1) {\n return modalIndex;\n }\n\n modalIndex = this.modals.length;\n this.modals.push(modal); // If the modal we are adding is already in the DOM.\n\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n\n var hiddenSiblingNodes = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mountNode, modal.modalRef, hiddenSiblingNodes, true);\n var containerIndex = findIndexOf(this.containers, function (item) {\n return item.container === container;\n });\n\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n\n this.containers.push({\n modals: [modal],\n container: container,\n restore: null,\n hiddenSiblingNodes: hiddenSiblingNodes\n });\n return modalIndex;\n }\n }, {\n key: \"mount\",\n value: function mount(modal, props) {\n var containerIndex = findIndexOf(this.containers, function (item) {\n return item.modals.indexOf(modal) !== -1;\n });\n var containerInfo = this.containers[containerIndex];\n\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n }, {\n key: \"remove\",\n value: function remove(modal) {\n var modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex === -1) {\n return modalIndex;\n }\n\n var containerIndex = findIndexOf(this.containers, function (item) {\n return item.modals.indexOf(modal) !== -1;\n });\n var containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1); // If that was the last modal in a container, clean up the container.\n\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, true);\n }\n\n ariaHiddenSiblings(containerInfo.container, modal.mountNode, modal.modalRef, containerInfo.hiddenSiblingNodes, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n var nextTop = containerInfo.modals[containerInfo.modals.length - 1]; // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n\n return modalIndex;\n }\n }, {\n key: \"isTopModal\",\n value: function isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n }]);\n\n return ModalManager;\n}();\n\nexport { ModalManager as default };","/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport ownerDocument from '../utils/ownerDocument';\nimport useForkRef from '../utils/useForkRef';\n/**\n * @ignore - internal component.\n */\n\nfunction TrapFocus(props) {\n var children = props.children,\n _props$disableAutoFoc = props.disableAutoFocus,\n disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$disableEnforce = props.disableEnforceFocus,\n disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce,\n _props$disableRestore = props.disableRestoreFocus,\n disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore,\n getDoc = props.getDoc,\n isEnabled = props.isEnabled,\n open = props.open;\n var ignoreNextEnforceFocus = React.useRef();\n var sentinelStart = React.useRef(null);\n var sentinelEnd = React.useRef(null);\n var nodeToRestore = React.useRef();\n var rootRef = React.useRef(null); // can be removed once we drop support for non ref forwarding class components\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n rootRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(children.ref, handleOwnRef);\n var prevOpenRef = React.useRef();\n React.useEffect(function () {\n prevOpenRef.current = open;\n }, [open]);\n\n if (!prevOpenRef.current && open && typeof window !== 'undefined') {\n // WARNING: Potentially unsafe in concurrent mode.\n // The way the read on `nodeToRestore` is setup could make this actually safe.\n // Say we render `open={false}` -> `open={true}` but never commit.\n // We have now written a state that wasn't committed. But no committed effect\n // will read this wrong value. We only read from `nodeToRestore` in effects\n // that were committed on `open={true}`\n // WARNING: Prevents the instance from being garbage collected. Should only\n // hold a weak ref.\n nodeToRestore.current = getDoc().activeElement;\n }\n\n React.useEffect(function () {\n if (!open) {\n return;\n }\n\n var doc = ownerDocument(rootRef.current); // We might render an empty child.\n\n if (!disableAutoFocus && rootRef.current && !rootRef.current.contains(doc.activeElement)) {\n if (!rootRef.current.hasAttribute('tabIndex')) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(['Material-UI: The modal content node does not accept focus.', 'For the benefit of assistive technologies, ' + 'the tabIndex of the node is being set to \"-1\".'].join('\\n'));\n }\n\n rootRef.current.setAttribute('tabIndex', -1);\n }\n\n rootRef.current.focus();\n }\n\n var contain = function contain() {\n if (!doc.hasFocus() || disableEnforceFocus || !isEnabled() || ignoreNextEnforceFocus.current) {\n ignoreNextEnforceFocus.current = false;\n return;\n }\n\n if (rootRef.current && !rootRef.current.contains(doc.activeElement)) {\n rootRef.current.focus();\n }\n };\n\n var loopFocus = function loopFocus(event) {\n // 9 = Tab\n if (disableEnforceFocus || !isEnabled() || event.keyCode !== 9) {\n return;\n } // Make sure the next tab starts from the right place.\n\n\n if (doc.activeElement === rootRef.current) {\n // We need to ignore the next contain as\n // it will try to move the focus back to the rootRef element.\n ignoreNextEnforceFocus.current = true;\n\n if (event.shiftKey) {\n sentinelEnd.current.focus();\n } else {\n sentinelStart.current.focus();\n }\n }\n };\n\n doc.addEventListener('focus', contain, true);\n doc.addEventListener('keydown', loopFocus, true); // With Edge, Safari and Firefox, no focus related events are fired when the focused area stops being a focused area\n // e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=559561.\n //\n // The whatwg spec defines how the browser should behave but does not explicitly mention any events:\n // https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule.\n\n var interval = setInterval(function () {\n contain();\n }, 50);\n return function () {\n clearInterval(interval);\n doc.removeEventListener('focus', contain, true);\n doc.removeEventListener('keydown', loopFocus, true); // restoreLastFocus()\n\n if (!disableRestoreFocus) {\n // In IE 11 it is possible for document.activeElement to be null resulting\n // in nodeToRestore.current being null.\n // Not all elements in IE 11 have a focus method.\n // Once IE 11 support is dropped the focus() call can be unconditional.\n if (nodeToRestore.current && nodeToRestore.current.focus) {\n nodeToRestore.current.focus();\n }\n\n nodeToRestore.current = null;\n }\n };\n }, [disableAutoFocus, disableEnforceFocus, disableRestoreFocus, isEnabled, open]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelStart,\n \"data-test\": \"sentinelStart\"\n }), React.cloneElement(children, {\n ref: handleRef\n }), /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEnd,\n \"data-test\": \"sentinelEnd\"\n }));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? TrapFocus.propTypes = {\n /**\n * A single child content element.\n */\n children: PropTypes.element.isRequired,\n\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableAutoFocus: PropTypes.bool,\n\n /**\n * If `true`, the modal will not prevent focus from leaving the modal while open.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableEnforceFocus: PropTypes.bool,\n\n /**\n * If `true`, the modal will not restore focus to previously focused element once\n * modal is hidden.\n */\n disableRestoreFocus: PropTypes.bool,\n\n /**\n * Return the document to consider.\n * We use it to implement the restore focus between different browser documents.\n */\n getDoc: PropTypes.func.isRequired,\n\n /**\n * Do we still want to enforce the focus?\n * This prop helps nesting TrapFocus elements.\n */\n isEnabled: PropTypes.func.isRequired,\n\n /**\n * If `true`, the modal is open.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\n/*\n\nIn the future, we should be able to replace TrapFocus with:\nhttps://github.com/facebook/react/blob/master/packages/react-events/docs/FocusScope.md\n\n```jsx\nimport FocusScope from 'react-dom/FocusScope';\n\nfunction TrapFocus(props) {\n const {\n children\n disableAutoFocus = false,\n disableEnforceFocus = false,\n disableRestoreFocus = false,\n open,\n } = props;\n\n if (!open) {\n return children;\n }\n\n return (\n \n {children}\n \n );\n}\n```\n\n*/\n\nexport default TrapFocus;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n zIndex: -1,\n position: 'fixed',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n },\n\n /* Styles applied to the root element if `invisible={true}`. */\n invisible: {\n backgroundColor: 'transparent'\n }\n};\n/**\n * @ignore - internal component.\n */\n\nvar SimpleBackdrop = React.forwardRef(function SimpleBackdrop(props, ref) {\n var _props$invisible = props.invisible,\n invisible = _props$invisible === void 0 ? false : _props$invisible,\n open = props.open,\n other = _objectWithoutProperties(props, [\"invisible\", \"open\"]);\n\n return open ? /*#__PURE__*/React.createElement(\"div\", _extends({\n \"aria-hidden\": true,\n ref: ref\n }, other, {\n style: _extends(_extends(_extends({}, styles.root), invisible ? styles.invisible : {}), other.style)\n })) : null;\n});\nprocess.env.NODE_ENV !== \"production\" ? SimpleBackdrop.propTypes = {\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is open.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\nexport default SimpleBackdrop;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { getThemeProps, useTheme } from '@material-ui/styles';\nimport { elementAcceptingRef, HTMLElementType } from '@material-ui/utils';\nimport ownerDocument from '../utils/ownerDocument';\nimport Portal from '../Portal';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport zIndex from '../styles/zIndex';\nimport ModalManager, { ariaHidden } from './ModalManager';\nimport TrapFocus from './TrapFocus';\nimport SimpleBackdrop from './SimpleBackdrop';\n\nfunction getContainer(container) {\n container = typeof container === 'function' ? container() : container;\n return ReactDOM.findDOMNode(container);\n}\n\nfunction getHasTransition(props) {\n return props.children ? props.children.props.hasOwnProperty('in') : false;\n} // A modal manager used to track and manage the state of open Modals.\n// Modals don't open on the server so this won't conflict with concurrent requests.\n\n\nvar defaultManager = new ModalManager();\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'fixed',\n zIndex: theme.zIndex.modal,\n right: 0,\n bottom: 0,\n top: 0,\n left: 0\n },\n\n /* Styles applied to the root element if the `Modal` has exited. */\n hidden: {\n visibility: 'hidden'\n }\n };\n};\n/**\n * Modal is a lower-level construct that is leveraged by the following components:\n *\n * - [Dialog](/api/dialog/)\n * - [Drawer](/api/drawer/)\n * - [Menu](/api/menu/)\n * - [Popover](/api/popover/)\n *\n * If you are creating a modal dialog, you probably want to use the [Dialog](/api/dialog/) component\n * rather than directly using Modal.\n *\n * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).\n */\n\nvar Modal = React.forwardRef(function Modal(inProps, ref) {\n var theme = useTheme();\n var props = getThemeProps({\n name: 'MuiModal',\n props: _extends({}, inProps),\n theme: theme\n });\n\n var _props$BackdropCompon = props.BackdropComponent,\n BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop : _props$BackdropCompon,\n BackdropProps = props.BackdropProps,\n children = props.children,\n _props$closeAfterTran = props.closeAfterTransition,\n closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran,\n container = props.container,\n _props$disableAutoFoc = props.disableAutoFocus,\n disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$disableBackdro = props.disableBackdropClick,\n disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro,\n _props$disableEnforce = props.disableEnforceFocus,\n disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce,\n _props$disableEscapeK = props.disableEscapeKeyDown,\n disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n _props$disableRestore = props.disableRestoreFocus,\n disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore,\n _props$disableScrollL = props.disableScrollLock,\n disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL,\n _props$hideBackdrop = props.hideBackdrop,\n hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop,\n _props$keepMounted = props.keepMounted,\n keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted,\n _props$manager = props.manager,\n manager = _props$manager === void 0 ? defaultManager : _props$manager,\n onBackdropClick = props.onBackdropClick,\n onClose = props.onClose,\n onEscapeKeyDown = props.onEscapeKeyDown,\n onRendered = props.onRendered,\n open = props.open,\n other = _objectWithoutProperties(props, [\"BackdropComponent\", \"BackdropProps\", \"children\", \"closeAfterTransition\", \"container\", \"disableAutoFocus\", \"disableBackdropClick\", \"disableEnforceFocus\", \"disableEscapeKeyDown\", \"disablePortal\", \"disableRestoreFocus\", \"disableScrollLock\", \"hideBackdrop\", \"keepMounted\", \"manager\", \"onBackdropClick\", \"onClose\", \"onEscapeKeyDown\", \"onRendered\", \"open\"]);\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var modal = React.useRef({});\n var mountNodeRef = React.useRef(null);\n var modalRef = React.useRef(null);\n var handleRef = useForkRef(modalRef, ref);\n var hasTransition = getHasTransition(props);\n\n var getDoc = function getDoc() {\n return ownerDocument(mountNodeRef.current);\n };\n\n var getModal = function getModal() {\n modal.current.modalRef = modalRef.current;\n modal.current.mountNode = mountNodeRef.current;\n return modal.current;\n };\n\n var handleMounted = function handleMounted() {\n manager.mount(getModal(), {\n disableScrollLock: disableScrollLock\n }); // Fix a bug on Chrome where the scroll isn't initially 0.\n\n modalRef.current.scrollTop = 0;\n };\n\n var handleOpen = useEventCallback(function () {\n var resolvedContainer = getContainer(container) || getDoc().body;\n manager.add(getModal(), resolvedContainer); // The element was already mounted.\n\n if (modalRef.current) {\n handleMounted();\n }\n });\n var isTopModal = React.useCallback(function () {\n return manager.isTopModal(getModal());\n }, [manager]);\n var handlePortalRef = useEventCallback(function (node) {\n mountNodeRef.current = node;\n\n if (!node) {\n return;\n }\n\n if (onRendered) {\n onRendered();\n }\n\n if (open && isTopModal()) {\n handleMounted();\n } else {\n ariaHidden(modalRef.current, true);\n }\n });\n var handleClose = React.useCallback(function () {\n manager.remove(getModal());\n }, [manager]);\n React.useEffect(function () {\n return function () {\n handleClose();\n };\n }, [handleClose]);\n React.useEffect(function () {\n if (open) {\n handleOpen();\n } else if (!hasTransition || !closeAfterTransition) {\n handleClose();\n }\n }, [open, handleClose, hasTransition, closeAfterTransition, handleOpen]);\n\n if (!keepMounted && !open && (!hasTransition || exited)) {\n return null;\n }\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n\n if (closeAfterTransition) {\n handleClose();\n }\n };\n\n var handleBackdropClick = function handleBackdropClick(event) {\n if (event.target !== event.currentTarget) {\n return;\n }\n\n if (onBackdropClick) {\n onBackdropClick(event);\n }\n\n if (!disableBackdropClick && onClose) {\n onClose(event, 'backdropClick');\n }\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviours like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n if (event.key !== 'Escape' || !isTopModal()) {\n return;\n }\n\n if (onEscapeKeyDown) {\n onEscapeKeyDown(event);\n }\n\n if (!disableEscapeKeyDown) {\n // Swallow the event, in case someone is listening for the escape key on the body.\n event.stopPropagation();\n\n if (onClose) {\n onClose(event, 'escapeKeyDown');\n }\n }\n };\n\n var inlineStyle = styles(theme || {\n zIndex: zIndex\n });\n var childProps = {};\n\n if (children.props.tabIndex === undefined) {\n childProps.tabIndex = children.props.tabIndex || '-1';\n } // It's a Transition like component\n\n\n if (hasTransition) {\n childProps.onEnter = createChainedFunction(handleEnter, children.props.onEnter);\n childProps.onExited = createChainedFunction(handleExited, children.props.onExited);\n }\n\n return /*#__PURE__*/React.createElement(Portal, {\n ref: handlePortalRef,\n container: container,\n disablePortal: disablePortal\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: handleRef,\n onKeyDown: handleKeyDown,\n role: \"presentation\"\n }, other, {\n style: _extends(_extends(_extends({}, inlineStyle.root), !open && exited ? inlineStyle.hidden : {}), other.style)\n }), hideBackdrop ? null : /*#__PURE__*/React.createElement(BackdropComponent, _extends({\n open: open,\n onClick: handleBackdropClick\n }, BackdropProps)), /*#__PURE__*/React.createElement(TrapFocus, {\n disableEnforceFocus: disableEnforceFocus,\n disableAutoFocus: disableAutoFocus,\n disableRestoreFocus: disableRestoreFocus,\n getDoc: getDoc,\n isEnabled: isTopModal,\n open: open\n }, React.cloneElement(children, childProps))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Modal.propTypes = {\n /**\n * A backdrop component. This prop enables custom backdrop rendering.\n */\n BackdropComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Backdrop`](/api/backdrop/) element.\n */\n BackdropProps: PropTypes.object,\n\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * When set to true the Modal waits until a nested Transition is completed before closing.\n */\n closeAfterTransition: PropTypes.bool,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableAutoFocus: PropTypes.bool,\n\n /**\n * If `true`, clicking the backdrop will not fire `onClose`.\n */\n disableBackdropClick: PropTypes.bool,\n\n /**\n * If `true`, the modal will not prevent focus from leaving the modal while open.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableEnforceFocus: PropTypes.bool,\n\n /**\n * If `true`, hitting escape will not fire `onClose`.\n */\n disableEscapeKeyDown: PropTypes.bool,\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * If `true`, the modal will not restore focus to previously focused element once\n * modal is hidden.\n */\n disableRestoreFocus: PropTypes.bool,\n\n /**\n * Disable the scroll lock behavior.\n */\n disableScrollLock: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is not rendered.\n */\n hideBackdrop: PropTypes.bool,\n\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Modal.\n */\n keepMounted: PropTypes.bool,\n\n /**\n * @ignore\n */\n manager: PropTypes.object,\n\n /**\n * Callback fired when the backdrop is clicked.\n */\n onBackdropClick: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the escape key is pressed,\n * `disableEscapeKeyDown` is false and the modal is in focus.\n */\n onEscapeKeyDown: PropTypes.func,\n\n /**\n * Callback fired once the children has been mounted into the `container`.\n * It signals that the `open={true}` prop took effect.\n *\n * This prop will be deprecated and removed in v5, the ref can be used instead.\n */\n onRendered: PropTypes.func,\n\n /**\n * If `true`, the modal is open.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\nexport default Modal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport NativeSelectInput from './NativeSelectInput';\nimport withStyles from '../styles/withStyles';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the select component `root` class. */\n root: {},\n\n /* Styles applied to the select component `select` class. */\n select: {\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n // When interacting quickly, the text can end up selected.\n // Native select can't be selected either.\n userSelect: 'none',\n borderRadius: 0,\n // Reset\n minWidth: 16,\n // So it doesn't collapse.\n cursor: 'pointer',\n '&:focus': {\n // Show that it's not an text input\n backgroundColor: theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',\n borderRadius: 0 // Reset Chrome style\n\n },\n // Remove IE 11 arrow\n '&::-ms-expand': {\n display: 'none'\n },\n '&$disabled': {\n cursor: 'default'\n },\n '&[multiple]': {\n height: 'auto'\n },\n '&:not([multiple]) option, &:not([multiple]) optgroup': {\n backgroundColor: theme.palette.background.paper\n },\n '&&': {\n paddingRight: 24\n }\n },\n\n /* Styles applied to the select component if `variant=\"filled\"`. */\n filled: {\n '&&': {\n paddingRight: 32\n }\n },\n\n /* Styles applied to the select component if `variant=\"outlined\"`. */\n outlined: {\n borderRadius: theme.shape.borderRadius,\n '&&': {\n paddingRight: 32\n }\n },\n\n /* Styles applied to the select component `selectMenu` class. */\n selectMenu: {\n height: 'auto',\n // Resets for multpile select with chips\n minHeight: '1.1876em',\n // Required for select\\text-field height consistency\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n },\n\n /* Pseudo-class applied to the select component `disabled` class. */\n disabled: {},\n\n /* Styles applied to the icon component. */\n icon: {\n // We use a position absolute over a flexbox in order to forward the pointer events\n // to the input and to support wrapping tags..\n position: 'absolute',\n right: 0,\n top: 'calc(50% - 12px)',\n // Center vertically\n pointerEvents: 'none',\n // Don't block pointer events on the select under the icon.\n color: theme.palette.action.active,\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the icon component if the popup is open. */\n iconOpen: {\n transform: 'rotate(180deg)'\n },\n\n /* Styles applied to the icon component if `variant=\"filled\"`. */\n iconFilled: {\n right: 7\n },\n\n /* Styles applied to the icon component if `variant=\"outlined\"`. */\n iconOutlined: {\n right: 7\n }\n };\n};\nvar defaultInput = /*#__PURE__*/React.createElement(Input, null);\n/**\n * An alternative to `` with a much smaller bundle size footprint.\n */\n\nvar NativeSelect = React.forwardRef(function NativeSelect(props, ref) {\n var children = props.children,\n classes = props.classes,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n _props$input = props.input,\n input = _props$input === void 0 ? defaultInput : _props$input,\n inputProps = props.inputProps,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"IconComponent\", \"input\", \"inputProps\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant']\n });\n return React.cloneElement(input, _extends({\n // Most of the logic is implemented in `NativeSelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent: NativeSelectInput,\n inputProps: _extends(_extends({\n children: children,\n classes: classes,\n IconComponent: IconComponent,\n variant: fcs.variant,\n type: undefined\n }, inputProps), input ? input.props.inputProps : {}),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelect.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The option elements to populate the select with.\n * Can be some `` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType,\n\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n\n /**\n * Attributes applied to the `select` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The input value. The DOM API casts this to a string.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nNativeSelect.muiName = 'Select';\nexport default withStyles(styles, {\n name: 'MuiNativeSelect'\n})(NativeSelect);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport capitalize from '../utils/capitalize';\n/**\n * @ignore - internal component.\n */\n\nvar NativeSelectInput = React.forwardRef(function NativeSelectInput(props, ref) {\n var classes = props.classes,\n className = props.className,\n disabled = props.disabled,\n IconComponent = props.IconComponent,\n inputRef = props.inputRef,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"IconComponent\", \"inputRef\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"select\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes[variant], className, disabled && classes.disabled),\n disabled: disabled,\n ref: inputRef || ref\n }, other)), props.multiple ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], disabled && classes.disabled)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelectInput.propTypes = {\n /**\n * The option elements to populate the select with.\n * Can be some `` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Use that prop to pass a ref to the native select element.\n * @deprecated\n */\n inputRef: refType,\n\n /**\n * @ignore\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default NativeSelectInput;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'absolute',\n bottom: 0,\n right: 0,\n top: -5,\n left: 0,\n margin: 0,\n padding: '0 8px',\n pointerEvents: 'none',\n borderRadius: 'inherit',\n borderStyle: 'solid',\n borderWidth: 1,\n overflow: 'hidden'\n },\n\n /* Styles applied to the legend element when `labelWidth` is provided. */\n legend: {\n textAlign: 'left',\n padding: 0,\n lineHeight: '11px',\n // sync with `height` in `legend` styles\n transition: theme.transitions.create('width', {\n duration: 150,\n easing: theme.transitions.easing.easeOut\n })\n },\n\n /* Styles applied to the legend element. */\n legendLabelled: {\n display: 'block',\n width: 'auto',\n textAlign: 'left',\n padding: 0,\n height: 11,\n // sync with `lineHeight` in `legend` styles\n fontSize: '0.75em',\n visibility: 'hidden',\n maxWidth: 0.01,\n transition: theme.transitions.create('max-width', {\n duration: 50,\n easing: theme.transitions.easing.easeOut\n }),\n '& > span': {\n paddingLeft: 5,\n paddingRight: 5,\n display: 'inline-block'\n }\n },\n\n /* Styles applied to the legend element is notched. */\n legendNotched: {\n maxWidth: 1000,\n transition: theme.transitions.create('max-width', {\n duration: 100,\n easing: theme.transitions.easing.easeOut,\n delay: 50\n })\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar NotchedOutline = React.forwardRef(function NotchedOutline(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n label = props.label,\n labelWidthProp = props.labelWidth,\n notched = props.notched,\n style = props.style,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"label\", \"labelWidth\", \"notched\", \"style\"]);\n\n var theme = useTheme();\n var align = theme.direction === 'rtl' ? 'right' : 'left';\n\n if (label !== undefined) {\n return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n \"aria-hidden\": true,\n className: clsx(classes.root, className),\n ref: ref,\n style: style\n }, other), /*#__PURE__*/React.createElement(\"legend\", {\n className: clsx(classes.legendLabelled, notched && classes.legendNotched)\n }, label ? /*#__PURE__*/React.createElement(\"span\", null, label) : /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n })));\n }\n\n var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;\n return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n \"aria-hidden\": true,\n style: _extends(_defineProperty({}, \"padding\".concat(capitalize(align)), 8), style),\n className: clsx(classes.root, className),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"legend\", {\n className: classes.legend,\n style: {\n // IE 11: fieldset with legend does not render\n // a border radius. This maintains consistency\n // by always having a legend rendered\n width: notched ? labelWidth : 0.01\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? NotchedOutline.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The label.\n */\n label: PropTypes.node,\n\n /**\n * The width of the label.\n */\n labelWidth: PropTypes.number.isRequired,\n\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool.isRequired,\n\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateNotchedOutline'\n})(NotchedOutline);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport NotchedOutline from './NotchedOutline';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var borderColor = theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n borderRadius: theme.shape.borderRadius,\n '&:hover $notchedOutline': {\n borderColor: theme.palette.text.primary\n },\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n '&:hover $notchedOutline': {\n borderColor: borderColor\n }\n },\n '&$focused $notchedOutline': {\n borderColor: theme.palette.primary.main,\n borderWidth: 2\n },\n '&$error $notchedOutline': {\n borderColor: theme.palette.error.main\n },\n '&$disabled $notchedOutline': {\n borderColor: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {\n '&$focused $notchedOutline': {\n borderColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {\n paddingLeft: 14\n },\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {\n paddingRight: 14\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: '18.5px 14px',\n '&$marginDense': {\n paddingTop: 10.5,\n paddingBottom: 10.5\n }\n },\n\n /* Styles applied to the `NotchedOutline` element. */\n notchedOutline: {\n borderColor: borderColor\n },\n\n /* Styles applied to the `input` element. */\n input: {\n padding: '18.5px 14px',\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.type === 'dark' ? '0 0 0 100px #266798 inset' : null,\n WebkitTextFillColor: theme.palette.type === 'dark' ? '#fff' : null,\n caretColor: theme.palette.type === 'dark' ? '#fff' : null,\n borderRadius: 'inherit'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 10.5,\n paddingBottom: 10.5\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n padding: 0\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {\n paddingLeft: 0\n },\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {\n paddingRight: 0\n }\n };\n};\nvar OutlinedInput = React.forwardRef(function OutlinedInput(props, ref) {\n var classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n label = props.label,\n _props$labelWidth = props.labelWidth,\n labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n notched = props.notched,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"classes\", \"fullWidth\", \"inputComponent\", \"label\", \"labelWidth\", \"multiline\", \"notched\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n renderSuffix: function renderSuffix(state) {\n return /*#__PURE__*/React.createElement(NotchedOutline, {\n className: classes.notchedOutline,\n label: label,\n labelWidth: labelWidth,\n notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n });\n },\n classes: _extends(_extends({}, classes), {}, {\n root: clsx(classes.root, classes.underline),\n notchedOutline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? OutlinedInput.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The label of the input. It is only used for layout. The actual labelling\n * is handled by `InputLabel`. If specified `labelWidth` is ignored.\n */\n label: PropTypes.node,\n\n /**\n * The width of the label. Is ignored if `label` is provided. Prefer `label`\n * if the input label appears with a strike through.\n */\n labelWidth: PropTypes.number,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nOutlinedInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiOutlinedInput'\n})(OutlinedInput);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var elevations = {};\n theme.shadows.forEach(function (shadow, index) {\n elevations[\"elevation\".concat(index)] = {\n boxShadow: shadow\n };\n });\n return _extends({\n /* Styles applied to the root element. */\n root: {\n backgroundColor: theme.palette.background.paper,\n color: theme.palette.text.primary,\n transition: theme.transitions.create('box-shadow')\n },\n\n /* Styles applied to the root element if `square={false}`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n border: \"1px solid \".concat(theme.palette.divider)\n }\n }, elevations);\n};\nvar Paper = React.forwardRef(function Paper(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$square = props.square,\n square = _props$square === void 0 ? false : _props$square,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 1 : _props$elevation,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'elevation' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"square\", \"elevation\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant === 'outlined' ? classes.outlined : classes[\"elevation\".concat(elevation)], !square && classes.rounded),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n */\n elevation: chainPropTypes(PropTypes.number, function (props) {\n var classes = props.classes,\n elevation = props.elevation; // in case `withStyles` fails to inject we don't need this warning\n\n if (classes === undefined) {\n return null;\n }\n\n if (elevation != null && classes[\"elevation\".concat(elevation)] === undefined) {\n return new Error(\"Material-UI: This elevation `\".concat(elevation, \"` is not implemented.\"));\n }\n\n return null;\n }),\n\n /**\n * If `true`, rounded corners are disabled.\n */\n square: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['elevation', 'outlined'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiPaper'\n})(Paper);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport { chainPropTypes, elementTypeAcceptingRef, refType, HTMLElementType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport withStyles from '../styles/withStyles';\nimport Modal from '../Modal';\nimport Grow from '../Grow';\nimport Paper from '../Paper';\nexport function getOffsetTop(rect, vertical) {\n var offset = 0;\n\n if (typeof vertical === 'number') {\n offset = vertical;\n } else if (vertical === 'center') {\n offset = rect.height / 2;\n } else if (vertical === 'bottom') {\n offset = rect.height;\n }\n\n return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n var offset = 0;\n\n if (typeof horizontal === 'number') {\n offset = horizontal;\n } else if (horizontal === 'center') {\n offset = rect.width / 2;\n } else if (horizontal === 'right') {\n offset = rect.width;\n }\n\n return offset;\n}\n\nfunction getTransformOriginValue(transformOrigin) {\n return [transformOrigin.horizontal, transformOrigin.vertical].map(function (n) {\n return typeof n === 'number' ? \"\".concat(n, \"px\") : n;\n }).join(' ');\n} // Sum the scrollTop between two elements.\n\n\nfunction getScrollParent(parent, child) {\n var element = child;\n var scrollTop = 0;\n\n while (element && element !== parent) {\n element = element.parentElement;\n scrollTop += element.scrollTop;\n }\n\n return scrollTop;\n}\n\nfunction getAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\n\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the `Paper` component. */\n paper: {\n position: 'absolute',\n overflowY: 'auto',\n overflowX: 'hidden',\n // So we see the popover when it's empty.\n // It's most likely on issue on userland.\n minWidth: 16,\n minHeight: 16,\n maxWidth: 'calc(100% - 32px)',\n maxHeight: 'calc(100% - 32px)',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n }\n};\nvar Popover = React.forwardRef(function Popover(props, ref) {\n var action = props.action,\n anchorEl = props.anchorEl,\n _props$anchorOrigin = props.anchorOrigin,\n anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'top',\n horizontal: 'left'\n } : _props$anchorOrigin,\n anchorPosition = props.anchorPosition,\n _props$anchorReferenc = props.anchorReference,\n anchorReference = _props$anchorReferenc === void 0 ? 'anchorEl' : _props$anchorReferenc,\n children = props.children,\n classes = props.classes,\n className = props.className,\n containerProp = props.container,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 8 : _props$elevation,\n getContentAnchorEl = props.getContentAnchorEl,\n _props$marginThreshol = props.marginThreshold,\n marginThreshold = _props$marginThreshol === void 0 ? 16 : _props$marginThreshol,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n open = props.open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n _props$transformOrigi = props.transformOrigin,\n transformOrigin = _props$transformOrigi === void 0 ? {\n vertical: 'top',\n horizontal: 'left'\n } : _props$transformOrigi,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n _props$TransitionProp = props.TransitionProps,\n TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp,\n other = _objectWithoutProperties(props, [\"action\", \"anchorEl\", \"anchorOrigin\", \"anchorPosition\", \"anchorReference\", \"children\", \"classes\", \"className\", \"container\", \"elevation\", \"getContentAnchorEl\", \"marginThreshold\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"open\", \"PaperProps\", \"transformOrigin\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n var paperRef = React.useRef(); // Returns the top/left offset of the position\n // to attach to on the anchor element (or body if none is provided)\n\n var getAnchorOffset = React.useCallback(function (contentAnchorOffset) {\n if (anchorReference === 'anchorPosition') {\n if (process.env.NODE_ENV !== 'production') {\n if (!anchorPosition) {\n console.error('Material-UI: You need to provide a `anchorPosition` prop when using ' + '.');\n }\n }\n\n return anchorPosition;\n }\n\n var resolvedAnchorEl = getAnchorEl(anchorEl); // If an anchor element wasn't provided, just use the parent body element of this Popover\n\n var anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n var anchorRect = anchorElement.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'production') {\n var box = anchorElement.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n\n var anchorVertical = contentAnchorOffset === 0 ? anchorOrigin.vertical : 'center';\n return {\n top: anchorRect.top + getOffsetTop(anchorRect, anchorVertical),\n left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n };\n }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]); // Returns the vertical offset of inner content to anchor the transform on if provided\n\n var getContentAnchorOffset = React.useCallback(function (element) {\n var contentAnchorOffset = 0;\n\n if (getContentAnchorEl && anchorReference === 'anchorEl') {\n var contentAnchorEl = getContentAnchorEl(element);\n\n if (contentAnchorEl && element.contains(contentAnchorEl)) {\n var scrollTop = getScrollParent(element, contentAnchorEl);\n contentAnchorOffset = contentAnchorEl.offsetTop + contentAnchorEl.clientHeight / 2 - scrollTop || 0;\n } // != the default value\n\n\n if (process.env.NODE_ENV !== 'production') {\n if (anchorOrigin.vertical !== 'top') {\n console.error(['Material-UI: You can not change the default `anchorOrigin.vertical` value ', 'when also providing the `getContentAnchorEl` prop to the popover component.', 'Only use one of the two props.', 'Set `getContentAnchorEl` to `null | undefined`' + ' or leave `anchorOrigin.vertical` unchanged.'].join('\\n'));\n }\n }\n }\n\n return contentAnchorOffset;\n }, [anchorOrigin.vertical, anchorReference, getContentAnchorEl]); // Return the base transform origin using the element\n // and taking the content anchor offset into account if in use\n\n var getTransformOrigin = React.useCallback(function (elemRect) {\n var contentAnchorOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return {\n vertical: getOffsetTop(elemRect, transformOrigin.vertical) + contentAnchorOffset,\n horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n };\n }, [transformOrigin.horizontal, transformOrigin.vertical]);\n var getPositioningStyle = React.useCallback(function (element) {\n // Check if the parent has requested anchoring on an inner content node\n var contentAnchorOffset = getContentAnchorOffset(element);\n var elemRect = {\n width: element.offsetWidth,\n height: element.offsetHeight\n }; // Get the transform origin point on the element itself\n\n var elemTransformOrigin = getTransformOrigin(elemRect, contentAnchorOffset);\n\n if (anchorReference === 'none') {\n return {\n top: null,\n left: null,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n } // Get the offset of of the anchoring element\n\n\n var anchorOffset = getAnchorOffset(contentAnchorOffset); // Calculate element positioning\n\n var top = anchorOffset.top - elemTransformOrigin.vertical;\n var left = anchorOffset.left - elemTransformOrigin.horizontal;\n var bottom = top + elemRect.height;\n var right = left + elemRect.width; // Use the parent window of the anchorEl if provided\n\n var containerWindow = ownerWindow(getAnchorEl(anchorEl)); // Window thresholds taking required margin into account\n\n var heightThreshold = containerWindow.innerHeight - marginThreshold;\n var widthThreshold = containerWindow.innerWidth - marginThreshold; // Check if the vertical axis needs shifting\n\n if (top < marginThreshold) {\n var diff = top - marginThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n } else if (bottom > heightThreshold) {\n var _diff = bottom - heightThreshold;\n\n top -= _diff;\n elemTransformOrigin.vertical += _diff;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n console.error(['Material-UI: The popover component is too tall.', \"Some part of it can not be seen on the screen (\".concat(elemRect.height - heightThreshold, \"px).\"), 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n }\n } // Check if the horizontal axis needs shifting\n\n\n if (left < marginThreshold) {\n var _diff2 = left - marginThreshold;\n\n left -= _diff2;\n elemTransformOrigin.horizontal += _diff2;\n } else if (right > widthThreshold) {\n var _diff3 = right - widthThreshold;\n\n left -= _diff3;\n elemTransformOrigin.horizontal += _diff3;\n }\n\n return {\n top: \"\".concat(Math.round(top), \"px\"),\n left: \"\".concat(Math.round(left), \"px\"),\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }, [anchorEl, anchorReference, getAnchorOffset, getContentAnchorOffset, getTransformOrigin, marginThreshold]);\n var setPositioningStyles = React.useCallback(function () {\n var element = paperRef.current;\n\n if (!element) {\n return;\n }\n\n var positioning = getPositioningStyle(element);\n\n if (positioning.top !== null) {\n element.style.top = positioning.top;\n }\n\n if (positioning.left !== null) {\n element.style.left = positioning.left;\n }\n\n element.style.transformOrigin = positioning.transformOrigin;\n }, [getPositioningStyle]);\n\n var handleEntering = function handleEntering(element, isAppearing) {\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n\n setPositioningStyles();\n };\n\n var handlePaperRef = React.useCallback(function (instance) {\n // #StrictMode ready\n paperRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n React.useEffect(function () {\n if (open) {\n setPositioningStyles();\n }\n });\n React.useImperativeHandle(action, function () {\n return open ? {\n updatePosition: function updatePosition() {\n setPositioningStyles();\n }\n } : null;\n }, [open, setPositioningStyles]);\n React.useEffect(function () {\n if (!open) {\n return undefined;\n }\n\n var handleResize = debounce(function () {\n setPositioningStyles();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [open, setPositioningStyles]);\n var transitionDuration = transitionDurationProp;\n\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n } // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n\n\n var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl(anchorEl)).body : undefined);\n return /*#__PURE__*/React.createElement(Modal, _extends({\n container: container,\n open: open,\n ref: ref,\n BackdropProps: {\n invisible: true\n },\n className: clsx(classes.root, className)\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEnter: onEnter,\n onEntered: onEntered,\n onExit: onExit,\n onExited: onExited,\n onExiting: onExiting,\n timeout: transitionDuration\n }, TransitionProps, {\n onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)\n }), /*#__PURE__*/React.createElement(Paper, _extends({\n elevation: elevation,\n ref: handlePaperRef\n }, PaperProps, {\n className: clsx(classes.paper, PaperProps.className)\n }), children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? Popover.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A ref for imperative actions.\n * It currently only supports updatePosition() action.\n */\n action: refType,\n\n /**\n * A HTML element, or a function that returns it.\n * It's used to set the position of the popover.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), function (props) {\n if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {\n var resolvedAnchorEl = getAnchorEl(props.anchorEl);\n\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', \"It should be an Element instance but it's `\".concat(resolvedAnchorEl, \"` instead.\")].join('\\n'));\n }\n }\n\n return null;\n }),\n\n /**\n * This is the point on the anchor where the popover's\n * `anchorEl` will attach to. This is not used when the\n * anchorReference is 'anchorPosition'.\n *\n * Options:\n * vertical: [top, center, bottom];\n * horizontal: [left, center, right].\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n\n /**\n * This is the position that may be used\n * to set the position of the popover.\n * The coordinates are relative to\n * the application's client area.\n */\n anchorPosition: PropTypes.shape({\n left: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n }),\n\n /**\n * This determines which anchor prop to refer to to set\n * the position of the popover.\n */\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will passed to the Modal component.\n *\n * By default, it uses the body of the anchorEl's top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * The elevation of the popover.\n */\n elevation: PropTypes.number,\n\n /**\n * This function is called in order to retrieve the content anchor element.\n * It's the opposite of the `anchorEl` prop.\n * The content anchor element should be an element inside the popover.\n * It's used to correctly scroll and set the position of the popover.\n * The positioning strategy tries to make the content anchor element just above the\n * anchor element.\n */\n getContentAnchorEl: PropTypes.func,\n\n /**\n * Specifies how close to the edge of the window the popover can appear.\n */\n marginThreshold: PropTypes.number,\n\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the component is entering.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the component has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the component is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the component is exiting.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the component has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the component is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the popover is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes\n /* @typescript-to-proptypes-ignore */\n .shape({\n component: elementTypeAcceptingRef\n }),\n\n /**\n * This is the point on the popover which\n * will attach to the anchor's origin.\n *\n * Options:\n * vertical: [top, center, bottom, x(px)];\n * horizontal: [left, center, right, x(px)].\n */\n transformOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiPopover'\n})(Popover);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport PopperJs from 'popper.js';\nimport { chainPropTypes, refType, HTMLElementType } from '@material-ui/utils';\nimport { useTheme } from '@material-ui/styles';\nimport Portal from '../Portal';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport setRef from '../utils/setRef';\nimport useForkRef from '../utils/useForkRef';\n\nfunction flipPlacement(placement, theme) {\n var direction = theme && theme.direction || 'ltr';\n\n if (direction === 'ltr') {\n return placement;\n }\n\n switch (placement) {\n case 'bottom-end':\n return 'bottom-start';\n\n case 'bottom-start':\n return 'bottom-end';\n\n case 'top-end':\n return 'top-start';\n\n case 'top-start':\n return 'top-end';\n\n default:\n return placement;\n }\n}\n\nfunction getAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar defaultPopperOptions = {};\n/**\n * Poppers rely on the 3rd party library [Popper.js](https://popper.js.org/docs/v1/) for positioning.\n */\n\nvar Popper = React.forwardRef(function Popper(props, ref) {\n var anchorEl = props.anchorEl,\n children = props.children,\n container = props.container,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n _props$keepMounted = props.keepMounted,\n keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted,\n modifiers = props.modifiers,\n open = props.open,\n _props$placement = props.placement,\n initialPlacement = _props$placement === void 0 ? 'bottom' : _props$placement,\n _props$popperOptions = props.popperOptions,\n popperOptions = _props$popperOptions === void 0 ? defaultPopperOptions : _props$popperOptions,\n popperRefProp = props.popperRef,\n style = props.style,\n _props$transition = props.transition,\n transition = _props$transition === void 0 ? false : _props$transition,\n other = _objectWithoutProperties(props, [\"anchorEl\", \"children\", \"container\", \"disablePortal\", \"keepMounted\", \"modifiers\", \"open\", \"placement\", \"popperOptions\", \"popperRef\", \"style\", \"transition\"]);\n\n var tooltipRef = React.useRef(null);\n var ownRef = useForkRef(tooltipRef, ref);\n var popperRef = React.useRef(null);\n var handlePopperRef = useForkRef(popperRef, popperRefProp);\n var handlePopperRefRef = React.useRef(handlePopperRef);\n useEnhancedEffect(function () {\n handlePopperRefRef.current = handlePopperRef;\n }, [handlePopperRef]);\n React.useImperativeHandle(popperRefProp, function () {\n return popperRef.current;\n }, []);\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var theme = useTheme();\n var rtlPlacement = flipPlacement(initialPlacement, theme);\n /**\n * placement initialized from prop but can change during lifetime if modifiers.flip.\n * modifiers.flip is essentially a flip for controlled/uncontrolled behavior\n */\n\n var _React$useState2 = React.useState(rtlPlacement),\n placement = _React$useState2[0],\n setPlacement = _React$useState2[1];\n\n React.useEffect(function () {\n if (popperRef.current) {\n popperRef.current.update();\n }\n });\n var handleOpen = React.useCallback(function () {\n if (!tooltipRef.current || !anchorEl || !open) {\n return;\n }\n\n if (popperRef.current) {\n popperRef.current.destroy();\n handlePopperRefRef.current(null);\n }\n\n var handlePopperUpdate = function handlePopperUpdate(data) {\n setPlacement(data.placement);\n };\n\n var resolvedAnchorEl = getAnchorEl(anchorEl);\n\n if (process.env.NODE_ENV !== 'production') {\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n }\n\n var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends(_extends({\n placement: rtlPlacement\n }, popperOptions), {}, {\n modifiers: _extends(_extends(_extends({}, disablePortal ? {} : {\n // It's using scrollParent by default, we can use the viewport when using a portal.\n preventOverflow: {\n boundariesElement: 'window'\n }\n }), modifiers), popperOptions.modifiers),\n // We could have been using a custom modifier like react-popper is doing.\n // But it seems this is the best public API for this use case.\n onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),\n onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)\n }));\n handlePopperRefRef.current(popper);\n }, [anchorEl, disablePortal, modifiers, open, rtlPlacement, popperOptions]);\n var handleRef = React.useCallback(function (node) {\n setRef(ownRef, node);\n handleOpen();\n }, [ownRef, handleOpen]);\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n var handleClose = function handleClose() {\n if (!popperRef.current) {\n return;\n }\n\n popperRef.current.destroy();\n handlePopperRefRef.current(null);\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n handleClose();\n };\n\n React.useEffect(function () {\n // Let's update the popper position.\n handleOpen();\n }, [handleOpen]);\n React.useEffect(function () {\n return function () {\n handleClose();\n };\n }, []);\n React.useEffect(function () {\n if (!open && !transition) {\n // Otherwise handleExited will call this.\n handleClose();\n }\n }, [open, transition]);\n\n if (!keepMounted && !open && (!transition || exited)) {\n return null;\n }\n\n var childProps = {\n placement: placement\n };\n\n if (transition) {\n childProps.TransitionProps = {\n in: open,\n onEnter: handleEnter,\n onExited: handleExited\n };\n }\n\n return /*#__PURE__*/React.createElement(Portal, {\n disablePortal: disablePortal,\n container: container\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: handleRef,\n role: \"tooltip\"\n }, other, {\n style: _extends({\n // Prevents scroll issue, waiting for Popper.js to add this style once initiated.\n position: 'fixed',\n // Fix Popper.js display issue\n top: 0,\n left: 0\n }, style)\n }), typeof children === 'function' ? children(childProps) : children));\n});\nprocess.env.NODE_ENV !== \"production\" ? Popper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A HTML element, [referenceObject](https://popper.js.org/docs/v1/#referenceObject),\n * or a function that returns either.\n * It's used to set the position of the popper.\n * The return value will passed as the reference object of the Popper instance.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]), function (props) {\n if (props.open) {\n var resolvedAnchorEl = getAnchorEl(props.anchorEl);\n\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else if (!resolvedAnchorEl || typeof resolvedAnchorEl.clientWidth !== 'number' || typeof resolvedAnchorEl.clientHeight !== 'number' || typeof resolvedAnchorEl.getBoundingClientRect !== 'function') {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'It should be an HTML element instance or a referenceObject ', '(https://popper.js.org/docs/v1/#referenceObject).'].join('\\n'));\n }\n }\n\n return null;\n }),\n\n /**\n * Popper render function or node.\n */\n children: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Popper.\n */\n keepMounted: PropTypes.bool,\n\n /**\n * Popper.js is based on a \"plugin-like\" architecture,\n * most of its features are fully encapsulated \"modifiers\".\n *\n * A modifier is a function that is called each time Popper.js needs to\n * compute the position of the popper.\n * For this reason, modifiers should be very performant to avoid bottlenecks.\n * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v1/#modifiers).\n */\n modifiers: PropTypes.object,\n\n /**\n * If `true`, the popper is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * Popper placement.\n */\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n\n /**\n * Options provided to the [`popper.js`](https://popper.js.org/docs/v1/) instance.\n */\n popperOptions: PropTypes.object,\n\n /**\n * A ref that points to the used popper instance.\n */\n popperRef: refType,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * Help supporting a react-transition-group/Transition component.\n */\n transition: PropTypes.bool\n} : void 0;\nexport default Popper;","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { exactProp, HTMLElementType } from '@material-ui/utils';\nimport setRef from '../utils/setRef';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getContainer(container) {\n container = typeof container === 'function' ? container() : container; // #StrictMode ready\n\n return ReactDOM.findDOMNode(container);\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n */\n\nvar Portal = React.forwardRef(function Portal(props, ref) {\n var children = props.children,\n container = props.container,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n onRendered = props.onRendered;\n\n var _React$useState = React.useState(null),\n mountNode = _React$useState[0],\n setMountNode = _React$useState[1];\n\n var handleRef = useForkRef(React.isValidElement(children) ? children.ref : null, ref);\n useEnhancedEffect(function () {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(function () {\n if (mountNode && !disablePortal) {\n setRef(ref, mountNode);\n return function () {\n setRef(ref, null);\n };\n }\n\n return undefined;\n }, [ref, mountNode, disablePortal]);\n useEnhancedEffect(function () {\n if (onRendered && (mountNode || disablePortal)) {\n onRendered();\n }\n }, [onRendered, mountNode, disablePortal]);\n\n if (disablePortal) {\n if (React.isValidElement(children)) {\n return React.cloneElement(children, {\n ref: handleRef\n });\n }\n\n return children;\n }\n\n return mountNode ? ReactDOM.createPortal(children, mountNode) : mountNode;\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The children to render into the `container`.\n */\n children: PropTypes.node,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * Callback fired once the children has been mounted into the `container`.\n *\n * This prop will be deprecated and removed in v5, the ref can be used instead.\n */\n onRendered: PropTypes.func\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\n\nexport default Portal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport capitalize from '../utils/capitalize';\nimport { refType } from '@material-ui/utils';\nimport Menu from '../Menu/Menu';\nimport { isFilled } from '../InputBase/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\n\nfunction areEqualValues(a, b) {\n if (_typeof(b) === 'object' && b !== null) {\n return a === b;\n }\n\n return String(a) === String(b);\n}\n\nfunction isEmpty(display) {\n return display == null || typeof display === 'string' && !display.trim();\n}\n/**\n * @ignore - internal component.\n */\n\n\nvar SelectInput = React.forwardRef(function SelectInput(props, ref) {\n var ariaLabel = props['aria-label'],\n autoFocus = props.autoFocus,\n autoWidth = props.autoWidth,\n children = props.children,\n classes = props.classes,\n className = props.className,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n displayEmpty = props.displayEmpty,\n IconComponent = props.IconComponent,\n inputRefProp = props.inputRef,\n labelId = props.labelId,\n _props$MenuProps = props.MenuProps,\n MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps,\n multiple = props.multiple,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClose = props.onClose,\n onFocus = props.onFocus,\n onOpen = props.onOpen,\n openProp = props.open,\n readOnly = props.readOnly,\n renderValue = props.renderValue,\n required = props.required,\n _props$SelectDisplayP = props.SelectDisplayProps,\n SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP,\n tabIndexProp = props.tabIndex,\n type = props.type,\n valueProp = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"aria-label\", \"autoFocus\", \"autoWidth\", \"children\", \"classes\", \"className\", \"defaultValue\", \"disabled\", \"displayEmpty\", \"IconComponent\", \"inputRef\", \"labelId\", \"MenuProps\", \"multiple\", \"name\", \"onBlur\", \"onChange\", \"onClose\", \"onFocus\", \"onOpen\", \"open\", \"readOnly\", \"renderValue\", \"required\", \"SelectDisplayProps\", \"tabIndex\", \"type\", \"value\", \"variant\"]);\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Select'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n value = _useControlled2[0],\n setValue = _useControlled2[1];\n\n var inputRef = React.useRef(null);\n\n var _React$useState = React.useState(null),\n displayNode = _React$useState[0],\n setDisplayNode = _React$useState[1];\n\n var _React$useRef = React.useRef(openProp != null),\n isOpenControlled = _React$useRef.current;\n\n var _React$useState2 = React.useState(),\n menuMinWidthState = _React$useState2[0],\n setMenuMinWidthState = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n openState = _React$useState3[0],\n setOpenState = _React$useState3[1];\n\n var handleRef = useForkRef(ref, inputRefProp);\n React.useImperativeHandle(handleRef, function () {\n return {\n focus: function focus() {\n displayNode.focus();\n },\n node: inputRef.current,\n value: value\n };\n }, [displayNode, value]);\n React.useEffect(function () {\n if (autoFocus && displayNode) {\n displayNode.focus();\n }\n }, [autoFocus, displayNode]);\n\n var update = function update(open, event) {\n if (open) {\n if (onOpen) {\n onOpen(event);\n }\n } else if (onClose) {\n onClose(event);\n }\n\n if (!isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : displayNode.clientWidth);\n setOpenState(open);\n }\n };\n\n var handleMouseDown = function handleMouseDown(event) {\n // Ignore everything but left-click\n if (event.button !== 0) {\n return;\n } // Hijack the default focus behavior.\n\n\n event.preventDefault();\n displayNode.focus();\n update(true, event);\n };\n\n var handleClose = function handleClose(event) {\n update(false, event);\n };\n\n var handleItemClick = function handleItemClick(child) {\n return function (event) {\n if (!multiple) {\n update(false, event);\n }\n\n var newValue;\n\n if (multiple) {\n newValue = Array.isArray(value) ? _toConsumableArray(value) : [];\n var itemIndex = value.indexOf(child.props.value);\n\n if (itemIndex === -1) {\n newValue.push(child.props.value);\n } else {\n newValue.splice(itemIndex, 1);\n }\n } else {\n newValue = child.props.value;\n }\n\n if (child.props.onClick) {\n child.props.onClick(event);\n }\n\n if (value === newValue) {\n return;\n }\n\n setValue(newValue);\n\n if (onChange) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: newValue,\n name: name\n }\n });\n onChange(event, child);\n }\n };\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n if (!readOnly) {\n var validKeys = [' ', 'ArrowUp', 'ArrowDown', // The native select doesn't respond to enter on MacOS, but it's recommended by\n // https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html\n 'Enter'];\n\n if (validKeys.indexOf(event.key) !== -1) {\n event.preventDefault();\n update(true, event);\n }\n }\n };\n\n var open = displayNode !== null && (isOpenControlled ? openProp : openState);\n\n var handleBlur = function handleBlur(event) {\n // if open event.stopImmediatePropagation\n if (!open && onBlur) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: value,\n name: name\n }\n });\n onBlur(event);\n }\n };\n\n delete other['aria-invalid'];\n var display;\n var displaySingle;\n var displayMultiple = [];\n var computeDisplay = false;\n var foundMatch = false; // No need to display any value if the field is empty.\n\n if (isFilled({\n value: value\n }) || displayEmpty) {\n if (renderValue) {\n display = renderValue(value);\n } else {\n computeDisplay = true;\n }\n }\n\n var items = React.Children.map(children, function (child) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var selected;\n\n if (multiple) {\n if (!Array.isArray(value)) {\n throw new Error('Material-UI: The `value` prop must be an array ' + 'when using the `Select` component with `multiple`.');\n }\n\n selected = value.some(function (v) {\n return areEqualValues(v, child.props.value);\n });\n\n if (selected && computeDisplay) {\n displayMultiple.push(child.props.children);\n }\n } else {\n selected = areEqualValues(value, child.props.value);\n\n if (selected && computeDisplay) {\n displaySingle = child.props.children;\n }\n }\n\n if (selected) {\n foundMatch = true;\n }\n\n return React.cloneElement(child, {\n 'aria-selected': selected ? 'true' : undefined,\n onClick: handleItemClick(child),\n onKeyUp: function onKeyUp(event) {\n if (event.key === ' ') {\n // otherwise our MenuItems dispatches a click event\n // it's not behavior of the native and causes\n // the select to close immediately since we open on space keydown\n event.preventDefault();\n }\n\n if (child.props.onKeyUp) {\n child.props.onKeyUp(event);\n }\n },\n role: 'option',\n selected: selected,\n value: undefined,\n // The value is most likely not a valid HTML attribute.\n 'data-value': child.props.value // Instead, we provide it as a data attribute.\n\n });\n });\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (!foundMatch && !multiple && value !== '') {\n var values = React.Children.toArray(children).map(function (child) {\n return child.props.value;\n });\n console.warn([\"Material-UI: You have provided an out-of-range value `\".concat(value, \"` for the select \").concat(name ? \"(name=\\\"\".concat(name, \"\\\") \") : '', \"component.\"), \"Consider providing a value that matches one of the available options or ''.\", \"The available values are \".concat(values.filter(function (x) {\n return x != null;\n }).map(function (x) {\n return \"`\".concat(x, \"`\");\n }).join(', ') || '\"\"', \".\")].join('\\n'));\n }\n }, [foundMatch, children, multiple, name, value]);\n }\n\n if (computeDisplay) {\n display = multiple ? displayMultiple.join(', ') : displaySingle;\n } // Avoid performing a layout computation in the render method.\n\n\n var menuMinWidth = menuMinWidthState;\n\n if (!autoWidth && isOpenControlled && displayNode) {\n menuMinWidth = displayNode.clientWidth;\n }\n\n var tabIndex;\n\n if (typeof tabIndexProp !== 'undefined') {\n tabIndex = tabIndexProp;\n } else {\n tabIndex = disabled ? null : 0;\n }\n\n var buttonId = SelectDisplayProps.id || (name ? \"mui-component-select-\".concat(name) : undefined);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes.selectMenu, classes[variant], className, disabled && classes.disabled),\n ref: setDisplayNode,\n tabIndex: tabIndex,\n role: \"button\",\n \"aria-disabled\": disabled ? 'true' : undefined,\n \"aria-expanded\": open ? 'true' : undefined,\n \"aria-haspopup\": \"listbox\",\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": [labelId, buttonId].filter(Boolean).join(' ') || undefined,\n onKeyDown: handleKeyDown,\n onMouseDown: disabled || readOnly ? null : handleMouseDown,\n onBlur: handleBlur,\n onFocus: onFocus\n }, SelectDisplayProps, {\n // The id is required for proper a11y\n id: buttonId\n }), isEmpty(display) ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n }) : display), /*#__PURE__*/React.createElement(\"input\", _extends({\n value: Array.isArray(value) ? value.join(',') : value,\n name: name,\n ref: inputRef,\n type: \"hidden\",\n autoFocus: autoFocus\n }, other)), /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], open && classes.iconOpen, disabled && classes.disabled)\n }), /*#__PURE__*/React.createElement(Menu, _extends({\n id: \"menu-\".concat(name || ''),\n anchorEl: displayNode,\n open: open,\n onClose: handleClose\n }, MenuProps, {\n MenuListProps: _extends({\n 'aria-labelledby': labelId,\n role: 'listbox',\n disableListWrap: true\n }, MenuProps.MenuListProps),\n PaperProps: _extends(_extends({}, MenuProps.PaperProps), {}, {\n style: _extends({\n minWidth: menuMinWidth\n }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)\n })\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? SelectInput.propTypes = {\n /**\n * @ignore\n */\n 'aria-label': PropTypes.string,\n\n /**\n * @ignore\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the selected item is displayed even if its value is empty.\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`\n * Equivalent to `ref`\n */\n inputRef: refType,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n */\n open: PropTypes.bool,\n\n /**\n * @ignore\n */\n readOnly: PropTypes.bool,\n\n /**\n * Render the selected value.\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * @ignore\n */\n required: PropTypes.bool,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n type: PropTypes.any,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default SelectInput;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { mergeClasses } from '@material-ui/styles';\nimport SelectInput from './SelectInput';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nimport { styles as nativeSelectStyles } from '../NativeSelect/NativeSelect';\nimport NativeSelectInput from '../NativeSelect/NativeSelectInput';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nexport var styles = nativeSelectStyles;\n\nvar _ref = /*#__PURE__*/React.createElement(Input, null);\n\nvar _ref2 = /*#__PURE__*/React.createElement(FilledInput, null);\n\nvar Select = React.forwardRef(function Select(props, ref) {\n var _props$autoWidth = props.autoWidth,\n autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth,\n children = props.children,\n classes = props.classes,\n _props$displayEmpty = props.displayEmpty,\n displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n id = props.id,\n input = props.input,\n inputProps = props.inputProps,\n label = props.label,\n labelId = props.labelId,\n _props$labelWidth = props.labelWidth,\n labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n MenuProps = props.MenuProps,\n _props$multiple = props.multiple,\n multiple = _props$multiple === void 0 ? false : _props$multiple,\n _props$native = props.native,\n native = _props$native === void 0 ? false : _props$native,\n onClose = props.onClose,\n onOpen = props.onOpen,\n open = props.open,\n renderValue = props.renderValue,\n SelectDisplayProps = props.SelectDisplayProps,\n _props$variant = props.variant,\n variantProps = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoWidth\", \"children\", \"classes\", \"displayEmpty\", \"IconComponent\", \"id\", \"input\", \"inputProps\", \"label\", \"labelId\", \"labelWidth\", \"MenuProps\", \"multiple\", \"native\", \"onClose\", \"onOpen\", \"open\", \"renderValue\", \"SelectDisplayProps\", \"variant\"]);\n\n var inputComponent = native ? NativeSelectInput : SelectInput;\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant']\n });\n var variant = fcs.variant || variantProps;\n var InputComponent = input || {\n standard: _ref,\n outlined: /*#__PURE__*/React.createElement(OutlinedInput, {\n label: label,\n labelWidth: labelWidth\n }),\n filled: _ref2\n }[variant];\n return React.cloneElement(InputComponent, _extends({\n // Most of the logic is implemented in `SelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent: inputComponent,\n inputProps: _extends(_extends(_extends({\n children: children,\n IconComponent: IconComponent,\n variant: variant,\n type: undefined,\n // We render a select. We can ignore the type provided by the `Input`.\n multiple: multiple\n }, native ? {\n id: id\n } : {\n autoWidth: autoWidth,\n displayEmpty: displayEmpty,\n labelId: labelId,\n MenuProps: MenuProps,\n onClose: onClose,\n onOpen: onOpen,\n open: open,\n renderValue: renderValue,\n SelectDisplayProps: _extends({\n id: id\n }, SelectDisplayProps)\n }), inputProps), {}, {\n classes: inputProps ? mergeClasses({\n baseClasses: classes,\n newClasses: inputProps.classes,\n Component: Select\n }) : classes\n }, input ? input.props.inputProps : {}),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Select.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\n *\n * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, a value is displayed even if no items are selected.\n *\n * In order to display a meaningful value, a function should be passed to the `renderValue` prop which returns the value to be displayed when no items are selected.\n * You can only use it when the `native` prop is `false` (default).\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType,\n\n /**\n * The `id` of the wrapper element or the `select` element when `native`.\n */\n id: PropTypes.string,\n\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * When `native` is `true`, the attributes are applied on the `select` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * See [OutlinedInput#label](/api/outlined-input/#props)\n */\n label: PropTypes.node,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * See [OutlinedInput#label](/api/outlined-input/#props)\n */\n labelWidth: PropTypes.number,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * If `true`, the component will be using a native `select` element.\n */\n native: PropTypes.bool,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected when `native` is `false` (default).\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n * You can only use it when the `native` prop is `false` (default).\n */\n open: PropTypes.bool,\n\n /**\n * Render the selected value.\n * You can only use it when the `native` prop is `false` (default).\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * The input value. Providing an empty string will select no options.\n * This prop is required when the `native` prop is `false` (default).\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n *\n * If the value is an object it must have reference equality with the option in order to be selected.\n * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nSelect.muiName = 'Select';\nexport default withStyles(styles, {\n name: 'MuiSelect'\n})(Select);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport debounce from '../utils/debounce';\nimport { Transition } from 'react-transition-group';\nimport { elementAcceptingRef } from '@material-ui/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useTheme from '../styles/useTheme';\nimport { duration } from '../styles/transitions';\nimport { reflow, getTransitionProps } from '../transitions/utils'; // Translate the node so he can't be seen on the screen.\n// Later, we gonna translate back the node to his original location\n// with `none`.`\n\nfunction getTranslateValue(direction, node) {\n var rect = node.getBoundingClientRect();\n var transform;\n\n if (node.fakeTransform) {\n transform = node.fakeTransform;\n } else {\n var computedStyle = window.getComputedStyle(node);\n transform = computedStyle.getPropertyValue('-webkit-transform') || computedStyle.getPropertyValue('transform');\n }\n\n var offsetX = 0;\n var offsetY = 0;\n\n if (transform && transform !== 'none' && typeof transform === 'string') {\n var transformValues = transform.split('(')[1].split(')')[0].split(',');\n offsetX = parseInt(transformValues[4], 10);\n offsetY = parseInt(transformValues[5], 10);\n }\n\n if (direction === 'left') {\n return \"translateX(\".concat(window.innerWidth, \"px) translateX(-\").concat(rect.left - offsetX, \"px)\");\n }\n\n if (direction === 'right') {\n return \"translateX(-\".concat(rect.left + rect.width - offsetX, \"px)\");\n }\n\n if (direction === 'up') {\n return \"translateY(\".concat(window.innerHeight, \"px) translateY(-\").concat(rect.top - offsetY, \"px)\");\n } // direction === 'down'\n\n\n return \"translateY(-\".concat(rect.top + rect.height - offsetY, \"px)\");\n}\n\nexport function setTranslateValue(direction, node) {\n var transform = getTranslateValue(direction, node);\n\n if (transform) {\n node.style.webkitTransform = transform;\n node.style.transform = transform;\n }\n}\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Slide transition is used by the [Drawer](/components/drawers/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Slide = React.forwardRef(function Slide(props, ref) {\n var children = props.children,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'down' : _props$direction,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"direction\", \"in\", \"onEnter\", \"onEntering\", \"onExit\", \"onExited\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var childrenRef = React.useRef(null);\n /**\n * used in cloneElement(children, { ref: handleRef })\n */\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n childrenRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRefIntermediary = useForkRef(children.ref, handleOwnRef);\n var handleRef = useForkRef(handleRefIntermediary, ref);\n\n var handleEnter = function handleEnter(_, isAppearing) {\n var node = childrenRef.current;\n setTranslateValue(direction, node);\n reflow(node);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleEntering = function handleEntering(_, isAppearing) {\n var node = childrenRef.current;\n var transitionProps = getTransitionProps({\n timeout: timeout,\n style: style\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.easeOut\n }));\n node.style.transition = theme.transitions.create('transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.easeOut\n }));\n node.style.webkitTransform = 'none';\n node.style.transform = 'none';\n\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit() {\n var node = childrenRef.current;\n var transitionProps = getTransitionProps({\n timeout: timeout,\n style: style\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.sharp\n }));\n node.style.transition = theme.transitions.create('transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.sharp\n }));\n setTranslateValue(direction, node);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n var handleExited = function handleExited() {\n var node = childrenRef.current; // No need for transitions when the component is hidden\n\n node.style.webkitTransition = '';\n node.style.transition = '';\n\n if (onExited) {\n onExited(node);\n }\n };\n\n var updatePosition = React.useCallback(function () {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current);\n }\n }, [direction]);\n React.useEffect(function () {\n // Skip configuration where the position is screen size invariant.\n if (inProp || direction === 'down' || direction === 'right') {\n return undefined;\n }\n\n var handleResize = debounce(function () {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current);\n }\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [direction, inProp]);\n React.useEffect(function () {\n if (!inProp) {\n // We need to update the position of the drawer when the direction change and\n // when it's hidden.\n updatePosition();\n }\n }, [inProp, updatePosition]);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n onEnter: handleEnter,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n appear: true,\n in: inProp,\n timeout: timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n ref: handleRef,\n style: _extends(_extends({\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, style), children.props.style)\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Slide.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: elementAcceptingRef,\n\n /**\n * Direction the child node will enter from.\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Slide;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport { emphasize } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n var emphasis = theme.palette.type === 'light' ? 0.8 : 0.98;\n var backgroundColor = emphasize(theme.palette.background.default, emphasis);\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body2), {}, _defineProperty({\n color: theme.palette.getContrastText(backgroundColor),\n backgroundColor: backgroundColor,\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n padding: '6px 16px',\n borderRadius: theme.shape.borderRadius,\n flexGrow: 1\n }, theme.breakpoints.up('sm'), {\n flexGrow: 'initial',\n minWidth: 288\n })),\n\n /* Styles applied to the message wrapper element. */\n message: {\n padding: '8px 0'\n },\n\n /* Styles applied to the action wrapper element if `action` is provided. */\n action: {\n display: 'flex',\n alignItems: 'center',\n marginLeft: 'auto',\n paddingLeft: 16,\n marginRight: -8\n }\n };\n};\nvar SnackbarContent = React.forwardRef(function SnackbarContent(props, ref) {\n var action = props.action,\n classes = props.classes,\n className = props.className,\n message = props.message,\n _props$role = props.role,\n role = _props$role === void 0 ? 'alert' : _props$role,\n other = _objectWithoutProperties(props, [\"action\", \"classes\", \"className\", \"message\", \"role\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n role: role,\n square: true,\n elevation: 6,\n className: clsx(classes.root, className),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.message\n }, message), action ? /*#__PURE__*/React.createElement(\"div\", {\n className: classes.action\n }, action) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SnackbarContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The message to display.\n */\n message: PropTypes.node,\n\n /**\n * The ARIA role attribute of the element.\n */\n role: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSnackbarContent'\n})(SnackbarContent);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { duration } from '../styles/transitions';\nimport ClickAwayListener from '../ClickAwayListener';\nimport useEventCallback from '../utils/useEventCallback';\nimport capitalize from '../utils/capitalize';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport Grow from '../Grow';\nimport SnackbarContent from '../SnackbarContent';\nexport var styles = function styles(theme) {\n var top1 = {\n top: 8\n };\n var bottom1 = {\n bottom: 8\n };\n var right = {\n justifyContent: 'flex-end'\n };\n var left = {\n justifyContent: 'flex-start'\n };\n var top3 = {\n top: 24\n };\n var bottom3 = {\n bottom: 24\n };\n var right3 = {\n right: 24\n };\n var left3 = {\n left: 24\n };\n var center = {\n left: '50%',\n right: 'auto',\n transform: 'translateX(-50%)'\n };\n return {\n /* Styles applied to the root element. */\n root: {\n zIndex: theme.zIndex.snackbar,\n position: 'fixed',\n display: 'flex',\n left: 8,\n right: 8,\n justifyContent: 'center',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */\n anchorOriginTopCenter: _extends(_extends({}, top1), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({}, top3), center))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */\n anchorOriginBottomCenter: _extends(_extends({}, bottom1), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({}, bottom3), center))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */\n anchorOriginTopRight: _extends(_extends(_extends({}, top1), right), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n left: 'auto'\n }, top3), right3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */\n anchorOriginBottomRight: _extends(_extends(_extends({}, bottom1), right), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n left: 'auto'\n }, bottom3), right3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */\n anchorOriginTopLeft: _extends(_extends(_extends({}, top1), left), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n right: 'auto'\n }, top3), left3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */\n anchorOriginBottomLeft: _extends(_extends(_extends({}, bottom1), left), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n right: 'auto'\n }, bottom3), left3)))\n };\n};\nvar Snackbar = React.forwardRef(function Snackbar(props, ref) {\n var action = props.action,\n _props$anchorOrigin = props.anchorOrigin;\n _props$anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'bottom',\n horizontal: 'center'\n } : _props$anchorOrigin;\n\n var vertical = _props$anchorOrigin.vertical,\n horizontal = _props$anchorOrigin.horizontal,\n _props$autoHideDurati = props.autoHideDuration,\n autoHideDuration = _props$autoHideDurati === void 0 ? null : _props$autoHideDurati,\n children = props.children,\n classes = props.classes,\n className = props.className,\n ClickAwayListenerProps = props.ClickAwayListenerProps,\n ContentProps = props.ContentProps,\n _props$disableWindowB = props.disableWindowBlurListener,\n disableWindowBlurListener = _props$disableWindowB === void 0 ? false : _props$disableWindowB,\n message = props.message,\n onClose = props.onClose,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n open = props.open,\n resumeHideDuration = props.resumeHideDuration,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n } : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"action\", \"anchorOrigin\", \"autoHideDuration\", \"children\", \"classes\", \"className\", \"ClickAwayListenerProps\", \"ContentProps\", \"disableWindowBlurListener\", \"message\", \"onClose\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"onMouseEnter\", \"onMouseLeave\", \"open\", \"resumeHideDuration\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n var timerAutoHide = React.useRef();\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var handleClose = useEventCallback(function () {\n if (onClose) {\n onClose.apply(void 0, arguments);\n }\n });\n var setAutoHideTimer = useEventCallback(function (autoHideDurationParam) {\n if (!onClose || autoHideDurationParam == null) {\n return;\n }\n\n clearTimeout(timerAutoHide.current);\n timerAutoHide.current = setTimeout(function () {\n handleClose(null, 'timeout');\n }, autoHideDurationParam);\n });\n React.useEffect(function () {\n if (open) {\n setAutoHideTimer(autoHideDuration);\n }\n\n return function () {\n clearTimeout(timerAutoHide.current);\n };\n }, [open, autoHideDuration, setAutoHideTimer]); // Pause the timer when the user is interacting with the Snackbar\n // or when the user hide the window.\n\n var handlePause = function handlePause() {\n clearTimeout(timerAutoHide.current);\n }; // Restart the timer when the user is no longer interacting with the Snackbar\n // or when the window is shown back.\n\n\n var handleResume = React.useCallback(function () {\n if (autoHideDuration != null) {\n setAutoHideTimer(resumeHideDuration != null ? resumeHideDuration : autoHideDuration * 0.5);\n }\n }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);\n\n var handleMouseEnter = function handleMouseEnter(event) {\n if (onMouseEnter) {\n onMouseEnter(event);\n }\n\n handlePause();\n };\n\n var handleMouseLeave = function handleMouseLeave(event) {\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n\n handleResume();\n };\n\n var handleClickAway = function handleClickAway(event) {\n if (onClose) {\n onClose(event, 'clickaway');\n }\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n };\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n React.useEffect(function () {\n if (!disableWindowBlurListener && open) {\n window.addEventListener('focus', handleResume);\n window.addEventListener('blur', handlePause);\n return function () {\n window.removeEventListener('focus', handleResume);\n window.removeEventListener('blur', handlePause);\n };\n }\n\n return undefined;\n }, [disableWindowBlurListener, handleResume, open]); // So we only render active snackbars.\n\n if (!open && exited) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(ClickAwayListener, _extends({\n onClickAway: handleClickAway\n }, ClickAwayListenerProps), /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"anchorOrigin\".concat(capitalize(vertical)).concat(capitalize(horizontal))], className),\n onMouseEnter: handleMouseEnter,\n onMouseLeave: handleMouseLeave,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEnter: createChainedFunction(handleEnter, onEnter),\n onEntered: onEntered,\n onEntering: onEntering,\n onExit: onExit,\n onExited: createChainedFunction(handleExited, onExited),\n onExiting: onExiting,\n timeout: transitionDuration,\n direction: vertical === 'top' ? 'down' : 'up'\n }, TransitionProps), children || /*#__PURE__*/React.createElement(SnackbarContent, _extends({\n message: message,\n action: action\n }, ContentProps)))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Snackbar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n\n /**\n * The anchor of the `Snackbar`.\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['center', 'left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n\n /**\n * The number of milliseconds to wait before automatically calling the\n * `onClose` function. `onClose` should then set the state of the `open`\n * prop to hide the Snackbar. This behavior is disabled by default with\n * the `null` value.\n */\n autoHideDuration: PropTypes.number,\n\n /**\n * Replace the `SnackbarContent` component.\n */\n children: PropTypes.element,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Props applied to the `ClickAwayListener` element.\n */\n ClickAwayListenerProps: PropTypes.object,\n\n /**\n * Props applied to the [`SnackbarContent`](/api/snackbar-content/) element.\n */\n ContentProps: PropTypes.object,\n\n /**\n * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.\n */\n disableWindowBlurListener: PropTypes.bool,\n\n /**\n * When displaying multiple consecutive Snackbars from a parent rendering a single\n * , add the key prop to ensure independent treatment of each message.\n * e.g. , otherwise, the message may update-in-place and\n * features such as autoHideDuration may be canceled.\n */\n key: PropTypes.any,\n\n /**\n * The message to display.\n */\n message: PropTypes.node,\n\n /**\n * Callback fired when the component requests to be closed.\n * Typically `onClose` is used to set state in the parent component,\n * which is used to control the `Snackbar` `open` prop.\n * The `reason` parameter can optionally be used to control the response to `onClose`,\n * for example ignoring `clickaway`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"timeout\"` (`autoHideDuration` expired), `\"clickaway\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the transition is entering.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the transition has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the transition is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the transition is exiting.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the transition has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the transition is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n\n /**\n * If `true`, `Snackbar` is open.\n */\n open: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before dismissing after user interaction.\n * If `autoHideDuration` prop isn't specified, it does nothing.\n * If `autoHideDuration` prop is specified but `resumeHideDuration` isn't,\n * we default to `autoHideDuration / 2` ms.\n */\n resumeHideDuration: PropTypes.number,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n flip: false,\n name: 'MuiSnackbar'\n})(Snackbar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: theme.typography.pxToRem(24),\n transition: theme.transitions.create('fill', {\n duration: theme.transitions.duration.shorter\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"action\"`. */\n colorAction: {\n color: theme.palette.action.active\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `color=\"disabled\"`. */\n colorDisabled: {\n color: theme.palette.action.disabled\n },\n\n /* Styles applied to the root element if `fontSize=\"inherit\"`. */\n fontSizeInherit: {\n fontSize: 'inherit'\n },\n\n /* Styles applied to the root element if `fontSize=\"small\"`. */\n fontSizeSmall: {\n fontSize: theme.typography.pxToRem(20)\n },\n\n /* Styles applied to the root element if `fontSize=\"large\"`. */\n fontSizeLarge: {\n fontSize: theme.typography.pxToRem(35)\n }\n };\n};\nvar SvgIcon = React.forwardRef(function SvgIcon(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'inherit' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'svg' : _props$component,\n _props$fontSize = props.fontSize,\n fontSize = _props$fontSize === void 0 ? 'default' : _props$fontSize,\n htmlColor = props.htmlColor,\n titleAccess = props.titleAccess,\n _props$viewBox = props.viewBox,\n viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"fontSize\", \"htmlColor\", \"titleAccess\", \"viewBox\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], fontSize !== 'default' && classes[\"fontSize\".concat(capitalize(fontSize))]),\n focusable: \"false\",\n viewBox: viewBox,\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref\n }, other), children, titleAccess ? /*#__PURE__*/React.createElement(\"title\", null, titleAccess) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n */\n color: PropTypes.oneOf(['action', 'disabled', 'error', 'inherit', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n */\n fontSize: PropTypes.oneOf(['default', 'inherit', 'large', 'small']),\n\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this property.\n */\n shapeRendering: PropTypes.string,\n\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default withStyles(styles, {\n name: 'MuiSvgIcon'\n})(SvgIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport Input from '../Input';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nimport InputLabel from '../InputLabel';\nimport FormControl from '../FormControl';\nimport FormHelperText from '../FormHelperText';\nimport Select from '../Select';\nimport withStyles from '../styles/withStyles';\nvar variantComponent = {\n standard: Input,\n filled: FilledInput,\n outlined: OutlinedInput\n};\nexport var styles = {\n /* Styles applied to the root element. */\n root: {}\n};\n/**\n * The `TextField` is a convenience wrapper for the most common cases (80%).\n * It cannot be all things to all people, otherwise the API would grow out of control.\n *\n * ## Advanced Configuration\n *\n * It's important to understand that the text field is a simple abstraction\n * on top of the following components:\n *\n * - [FormControl](/api/form-control/)\n * - [InputLabel](/api/input-label/)\n * - [FilledInput](/api/filled-input/)\n * - [OutlinedInput](/api/outlined-input/)\n * - [Input](/api/input/)\n * - [FormHelperText](/api/form-helper-text/)\n *\n * If you wish to alter the props applied to the `input` element, you can do so as follows:\n *\n * ```jsx\n * const inputProps = {\n * step: 300,\n * };\n *\n * return ;\n * ```\n *\n * For advanced cases, please look at the source of TextField by clicking on the\n * \"Edit this page\" button above. Consider either:\n *\n * - using the upper case props for passing values directly to the components\n * - using the underlying components directly as shown in the demos\n */\n\nvar TextField = React.forwardRef(function TextField(props, ref) {\n var autoComplete = props.autoComplete,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n defaultValue = props.defaultValue,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n FormHelperTextProps = props.FormHelperTextProps,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n helperText = props.helperText,\n hiddenLabel = props.hiddenLabel,\n id = props.id,\n InputLabelProps = props.InputLabelProps,\n inputProps = props.inputProps,\n InputProps = props.InputProps,\n inputRef = props.inputRef,\n label = props.label,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onFocus = props.onFocus,\n placeholder = props.placeholder,\n _props$required = props.required,\n required = _props$required === void 0 ? false : _props$required,\n rows = props.rows,\n rowsMax = props.rowsMax,\n _props$select = props.select,\n select = _props$select === void 0 ? false : _props$select,\n SelectProps = props.SelectProps,\n type = props.type,\n value = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoComplete\", \"autoFocus\", \"children\", \"classes\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"error\", \"FormHelperTextProps\", \"fullWidth\", \"helperText\", \"hiddenLabel\", \"id\", \"InputLabelProps\", \"inputProps\", \"InputProps\", \"inputRef\", \"label\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"placeholder\", \"required\", \"rows\", \"rowsMax\", \"select\", \"SelectProps\", \"type\", \"value\", \"variant\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (select && !children) {\n console.error('Material-UI: `children` must be passed when using the `TextField` component with `select`.');\n }\n }\n\n var InputMore = {};\n\n if (variant === 'outlined') {\n if (InputLabelProps && typeof InputLabelProps.shrink !== 'undefined') {\n InputMore.notched = InputLabelProps.shrink;\n }\n\n if (label) {\n var _InputLabelProps$requ;\n\n var displayRequired = (_InputLabelProps$requ = InputLabelProps === null || InputLabelProps === void 0 ? void 0 : InputLabelProps.required) !== null && _InputLabelProps$requ !== void 0 ? _InputLabelProps$requ : required;\n InputMore.label = /*#__PURE__*/React.createElement(React.Fragment, null, label, displayRequired && \"\\xA0*\");\n }\n }\n\n if (select) {\n // unset defaults from textbox inputs\n if (!SelectProps || !SelectProps.native) {\n InputMore.id = undefined;\n }\n\n InputMore['aria-describedby'] = undefined;\n }\n\n var helperTextId = helperText && id ? \"\".concat(id, \"-helper-text\") : undefined;\n var inputLabelId = label && id ? \"\".concat(id, \"-label\") : undefined;\n var InputComponent = variantComponent[variant];\n var InputElement = /*#__PURE__*/React.createElement(InputComponent, _extends({\n \"aria-describedby\": helperTextId,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n fullWidth: fullWidth,\n multiline: multiline,\n name: name,\n rows: rows,\n rowsMax: rowsMax,\n type: type,\n value: value,\n id: id,\n inputRef: inputRef,\n onBlur: onBlur,\n onChange: onChange,\n onFocus: onFocus,\n placeholder: placeholder,\n inputProps: inputProps\n }, InputMore, InputProps));\n return /*#__PURE__*/React.createElement(FormControl, _extends({\n className: clsx(classes.root, className),\n disabled: disabled,\n error: error,\n fullWidth: fullWidth,\n hiddenLabel: hiddenLabel,\n ref: ref,\n required: required,\n color: color,\n variant: variant\n }, other), label && /*#__PURE__*/React.createElement(InputLabel, _extends({\n htmlFor: id,\n id: inputLabelId\n }, InputLabelProps), label), select ? /*#__PURE__*/React.createElement(Select, _extends({\n \"aria-describedby\": helperTextId,\n id: id,\n labelId: inputLabelId,\n value: value,\n input: InputElement\n }, SelectProps), children) : InputElement, helperText && /*#__PURE__*/React.createElement(FormHelperText, _extends({\n id: helperTextId\n }, FormHelperTextProps), helperText));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextField.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * @ignore\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default value of the `input` element.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label will be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * Props applied to the [`FormHelperText`](/api/form-helper-text/) element.\n */\n FormHelperTextProps: PropTypes.object,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n\n /**\n * @ignore\n */\n hiddenLabel: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n\n /**\n * Props applied to the [`InputLabel`](/api/input-label/) element.\n */\n InputLabelProps: PropTypes.object,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Props applied to the Input element.\n * It will be a [`FilledInput`](/api/filled-input/),\n * [`OutlinedInput`](/api/outlined-input/) or [`Input`](/api/input/)\n * component depending on the `variant` prop value.\n */\n InputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The label content.\n */\n label: PropTypes.node,\n\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n\n /**\n * If `true`, a textarea element will be rendered instead of an input.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * If `true`, the label is displayed as required and the `input` element` will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Render a [`Select`](/api/select/) element while passing the Input element to `Select` as `input` parameter.\n * If this option is set you must pass the options of the select as children.\n */\n select: PropTypes.bool,\n\n /**\n * Props applied to the [`Select`](/api/select/) element.\n */\n SelectProps: PropTypes.object,\n\n /**\n * The size of the text field.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTextField'\n})(TextField);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: _defineProperty({\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2)\n }, theme.breakpoints.up('sm'), {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }),\n\n /* Styles applied to the root element if `variant=\"regular\"`. */\n regular: theme.mixins.toolbar,\n\n /* Styles applied to the root element if `variant=\"dense\"`. */\n dense: {\n minHeight: 48\n }\n };\n};\nvar Toolbar = React.forwardRef(function Toolbar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'regular' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[variant], className, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Toolbar.propTypes = {\n /**\n * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, disables gutter padding.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['regular', 'dense'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiToolbar'\n})(Toolbar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n margin: 0\n },\n\n /* Styles applied to the root element if `variant=\"body2\"`. */\n body2: theme.typography.body2,\n\n /* Styles applied to the root element if `variant=\"body1\"`. */\n body1: theme.typography.body1,\n\n /* Styles applied to the root element if `variant=\"caption\"`. */\n caption: theme.typography.caption,\n\n /* Styles applied to the root element if `variant=\"button\"`. */\n button: theme.typography.button,\n\n /* Styles applied to the root element if `variant=\"h1\"`. */\n h1: theme.typography.h1,\n\n /* Styles applied to the root element if `variant=\"h2\"`. */\n h2: theme.typography.h2,\n\n /* Styles applied to the root element if `variant=\"h3\"`. */\n h3: theme.typography.h3,\n\n /* Styles applied to the root element if `variant=\"h4\"`. */\n h4: theme.typography.h4,\n\n /* Styles applied to the root element if `variant=\"h5\"`. */\n h5: theme.typography.h5,\n\n /* Styles applied to the root element if `variant=\"h6\"`. */\n h6: theme.typography.h6,\n\n /* Styles applied to the root element if `variant=\"subtitle1\"`. */\n subtitle1: theme.typography.subtitle1,\n\n /* Styles applied to the root element if `variant=\"subtitle2\"`. */\n subtitle2: theme.typography.subtitle2,\n\n /* Styles applied to the root element if `variant=\"overline\"`. */\n overline: theme.typography.overline,\n\n /* Styles applied to the root element if `variant=\"srOnly\"`. Only accessible to screen readers. */\n srOnly: {\n position: 'absolute',\n height: 1,\n width: 1,\n overflow: 'hidden'\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `nowrap={true}`. */\n noWrap: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the root element if `gutterBottom={true}`. */\n gutterBottom: {\n marginBottom: '0.35em'\n },\n\n /* Styles applied to the root element if `paragraph={true}`. */\n paragraph: {\n marginBottom: 16\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"textPrimary\"`. */\n colorTextPrimary: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `color=\"textSecondary\"`. */\n colorTextSecondary: {\n color: theme.palette.text.secondary\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `display=\"inline\"`. */\n displayInline: {\n display: 'inline'\n },\n\n /* Styles applied to the root element if `display=\"block\"`. */\n displayBlock: {\n display: 'block'\n }\n };\n};\nvar defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p'\n};\nvar Typography = React.forwardRef(function Typography(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'initial' : _props$color,\n component = props.component,\n _props$display = props.display,\n display = _props$display === void 0 ? 'initial' : _props$display,\n _props$gutterBottom = props.gutterBottom,\n gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom,\n _props$noWrap = props.noWrap,\n noWrap = _props$noWrap === void 0 ? false : _props$noWrap,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? false : _props$paragraph,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'body1' : _props$variant,\n _props$variantMapping = props.variantMapping,\n variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"color\", \"component\", \"display\", \"gutterBottom\", \"noWrap\", \"paragraph\", \"variant\", \"variantMapping\"]);\n\n var Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'inherit' && classes[variant], color !== 'initial' && classes[\"color\".concat(capitalize(color))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], display !== 'initial' && classes[\"display\".concat(capitalize(display))]),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Typography.propTypes = {\n /**\n * Set the text-align on the component.\n */\n align: PropTypes.oneOf(['inherit', 'left', 'center', 'right', 'justify']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['initial', 'inherit', 'primary', 'secondary', 'textPrimary', 'textSecondary', 'error']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * Overrides the behavior of the `variantMapping` prop.\n */\n component: PropTypes.elementType,\n\n /**\n * Controls the display type\n */\n display: PropTypes.oneOf(['initial', 'block', 'inline']),\n\n /**\n * If `true`, the text will have a bottom margin.\n */\n gutterBottom: PropTypes.bool,\n\n /**\n * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.\n *\n * Note that text overflow can only happen with block or inline-block level elements\n * (the element needs to have a width in order to overflow).\n */\n noWrap: PropTypes.bool,\n\n /**\n * If `true`, the text will have a bottom margin.\n */\n paragraph: PropTypes.bool,\n\n /**\n * Applies the theme typography styles.\n */\n variant: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'caption', 'button', 'overline', 'srOnly', 'inherit']),\n\n /**\n * The component maps the variant prop to a range of different HTML element types.\n * For instance, subtitle1 to ``.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n */\n variantMapping: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTypography'\n})(Typography);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');","/* eslint-disable no-use-before-define */\n\n/**\n * Returns a number whose value is limited to the given range.\n *\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clamp(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(\"Material-UI: The value provided \".concat(value, \" is out of range [\").concat(min, \", \").concat(max, \"].\"));\n }\n }\n\n return Math.min(Math.max(min, value), max);\n}\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n *\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\n\n\nexport function hexToRgb(color) {\n color = color.substr(1);\n var re = new RegExp(\".{1,\".concat(color.length / 3, \"}\"), 'g');\n var colors = color.match(re);\n\n if (colors && colors[0].length === 1) {\n colors = colors.map(function (n) {\n return n + n;\n });\n }\n\n return colors ? \"rgb(\".concat(colors.map(function (n) {\n return parseInt(n, 16);\n }).join(', '), \")\") : '';\n}\n\nfunction intToHex(int) {\n var hex = int.toString(16);\n return hex.length === 1 ? \"0\".concat(hex) : hex;\n}\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n *\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\n\n\nexport function rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n\n var _decomposeColor = decomposeColor(color),\n values = _decomposeColor.values;\n\n return \"#\".concat(values.map(function (n) {\n return intToHex(n);\n }).join(''));\n}\n/**\n * Converts a color from hsl format to rgb format.\n *\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\n\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n var _color = color,\n values = _color.values;\n var h = values[0];\n var s = values[1] / 100;\n var l = values[2] / 100;\n var a = s * Math.min(l, 1 - l);\n\n var f = function f(n) {\n var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;\n return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n };\n\n var type = 'rgb';\n var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n\n return recomposeColor({\n type: type,\n values: rgb\n });\n}\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\n\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n\n var marker = color.indexOf('(');\n var type = color.substring(0, marker);\n\n if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {\n throw new Error([\"Material-UI: Unsupported `\".concat(color, \"` color.\"), 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().'].join('\\n'));\n }\n\n var values = color.substring(marker + 1, color.length - 1).split(',');\n values = values.map(function (value) {\n return parseFloat(value);\n });\n return {\n type: type,\n values: values\n };\n}\n/**\n * Converts a color object with type and values to a string.\n *\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\n\nexport function recomposeColor(color) {\n var type = color.type;\n var values = color.values;\n\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map(function (n, i) {\n return i < 3 ? parseInt(n, 10) : n;\n });\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = \"\".concat(values[1], \"%\");\n values[2] = \"\".concat(values[2], \"%\");\n }\n\n return \"\".concat(type, \"(\").concat(values.join(', '), \")\");\n}\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\n\nexport function getContrastRatio(foreground, background) {\n var lumA = getLuminance(foreground);\n var lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\n\nexport function getLuminance(color) {\n color = decomposeColor(color);\n var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(function (val) {\n val /= 255; // normalized\n\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }); // Truncate at 3 digits\n\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function emphasize(color) {\n var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\n/**\n * Set the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} value - value to set the alpha channel to in the range 0 -1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function fade(color, value) {\n color = decomposeColor(color);\n value = clamp(value);\n\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n\n color.values[3] = value;\n return recomposeColor(color);\n}\n/**\n * Darkens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n\n return recomposeColor(color);\n}\n/**\n * Lightens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n }\n\n return recomposeColor(color);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport var keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.\n\nexport default function createBreakpoints(breakpoints) {\n var _breakpoints$values = breakpoints.values,\n values = _breakpoints$values === void 0 ? {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n } : _breakpoints$values,\n _breakpoints$unit = breakpoints.unit,\n unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,\n _breakpoints$step = breakpoints.step,\n step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,\n other = _objectWithoutProperties(breakpoints, [\"values\", \"unit\", \"step\"]);\n\n function up(key) {\n var value = typeof values[key] === 'number' ? values[key] : key;\n return \"@media (min-width:\".concat(value).concat(unit, \")\");\n }\n\n function down(key) {\n var endIndex = keys.indexOf(key) + 1;\n var upperbound = values[keys[endIndex]];\n\n if (endIndex === keys.length) {\n // xl down applies to all sizes\n return up('xs');\n }\n\n var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;\n return \"@media (max-width:\".concat(value - step / 100).concat(unit, \")\");\n }\n\n function between(start, end) {\n var endIndex = keys.indexOf(end);\n\n if (endIndex === keys.length - 1) {\n return up(start);\n }\n\n 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, \")\");\n }\n\n function only(key) {\n return between(key, key);\n }\n\n function width(key) {\n return values[key];\n }\n\n return _extends({\n keys: keys,\n values: values,\n up: up,\n down: down,\n between: between,\n only: only,\n width: width\n }, other);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function createMixins(breakpoints, spacing, mixins) {\n var _toolbar;\n\n return _extends({\n gutters: function gutters() {\n var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // To deprecate in v4.1\n // warning(\n // false,\n // [\n // 'Material-UI: Theme.mixins.gutters() is deprecated.',\n // 'You can use the source of the mixin directly:',\n // `\n // paddingLeft: theme.spacing(2),\n // paddingRight: theme.spacing(2),\n // [theme.breakpoints.up('sm')]: {\n // paddingLeft: theme.spacing(3),\n // paddingRight: theme.spacing(3),\n // },\n // `,\n // ].join('\\n'),\n // );\n return _extends(_extends({\n paddingLeft: spacing(2),\n paddingRight: spacing(2)\n }, styles), {}, _defineProperty({}, breakpoints.up('sm'), _extends({\n paddingLeft: spacing(3),\n paddingRight: spacing(3)\n }, styles[breakpoints.up('sm')])));\n },\n toolbar: (_toolbar = {\n minHeight: 56\n }, _defineProperty(_toolbar, \"\".concat(breakpoints.up('xs'), \" and (orientation: landscape)\"), {\n minHeight: 48\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\n minHeight: 64\n }), _toolbar)\n }, mixins);\n}","var common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;","var grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#d5d5d5',\n A200: '#aaaaaa',\n A400: '#303030',\n A700: '#616161'\n};\nexport default grey;","var indigo = {\n 50: '#e8eaf6',\n 100: '#c5cae9',\n 200: '#9fa8da',\n 300: '#7986cb',\n 400: '#5c6bc0',\n 500: '#3f51b5',\n 600: '#3949ab',\n 700: '#303f9f',\n 800: '#283593',\n 900: '#1a237e',\n A100: '#8c9eff',\n A200: '#536dfe',\n A400: '#3d5afe',\n A700: '#304ffe'\n};\nexport default indigo;","var pink = {\n 50: '#fce4ec',\n 100: '#f8bbd0',\n 200: '#f48fb1',\n 300: '#f06292',\n 400: '#ec407a',\n 500: '#e91e63',\n 600: '#d81b60',\n 700: '#c2185b',\n 800: '#ad1457',\n 900: '#880e4f',\n A100: '#ff80ab',\n A200: '#ff4081',\n A400: '#f50057',\n A700: '#c51162'\n};\nexport default pink;","var red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;","var orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nexport default orange;","var blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nexport default blue;","var green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nexport default green;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport { deepmerge } from '@material-ui/utils';\nimport common from '../colors/common';\nimport grey from '../colors/grey';\nimport indigo from '../colors/indigo';\nimport pink from '../colors/pink';\nimport red from '../colors/red';\nimport orange from '../colors/orange';\nimport blue from '../colors/blue';\nimport green from '../colors/green';\nimport { darken, getContrastRatio, lighten } from './colorManipulator';\nexport var light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.54)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)',\n // Text hints.\n hint: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: grey[50]\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport var dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n hint: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: grey[800],\n default: '#303030'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\n\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n var tonalOffsetLight = tonalOffset.light || tonalOffset;\n var tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\n\nexport default function createPalette(palette) {\n var _palette$primary = palette.primary,\n primary = _palette$primary === void 0 ? {\n light: indigo[300],\n main: indigo[500],\n dark: indigo[700]\n } : _palette$primary,\n _palette$secondary = palette.secondary,\n secondary = _palette$secondary === void 0 ? {\n light: pink.A200,\n main: pink.A400,\n dark: pink.A700\n } : _palette$secondary,\n _palette$error = palette.error,\n error = _palette$error === void 0 ? {\n light: red[300],\n main: red[500],\n dark: red[700]\n } : _palette$error,\n _palette$warning = palette.warning,\n warning = _palette$warning === void 0 ? {\n light: orange[300],\n main: orange[500],\n dark: orange[700]\n } : _palette$warning,\n _palette$info = palette.info,\n info = _palette$info === void 0 ? {\n light: blue[300],\n main: blue[500],\n dark: blue[700]\n } : _palette$info,\n _palette$success = palette.success,\n success = _palette$success === void 0 ? {\n light: green[300],\n main: green[500],\n dark: green[700]\n } : _palette$success,\n _palette$type = palette.type,\n type = _palette$type === void 0 ? 'light' : _palette$type,\n _palette$contrastThre = palette.contrastThreshold,\n contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,\n _palette$tonalOffset = palette.tonalOffset,\n tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,\n other = _objectWithoutProperties(palette, [\"primary\", \"secondary\", \"error\", \"warning\", \"info\", \"success\", \"type\", \"contrastThreshold\", \"tonalOffset\"]); // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n\n\n function getContrastText(background) {\n var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n\n if (process.env.NODE_ENV !== 'production') {\n var contrast = getContrastRatio(background, contrastText);\n\n if (contrast < 3) {\n 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'));\n }\n }\n\n return contrastText;\n }\n\n var augmentColor = function augmentColor(color) {\n var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;\n color = _extends({}, color);\n\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n\n if (!color.main) {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"The color object needs to have a `main` property or a `\".concat(mainShade, \"` property.\")].join('\\n'));\n }\n\n if (typeof color.main !== 'string') {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"`color.main` should be a string, but `\".concat(JSON.stringify(color.main), \"` was provided instead.\"), '', 'Did you intend to use one of the following approaches?', '', 'import { green } from \"@material-ui/core/colors\";', '', 'const theme1 = createMuiTheme({ palette: {', ' primary: green,', '} });', '', 'const theme2 = createMuiTheme({ palette: {', ' primary: { main: green[500] },', '} });'].join('\\n'));\n }\n\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n\n return color;\n };\n\n var types = {\n dark: dark,\n light: light\n };\n\n if (process.env.NODE_ENV !== 'production') {\n if (!types[type]) {\n console.error(\"Material-UI: The palette type `\".concat(type, \"` is not supported.\"));\n }\n }\n\n var paletteOutput = deepmerge(_extends({\n // A collection of common colors.\n common: common,\n // The palette type, can be light or dark.\n type: type,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor(primary),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor(secondary, 'A400', 'A200', 'A700'),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor(error),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor(warning),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor(info),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor(success),\n // The grey colors.\n grey: grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold: contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText: getContrastText,\n // Generate a rich color object.\n augmentColor: augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset: tonalOffset\n }, types[type]), other);\n return paletteOutput;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport { deepmerge } from '@material-ui/utils';\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nvar caseAllCaps = {\n textTransform: 'uppercase'\n};\nvar defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n/**\n * @see @link{https://material.io/design/typography/the-type-system.html}\n * @see @link{https://material.io/design/typography/understanding-typography.html}\n */\n\nexport default function createTypography(palette, typography) {\n var _ref = typeof typography === 'function' ? typography(palette) : typography,\n _ref$fontFamily = _ref.fontFamily,\n fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,\n _ref$fontWeightLight = _ref.fontWeightLight,\n fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,\n _ref$fontWeightRegula = _ref.fontWeightRegular,\n fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,\n _ref$fontWeightMedium = _ref.fontWeightMedium,\n fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,\n _ref$fontWeightBold = _ref.fontWeightBold,\n fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold,\n _ref$htmlFontSize = _ref.htmlFontSize,\n htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,\n allVariants = _ref.allVariants,\n pxToRem2 = _ref.pxToRem,\n other = _objectWithoutProperties(_ref, [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('Material-UI: `fontSize` is required to be a number.');\n }\n\n if (typeof htmlFontSize !== 'number') {\n console.error('Material-UI: `htmlFontSize` is required to be a number.');\n }\n }\n\n var coef = fontSize / 14;\n\n var pxToRem = pxToRem2 || function (size) {\n return \"\".concat(size / htmlFontSize * coef, \"rem\");\n };\n\n var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {\n return _extends(_extends(_extends({\n fontFamily: fontFamily,\n fontWeight: fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight: lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: \"\".concat(round(letterSpacing / size), \"em\")\n } : {}), casing), allVariants);\n };\n\n var variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)\n };\n return deepmerge(_extends({\n htmlFontSize: htmlFontSize,\n pxToRem: pxToRem,\n round: round,\n // TODO v5: remove\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeightLight: fontWeightLight,\n fontWeightRegular: fontWeightRegular,\n fontWeightMedium: fontWeightMedium,\n fontWeightBold: fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n\n });\n}","var shadowKeyUmbraOpacity = 0.2;\nvar shadowKeyPenumbraOpacity = 0.14;\nvar shadowAmbientShadowOpacity = 0.12;\n\nfunction createShadow() {\n 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(',');\n} // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\n\n\nvar 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)];\nexport default shadows;","var shape = {\n borderRadius: 4\n};\nexport default shape;","import { createUnarySpacing } from '@material-ui/system';\nvar warnOnce;\nexport default function createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.\n // Smaller components, such as icons and type, can align to a 4dp grid.\n // https://material.io/design/layout/understanding-layout.html#usage\n\n\n var transform = createUnarySpacing({\n spacing: spacingInput\n });\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (argument) {\n if (typeof argument === 'string') {\n return argument;\n }\n\n var output = transform(argument);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n 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'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport { deepmerge } from '@material-ui/utils';\nimport createBreakpoints from './createBreakpoints';\nimport createMixins from './createMixins';\nimport createPalette from './createPalette';\nimport createTypography from './createTypography';\nimport shadows from './shadows';\nimport shape from './shape';\nimport createSpacing from './createSpacing';\nimport transitions from './transitions';\nimport zIndex from './zIndex';\n\nfunction createMuiTheme() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options$breakpoints = options.breakpoints,\n breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,\n _options$mixins = options.mixins,\n mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,\n _options$palette = options.palette,\n paletteInput = _options$palette === void 0 ? {} : _options$palette,\n spacingInput = options.spacing,\n _options$typography = options.typography,\n typographyInput = _options$typography === void 0 ? {} : _options$typography,\n other = _objectWithoutProperties(options, [\"breakpoints\", \"mixins\", \"palette\", \"spacing\", \"typography\"]);\n\n var palette = createPalette(paletteInput);\n var breakpoints = createBreakpoints(breakpointsInput);\n var spacing = createSpacing(spacingInput);\n var muiTheme = deepmerge({\n breakpoints: breakpoints,\n direction: 'ltr',\n mixins: createMixins(breakpoints, spacing, mixinsInput),\n overrides: {},\n // Inject custom styles\n palette: palette,\n props: {},\n // Provide default props\n shadows: shadows,\n typography: createTypography(palette, typographyInput),\n spacing: spacing,\n shape: shape,\n transitions: transitions,\n zIndex: zIndex\n }, other);\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n muiTheme = args.reduce(function (acc, argument) {\n return deepmerge(acc, argument);\n }, muiTheme);\n\n if (process.env.NODE_ENV !== 'production') {\n var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];\n\n var traverse = function traverse(node, parentKey) {\n var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax\n\n for (key in node) {\n var child = node[key];\n\n if (depth === 1) {\n if (key.indexOf('Mui') === 0 && child) {\n traverse(child, key, depth + 1);\n }\n } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n 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({\n root: _defineProperty({}, \"&$\".concat(key), child)\n }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\\n'));\n } // Remove the style to prevent global conflicts.\n\n\n node[key] = {};\n }\n }\n };\n\n traverse(muiTheme.overrides);\n }\n\n return muiTheme;\n}\n\nexport default createMuiTheme;","import createMuiTheme from './createMuiTheme';\nvar defaultTheme = createMuiTheme();\nexport default defaultTheme;","export default {\n disabled: false\n};","import React from 'react';\nexport default React.createContext(null);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n * \n * I'm a fade Transition!\n * \n * )}\n * \n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * \n * \n * {state => (\n * // ...\n * )}\n * \n * setInProp(true)}>\n * Click to Enter\n * \n * \n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n var node = this.props.findDOMNode(this);\n\n if (nextStatus === ENTERING) {\n this.performEnter(node, mounting);\n } else {\n this.performExit(node);\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(node, mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node);\n });\n return;\n }\n\n this.props.onEnter(node, appearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(node, appearing);\n\n _this2.onTransitionEnd(node, enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node, appearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit(node) {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts(); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n return;\n }\n\n this.props.onExit(node);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(node);\n\n _this3.onTransitionEnd(node, timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(node, timeout, handler) {\n this.setNextCallback(handler);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n this.props.addEndListener(node, this.nextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\"]); // filter props for Transtition\n\n\n delete childProps.in;\n delete childProps.mountOnEnter;\n delete childProps.unmountOnExit;\n delete childProps.appear;\n delete childProps.enter;\n delete childProps.exit;\n delete childProps.findDOMNode;\n delete childProps.timeout;\n delete childProps.addEndListener;\n delete childProps.onEnter;\n delete childProps.onEntering;\n delete childProps.onEntered;\n delete childProps.onExit;\n delete childProps.onExiting;\n delete childProps.onExited;\n\n if (typeof children === 'function') {\n // allows for nested Transitions\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, children(status, childProps));\n }\n\n var child = React.Children.only(children);\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, React.cloneElement(child, childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The function to find the rendered DOM node that is passed to the transition callbacks.\n *\n * By default ReactDOM.findDOMNode is used. For `React.StrictMode` compatiblity\n * another function must be provided.\n */\n findDOMNode: PropTypes.func,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. **Note:** Timeouts are still used as a fallback if provided.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n findDOMNode: ReactDOM.findDOMNode,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Collapse from './Collapse';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeCollapse = React.forwardRef(function StrictModeCollapse(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Collapse, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeCollapse;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Fade from './Fade';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeFade = React.forwardRef(function StrictModeFade(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Fade, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeFade;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Grow from './Grow';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeGrow = React.forwardRef(function StrictModeGrow(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Grow, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeGrow;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Slide from './Slide';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeSlide = React.forwardRef(function StrictModeSlide(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Slide, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeSlide;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\nvar styles = {\n entering: {\n transform: 'none'\n },\n entered: {\n transform: 'none'\n }\n};\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Zoom transition can be used for the floating variant of the\n * [Button](/components/buttons/#floating-action-buttons) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Zoom = React.forwardRef(function Zoom(props, ref) {\n var children = props.children,\n inProp = props.in,\n onEnter = props.onEnter,\n onExit = props.onExit,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"in\", \"onEnter\", \"onExit\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var handleRef = useForkRef(children.ref, ref);\n\n var handleEnter = function handleEnter(node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('transform', transitionProps);\n node.style.transition = theme.transitions.create('transform', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('transform', transitionProps);\n node.style.transition = theme.transitions.create('transform', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n onEnter: handleEnter,\n onExit: handleExit,\n timeout: timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n style: _extends(_extends(_extends({\n transform: 'scale(0)',\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state]), style), children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Zoom.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Zoom;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Zoom from './Zoom';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeZoom = React.forwardRef(function StrictModeZoom(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Zoom, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeZoom;","import { deepmerge } from '@material-ui/utils';\nimport createMuiTheme from './createMuiTheme';\nimport { unstable_StrictModeCollapse as StrictModeCollapse } from '../Collapse';\nimport { unstable_StrictModeFade as StrictModeFade } from '../Fade';\nimport { unstable_StrictModeGrow as StrictModeGrow } from '../Grow';\nimport { unstable_StrictModeSlide as StrictModeSlide } from '../Slide';\nimport { unstable_StrictModeZoom as StrictModeZoom } from '../Zoom';\nexport default function createMuiStrictModeTheme(options) {\n return createMuiTheme(deepmerge({\n props: {\n // Collapse\n MuiExpansionPanel: {\n TransitionComponent: StrictModeCollapse\n },\n MuiStepContent: {\n TransitionComponent: StrictModeCollapse\n },\n // Fade\n MuiBackdrop: {\n TransitionComponent: StrictModeFade\n },\n MuiDialog: {\n TransitionComponent: StrictModeFade\n },\n // Grow\n MuiPopover: {\n TransitionComponent: StrictModeGrow\n },\n MuiSnackbar: {\n TransitionComponent: StrictModeGrow\n },\n MuiTooltip: {\n TransitionComponent: StrictModeGrow\n },\n // Slide\n MuiDrawer: {\n TransitionComponent: StrictModeSlide\n },\n // Zoom\n MuiSpeedDial: {\n TransitionComponent: StrictModeZoom\n }\n }\n }, options));\n}","import { createStyles as createStylesOriginal } from '@material-ui/styles'; // let warnOnce = false;\n// To remove in v5\n\nexport default function createStyles(styles) {\n // warning(\n // warnOnce,\n // [\n // 'Material-UI: createStyles from @material-ui/core/styles is deprecated.',\n // 'Please use @material-ui/styles/createStyles',\n // ].join('\\n'),\n // );\n // warnOnce = true;\n return createStylesOriginal(styles);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nexport function isUnitless(value) {\n return String(parseFloat(value)).length === String(value).length;\n} // Ported from Compass\n// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss\n// Emulate the sass function \"unit\"\n\nexport function getUnit(input) {\n return String(input).match(/[\\d.\\-+]*\\s*(.*)/)[1] || '';\n} // Emulate the sass function \"unitless\"\n\nexport function toUnitless(length) {\n return parseFloat(length);\n} // Convert any CSS or value to any another.\n// From https://github.com/KyleAMathews/convert-css-length\n\nexport function convertLength(baseFontSize) {\n return function (length, toUnit) {\n var fromUnit = getUnit(length); // Optimize for cases where `from` and `to` units are accidentally the same.\n\n if (fromUnit === toUnit) {\n return length;\n } // Convert input length to pixels.\n\n\n var pxLength = toUnitless(length);\n\n if (fromUnit !== 'px') {\n if (fromUnit === 'em') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n } else if (fromUnit === 'rem') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n return length;\n }\n } // Convert length in pixels to the output unit\n\n\n var outputLength = pxLength;\n\n if (toUnit !== 'px') {\n if (toUnit === 'em') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else if (toUnit === 'rem') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else {\n return length;\n }\n }\n\n return parseFloat(outputLength.toFixed(5)) + toUnit;\n };\n}\nexport function alignProperty(_ref) {\n var size = _ref.size,\n grid = _ref.grid;\n var sizeBelow = size - size % grid;\n var sizeAbove = sizeBelow + grid;\n return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove;\n} // fontGrid finds a minimal grid (in rem) for the fontSize values so that the\n// lineHeight falls under a x pixels grid, 4px in the case of Material Design,\n// without changing the relative line height\n\nexport function fontGrid(_ref2) {\n var lineHeight = _ref2.lineHeight,\n pixels = _ref2.pixels,\n htmlFontSize = _ref2.htmlFontSize;\n return pixels / (lineHeight * htmlFontSize);\n}\n/**\n * generate a responsive version of a given CSS property\n * @example\n * responsiveProperty({\n * cssProperty: 'fontSize',\n * min: 15,\n * max: 20,\n * unit: 'px',\n * breakpoints: [300, 600],\n * })\n *\n * // this returns\n *\n * {\n * fontSize: '15px',\n * '@media (min-width:300px)': {\n * fontSize: '17.5px',\n * },\n * '@media (min-width:600px)': {\n * fontSize: '20px',\n * },\n * }\n *\n * @param {Object} params\n * @param {string} params.cssProperty - The CSS property to be made responsive\n * @param {number} params.min - The smallest value of the CSS property\n * @param {number} params.max - The largest value of the CSS property\n * @param {string} [params.unit] - The unit to be used for the CSS property\n * @param {Array.number} [params.breakpoints] - An array of breakpoints\n * @param {number} [params.alignStep] - Round scaled value to fall under this grid\n * @returns {Object} responsive styles for {params.cssProperty}\n */\n\nexport function responsiveProperty(_ref3) {\n var cssProperty = _ref3.cssProperty,\n min = _ref3.min,\n max = _ref3.max,\n _ref3$unit = _ref3.unit,\n unit = _ref3$unit === void 0 ? 'rem' : _ref3$unit,\n _ref3$breakpoints = _ref3.breakpoints,\n breakpoints = _ref3$breakpoints === void 0 ? [600, 960, 1280] : _ref3$breakpoints,\n _ref3$transform = _ref3.transform,\n transform = _ref3$transform === void 0 ? null : _ref3$transform;\n\n var output = _defineProperty({}, cssProperty, \"\".concat(min).concat(unit));\n\n var factor = (max - min) / breakpoints[breakpoints.length - 1];\n breakpoints.forEach(function (breakpoint) {\n var value = min + factor * breakpoint;\n\n if (transform !== null) {\n value = transform(value);\n }\n\n output[\"@media (min-width:\".concat(breakpoint, \"px)\")] = _defineProperty({}, cssProperty, \"\".concat(Math.round(value * 10000) / 10000).concat(unit));\n });\n return output;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { isUnitless, convertLength, responsiveProperty, alignProperty, fontGrid } from './cssUtils';\nexport default function responsiveFontSizes(themeInput) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _options$breakpoints = options.breakpoints,\n breakpoints = _options$breakpoints === void 0 ? ['sm', 'md', 'lg'] : _options$breakpoints,\n _options$disableAlign = options.disableAlign,\n disableAlign = _options$disableAlign === void 0 ? false : _options$disableAlign,\n _options$factor = options.factor,\n factor = _options$factor === void 0 ? 2 : _options$factor,\n _options$variants = options.variants,\n variants = _options$variants === void 0 ? ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'caption', 'button', 'overline'] : _options$variants;\n\n var theme = _extends({}, themeInput);\n\n theme.typography = _extends({}, theme.typography);\n var typography = theme.typography; // Convert between css lengths e.g. em->px or px->rem\n // Set the baseFontSize for your project. Defaults to 16px (also the browser default).\n\n var convert = convertLength(typography.htmlFontSize);\n var breakpointValues = breakpoints.map(function (x) {\n return theme.breakpoints.values[x];\n });\n variants.forEach(function (variant) {\n var style = typography[variant];\n var remFontSize = parseFloat(convert(style.fontSize, 'rem'));\n\n if (remFontSize <= 1) {\n return;\n }\n\n var maxFontSize = remFontSize;\n var minFontSize = 1 + (maxFontSize - 1) / factor;\n var lineHeight = style.lineHeight;\n\n if (!isUnitless(lineHeight) && !disableAlign) {\n throw new Error(['Material-UI: Unsupported non-unitless line height with grid alignment.', 'Use unitless line heights instead.'].join('\\n'));\n }\n\n if (!isUnitless(lineHeight)) {\n // make it unitless\n lineHeight = parseFloat(convert(lineHeight, 'rem')) / parseFloat(remFontSize);\n }\n\n var transform = null;\n\n if (!disableAlign) {\n transform = function transform(value) {\n return alignProperty({\n size: value,\n grid: fontGrid({\n pixels: 4,\n lineHeight: lineHeight,\n htmlFontSize: typography.htmlFontSize\n })\n });\n };\n }\n\n typography[variant] = _extends(_extends({}, style), responsiveProperty({\n cssProperty: 'fontSize',\n min: minFontSize,\n max: maxFontSize,\n unit: 'rem',\n breakpoints: breakpointValues,\n transform: transform\n }));\n });\n return theme;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { styled as styledWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nvar styled = function styled(Component) {\n var componentCreator = styledWithoutDefault(Component);\n return function (style, options) {\n return componentCreator(style, _extends({\n defaultTheme: defaultTheme\n }, options));\n };\n};\n\nexport default styled;","import { withThemeCreator } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\nvar withTheme = withThemeCreator({\n defaultTheme: defaultTheme\n});\nexport default withTheme;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { makeStyles as makeStylesWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nfunction makeStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return makeStylesWithoutDefault(stylesOrCreator, _extends({\n defaultTheme: defaultTheme\n }, options));\n}\n\nexport default makeStyles;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport var easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n}; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\n\nexport var duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\n\nfunction formatMs(milliseconds) {\n return \"\".concat(Math.round(milliseconds), \"ms\");\n}\n/**\n * @param {string|Array} props\n * @param {object} param\n * @param {string} param.prop\n * @param {number} param.duration\n * @param {string} param.easing\n * @param {number} param.delay\n */\n\n\nexport default {\n easing: easing,\n duration: duration,\n create: function create() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var _options$duration = options.duration,\n durationOption = _options$duration === void 0 ? duration.standard : _options$duration,\n _options$easing = options.easing,\n easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,\n _options$delay = options.delay,\n delay = _options$delay === void 0 ? 0 : _options$delay,\n other = _objectWithoutProperties(options, [\"duration\", \"easing\", \"delay\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n var isString = function isString(value) {\n return typeof value === 'string';\n };\n\n var isNumber = function isNumber(value) {\n return !isNaN(parseFloat(value));\n };\n\n if (!isString(props) && !Array.isArray(props)) {\n console.error('Material-UI: Argument \"props\" must be a string or Array.');\n }\n\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(\"Material-UI: Argument \\\"duration\\\" must be a number or a string but found \".concat(durationOption, \".\"));\n }\n\n if (!isString(easingOption)) {\n console.error('Material-UI: Argument \"easing\" must be a string.');\n }\n\n if (!isNumber(delay) && !isString(delay)) {\n console.error('Material-UI: Argument \"delay\" must be a number or a string.');\n }\n\n if (Object.keys(other).length !== 0) {\n console.error(\"Material-UI: Unrecognized argument(s) [\".concat(Object.keys(other).join(','), \"].\"));\n }\n }\n\n return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {\n return \"\".concat(animatedProp, \" \").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), \" \").concat(easingOption, \" \").concat(typeof delay === 'string' ? delay : formatMs(delay));\n }).join(',');\n },\n getAutoHeightDuration: function getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n\n 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\n\n return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);\n }\n};","import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';\nimport React from 'react';\nimport defaultTheme from './defaultTheme';\nexport default function useTheme() {\n var theme = useThemeWithoutDefault() || defaultTheme;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { withStyles as withStylesWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nfunction withStyles(stylesOrCreator, options) {\n return withStylesWithoutDefault(stylesOrCreator, _extends({\n defaultTheme: defaultTheme\n }, options));\n}\n\nexport default withStyles;","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nvar zIndex = {\n mobileStepper: 1000,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","export var reflow = function reflow(node) {\n return node.scrollTop;\n};\nexport function getTransitionProps(props, options) {\n var timeout = props.timeout,\n _props$style = props.style,\n style = _props$style === void 0 ? {} : _props$style;\n return {\n duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,\n delay: style.transitionDelay\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { getThemeProps, useTheme } from '@material-ui/styles';\nexport default function useMediaQuery(queryInput) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var theme = useTheme();\n var props = getThemeProps({\n theme: theme,\n name: 'MuiUseMediaQuery',\n props: {}\n });\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof queryInput === 'function' && theme === null) {\n console.error(['Material-UI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n\n var query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;\n query = query.replace(/^@media( ?)/m, ''); // Wait for jsdom to support the match media feature.\n // All the browsers Material-UI support have this built-in.\n // This defensive check is here for simplicity.\n // Most of the time, the match media logic isn't central to people tests.\n\n var supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';\n\n var _props$options = _extends(_extends({}, props), options),\n _props$options$defaul = _props$options.defaultMatches,\n defaultMatches = _props$options$defaul === void 0 ? false : _props$options$defaul,\n _props$options$matchM = _props$options.matchMedia,\n matchMedia = _props$options$matchM === void 0 ? supportMatchMedia ? window.matchMedia : null : _props$options$matchM,\n _props$options$noSsr = _props$options.noSsr,\n noSsr = _props$options$noSsr === void 0 ? false : _props$options$noSsr,\n _props$options$ssrMat = _props$options.ssrMatchMedia,\n ssrMatchMedia = _props$options$ssrMat === void 0 ? null : _props$options$ssrMat;\n\n var _React$useState = React.useState(function () {\n if (noSsr && supportMatchMedia) {\n return matchMedia(query).matches;\n }\n\n if (ssrMatchMedia) {\n return ssrMatchMedia(query).matches;\n } // Once the component is mounted, we rely on the\n // event listeners to return the correct matches value.\n\n\n return defaultMatches;\n }),\n match = _React$useState[0],\n setMatch = _React$useState[1];\n\n React.useEffect(function () {\n var active = true;\n\n if (!supportMatchMedia) {\n return undefined;\n }\n\n var queryList = matchMedia(query);\n\n var updateMatch = function updateMatch() {\n // Workaround Safari wrong implementation of matchMedia\n // TODO can we remove it?\n // https://github.com/mui-org/material-ui/pull/17315#issuecomment-528286677\n if (active) {\n setMatch(queryList.matches);\n }\n };\n\n updateMatch();\n queryList.addListener(updateMatch);\n return function () {\n active = false;\n queryList.removeListener(updateMatch);\n };\n }, [query, matchMedia, supportMatchMedia]);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue({\n query: query,\n match: match\n });\n }\n\n return match;\n}","// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word a the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof string !== 'string') {\n throw new Error('Material-UI: capitalize(string) expects a string argument.');\n }\n }\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","/**\n * Safe chained function\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n *\n * @param {function} functions to chain\n * @returns {function|null}\n */\nexport default function createChainedFunction() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n return funcs.reduce(function (acc, func) {\n if (func == null) {\n return acc;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof func !== 'function') {\n console.error('Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.');\n }\n }\n\n return function chainedFunction() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, function () {});\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function createSvgIcon(path, displayName) {\n var Component = React.memo(React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIcon, _extends({\n ref: ref\n }, props), path);\n }));\n\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = SvgIcon.muiName;\n return Component;\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func) {\n var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;\n var timeout;\n\n function debounced() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // eslint-disable-next-line consistent-this\n var that = this;\n\n var later = function later() {\n func.apply(that, args);\n };\n\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n\n debounced.clear = function () {\n clearTimeout(timeout);\n };\n\n return debounced;\n}","// A change of the browser zoom change the scrollbar size.\n// Credit https://github.com/twbs/bootstrap/blob/3ffe3a5d82f6f561b82ff78d82b32a7d14aed558/js/src/modal.js#L512-L519\nexport default function getScrollbarSize() {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.width = '99px';\n scrollDiv.style.height = '99px';\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n var scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n return scrollbarSize;\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return React.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from './ownerDocument';\nexport default function ownerWindow(node) {\n var doc = ownerDocument(node);\n return doc.defaultView || window;\n}","// TODO v5: consider to make it private\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","import * as React from 'react';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function useId(idOverride) {\n var _React$useState = React.useState(idOverride),\n defaultId = _React$useState[0],\n setDefaultId = _React$useState[1];\n\n var id = idOverride || defaultId;\n React.useEffect(function () {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the random value for client-side rendering only.\n // We can't use it server-side.\n setDefaultId(\"mui-\".concat(Math.round(Math.random() * 1e5)));\n }\n }, [defaultId]);\n return id;\n}","/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled(_ref) {\n var controlled = _ref.controlled,\n defaultProp = _ref.default,\n name = _ref.name,\n _ref$state = _ref.state,\n state = _ref$state === void 0 ? 'value' : _ref$state;\n\n var _React$useRef = React.useRef(controlled !== undefined),\n isControlled = _React$useRef.current;\n\n var _React$useState = React.useState(defaultProp),\n valueState = _React$useState[0],\n setValue = _React$useState[1];\n\n var value = isControlled ? controlled : valueState;\n\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(function () {\n if (isControlled !== (controlled !== undefined)) {\n console.error([\"Material-UI: A component is changing the \".concat(isControlled ? '' : 'un', \"controlled \").concat(state, \" state of \").concat(name, \" to be \").concat(isControlled ? 'un' : '', \"controlled.\"), 'Elements should not switch from uncontrolled to controlled (or vice versa).', \"Decide between using a controlled or uncontrolled \".concat(name, \" \") + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [controlled]);\n\n var _React$useRef2 = React.useRef(defaultProp),\n defaultValue = _React$useRef2.current;\n\n React.useEffect(function () {\n if (defaultValue !== defaultProp) {\n console.error([\"Material-UI: A component is changing the default \".concat(state, \" state of an uncontrolled \").concat(name, \" after being initialized. \") + \"To suppress this warning opt to use a controlled \".concat(name, \".\")].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n\n var setValueIfUncontrolled = React.useCallback(function (newValue) {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","import * as React from 'react';\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n/**\n * https://github.com/facebook/react/issues/14099#issuecomment-440013892\n *\n * @param {function} fn\n */\n\nexport default function useEventCallback(fn) {\n var ref = React.useRef(fn);\n useEnhancedEffect(function () {\n ref.current = fn;\n });\n return React.useCallback(function () {\n return (0, ref.current).apply(void 0, arguments);\n }, []);\n}","import * as React from 'react';\nimport setRef from './setRef';\nexport default function useForkRef(refA, refB) {\n /**\n * This will create a new function if the ref props change and are defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior\n */\n return React.useMemo(function () {\n if (refA == null && refB == null) {\n return null;\n }\n\n return function (refValue) {\n setRef(refA, refValue);\n setRef(refB, refValue);\n };\n }, [refA, refB]);\n}","// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nvar hadKeyboardEvent = true;\nvar hadFocusVisibleRecently = false;\nvar hadFocusVisibleRecentlyTimeout = null;\nvar inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n};\n/**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} node\n * @return {boolean}\n */\n\nfunction focusTriggersKeyboardModality(node) {\n var type = node.type,\n tagName = node.tagName;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !node.readOnly) {\n return true;\n }\n\n if (node.isContentEditable) {\n return true;\n }\n\n return false;\n}\n/**\n * Keep track of our keyboard modality state with `hadKeyboardEvent`.\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * @param {KeyboardEvent} event\n */\n\n\nfunction handleKeyDown(event) {\n if (event.metaKey || event.altKey || event.ctrlKey) {\n return;\n }\n\n hadKeyboardEvent = true;\n}\n/**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n */\n\n\nfunction handlePointerDown() {\n hadKeyboardEvent = false;\n}\n\nfunction handleVisibilityChange() {\n if (this.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n }\n}\n\nfunction prepare(doc) {\n doc.addEventListener('keydown', handleKeyDown, true);\n doc.addEventListener('mousedown', handlePointerDown, true);\n doc.addEventListener('pointerdown', handlePointerDown, true);\n doc.addEventListener('touchstart', handlePointerDown, true);\n doc.addEventListener('visibilitychange', handleVisibilityChange, true);\n}\n\nexport function teardown(doc) {\n doc.removeEventListener('keydown', handleKeyDown, true);\n doc.removeEventListener('mousedown', handlePointerDown, true);\n doc.removeEventListener('pointerdown', handlePointerDown, true);\n doc.removeEventListener('touchstart', handlePointerDown, true);\n doc.removeEventListener('visibilitychange', handleVisibilityChange, true);\n}\n\nfunction isFocusVisible(event) {\n var target = event.target;\n\n try {\n return target.matches(':focus-visible');\n } catch (error) {} // browsers not implementing :focus-visible will throw a SyntaxError\n // we use our own heuristic for those browsers\n // rethrow might be better if it's not the expected error but do we really\n // want to crash if focus-visible malfunctioned?\n // no need for validFocusTarget check. the user does that by attaching it to\n // focusable events only\n\n\n return hadKeyboardEvent || focusTriggersKeyboardModality(target);\n}\n/**\n * Should be called if a blur event is fired on a focus-visible element\n */\n\n\nfunction handleBlurVisible() {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {\n hadFocusVisibleRecently = false;\n }, 100);\n}\n\nexport default function useIsFocusVisible() {\n var ref = React.useCallback(function (instance) {\n var node = ReactDOM.findDOMNode(instance);\n\n if (node != null) {\n prepare(node.ownerDocument);\n }\n }, []);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(isFocusVisible);\n }\n\n return {\n isFocusVisible: isFocusVisible,\n onBlurVisible: handleBlurVisible,\n ref: ref\n };\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { getDisplayName } from '@material-ui/utils';\nimport { getThemeProps } from '@material-ui/styles';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport useTheme from '../styles/useTheme';\nimport { keys as breakpointKeys } from '../styles/createBreakpoints';\nimport useMediaQuery from '../useMediaQuery'; // By default, returns true if screen width is the same or greater than the given breakpoint.\n\nexport var isWidthUp = function isWidthUp(breakpoint, width) {\n var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (inclusive) {\n return breakpointKeys.indexOf(breakpoint) <= breakpointKeys.indexOf(width);\n }\n\n return breakpointKeys.indexOf(breakpoint) < breakpointKeys.indexOf(width);\n}; // By default, returns true if screen width is the same or less than the given breakpoint.\n\nexport var isWidthDown = function isWidthDown(breakpoint, width) {\n var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (inclusive) {\n return breakpointKeys.indexOf(width) <= breakpointKeys.indexOf(breakpoint);\n }\n\n return breakpointKeys.indexOf(width) < breakpointKeys.indexOf(breakpoint);\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n\nvar withWidth = function withWidth() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return function (Component) {\n var _options$withTheme = options.withTheme,\n withThemeOption = _options$withTheme === void 0 ? false : _options$withTheme,\n _options$noSSR = options.noSSR,\n noSSR = _options$noSSR === void 0 ? false : _options$noSSR,\n initialWidthOption = options.initialWidth;\n\n function WithWidth(props) {\n var contextTheme = useTheme();\n var theme = props.theme || contextTheme;\n\n var _getThemeProps = getThemeProps({\n theme: theme,\n name: 'MuiWithWidth',\n props: _extends({}, props)\n }),\n initialWidth = _getThemeProps.initialWidth,\n width = _getThemeProps.width,\n other = _objectWithoutProperties(_getThemeProps, [\"initialWidth\", \"width\"]);\n\n var _React$useState = React.useState(false),\n mountedState = _React$useState[0],\n setMountedState = _React$useState[1];\n\n useEnhancedEffect(function () {\n setMountedState(true);\n }, []);\n /**\n * innerWidth |xs sm md lg xl\n * |-------|-------|-------|-------|------>\n * width | xs | sm | md | lg | xl\n */\n\n var keys = _toConsumableArray(theme.breakpoints.keys).reverse();\n\n var widthComputed = keys.reduce(function (output, key) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var matches = useMediaQuery(theme.breakpoints.up(key));\n return !output && matches ? key : output;\n }, null);\n\n var more = _extends(_extends({\n width: width || (mountedState || noSSR ? widthComputed : undefined) || initialWidth || initialWidthOption\n }, withThemeOption ? {\n theme: theme\n } : {}), other); // When rendering the component on the server,\n // we have no idea about the client browser screen width.\n // In order to prevent blinks and help the reconciliation of the React tree\n // we are not rendering the child component.\n //\n // An alternative is to use the `initialWidth` property.\n\n\n if (more.width === undefined) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(Component, more);\n }\n\n process.env.NODE_ENV !== \"production\" ? WithWidth.propTypes = {\n /**\n * As `window.innerWidth` is unavailable on the server,\n * we default to rendering an empty component during the first mount.\n * You might want to use an heuristic to approximate\n * the screen width of the client browser screen width.\n *\n * For instance, you could be using the user-agent or the client-hints.\n * https://caniuse.com/#search=client%20hint\n */\n initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),\n\n /**\n * @ignore\n */\n theme: PropTypes.object,\n\n /**\n * Bypass the width calculation logic.\n */\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl'])\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithWidth.displayName = \"WithWidth(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithWidth, Component);\n return WithWidth;\n };\n};\n\nexport default withWidth;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"../../utils/createSvgIcon\"));\n\n/**\n * @ignore - internal component.\n */\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckBox');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"../../utils/createSvgIcon\"));\n\n/**\n * @ignore - internal component.\n */\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n}), 'CheckBoxOutlineBlank');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"../../utils/createSvgIcon\"));\n\n/**\n * @ignore - internal component.\n */\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"\n}), 'IndeterminateCheckBox');\n\nexports.default = _default;","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.hexToRgb = hexToRgb;\nexports.rgbToHex = rgbToHex;\nexports.hslToRgb = hslToRgb;\nexports.decomposeColor = decomposeColor;\nexports.recomposeColor = recomposeColor;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.emphasize = emphasize;\nexports.fade = fade;\nexports.darken = darken;\nexports.lighten = lighten;\n\n/* eslint-disable no-use-before-define */\n\n/**\n * Returns a number whose value is limited to the given range.\n *\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clamp(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(\"Material-UI: The value provided \".concat(value, \" is out of range [\").concat(min, \", \").concat(max, \"].\"));\n }\n }\n\n return Math.min(Math.max(min, value), max);\n}\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n *\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\n\n\nfunction hexToRgb(color) {\n color = color.substr(1);\n var re = new RegExp(\".{1,\".concat(color.length / 3, \"}\"), 'g');\n var colors = color.match(re);\n\n if (colors && colors[0].length === 1) {\n colors = colors.map(function (n) {\n return n + n;\n });\n }\n\n return colors ? \"rgb(\".concat(colors.map(function (n) {\n return parseInt(n, 16);\n }).join(', '), \")\") : '';\n}\n\nfunction intToHex(int) {\n var hex = int.toString(16);\n return hex.length === 1 ? \"0\".concat(hex) : hex;\n}\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n *\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\n\n\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n\n var _decomposeColor = decomposeColor(color),\n values = _decomposeColor.values;\n\n return \"#\".concat(values.map(function (n) {\n return intToHex(n);\n }).join(''));\n}\n/**\n * Converts a color from hsl format to rgb format.\n *\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\n\n\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n var _color = color,\n values = _color.values;\n var h = values[0];\n var s = values[1] / 100;\n var l = values[2] / 100;\n var a = s * Math.min(l, 1 - l);\n\n var f = function f(n) {\n var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;\n return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n };\n\n var type = 'rgb';\n var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n\n return recomposeColor({\n type: type,\n values: rgb\n });\n}\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\n\n\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n\n var marker = color.indexOf('(');\n var type = color.substring(0, marker);\n\n if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {\n throw new Error([\"Material-UI: Unsupported `\".concat(color, \"` color.\"), 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().'].join('\\n'));\n }\n\n var values = color.substring(marker + 1, color.length - 1).split(',');\n values = values.map(function (value) {\n return parseFloat(value);\n });\n return {\n type: type,\n values: values\n };\n}\n/**\n * Converts a color object with type and values to a string.\n *\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\n\n\nfunction recomposeColor(color) {\n var type = color.type;\n var values = color.values;\n\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map(function (n, i) {\n return i < 3 ? parseInt(n, 10) : n;\n });\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = \"\".concat(values[1], \"%\");\n values[2] = \"\".concat(values[2], \"%\");\n }\n\n return \"\".concat(type, \"(\").concat(values.join(', '), \")\");\n}\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\n\n\nfunction getContrastRatio(foreground, background) {\n var lumA = getLuminance(foreground);\n var lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\n\n\nfunction getLuminance(color) {\n color = decomposeColor(color);\n var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(function (val) {\n val /= 255; // normalized\n\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }); // Truncate at 3 digits\n\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction emphasize(color) {\n var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\n/**\n * Set the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} value - value to set the alpha channel to in the range 0 -1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction fade(color, value) {\n color = decomposeColor(color);\n value = clamp(value);\n\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n\n color.values[3] = value;\n return recomposeColor(color);\n}\n/**\n * Darkens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n\n return recomposeColor(color);\n}\n/**\n * Lightens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n }\n\n return recomposeColor(color);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createBreakpoints;\nexports.keys = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nvar keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.\n\nexports.keys = keys;\n\nfunction createBreakpoints(breakpoints) {\n var _breakpoints$values = breakpoints.values,\n values = _breakpoints$values === void 0 ? {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n } : _breakpoints$values,\n _breakpoints$unit = breakpoints.unit,\n unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,\n _breakpoints$step = breakpoints.step,\n step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,\n other = (0, _objectWithoutProperties2.default)(breakpoints, [\"values\", \"unit\", \"step\"]);\n\n function up(key) {\n var value = typeof values[key] === 'number' ? values[key] : key;\n return \"@media (min-width:\".concat(value).concat(unit, \")\");\n }\n\n function down(key) {\n var endIndex = keys.indexOf(key) + 1;\n var upperbound = values[keys[endIndex]];\n\n if (endIndex === keys.length) {\n // xl down applies to all sizes\n return up('xs');\n }\n\n var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;\n return \"@media (max-width:\".concat(value - step / 100).concat(unit, \")\");\n }\n\n function between(start, end) {\n var endIndex = keys.indexOf(end);\n\n if (endIndex === keys.length - 1) {\n return up(start);\n }\n\n 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, \")\");\n }\n\n function only(key) {\n return between(key, key);\n }\n\n function width(key) {\n return values[key];\n }\n\n return (0, _extends2.default)({\n keys: keys,\n values: values,\n up: up,\n down: down,\n between: between,\n only: only,\n width: width\n }, other);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createMixins;\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _extends3 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nfunction createMixins(breakpoints, spacing, mixins) {\n var _toolbar;\n\n return (0, _extends3.default)({\n gutters: function gutters() {\n var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // To deprecate in v4.1\n // warning(\n // false,\n // [\n // 'Material-UI: Theme.mixins.gutters() is deprecated.',\n // 'You can use the source of the mixin directly:',\n // `\n // paddingLeft: theme.spacing(2),\n // paddingRight: theme.spacing(2),\n // [theme.breakpoints.up('sm')]: {\n // paddingLeft: theme.spacing(3),\n // paddingRight: theme.spacing(3),\n // },\n // `,\n // ].join('\\n'),\n // );\n return (0, _extends3.default)((0, _extends3.default)({\n paddingLeft: spacing(2),\n paddingRight: spacing(2)\n }, styles), {}, (0, _defineProperty2.default)({}, breakpoints.up('sm'), (0, _extends3.default)({\n paddingLeft: spacing(3),\n paddingRight: spacing(3)\n }, styles[breakpoints.up('sm')])));\n },\n toolbar: (_toolbar = {\n minHeight: 56\n }, (0, _defineProperty2.default)(_toolbar, \"\".concat(breakpoints.up('xs'), \" and (orientation: landscape)\"), {\n minHeight: 48\n }), (0, _defineProperty2.default)(_toolbar, breakpoints.up('sm'), {\n minHeight: 64\n }), _toolbar)\n }, mixins);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nvar _createBreakpoints = _interopRequireDefault(require(\"./createBreakpoints\"));\n\nvar _createMixins = _interopRequireDefault(require(\"./createMixins\"));\n\nvar _createPalette = _interopRequireDefault(require(\"./createPalette\"));\n\nvar _createTypography = _interopRequireDefault(require(\"./createTypography\"));\n\nvar _shadows = _interopRequireDefault(require(\"./shadows\"));\n\nvar _shape = _interopRequireDefault(require(\"./shape\"));\n\nvar _createSpacing = _interopRequireDefault(require(\"./createSpacing\"));\n\nvar _transitions = _interopRequireDefault(require(\"./transitions\"));\n\nvar _zIndex = _interopRequireDefault(require(\"./zIndex\"));\n\nfunction createMuiTheme() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$breakpoints = options.breakpoints,\n breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,\n _options$mixins = options.mixins,\n mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,\n _options$palette = options.palette,\n paletteInput = _options$palette === void 0 ? {} : _options$palette,\n spacingInput = options.spacing,\n _options$typography = options.typography,\n typographyInput = _options$typography === void 0 ? {} : _options$typography,\n other = (0, _objectWithoutProperties2.default)(options, [\"breakpoints\", \"mixins\", \"palette\", \"spacing\", \"typography\"]);\n var palette = (0, _createPalette.default)(paletteInput);\n var breakpoints = (0, _createBreakpoints.default)(breakpointsInput);\n var spacing = (0, _createSpacing.default)(spacingInput);\n var muiTheme = (0, _utils.deepmerge)({\n breakpoints: breakpoints,\n direction: 'ltr',\n mixins: (0, _createMixins.default)(breakpoints, spacing, mixinsInput),\n overrides: {},\n // Inject custom styles\n palette: palette,\n props: {},\n // Provide default props\n shadows: _shadows.default,\n typography: (0, _createTypography.default)(palette, typographyInput),\n spacing: spacing,\n shape: _shape.default,\n transitions: _transitions.default,\n zIndex: _zIndex.default\n }, other);\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n muiTheme = args.reduce(function (acc, argument) {\n return (0, _utils.deepmerge)(acc, argument);\n }, muiTheme);\n\n if (process.env.NODE_ENV !== 'production') {\n var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];\n\n var traverse = function traverse(node, parentKey) {\n var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax\n\n for (key in node) {\n var child = node[key];\n\n if (depth === 1) {\n if (key.indexOf('Mui') === 0 && child) {\n traverse(child, key, depth + 1);\n }\n } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n 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({\n root: (0, _defineProperty2.default)({}, \"&$\".concat(key), child)\n }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\\n'));\n } // Remove the style to prevent global conflicts.\n\n\n node[key] = {};\n }\n }\n };\n\n traverse(muiTheme.overrides);\n }\n\n return muiTheme;\n}\n\nvar _default = createMuiTheme;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createPalette;\nexports.dark = exports.light = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nvar _common = _interopRequireDefault(require(\"../colors/common\"));\n\nvar _grey = _interopRequireDefault(require(\"../colors/grey\"));\n\nvar _indigo = _interopRequireDefault(require(\"../colors/indigo\"));\n\nvar _pink = _interopRequireDefault(require(\"../colors/pink\"));\n\nvar _red = _interopRequireDefault(require(\"../colors/red\"));\n\nvar _orange = _interopRequireDefault(require(\"../colors/orange\"));\n\nvar _blue = _interopRequireDefault(require(\"../colors/blue\"));\n\nvar _green = _interopRequireDefault(require(\"../colors/green\"));\n\nvar _colorManipulator = require(\"./colorManipulator\");\n\nvar light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.54)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)',\n // Text hints.\n hint: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: _common.default.white,\n default: _grey.default[50]\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexports.light = light;\nvar dark = {\n text: {\n primary: _common.default.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n hint: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: _grey.default[800],\n default: '#303030'\n },\n action: {\n active: _common.default.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nexports.dark = dark;\n\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n var tonalOffsetLight = tonalOffset.light || tonalOffset;\n var tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = (0, _colorManipulator.lighten)(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = (0, _colorManipulator.darken)(intent.main, tonalOffsetDark);\n }\n }\n}\n\nfunction createPalette(palette) {\n var _palette$primary = palette.primary,\n primary = _palette$primary === void 0 ? {\n light: _indigo.default[300],\n main: _indigo.default[500],\n dark: _indigo.default[700]\n } : _palette$primary,\n _palette$secondary = palette.secondary,\n secondary = _palette$secondary === void 0 ? {\n light: _pink.default.A200,\n main: _pink.default.A400,\n dark: _pink.default.A700\n } : _palette$secondary,\n _palette$error = palette.error,\n error = _palette$error === void 0 ? {\n light: _red.default[300],\n main: _red.default[500],\n dark: _red.default[700]\n } : _palette$error,\n _palette$warning = palette.warning,\n warning = _palette$warning === void 0 ? {\n light: _orange.default[300],\n main: _orange.default[500],\n dark: _orange.default[700]\n } : _palette$warning,\n _palette$info = palette.info,\n info = _palette$info === void 0 ? {\n light: _blue.default[300],\n main: _blue.default[500],\n dark: _blue.default[700]\n } : _palette$info,\n _palette$success = palette.success,\n success = _palette$success === void 0 ? {\n light: _green.default[300],\n main: _green.default[500],\n dark: _green.default[700]\n } : _palette$success,\n _palette$type = palette.type,\n type = _palette$type === void 0 ? 'light' : _palette$type,\n _palette$contrastThre = palette.contrastThreshold,\n contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,\n _palette$tonalOffset = palette.tonalOffset,\n tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,\n other = (0, _objectWithoutProperties2.default)(palette, [\"primary\", \"secondary\", \"error\", \"warning\", \"info\", \"success\", \"type\", \"contrastThreshold\", \"tonalOffset\"]); // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n\n function getContrastText(background) {\n var contrastText = (0, _colorManipulator.getContrastRatio)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n\n if (process.env.NODE_ENV !== 'production') {\n var contrast = (0, _colorManipulator.getContrastRatio)(background, contrastText);\n\n if (contrast < 3) {\n 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'));\n }\n }\n\n return contrastText;\n }\n\n var augmentColor = function augmentColor(color) {\n var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;\n color = (0, _extends2.default)({}, color);\n\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n\n if (!color.main) {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"The color object needs to have a `main` property or a `\".concat(mainShade, \"` property.\")].join('\\n'));\n }\n\n if (typeof color.main !== 'string') {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"`color.main` should be a string, but `\".concat(JSON.stringify(color.main), \"` was provided instead.\"), '', 'Did you intend to use one of the following approaches?', '', 'import { green } from \"@material-ui/core/colors\";', '', 'const theme1 = createMuiTheme({ palette: {', ' primary: green,', '} });', '', 'const theme2 = createMuiTheme({ palette: {', ' primary: { main: green[500] },', '} });'].join('\\n'));\n }\n\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n\n return color;\n };\n\n var types = {\n dark: dark,\n light: light\n };\n\n if (process.env.NODE_ENV !== 'production') {\n if (!types[type]) {\n console.error(\"Material-UI: The palette type `\".concat(type, \"` is not supported.\"));\n }\n }\n\n var paletteOutput = (0, _utils.deepmerge)((0, _extends2.default)({\n // A collection of common colors.\n common: _common.default,\n // The palette type, can be light or dark.\n type: type,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor(primary),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor(secondary, 'A400', 'A200', 'A700'),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor(error),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor(warning),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor(info),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor(success),\n // The grey colors.\n grey: _grey.default,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold: contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText: getContrastText,\n // Generate a rich color object.\n augmentColor: augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset: tonalOffset\n }, types[type]), other);\n return paletteOutput;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createSpacing;\n\nvar _system = require(\"@material-ui/system\");\n\nvar warnOnce;\n\nfunction createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.\n // Smaller components, such as icons and type, can align to a 4dp grid.\n // https://material.io/design/layout/understanding-layout.html#usage\n\n\n var transform = (0, _system.createUnarySpacing)({\n spacing: spacingInput\n });\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (argument) {\n if (typeof argument === 'string') {\n return argument;\n }\n\n var output = transform(argument);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n 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'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyles;\n\nvar _styles = require(\"@material-ui/styles\");\n\n// let warnOnce = false;\n// To remove in v5\nfunction createStyles(styles) {\n // warning(\n // warnOnce,\n // [\n // 'Material-UI: createStyles from @material-ui/core/styles is deprecated.',\n // 'Please use @material-ui/styles/createStyles',\n // ].join('\\n'),\n // );\n // warnOnce = true;\n return (0, _styles.createStyles)(styles);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createTypography;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nvar caseAllCaps = {\n textTransform: 'uppercase'\n};\nvar defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n/**\n * @see @link{https://material.io/design/typography/the-type-system.html}\n * @see @link{https://material.io/design/typography/understanding-typography.html}\n */\n\nfunction createTypography(palette, typography) {\n var _ref = typeof typography === 'function' ? typography(palette) : typography,\n _ref$fontFamily = _ref.fontFamily,\n fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,\n _ref$fontWeightLight = _ref.fontWeightLight,\n fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,\n _ref$fontWeightRegula = _ref.fontWeightRegular,\n fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,\n _ref$fontWeightMedium = _ref.fontWeightMedium,\n fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,\n _ref$fontWeightBold = _ref.fontWeightBold,\n fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold,\n _ref$htmlFontSize = _ref.htmlFontSize,\n htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,\n allVariants = _ref.allVariants,\n pxToRem2 = _ref.pxToRem,\n other = (0, _objectWithoutProperties2.default)(_ref, [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('Material-UI: `fontSize` is required to be a number.');\n }\n\n if (typeof htmlFontSize !== 'number') {\n console.error('Material-UI: `htmlFontSize` is required to be a number.');\n }\n }\n\n var coef = fontSize / 14;\n\n var pxToRem = pxToRem2 || function (size) {\n return \"\".concat(size / htmlFontSize * coef, \"rem\");\n };\n\n var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {\n return (0, _extends2.default)((0, _extends2.default)((0, _extends2.default)({\n fontFamily: fontFamily,\n fontWeight: fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight: lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: \"\".concat(round(letterSpacing / size), \"em\")\n } : {}), casing), allVariants);\n };\n\n var variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)\n };\n return (0, _utils.deepmerge)((0, _extends2.default)({\n htmlFontSize: htmlFontSize,\n pxToRem: pxToRem,\n round: round,\n // TODO v5: remove\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeightLight: fontWeightLight,\n fontWeightRegular: fontWeightRegular,\n fontWeightMedium: fontWeightMedium,\n fontWeightBold: fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n\n });\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createMuiTheme = _interopRequireDefault(require(\"./createMuiTheme\"));\n\nvar defaultTheme = (0, _createMuiTheme.default)();\nvar _default = defaultTheme;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar shadowKeyUmbraOpacity = 0.2;\nvar shadowKeyPenumbraOpacity = 0.14;\nvar shadowAmbientShadowOpacity = 0.12;\n\nfunction createShadow() {\n 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(',');\n} // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\n\n\nvar 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)];\nvar _default = shadows;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar shape = {\n borderRadius: 4\n};\nvar _default = shape;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.duration = exports.easing = void 0;\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nvar easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n}; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\n\nexports.easing = easing;\nvar duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nexports.duration = duration;\n\nfunction formatMs(milliseconds) {\n return \"\".concat(Math.round(milliseconds), \"ms\");\n}\n/**\n * @param {string|Array} props\n * @param {object} param\n * @param {string} param.prop\n * @param {number} param.duration\n * @param {string} param.easing\n * @param {number} param.delay\n */\n\n\nvar _default = {\n easing: easing,\n duration: duration,\n create: function create() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _options$duration = options.duration,\n durationOption = _options$duration === void 0 ? duration.standard : _options$duration,\n _options$easing = options.easing,\n easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,\n _options$delay = options.delay,\n delay = _options$delay === void 0 ? 0 : _options$delay,\n other = (0, _objectWithoutProperties2.default)(options, [\"duration\", \"easing\", \"delay\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n var isString = function isString(value) {\n return typeof value === 'string';\n };\n\n var isNumber = function isNumber(value) {\n return !isNaN(parseFloat(value));\n };\n\n if (!isString(props) && !Array.isArray(props)) {\n console.error('Material-UI: Argument \"props\" must be a string or Array.');\n }\n\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(\"Material-UI: Argument \\\"duration\\\" must be a number or a string but found \".concat(durationOption, \".\"));\n }\n\n if (!isString(easingOption)) {\n console.error('Material-UI: Argument \"easing\" must be a string.');\n }\n\n if (!isNumber(delay) && !isString(delay)) {\n console.error('Material-UI: Argument \"delay\" must be a number or a string.');\n }\n\n if (Object.keys(other).length !== 0) {\n console.error(\"Material-UI: Unrecognized argument(s) [\".concat(Object.keys(other).join(','), \"].\"));\n }\n }\n\n return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {\n return \"\".concat(animatedProp, \" \").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), \" \").concat(easingOption, \" \").concat(typeof delay === 'string' ? delay : formatMs(delay));\n }).join(',');\n },\n getAutoHeightDuration: function getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n\n 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\n\n return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);\n }\n};\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _styles = require(\"@material-ui/styles\");\n\nvar _defaultTheme = _interopRequireDefault(require(\"./defaultTheme\"));\n\nvar withTheme = (0, _styles.withThemeCreator)({\n defaultTheme: _defaultTheme.default\n});\nvar _default = withTheme;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nvar zIndex = {\n mobileStepper: 1000,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nvar _default = zIndex;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createSvgIcon;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _SvgIcon = _interopRequireDefault(require(\"../SvgIcon\"));\n\n/**\n * Private module reserved for @material-ui/x packages.\n */\nfunction createSvgIcon(path, displayName) {\n var Component = _react.default.memo(_react.default.forwardRef(function (props, ref) {\n return /*#__PURE__*/_react.default.createElement(_SvgIcon.default, (0, _extends2.default)({\n ref: ref\n }, props), path);\n }));\n\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = _SvgIcon.default.muiName;\n return Component;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport React from 'react';\nimport { SheetsRegistry } from 'jss';\nimport StylesProvider from '../StylesProvider';\nimport createGenerateClassName from '../createGenerateClassName';\n\nvar ServerStyleSheets = /*#__PURE__*/function () {\n function ServerStyleSheets() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n _classCallCheck(this, ServerStyleSheets);\n\n this.options = options;\n }\n\n _createClass(ServerStyleSheets, [{\n key: \"collect\",\n value: function collect(children) {\n // This is needed in order to deduplicate the injection of CSS in the page.\n var sheetsManager = new Map(); // This is needed in order to inject the critical CSS.\n\n this.sheetsRegistry = new SheetsRegistry(); // A new class name generator\n\n var generateClassName = createGenerateClassName();\n return /*#__PURE__*/React.createElement(StylesProvider, _extends({\n sheetsManager: sheetsManager,\n serverGenerateClassName: generateClassName,\n sheetsRegistry: this.sheetsRegistry\n }, this.options), children);\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return this.sheetsRegistry ? this.sheetsRegistry.toString() : '';\n }\n }, {\n key: \"getStyleElement\",\n value: function getStyleElement(props) {\n return /*#__PURE__*/React.createElement('style', _extends({\n id: 'jss-server-side',\n key: 'jss-server-side',\n dangerouslySetInnerHTML: {\n __html: this.toString()\n }\n }, props));\n }\n }]);\n\n return ServerStyleSheets;\n}();\n\nexport { ServerStyleSheets as default };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@material-ui/utils';\nimport createGenerateClassName from '../createGenerateClassName';\nimport { create } from 'jss';\nimport jssPreset from '../jssPreset'; // Default JSS instance.\n\nvar jss = create(jssPreset()); // Use a singleton or the provided one by the context.\n//\n// The counter-based approach doesn't tolerate any mistake.\n// It's much safer to use the same counter everywhere.\n\nvar generateClassName = createGenerateClassName(); // Exported for test purposes\n\nexport var sheetsManager = new Map();\nvar defaultOptions = {\n disableGeneration: false,\n generateClassName: generateClassName,\n jss: jss,\n sheetsCache: null,\n sheetsManager: sheetsManager,\n sheetsRegistry: null\n};\nexport var StylesContext = React.createContext(defaultOptions);\n\nif (process.env.NODE_ENV !== 'production') {\n StylesContext.displayName = 'StylesContext';\n}\n\nvar injectFirstNode;\nexport default function StylesProvider(props) {\n var children = props.children,\n _props$injectFirst = props.injectFirst,\n injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst,\n _props$disableGenerat = props.disableGeneration,\n disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat,\n localOptions = _objectWithoutProperties(props, [\"children\", \"injectFirst\", \"disableGeneration\"]);\n\n var outerOptions = React.useContext(StylesContext);\n\n var context = _extends({}, outerOptions, {\n disableGeneration: disableGeneration\n }, localOptions);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window === 'undefined' && !context.sheetsManager) {\n console.error('Material-UI: You need to use the ServerStyleSheets API when rendering on the server.');\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (context.jss.options.insertionPoint && injectFirst) {\n console.error('Material-UI: You cannot use a custom insertionPoint and at the same time.');\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (injectFirst && localOptions.jss) {\n console.error('Material-UI: You cannot use the jss and injectFirst props at the same time.');\n }\n }\n\n if (!context.jss.options.insertionPoint && injectFirst && typeof window !== 'undefined') {\n if (!injectFirstNode) {\n var head = document.head;\n injectFirstNode = document.createComment('mui-inject-first');\n head.insertBefore(injectFirstNode, head.firstChild);\n }\n\n context.jss = create({\n plugins: jssPreset().plugins,\n insertionPoint: injectFirstNode\n });\n }\n\n return /*#__PURE__*/React.createElement(StylesContext.Provider, {\n value: context\n }, children);\n}\nprocess.env.NODE_ENV !== \"production\" ? StylesProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * You can disable the generation of the styles with this option.\n * It can be useful when traversing the React tree outside of the HTML\n * rendering step on the server.\n * Let's say you are using react-apollo to extract all\n * the queries made by the interface server-side - you can significantly speed up the traversal with this prop.\n */\n disableGeneration: PropTypes.bool,\n\n /**\n * JSS's class name generator.\n */\n generateClassName: PropTypes.func,\n\n /**\n * By default, the styles are injected last in the element of the page.\n * As a result, they gain more specificity than any other style sheet.\n * If you want to override Material-UI's styles, set this prop.\n */\n injectFirst: PropTypes.bool,\n\n /**\n * JSS's instance.\n */\n jss: PropTypes.object,\n\n /**\n * @ignore\n */\n serverGenerateClassName: PropTypes.func,\n\n /**\n * @ignore\n *\n * Beta feature.\n *\n * Cache for the sheets.\n */\n sheetsCache: PropTypes.object,\n\n /**\n * @ignore\n *\n * The sheetsManager is used to deduplicate style sheet injection in the page.\n * It's deduplicating using the (theme, styles) couple.\n * On the server, you should provide a new instance for each request.\n */\n sheetsManager: PropTypes.object,\n\n /**\n * @ignore\n *\n * Collect the sheets.\n */\n sheetsRegistry: PropTypes.object\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? StylesProvider.propTypes = exactProp(StylesProvider.propTypes) : void 0;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@material-ui/utils';\nimport ThemeContext from '../useTheme/ThemeContext';\nimport useTheme from '../useTheme';\nimport nested from './nested'; // To support composition of theme.\n\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n var mergedTheme = localTheme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['Material-UI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, localTheme);\n}\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\n\n\nfunction ThemeProvider(props) {\n var children = props.children,\n localTheme = props.theme;\n var outerTheme = useTheme();\n\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['Material-UI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n\n var theme = React.useMemo(function () {\n var output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, children);\n}\n\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\n\nexport default ThemeProvider;","var hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import nested from '../ThemeProvider/nested';\n/**\n * This is the list of the style rule name we use as drop in replacement for the built-in\n * pseudo classes (:checked, :disabled, :focused, etc.).\n *\n * Why do they exist in the first place?\n * These classes are used at a specificity of 2.\n * It allows them to override previously definied styles as well as\n * being untouched by simple user overrides.\n */\n\nvar pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected']; // Returns a function which generates unique class names based on counters.\n// When new generator function is created, rule counter is reset.\n// We need to reset the rule counter for SSR for each request.\n//\n// It's inspired by\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\n\nexport default function createGenerateClassName() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$disableGloba = options.disableGlobal,\n disableGlobal = _options$disableGloba === void 0 ? false : _options$disableGloba,\n _options$productionPr = options.productionPrefix,\n productionPrefix = _options$productionPr === void 0 ? 'jss' : _options$productionPr,\n _options$seed = options.seed,\n seed = _options$seed === void 0 ? '' : _options$seed;\n var seedPrefix = seed === '' ? '' : \"\".concat(seed, \"-\");\n var ruleCounter = 0;\n\n var getNextCounterId = function getNextCounterId() {\n ruleCounter += 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (ruleCounter >= 1e10) {\n console.warn(['Material-UI: You might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));\n }\n }\n\n return ruleCounter;\n };\n\n return function (rule, styleSheet) {\n var name = styleSheet.options.name; // Is a global static MUI style?\n\n if (name && name.indexOf('Mui') === 0 && !styleSheet.options.link && !disableGlobal) {\n // We can use a shorthand class name, we never use the keys to style the components.\n if (pseudoClasses.indexOf(rule.key) !== -1) {\n return \"Mui-\".concat(rule.key);\n }\n\n var prefix = \"\".concat(seedPrefix).concat(name, \"-\").concat(rule.key);\n\n if (!styleSheet.options.theme[nested] || seed !== '') {\n return prefix;\n }\n\n return \"\".concat(prefix, \"-\").concat(getNextCounterId());\n }\n\n if (process.env.NODE_ENV === 'production') {\n return \"\".concat(seedPrefix).concat(productionPrefix).concat(getNextCounterId());\n }\n\n var suffix = \"\".concat(rule.key, \"-\").concat(getNextCounterId()); // Help with debuggability.\n\n if (styleSheet.options.classNamePrefix) {\n return \"\".concat(seedPrefix).concat(styleSheet.options.classNamePrefix, \"-\").concat(suffix);\n }\n\n return \"\".concat(seedPrefix).concat(suffix);\n };\n}","export default function createStyles(styles) {\n return styles;\n}","/* eslint-disable no-restricted-syntax */\nexport default function getThemeProps(params) {\n var theme = params.theme,\n name = params.name,\n props = params.props;\n\n if (!theme || !theme.props || !theme.props[name]) {\n return props;\n } // Resolve default props, code borrow from React source.\n // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221\n\n\n var defaultProps = theme.props[name];\n var propName;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n\n return props;\n}","import warning from 'tiny-warning';\nimport { createRule } from 'jss';\n\nvar now = Date.now();\nvar fnValuesNs = \"fnValues\" + now;\nvar fnRuleNs = \"fnStyle\" + ++now;\n\nvar functionPlugin = function functionPlugin() {\n return {\n onCreateRule: function onCreateRule(name, decl, options) {\n if (typeof decl !== 'function') return null;\n var rule = createRule(name, {}, options);\n rule[fnRuleNs] = decl;\n return rule;\n },\n onProcessStyle: function onProcessStyle(style, rule) {\n // We need to extract function values from the declaration, so that we can keep core unaware of them.\n // We need to do that only once.\n // We don't need to extract functions on each style update, since this can happen only once.\n // We don't support function values inside of function rules.\n if (fnValuesNs in rule || fnRuleNs in rule) return style;\n var fnValues = {};\n\n for (var prop in style) {\n var value = style[prop];\n if (typeof value !== 'function') continue;\n delete style[prop];\n fnValues[prop] = value;\n } // $FlowFixMe[prop-missing]\n\n\n rule[fnValuesNs] = fnValues;\n return style;\n },\n onUpdate: function onUpdate(data, rule, sheet, options) {\n var styleRule = rule; // $FlowFixMe[prop-missing]\n\n var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object\n // will be returned from that function.\n\n if (fnRule) {\n // Empty object will remove all currently defined props\n // in case function rule returns a falsy value.\n styleRule.style = fnRule(data) || {};\n\n if (process.env.NODE_ENV === 'development') {\n for (var prop in styleRule.style) {\n if (typeof styleRule.style[prop] === 'function') {\n process.env.NODE_ENV !== \"production\" ? warning(false, '[JSS] Function values inside function rules are not supported.') : void 0;\n break;\n }\n }\n }\n } // $FlowFixMe[prop-missing]\n\n\n var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.\n\n if (fnValues) {\n for (var _prop in fnValues) {\n styleRule.prop(_prop, fnValues[_prop](data), options);\n }\n }\n }\n };\n};\n\nexport default functionPlugin;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport { RuleList } from 'jss';\n\nvar at = '@global';\nvar atPrefix = '@global ';\n\nvar GlobalContainerRule =\n/*#__PURE__*/\nfunction () {\n function GlobalContainerRule(key, styles, options) {\n this.type = 'global';\n this.at = at;\n this.rules = void 0;\n this.options = void 0;\n this.key = void 0;\n this.isProcessed = false;\n this.key = key;\n this.options = options;\n this.rules = new RuleList(_extends({}, options, {\n parent: this\n }));\n\n for (var selector in styles) {\n this.rules.add(selector, styles[selector]);\n }\n\n this.rules.process();\n }\n /**\n * Get a rule.\n */\n\n\n var _proto = GlobalContainerRule.prototype;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Create and register rule, run plugins.\n */\n ;\n\n _proto.addRule = function addRule(name, style, options) {\n var rule = this.rules.add(name, style, options);\n if (rule) this.options.jss.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto.toString = function toString() {\n return this.rules.toString();\n };\n\n return GlobalContainerRule;\n}();\n\nvar GlobalPrefixedRule =\n/*#__PURE__*/\nfunction () {\n function GlobalPrefixedRule(key, style, options) {\n this.type = 'global';\n this.at = at;\n this.options = void 0;\n this.rule = void 0;\n this.isProcessed = false;\n this.key = void 0;\n this.key = key;\n this.options = options;\n var selector = key.substr(atPrefix.length);\n this.rule = options.jss.createRule(selector, style, _extends({}, options, {\n parent: this\n }));\n }\n\n var _proto2 = GlobalPrefixedRule.prototype;\n\n _proto2.toString = function toString(options) {\n return this.rule ? this.rule.toString(options) : '';\n };\n\n return GlobalPrefixedRule;\n}();\n\nvar separatorRegExp = /\\s*,\\s*/g;\n\nfunction addScope(selector, scope) {\n var parts = selector.split(separatorRegExp);\n var scoped = '';\n\n for (var i = 0; i < parts.length; i++) {\n scoped += scope + \" \" + parts[i].trim();\n if (parts[i + 1]) scoped += ', ';\n }\n\n return scoped;\n}\n\nfunction handleNestedGlobalContainerRule(rule, sheet) {\n var options = rule.options,\n style = rule.style;\n var rules = style ? style[at] : null;\n if (!rules) return;\n\n for (var name in rules) {\n sheet.addRule(name, rules[name], _extends({}, options, {\n selector: addScope(name, rule.selector)\n }));\n }\n\n delete style[at];\n}\n\nfunction handlePrefixedGlobalRule(rule, sheet) {\n var options = rule.options,\n style = rule.style;\n\n for (var prop in style) {\n if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;\n var selector = addScope(prop.substr(at.length), rule.selector);\n sheet.addRule(selector, style[prop], _extends({}, options, {\n selector: selector\n }));\n delete style[prop];\n }\n}\n/**\n * Convert nested rules to separate, remove them from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\n\nfunction jssGlobal() {\n function onCreateRule(name, styles, options) {\n if (!name) return null;\n\n if (name === at) {\n return new GlobalContainerRule(name, styles, options);\n }\n\n if (name[0] === '@' && name.substr(0, atPrefix.length) === atPrefix) {\n return new GlobalPrefixedRule(name, styles, options);\n }\n\n var parent = options.parent;\n\n if (parent) {\n if (parent.type === 'global' || parent.options.parent && parent.options.parent.type === 'global') {\n options.scoped = false;\n }\n }\n\n if (options.scoped === false) {\n options.selector = name;\n }\n\n return null;\n }\n\n function onProcessRule(rule, sheet) {\n if (rule.type !== 'style' || !sheet) return;\n handleNestedGlobalContainerRule(rule, sheet);\n handlePrefixedGlobalRule(rule, sheet);\n }\n\n return {\n onCreateRule: onCreateRule,\n onProcessRule: onProcessRule\n };\n}\n\nexport default jssGlobal;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport warning from 'tiny-warning';\n\nvar separatorRegExp = /\\s*,\\s*/g;\nvar parentRegExp = /&/g;\nvar refRegExp = /\\$([\\w-]+)/g;\n/**\n * Convert nested rules to separate, remove them from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\nfunction jssNested() {\n // Get a function to be used for $ref replacement.\n function getReplaceRef(container, sheet) {\n return function (match, key) {\n var rule = container.getRule(key) || sheet && sheet.getRule(key);\n\n if (rule) {\n rule = rule;\n return rule.selector;\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Could not find the referenced rule \\\"\" + key + \"\\\" in \\\"\" + (container.options.meta || container.toString()) + \"\\\".\") : void 0;\n return key;\n };\n }\n\n function replaceParentRefs(nestedProp, parentProp) {\n var parentSelectors = parentProp.split(separatorRegExp);\n var nestedSelectors = nestedProp.split(separatorRegExp);\n var result = '';\n\n for (var i = 0; i < parentSelectors.length; i++) {\n var parent = parentSelectors[i];\n\n for (var j = 0; j < nestedSelectors.length; j++) {\n var nested = nestedSelectors[j];\n if (result) result += ', '; // Replace all & by the parent or prefix & with the parent.\n\n result += nested.indexOf('&') !== -1 ? nested.replace(parentRegExp, parent) : parent + \" \" + nested;\n }\n }\n\n return result;\n }\n\n function getOptions(rule, container, prevOptions) {\n // Options has been already created, now we only increase index.\n if (prevOptions) return _extends({}, prevOptions, {\n index: prevOptions.index + 1 // $FlowFixMe[prop-missing]\n\n });\n var nestingLevel = rule.options.nestingLevel;\n nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;\n\n var options = _extends({}, rule.options, {\n nestingLevel: nestingLevel,\n index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.\n\n });\n\n delete options.name;\n return options;\n }\n\n function onProcessStyle(style, rule, sheet) {\n if (rule.type !== 'style') return style;\n var styleRule = rule;\n var container = styleRule.options.parent;\n var options;\n var replaceRef;\n\n for (var prop in style) {\n var isNested = prop.indexOf('&') !== -1;\n var isNestedConditional = prop[0] === '@';\n if (!isNested && !isNestedConditional) continue;\n options = getOptions(styleRule, container, options);\n\n if (isNested) {\n var selector = replaceParentRefs(prop, styleRule.selector); // Lazily create the ref replacer function just once for\n // all nested rules within the sheet.\n\n if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.\n\n selector = selector.replace(refRegExp, replaceRef);\n container.addRule(selector, style[prop], _extends({}, options, {\n selector: selector\n }));\n } else if (isNestedConditional) {\n // Place conditional right after the parent rule to ensure right ordering.\n container.addRule(prop, {}, options) // Flow expects more options but they aren't required\n // And flow doesn't know this will always be a StyleRule which has the addRule method\n // $FlowFixMe[incompatible-use]\n // $FlowFixMe[prop-missing]\n .addRule(styleRule.key, style[prop], {\n selector: styleRule.selector\n });\n }\n\n delete style[prop];\n }\n\n return style;\n }\n\n return {\n onProcessStyle: onProcessStyle\n };\n}\n\nexport default jssNested;\n","/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n if (cache.hasOwnProperty(name)) {\n return cache[name]\n }\n\n var hName = name.replace(uppercasePattern, toHyphenLower)\n return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\nexport default hyphenateStyleName\n","import hyphenate from 'hyphenate-style-name';\n\n/**\n * Convert camel cased property names to dash separated.\n *\n * @param {Object} style\n * @return {Object}\n */\n\nfunction convertCase(style) {\n var converted = {};\n\n for (var prop in style) {\n var key = prop.indexOf('--') === 0 ? prop : hyphenate(prop);\n converted[key] = style[prop];\n }\n\n if (style.fallbacks) {\n if (Array.isArray(style.fallbacks)) converted.fallbacks = style.fallbacks.map(convertCase);else converted.fallbacks = convertCase(style.fallbacks);\n }\n\n return converted;\n}\n/**\n * Allow camel cased property names by converting them back to dasherized.\n *\n * @param {Rule} rule\n */\n\n\nfunction camelCase() {\n function onProcessStyle(style) {\n if (Array.isArray(style)) {\n // Handle rules like @font-face, which can have multiple styles in an array\n for (var index = 0; index < style.length; index++) {\n style[index] = convertCase(style[index]);\n }\n\n return style;\n }\n\n return convertCase(style);\n }\n\n function onChangeValue(value, prop, rule) {\n if (prop.indexOf('--') === 0) {\n return value;\n }\n\n var hyphenatedProp = hyphenate(prop); // There was no camel case in place\n\n if (prop === hyphenatedProp) return value;\n rule.prop(hyphenatedProp, value); // Core will ignore that property value we set the proper one above.\n\n return null;\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\nexport default camelCase;\n","import { hasCSSTOMSupport } from 'jss';\n\nvar px = hasCSSTOMSupport && CSS ? CSS.px : 'px';\nvar ms = hasCSSTOMSupport && CSS ? CSS.ms : 'ms';\nvar percent = hasCSSTOMSupport && CSS ? CSS.percent : '%';\n/**\n * Generated jss-plugin-default-unit CSS property units\n *\n * @type object\n */\n\nvar defaultUnits = {\n // Animation properties\n 'animation-delay': ms,\n 'animation-duration': ms,\n // Background properties\n 'background-position': px,\n 'background-position-x': px,\n 'background-position-y': px,\n 'background-size': px,\n // Border Properties\n border: px,\n 'border-bottom': px,\n 'border-bottom-left-radius': px,\n 'border-bottom-right-radius': px,\n 'border-bottom-width': px,\n 'border-left': px,\n 'border-left-width': px,\n 'border-radius': px,\n 'border-right': px,\n 'border-right-width': px,\n 'border-top': px,\n 'border-top-left-radius': px,\n 'border-top-right-radius': px,\n 'border-top-width': px,\n 'border-width': px,\n 'border-block': px,\n 'border-block-end': px,\n 'border-block-end-width': px,\n 'border-block-start': px,\n 'border-block-start-width': px,\n 'border-block-width': px,\n 'border-inline': px,\n 'border-inline-end': px,\n 'border-inline-end-width': px,\n 'border-inline-start': px,\n 'border-inline-start-width': px,\n 'border-inline-width': px,\n 'border-start-start-radius': px,\n 'border-start-end-radius': px,\n 'border-end-start-radius': px,\n 'border-end-end-radius': px,\n // Margin properties\n margin: px,\n 'margin-bottom': px,\n 'margin-left': px,\n 'margin-right': px,\n 'margin-top': px,\n 'margin-block': px,\n 'margin-block-end': px,\n 'margin-block-start': px,\n 'margin-inline': px,\n 'margin-inline-end': px,\n 'margin-inline-start': px,\n // Padding properties\n padding: px,\n 'padding-bottom': px,\n 'padding-left': px,\n 'padding-right': px,\n 'padding-top': px,\n 'padding-block': px,\n 'padding-block-end': px,\n 'padding-block-start': px,\n 'padding-inline': px,\n 'padding-inline-end': px,\n 'padding-inline-start': px,\n // Mask properties\n 'mask-position-x': px,\n 'mask-position-y': px,\n 'mask-size': px,\n // Width and height properties\n height: px,\n width: px,\n 'min-height': px,\n 'max-height': px,\n 'min-width': px,\n 'max-width': px,\n // Position properties\n bottom: px,\n left: px,\n top: px,\n right: px,\n inset: px,\n 'inset-block': px,\n 'inset-block-end': px,\n 'inset-block-start': px,\n 'inset-inline': px,\n 'inset-inline-end': px,\n 'inset-inline-start': px,\n // Shadow properties\n 'box-shadow': px,\n 'text-shadow': px,\n // Column properties\n 'column-gap': px,\n 'column-rule': px,\n 'column-rule-width': px,\n 'column-width': px,\n // Font and text properties\n 'font-size': px,\n 'font-size-delta': px,\n 'letter-spacing': px,\n 'text-decoration-thickness': px,\n 'text-indent': px,\n 'text-stroke': px,\n 'text-stroke-width': px,\n 'word-spacing': px,\n // Motion properties\n motion: px,\n 'motion-offset': px,\n // Outline properties\n outline: px,\n 'outline-offset': px,\n 'outline-width': px,\n // Perspective properties\n perspective: px,\n 'perspective-origin-x': percent,\n 'perspective-origin-y': percent,\n // Transform properties\n 'transform-origin': percent,\n 'transform-origin-x': percent,\n 'transform-origin-y': percent,\n 'transform-origin-z': percent,\n // Transition properties\n 'transition-delay': ms,\n 'transition-duration': ms,\n // Alignment properties\n 'vertical-align': px,\n 'flex-basis': px,\n // Some random properties\n 'shape-margin': px,\n size: px,\n gap: px,\n // Grid properties\n grid: px,\n 'grid-gap': px,\n 'row-gap': px,\n 'grid-row-gap': px,\n 'grid-column-gap': px,\n 'grid-template-rows': px,\n 'grid-template-columns': px,\n 'grid-auto-rows': px,\n 'grid-auto-columns': px,\n // Not existing properties.\n // Used to avoid issues with jss-plugin-expand integration.\n 'box-shadow-x': px,\n 'box-shadow-y': px,\n 'box-shadow-blur': px,\n 'box-shadow-spread': px,\n 'font-line-height': px,\n 'text-shadow-x': px,\n 'text-shadow-y': px,\n 'text-shadow-blur': px\n};\n\n/**\n * Clones the object and adds a camel cased property version.\n */\nfunction addCamelCasedVersion(obj) {\n var regExp = /(-[a-z])/g;\n\n var replace = function replace(str) {\n return str[1].toUpperCase();\n };\n\n var newObj = {};\n\n for (var _key in obj) {\n newObj[_key] = obj[_key];\n newObj[_key.replace(regExp, replace)] = obj[_key];\n }\n\n return newObj;\n}\n\nvar units = addCamelCasedVersion(defaultUnits);\n/**\n * Recursive deep style passing function\n */\n\nfunction iterate(prop, value, options) {\n if (value == null) return value;\n\n if (Array.isArray(value)) {\n for (var i = 0; i < value.length; i++) {\n value[i] = iterate(prop, value[i], options);\n }\n } else if (typeof value === 'object') {\n if (prop === 'fallbacks') {\n for (var innerProp in value) {\n value[innerProp] = iterate(innerProp, value[innerProp], options);\n }\n } else {\n for (var _innerProp in value) {\n value[_innerProp] = iterate(prop + \"-\" + _innerProp, value[_innerProp], options);\n }\n } // eslint-disable-next-line no-restricted-globals\n\n } else if (typeof value === 'number' && isNaN(value) === false) {\n var unit = options[prop] || units[prop]; // Add the unit if available, except for the special case of 0px.\n\n if (unit && !(value === 0 && unit === px)) {\n return typeof unit === 'function' ? unit(value).toString() : \"\" + value + unit;\n }\n\n return value.toString();\n }\n\n return value;\n}\n/**\n * Add unit to numeric values.\n */\n\n\nfunction defaultUnit(options) {\n if (options === void 0) {\n options = {};\n }\n\n var camelCasedOptions = addCamelCasedVersion(options);\n\n function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n\n for (var prop in style) {\n style[prop] = iterate(prop, style[prop], camelCasedOptions);\n }\n\n return style;\n }\n\n function onChangeValue(value, prop) {\n return iterate(prop, value, camelCasedOptions);\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\nexport default defaultUnit;\n","import isInBrowser from 'is-in-browser';\nimport _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';\n\n// Export javascript style and css style vendor prefixes.\nvar js = '';\nvar css = '';\nvar vendor = '';\nvar browser = '';\nvar isTouch = isInBrowser && 'ontouchstart' in document.documentElement; // We should not do anything if required serverside.\n\nif (isInBrowser) {\n // Order matters. We need to check Webkit the last one because\n // other vendors use to add Webkit prefixes to some properties\n var jsCssMap = {\n Moz: '-moz-',\n ms: '-ms-',\n O: '-o-',\n Webkit: '-webkit-'\n };\n\n var _document$createEleme = document.createElement('p'),\n style = _document$createEleme.style;\n\n var testProp = 'Transform';\n\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n js = key;\n css = jsCssMap[key];\n break;\n }\n } // Correctly detect the Edge browser.\n\n\n if (js === 'Webkit' && 'msHyphens' in style) {\n js = 'ms';\n css = jsCssMap.ms;\n browser = 'edge';\n } // Correctly detect the Safari browser.\n\n\n if (js === 'Webkit' && '-apple-trailing-word' in style) {\n vendor = 'apple';\n }\n}\n/**\n * Vendor prefix string for the current browser.\n *\n * @type {{js: String, css: String, vendor: String, browser: String}}\n * @api public\n */\n\n\nvar prefix = {\n js: js,\n css: css,\n vendor: vendor,\n browser: browser,\n isTouch: isTouch\n};\n\n/**\n * Test if a keyframe at-rule should be prefixed or not\n *\n * @param {String} vendor prefix string for the current browser.\n * @return {String}\n * @api public\n */\n\nfunction supportedKeyframes(key) {\n // Keyframes is already prefixed. e.g. key = '@-webkit-keyframes a'\n if (key[1] === '-') return key; // No need to prefix IE/Edge. Older browsers will ignore unsupported rules.\n // https://caniuse.com/#search=keyframes\n\n if (prefix.js === 'ms') return key;\n return \"@\" + prefix.css + \"keyframes\" + key.substr(10);\n}\n\n// https://caniuse.com/#search=appearance\n\nvar appearence = {\n noPrefill: ['appearance'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'appearance') return false;\n if (prefix.js === 'ms') return \"-webkit-\" + prop;\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=color-adjust\n\nvar colorAdjust = {\n noPrefill: ['color-adjust'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'color-adjust') return false;\n if (prefix.js === 'Webkit') return prefix.css + \"print-\" + prop;\n return prop;\n }\n};\n\nvar regExp = /[-\\s]+(.)?/g;\n/**\n * Replaces the letter with the capital letter\n *\n * @param {String} match\n * @param {String} c\n * @return {String}\n * @api private\n */\n\nfunction toUpper(match, c) {\n return c ? c.toUpperCase() : '';\n}\n/**\n * Convert dash separated strings to camel-cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\n\nfunction camelize(str) {\n return str.replace(regExp, toUpper);\n}\n\n/**\n * Convert dash separated strings to pascal cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\nfunction pascalize(str) {\n return camelize(\"-\" + str);\n}\n\n// but we can use a longhand property instead.\n// https://caniuse.com/#search=mask\n\nvar mask = {\n noPrefill: ['mask'],\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^mask/.test(prop)) return false;\n\n if (prefix.js === 'Webkit') {\n var longhand = 'mask-image';\n\n if (camelize(longhand) in style) {\n return prop;\n }\n\n if (prefix.js + pascalize(longhand) in style) {\n return prefix.css + prop;\n }\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=text-orientation\n\nvar textOrientation = {\n noPrefill: ['text-orientation'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'text-orientation') return false;\n\n if (prefix.vendor === 'apple' && !prefix.isTouch) {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=transform\n\nvar transform = {\n noPrefill: ['transform'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transform') return false;\n\n if (options.transform) {\n return prop;\n }\n\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=transition\n\nvar transition = {\n noPrefill: ['transition'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transition') return false;\n\n if (options.transition) {\n return prop;\n }\n\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=writing-mode\n\nvar writingMode = {\n noPrefill: ['writing-mode'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'writing-mode') return false;\n\n if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=user-select\n\nvar userSelect = {\n noPrefill: ['user-select'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'user-select') return false;\n\n if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=multicolumn\n// https://github.com/postcss/autoprefixer/issues/491\n// https://github.com/postcss/autoprefixer/issues/177\n\nvar breakPropsOld = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^break-/.test(prop)) return false;\n\n if (prefix.js === 'Webkit') {\n var jsProp = \"WebkitColumn\" + pascalize(prop);\n return jsProp in style ? prefix.css + \"column-\" + prop : false;\n }\n\n if (prefix.js === 'Moz') {\n var _jsProp = \"page\" + pascalize(prop);\n\n return _jsProp in style ? \"page-\" + prop : false;\n }\n\n return false;\n }\n};\n\n// See https://github.com/postcss/autoprefixer/issues/324.\n\nvar inlineLogicalOld = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^(border|margin|padding)-inline/.test(prop)) return false;\n if (prefix.js === 'Moz') return prop;\n var newProp = prop.replace('-inline', '');\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n};\n\n// Camelization is required because we can't test using.\n// CSS syntax for e.g. in FF.\n\nvar unprefixed = {\n supportedProperty: function supportedProperty(prop, style) {\n return camelize(prop) in style ? prop : false;\n }\n};\n\nvar prefixed = {\n supportedProperty: function supportedProperty(prop, style) {\n var pascalized = pascalize(prop); // Return custom CSS variable without prefixing.\n\n if (prop[0] === '-') return prop; // Return already prefixed value without prefixing.\n\n if (prop[0] === '-' && prop[1] === '-') return prop;\n if (prefix.js + pascalized in style) return prefix.css + prop; // Try webkit fallback.\n\n if (prefix.js !== 'Webkit' && \"Webkit\" + pascalized in style) return \"-webkit-\" + prop;\n return false;\n }\n};\n\n// https://caniuse.com/#search=scroll-snap\n\nvar scrollSnap = {\n supportedProperty: function supportedProperty(prop) {\n if (prop.substring(0, 11) !== 'scroll-snap') return false;\n\n if (prefix.js === 'ms') {\n return \"\" + prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=overscroll-behavior\n\nvar overscrollBehavior = {\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'overscroll-behavior') return false;\n\n if (prefix.js === 'ms') {\n return prefix.css + \"scroll-chaining\";\n }\n\n return prop;\n }\n};\n\nvar propMap = {\n 'flex-grow': 'flex-positive',\n 'flex-shrink': 'flex-negative',\n 'flex-basis': 'flex-preferred-size',\n 'justify-content': 'flex-pack',\n order: 'flex-order',\n 'align-items': 'flex-align',\n 'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.\n\n}; // Support old flex spec from 2012.\n\nvar flex2012 = {\n supportedProperty: function supportedProperty(prop, style) {\n var newProp = propMap[prop];\n if (!newProp) return false;\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n};\n\nvar propMap$1 = {\n flex: 'box-flex',\n 'flex-grow': 'box-flex',\n 'flex-direction': ['box-orient', 'box-direction'],\n order: 'box-ordinal-group',\n 'align-items': 'box-align',\n 'flex-flow': ['box-orient', 'box-direction'],\n 'justify-content': 'box-pack'\n};\nvar propKeys = Object.keys(propMap$1);\n\nvar prefixCss = function prefixCss(p) {\n return prefix.css + p;\n}; // Support old flex spec from 2009.\n\n\nvar flex2009 = {\n supportedProperty: function supportedProperty(prop, style, _ref) {\n var multiple = _ref.multiple;\n\n if (propKeys.indexOf(prop) > -1) {\n var newProp = propMap$1[prop];\n\n if (!Array.isArray(newProp)) {\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n\n if (!multiple) return false;\n\n for (var i = 0; i < newProp.length; i++) {\n if (!(prefix.js + pascalize(newProp[0]) in style)) {\n return false;\n }\n }\n\n return newProp.map(prefixCss);\n }\n\n return false;\n }\n};\n\n// plugins = [\n// ...plugins,\n// breakPropsOld,\n// inlineLogicalOld,\n// unprefixed,\n// prefixed,\n// scrollSnap,\n// flex2012,\n// flex2009\n// ]\n// Plugins without 'noPrefill' value, going last.\n// 'flex-*' plugins should be at the bottom.\n// 'flex2009' going after 'flex2012'.\n// 'prefixed' going after 'unprefixed'\n\nvar plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];\nvar propertyDetectors = plugins.filter(function (p) {\n return p.supportedProperty;\n}).map(function (p) {\n return p.supportedProperty;\n});\nvar noPrefill = plugins.filter(function (p) {\n return p.noPrefill;\n}).reduce(function (a, p) {\n a.push.apply(a, _toConsumableArray(p.noPrefill));\n return a;\n}, []);\n\nvar el;\nvar cache = {};\n\nif (isInBrowser) {\n el = document.createElement('p'); // We test every property on vendor prefix requirement.\n // Once tested, result is cached. It gives us up to 70% perf boost.\n // http://jsperf.com/element-style-object-access-vs-plain-object\n //\n // Prefill cache with known css properties to reduce amount of\n // properties we need to feature test at runtime.\n // http://davidwalsh.name/vendor-prefix\n\n var computed = window.getComputedStyle(document.documentElement, '');\n\n for (var key$1 in computed) {\n // eslint-disable-next-line no-restricted-globals\n if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];\n } // Properties that cannot be correctly detected using the\n // cache prefill method.\n\n\n noPrefill.forEach(function (x) {\n return delete cache[x];\n });\n}\n/**\n * Test if a property is supported, returns supported property with vendor\n * prefix if required. Returns `false` if not supported.\n *\n * @param {String} prop dash separated\n * @param {Object} [options]\n * @return {String|Boolean}\n * @api public\n */\n\n\nfunction supportedProperty(prop, options) {\n if (options === void 0) {\n options = {};\n }\n\n // For server-side rendering.\n if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.\n\n if (process.env.NODE_ENV !== 'benchmark' && cache[prop] != null) {\n return cache[prop];\n } // Check if 'transition' or 'transform' natively supported in browser.\n\n\n if (prop === 'transition' || prop === 'transform') {\n options[prop] = prop in el.style;\n } // Find a plugin for current prefix property.\n\n\n for (var i = 0; i < propertyDetectors.length; i++) {\n cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.\n\n if (cache[prop]) break;\n } // Reset styles for current property.\n // Firefox can even throw an error for invalid properties, e.g., \"0\".\n\n\n try {\n el.style[prop] = '';\n } catch (err) {\n return false;\n }\n\n return cache[prop];\n}\n\nvar cache$1 = {};\nvar transitionProperties = {\n transition: 1,\n 'transition-property': 1,\n '-webkit-transition': 1,\n '-webkit-transition-property': 1\n};\nvar transPropsRegExp = /(^\\s*[\\w-]+)|, (\\s*[\\w-]+)(?![^()]*\\))/g;\nvar el$1;\n/**\n * Returns prefixed value transition/transform if needed.\n *\n * @param {String} match\n * @param {String} p1\n * @param {String} p2\n * @return {String}\n * @api private\n */\n\nfunction prefixTransitionCallback(match, p1, p2) {\n if (p1 === 'var') return 'var';\n if (p1 === 'all') return 'all';\n if (p2 === 'all') return ', all';\n var prefixedValue = p1 ? supportedProperty(p1) : \", \" + supportedProperty(p2);\n if (!prefixedValue) return p1 || p2;\n return prefixedValue;\n}\n\nif (isInBrowser) el$1 = document.createElement('p');\n/**\n * Returns prefixed value if needed. Returns `false` if value is not supported.\n *\n * @param {String} property\n * @param {String} value\n * @return {String|Boolean}\n * @api public\n */\n\nfunction supportedValue(property, value) {\n // For server-side rendering.\n var prefixedValue = value;\n if (!el$1 || property === 'content') return value; // It is a string or a number as a string like '1'.\n // We want only prefixable values here.\n // eslint-disable-next-line no-restricted-globals\n\n if (typeof prefixedValue !== 'string' || !isNaN(parseInt(prefixedValue, 10))) {\n return prefixedValue;\n } // Create cache key for current value.\n\n\n var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.\n\n if (process.env.NODE_ENV !== 'benchmark' && cache$1[cacheKey] != null) {\n return cache$1[cacheKey];\n } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.\n\n\n try {\n // Test value as it is.\n el$1.style[property] = prefixedValue;\n } catch (err) {\n // Return false if value not supported.\n cache$1[cacheKey] = false;\n return false;\n } // If 'transition' or 'transition-property' property.\n\n\n if (transitionProperties[property]) {\n prefixedValue = prefixedValue.replace(transPropsRegExp, prefixTransitionCallback);\n } else if (el$1.style[property] === '') {\n // Value with a vendor prefix.\n prefixedValue = prefix.css + prefixedValue; // Hardcode test to convert \"flex\" to \"-ms-flexbox\" for IE10.\n\n if (prefixedValue === '-ms-flex') el$1.style[property] = '-ms-flexbox'; // Test prefixed value.\n\n el$1.style[property] = prefixedValue; // Return false if value not supported.\n\n if (el$1.style[property] === '') {\n cache$1[cacheKey] = false;\n return false;\n }\n } // Reset styles for current property.\n\n\n el$1.style[property] = ''; // Write current value to cache.\n\n cache$1[cacheKey] = prefixedValue;\n return cache$1[cacheKey];\n}\n\nexport { prefix, supportedKeyframes, supportedProperty, supportedValue };\n","import { supportedKeyframes, supportedValue, supportedProperty } from 'css-vendor';\nimport { toCssValue } from 'jss';\n\n/**\n * Add vendor prefix to a property name when needed.\n *\n * @api public\n */\n\nfunction jssVendorPrefixer() {\n function onProcessRule(rule) {\n if (rule.type === 'keyframes') {\n var atRule = rule;\n atRule.at = supportedKeyframes(atRule.at);\n }\n }\n\n function prefixStyle(style) {\n for (var prop in style) {\n var value = style[prop];\n\n if (prop === 'fallbacks' && Array.isArray(value)) {\n style[prop] = value.map(prefixStyle);\n continue;\n }\n\n var changeProp = false;\n var supportedProp = supportedProperty(prop);\n if (supportedProp && supportedProp !== prop) changeProp = true;\n var changeValue = false;\n var supportedValue$1 = supportedValue(supportedProp, toCssValue(value));\n if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;\n\n if (changeProp || changeValue) {\n if (changeProp) delete style[prop];\n style[supportedProp || prop] = supportedValue$1 || value;\n }\n }\n\n return style;\n }\n\n function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n return prefixStyle(style);\n }\n\n function onChangeValue(value, prop) {\n return supportedValue(prop, toCssValue(value)) || value;\n }\n\n return {\n onProcessRule: onProcessRule,\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\nexport default jssVendorPrefixer;\n","import functions from 'jss-plugin-rule-value-function';\nimport global from 'jss-plugin-global';\nimport nested from 'jss-plugin-nested';\nimport camelCase from 'jss-plugin-camel-case';\nimport defaultUnit from 'jss-plugin-default-unit';\nimport vendorPrefixer from 'jss-plugin-vendor-prefixer';\nimport propsSort from 'jss-plugin-props-sort'; // Subset of jss-preset-default with only the plugins the Material-UI components are using.\n\nexport default function jssPreset() {\n return {\n plugins: [functions(), global(), nested(), camelCase(), defaultUnit(), // Disable the vendor prefixer server-side, it does nothing.\n // This way, we can get a performance boost.\n // In the documentation, we are using `autoprefixer` to solve this problem.\n typeof window === 'undefined' ? null : vendorPrefixer(), propsSort()]\n };\n}","/**\n * Sort props by length.\n */\nfunction jssPropsSort() {\n var sort = function sort(prop0, prop1) {\n if (prop0.length === prop1.length) {\n return prop0 > prop1 ? 1 : -1;\n }\n\n return prop0.length - prop1.length;\n };\n\n return {\n onProcessStyle: function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n var newStyle = {};\n var props = Object.keys(style).sort(sort);\n\n for (var i = 0; i < props.length; i++) {\n newStyle[props[i]] = style[props[i]];\n }\n\n return newStyle;\n }\n };\n}\n\nexport default jssPropsSort;\n","// Used https://github.com/thinkloop/multi-key-cache as inspiration\nvar multiKeyStore = {\n set: function set(cache, key1, key2, value) {\n var subCache = cache.get(key1);\n\n if (!subCache) {\n subCache = new Map();\n cache.set(key1, subCache);\n }\n\n subCache.set(key2, value);\n },\n get: function get(cache, key1, key2) {\n var subCache = cache.get(key1);\n return subCache ? subCache.get(key2) : undefined;\n },\n delete: function _delete(cache, key1, key2) {\n var subCache = cache.get(key1);\n subCache.delete(key2);\n }\n};\nexport default multiKeyStore;","/* eslint-disable import/prefer-default-export */\n// Global index counter to preserve source order.\n// We create the style sheet during the creation of the component,\n// children are handled after the parents, so the order of style elements would be parent->child.\n// It is a problem though when a parent passes a className\n// which needs to override any child's styles.\n// StyleSheet of the child has a higher specificity, because of the source order.\n// So our solution is to render sheets them in the reverse order child->sheet, so\n// that parent has a higher specificity.\nvar indexCounter = -1e9;\nexport function increment() {\n indexCounter += 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (indexCounter >= 0) {\n console.warn(['Material-UI: You might have a memory leak.', 'The indexCounter is not supposed to grow that much.'].join('\\n'));\n }\n }\n\n return indexCounter;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { deepmerge } from '@material-ui/utils';\nimport noopTheme from './noopTheme';\nexport default function getStylesCreator(stylesOrCreator) {\n var themingEnabled = typeof stylesOrCreator === 'function';\n\n if (process.env.NODE_ENV !== 'production') {\n if (_typeof(stylesOrCreator) !== 'object' && !themingEnabled) {\n console.error(['Material-UI: The `styles` argument provided is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\\n'));\n }\n }\n\n return {\n create: function create(theme, name) {\n var styles;\n\n try {\n styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n if (themingEnabled === true && theme === noopTheme) {\n // TODO: prepend error message/name instead\n console.error(['Material-UI: The `styles` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n\n throw err;\n }\n\n if (!name || !theme.overrides || !theme.overrides[name]) {\n return styles;\n }\n\n var overrides = theme.overrides[name];\n\n var stylesWithOverrides = _extends({}, styles);\n\n Object.keys(overrides).forEach(function (key) {\n if (process.env.NODE_ENV !== 'production') {\n if (!stylesWithOverrides[key]) {\n console.warn(['Material-UI: You are trying to override a style that does not exist.', \"Fix the `\".concat(key, \"` key of `theme.overrides.\").concat(name, \"`.\")].join('\\n'));\n }\n }\n\n stylesWithOverrides[key] = deepmerge(stylesWithOverrides[key], overrides[key]);\n });\n return stylesWithOverrides;\n },\n options: {}\n };\n}","// We use the same empty object to ref count the styles that don't need a theme object.\nvar noopTheme = {};\nexport default noopTheme;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport { getDynamicStyles } from 'jss';\nimport mergeClasses from '../mergeClasses';\nimport multiKeyStore from './multiKeyStore';\nimport useTheme from '../useTheme';\nimport { StylesContext } from '../StylesProvider';\nimport { increment } from './indexCounter';\nimport getStylesCreator from '../getStylesCreator';\nimport noopTheme from '../getStylesCreator/noopTheme';\n\nfunction getClasses(_ref, classes, Component) {\n var state = _ref.state,\n stylesOptions = _ref.stylesOptions;\n\n if (stylesOptions.disableGeneration) {\n return classes || {};\n }\n\n if (!state.cacheClasses) {\n state.cacheClasses = {\n // Cache for the finalized classes value.\n value: null,\n // Cache for the last used classes prop pointer.\n lastProp: null,\n // Cache for the last used rendered classes pointer.\n lastJSS: {}\n };\n } // Tracks if either the rendered classes or classes prop has changed,\n // requiring the generation of a new finalized classes object.\n\n\n var generate = false;\n\n if (state.classes !== state.cacheClasses.lastJSS) {\n state.cacheClasses.lastJSS = state.classes;\n generate = true;\n }\n\n if (classes !== state.cacheClasses.lastProp) {\n state.cacheClasses.lastProp = classes;\n generate = true;\n }\n\n if (generate) {\n state.cacheClasses.value = mergeClasses({\n baseClasses: state.cacheClasses.lastJSS,\n newClasses: classes,\n Component: Component\n });\n }\n\n return state.cacheClasses.value;\n}\n\nfunction attach(_ref2, props) {\n var state = _ref2.state,\n theme = _ref2.theme,\n stylesOptions = _ref2.stylesOptions,\n stylesCreator = _ref2.stylesCreator,\n name = _ref2.name;\n\n if (stylesOptions.disableGeneration) {\n return;\n }\n\n var sheetManager = multiKeyStore.get(stylesOptions.sheetsManager, stylesCreator, theme);\n\n if (!sheetManager) {\n sheetManager = {\n refs: 0,\n staticSheet: null,\n dynamicStyles: null\n };\n multiKeyStore.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);\n }\n\n var options = _extends({}, stylesCreator.options, stylesOptions, {\n theme: theme,\n flip: typeof stylesOptions.flip === 'boolean' ? stylesOptions.flip : theme.direction === 'rtl'\n });\n\n options.generateId = options.serverGenerateClassName || options.generateClassName;\n var sheetsRegistry = stylesOptions.sheetsRegistry;\n\n if (sheetManager.refs === 0) {\n var staticSheet;\n\n if (stylesOptions.sheetsCache) {\n staticSheet = multiKeyStore.get(stylesOptions.sheetsCache, stylesCreator, theme);\n }\n\n var styles = stylesCreator.create(theme, name);\n\n if (!staticSheet) {\n staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends({\n link: false\n }, options));\n staticSheet.attach();\n\n if (stylesOptions.sheetsCache) {\n multiKeyStore.set(stylesOptions.sheetsCache, stylesCreator, theme, staticSheet);\n }\n }\n\n if (sheetsRegistry) {\n sheetsRegistry.add(staticSheet);\n }\n\n sheetManager.staticSheet = staticSheet;\n sheetManager.dynamicStyles = getDynamicStyles(styles);\n }\n\n if (sheetManager.dynamicStyles) {\n var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends({\n link: true\n }, options));\n dynamicSheet.update(props);\n dynamicSheet.attach();\n state.dynamicSheet = dynamicSheet;\n state.classes = mergeClasses({\n baseClasses: sheetManager.staticSheet.classes,\n newClasses: dynamicSheet.classes\n });\n\n if (sheetsRegistry) {\n sheetsRegistry.add(dynamicSheet);\n }\n } else {\n state.classes = sheetManager.staticSheet.classes;\n }\n\n sheetManager.refs += 1;\n}\n\nfunction update(_ref3, props) {\n var state = _ref3.state;\n\n if (state.dynamicSheet) {\n state.dynamicSheet.update(props);\n }\n}\n\nfunction detach(_ref4) {\n var state = _ref4.state,\n theme = _ref4.theme,\n stylesOptions = _ref4.stylesOptions,\n stylesCreator = _ref4.stylesCreator;\n\n if (stylesOptions.disableGeneration) {\n return;\n }\n\n var sheetManager = multiKeyStore.get(stylesOptions.sheetsManager, stylesCreator, theme);\n sheetManager.refs -= 1;\n var sheetsRegistry = stylesOptions.sheetsRegistry;\n\n if (sheetManager.refs === 0) {\n multiKeyStore.delete(stylesOptions.sheetsManager, stylesCreator, theme);\n stylesOptions.jss.removeStyleSheet(sheetManager.staticSheet);\n\n if (sheetsRegistry) {\n sheetsRegistry.remove(sheetManager.staticSheet);\n }\n }\n\n if (state.dynamicSheet) {\n stylesOptions.jss.removeStyleSheet(state.dynamicSheet);\n\n if (sheetsRegistry) {\n sheetsRegistry.remove(state.dynamicSheet);\n }\n }\n}\n\nfunction useSynchronousEffect(func, values) {\n var key = React.useRef([]);\n var output; // Store \"generation\" key. Just returns a new object every time\n\n var currentKey = React.useMemo(function () {\n return {};\n }, values); // eslint-disable-line react-hooks/exhaustive-deps\n // \"the first render\", or \"memo dropped the value\"\n\n if (key.current !== currentKey) {\n key.current = currentKey;\n output = func();\n }\n\n React.useEffect(function () {\n return function () {\n if (output) {\n output();\n }\n };\n }, [currentKey] // eslint-disable-line react-hooks/exhaustive-deps\n );\n}\n\nexport default function makeStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var name = options.name,\n classNamePrefixOption = options.classNamePrefix,\n Component = options.Component,\n _options$defaultTheme = options.defaultTheme,\n defaultTheme = _options$defaultTheme === void 0 ? noopTheme : _options$defaultTheme,\n stylesOptions2 = _objectWithoutProperties(options, [\"name\", \"classNamePrefix\", \"Component\", \"defaultTheme\"]);\n\n var stylesCreator = getStylesCreator(stylesOrCreator);\n var classNamePrefix = name || classNamePrefixOption || 'makeStyles';\n stylesCreator.options = {\n index: increment(),\n name: name,\n meta: classNamePrefix,\n classNamePrefix: classNamePrefix\n };\n\n var useStyles = function useStyles() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var theme = useTheme() || defaultTheme;\n\n var stylesOptions = _extends({}, React.useContext(StylesContext), stylesOptions2);\n\n var instance = React.useRef();\n var shouldUpdate = React.useRef();\n useSynchronousEffect(function () {\n var current = {\n name: name,\n state: {},\n stylesCreator: stylesCreator,\n stylesOptions: stylesOptions,\n theme: theme\n };\n attach(current, props);\n shouldUpdate.current = false;\n instance.current = current;\n return function () {\n detach(current);\n };\n }, [theme, stylesCreator]);\n React.useEffect(function () {\n if (shouldUpdate.current) {\n update(instance.current, props);\n }\n\n shouldUpdate.current = true;\n });\n var classes = getClasses(instance.current, props.classes, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(classes);\n }\n\n return classes;\n };\n\n return useStyles;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getDisplayName } from '@material-ui/utils';\nexport default function mergeClasses() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var baseClasses = options.baseClasses,\n newClasses = options.newClasses,\n Component = options.Component;\n\n if (!newClasses) {\n return baseClasses;\n }\n\n var nextClasses = _extends({}, baseClasses);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof newClasses === 'string') {\n console.error([\"Material-UI: The value `\".concat(newClasses, \"` \") + \"provided to the classes prop of \".concat(getDisplayName(Component), \" is incorrect.\"), 'You might want to use the className prop instead.'].join('\\n'));\n return baseClasses;\n }\n }\n\n Object.keys(newClasses).forEach(function (key) {\n if (process.env.NODE_ENV !== 'production') {\n if (!baseClasses[key] && newClasses[key]) {\n console.error([\"Material-UI: The key `\".concat(key, \"` \") + \"provided to the classes prop is not implemented in \".concat(getDisplayName(Component), \".\"), \"You can only override one of the following: \".concat(Object.keys(baseClasses).join(','), \".\")].join('\\n'));\n }\n\n if (newClasses[key] && typeof newClasses[key] !== 'string') {\n console.error([\"Material-UI: The key `\".concat(key, \"` \") + \"provided to the classes prop is not valid for \".concat(getDisplayName(Component), \".\"), \"You need to provide a non empty string instead of: \".concat(newClasses[key], \".\")].join('\\n'));\n }\n }\n\n if (newClasses[key]) {\n nextClasses[key] = \"\".concat(baseClasses[key], \" \").concat(newClasses[key]);\n }\n });\n return nextClasses;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes, getDisplayName } from '@material-ui/utils';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport makeStyles from '../makeStyles';\n\nfunction omit(input, fields) {\n var output = {};\n Object.keys(input).forEach(function (prop) {\n if (fields.indexOf(prop) === -1) {\n output[prop] = input[prop];\n }\n });\n return output;\n} // styled-components's API removes the mapping between components and styles.\n// Using components as a low-level styling construct can be simpler.\n\n\nexport default function styled(Component) {\n var componentCreator = function componentCreator(style) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var name = options.name,\n stylesOptions = _objectWithoutProperties(options, [\"name\"]);\n\n if (process.env.NODE_ENV !== 'production' && Component === undefined) {\n throw new Error(['You are calling styled(Component)(style) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n\n var classNamePrefix = name;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n var displayName = getDisplayName(Component);\n\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n\n var stylesOrCreator = typeof style === 'function' ? function (theme) {\n return {\n root: function root(props) {\n return style(_extends({\n theme: theme\n }, props));\n }\n };\n } : {\n root: style\n };\n var useStyles = makeStyles(stylesOrCreator, _extends({\n Component: Component,\n name: name || Component.displayName,\n classNamePrefix: classNamePrefix\n }, stylesOptions));\n var filterProps;\n var propTypes = {};\n\n if (style.filterProps) {\n filterProps = style.filterProps;\n delete style.filterProps;\n }\n /* eslint-disable react/forbid-foreign-prop-types */\n\n\n if (style.propTypes) {\n propTypes = style.propTypes;\n delete style.propTypes;\n }\n /* eslint-enable react/forbid-foreign-prop-types */\n\n\n var StyledComponent = /*#__PURE__*/React.forwardRef(function StyledComponent(props, ref) {\n var children = props.children,\n classNameProp = props.className,\n clone = props.clone,\n ComponentProp = props.component,\n other = _objectWithoutProperties(props, [\"children\", \"className\", \"clone\", \"component\"]);\n\n var classes = useStyles(props);\n var className = clsx(classes.root, classNameProp);\n var spread = other;\n\n if (filterProps) {\n spread = omit(spread, filterProps);\n }\n\n if (clone) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n className: clsx(children.props.className, className)\n }, spread));\n }\n\n if (typeof children === 'function') {\n return children(_extends({\n className: className\n }, spread));\n }\n\n var FinalComponent = ComponentProp || Component;\n return /*#__PURE__*/React.createElement(FinalComponent, _extends({\n ref: ref,\n className: className\n }, spread), children);\n });\n process.env.NODE_ENV !== \"production\" ? StyledComponent.propTypes = _extends({\n /**\n * A render function or node.\n */\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the component will recycle it's children HTML element.\n * It's using `React.cloneElement` internally.\n *\n * This prop will be deprecated and removed in v5\n */\n clone: chainPropTypes(PropTypes.bool, function (props) {\n if (props.clone && props.component) {\n return new Error('You can not use the clone and component prop at the same time.');\n }\n\n return null;\n }),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType\n }, propTypes) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n StyledComponent.displayName = \"Styled(\".concat(classNamePrefix, \")\");\n }\n\n hoistNonReactStatics(StyledComponent, Component);\n return StyledComponent;\n };\n\n return componentCreator;\n}","import React from 'react';\nvar ThemeContext = React.createContext(null);\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\n\nexport default ThemeContext;","import React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n var theme = React.useContext(ThemeContext);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { chainPropTypes, getDisplayName } from '@material-ui/utils';\nimport makeStyles from '../makeStyles';\nimport getThemeProps from '../getThemeProps';\nimport useTheme from '../useTheme'; // Link a style sheet with a component.\n// It does not modify the component passed to it;\n// instead, it returns a new component, with a `classes` property.\n\nvar withStyles = function withStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return function (Component) {\n var defaultTheme = options.defaultTheme,\n _options$withTheme = options.withTheme,\n withTheme = _options$withTheme === void 0 ? false : _options$withTheme,\n name = options.name,\n stylesOptions = _objectWithoutProperties(options, [\"defaultTheme\", \"withTheme\", \"name\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withStyles(styles)(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n\n var classNamePrefix = name;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n var displayName = getDisplayName(Component);\n\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n\n var useStyles = makeStyles(stylesOrCreator, _extends({\n defaultTheme: defaultTheme,\n Component: Component,\n name: name || Component.displayName,\n classNamePrefix: classNamePrefix\n }, stylesOptions));\n var WithStyles = /*#__PURE__*/React.forwardRef(function WithStyles(props, ref) {\n var classesProp = props.classes,\n innerRef = props.innerRef,\n other = _objectWithoutProperties(props, [\"classes\", \"innerRef\"]); // The wrapper receives only user supplied props, which could be a subset of\n // the actual props Component might receive due to merging with defaultProps.\n // So copying it here would give us the same result in the wrapper as well.\n\n\n var classes = useStyles(_extends({}, Component.defaultProps, props));\n var theme;\n var more = other;\n\n if (typeof name === 'string' || withTheme) {\n // name and withTheme are invariant in the outer scope\n // eslint-disable-next-line react-hooks/rules-of-hooks\n theme = useTheme() || defaultTheme;\n\n if (name) {\n more = getThemeProps({\n theme: theme,\n name: name,\n props: other\n });\n } // Provide the theme to the wrapped component.\n // So we don't have to use the `withTheme()` Higher-order Component.\n\n\n if (withTheme && !more.theme) {\n more.theme = theme;\n }\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: innerRef || ref,\n classes: classes\n }, more));\n });\n process.env.NODE_ENV !== \"production\" ? WithStyles.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * Use that prop to pass a ref to the decorated component.\n * @deprecated\n */\n innerRef: chainPropTypes(PropTypes.oneOfType([PropTypes.func, PropTypes.object]), function (props) {\n if (props.innerRef == null) {\n return null;\n }\n\n return null; // return new Error(\n // 'Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' +\n // 'Refs are now automatically forwarded to the inner component.',\n // );\n })\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithStyles.displayName = \"WithStyles(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithStyles, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithStyles.Naked = Component;\n WithStyles.options = options;\n WithStyles.useStyles = useStyles;\n }\n\n return WithStyles;\n };\n};\n\nexport default withStyles;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { chainPropTypes, getDisplayName } from '@material-ui/utils';\nimport useTheme from '../useTheme';\nexport function withThemeCreator() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var defaultTheme = options.defaultTheme;\n\n var withTheme = function withTheme(Component) {\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n\n var WithTheme = /*#__PURE__*/React.forwardRef(function WithTheme(props, ref) {\n var innerRef = props.innerRef,\n other = _objectWithoutProperties(props, [\"innerRef\"]);\n\n var theme = useTheme() || defaultTheme;\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: innerRef || ref\n }, other));\n });\n process.env.NODE_ENV !== \"production\" ? WithTheme.propTypes = {\n /**\n * Use that prop to pass a ref to the decorated component.\n * @deprecated\n */\n innerRef: chainPropTypes(PropTypes.oneOfType([PropTypes.func, PropTypes.object]), function (props) {\n if (props.innerRef == null) {\n return null;\n }\n\n return new Error('Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' + 'Refs are now automatically forwarded to the inner component.');\n })\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithTheme.displayName = \"WithTheme(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithTheme, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithTheme.Naked = Component;\n }\n\n return WithTheme;\n };\n\n return withTheme;\n} // Provide the theme object as a prop to the input component.\n// It's an alternative API to useTheme().\n// We encourage the usage of useTheme() where possible.\n\nvar withTheme = withThemeCreator();\nexport default withTheme;","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport PropTypes from 'prop-types';\nimport merge from './merge'; // The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\n\nvar values = {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n};\nvar defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: function up(key) {\n return \"@media (min-width:\".concat(values[key], \"px)\");\n }\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n if (process.env.NODE_ENV !== 'production') {\n if (!props.theme) {\n console.error('Material-UI: You are calling a style function without a theme value.');\n }\n }\n\n if (Array.isArray(propValue)) {\n var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;\n return propValue.reduce(function (acc, item, index) {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n\n if (_typeof(propValue) === 'object') {\n var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;\n\n return Object.keys(propValue).reduce(function (acc, breakpoint) {\n acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);\n return acc;\n }, {});\n }\n\n var output = styleFromPropValue(propValue);\n return output;\n}\n\nfunction breakpoints(styleFunction) {\n var newStyleFunction = function newStyleFunction(props) {\n var base = styleFunction(props);\n var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;\n var extended = themeBreakpoints.keys.reduce(function (acc, key) {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction(_extends({\n theme: props.theme\n }, props[key]));\n }\n\n return acc;\n }, null);\n return merge(base, extended);\n };\n\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(_toConsumableArray(styleFunction.filterProps));\n return newStyleFunction;\n}\n\nexport default breakpoints;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\n\nfunction getPath(obj, path) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n return path.split('.').reduce(function (acc, item) {\n return acc && acc[item] ? acc[item] : null;\n }, obj);\n}\n\nfunction style(options) {\n var prop = options.prop,\n _options$cssProperty = options.cssProperty,\n cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,\n themeKey = options.themeKey,\n transform = options.transform;\n\n var fn = function fn(props) {\n if (props[prop] == null) {\n return null;\n }\n\n var propValue = props[prop];\n var theme = props.theme;\n var themeMapping = getPath(theme, themeKey) || {};\n\n var styleFromPropValue = function styleFromPropValue(propValueFinal) {\n var value;\n\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || propValueFinal;\n } else {\n value = getPath(themeMapping, propValueFinal) || propValueFinal;\n\n if (transform) {\n value = transform(value);\n }\n }\n\n if (cssProperty === false) {\n return value;\n }\n\n return _defineProperty({}, cssProperty, value);\n };\n\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n\n fn.propTypes = process.env.NODE_ENV !== 'production' ? _defineProperty({}, prop, responsivePropType) : {};\n fn.filterProps = [prop];\n return fn;\n}\n\nexport default style;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport merge from './merge';\n\nfunction compose() {\n for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {\n styles[_key] = arguments[_key];\n }\n\n var fn = function fn(props) {\n return styles.reduce(function (acc, style) {\n var output = style(props);\n\n if (output) {\n return merge(acc, output);\n }\n\n return acc;\n }, {});\n }; // Alternative approach that doesn't yield any performance gain.\n // const handlers = styles.reduce((acc, style) => {\n // style.filterProps.forEach(prop => {\n // acc[prop] = style;\n // });\n // return acc;\n // }, {});\n // const fn = props => {\n // return Object.keys(props).reduce((acc, prop) => {\n // if (handlers[prop]) {\n // return merge(acc, handlers[prop](props));\n // }\n // return acc;\n // }, {});\n // };\n\n\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce(function (acc, style) {\n return _extends(acc, style.propTypes);\n }, {}) : {};\n fn.filterProps = styles.reduce(function (acc, style) {\n return acc.concat(style.filterProps);\n }, []);\n return fn;\n}\n\nexport default compose;","import style from './style';\nimport compose from './compose';\n\nfunction getBorder(value) {\n if (typeof value !== 'number') {\n return value;\n }\n\n return \"\".concat(value, \"px solid\");\n}\n\nexport var border = style({\n prop: 'border',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderTop = style({\n prop: 'borderTop',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderRight = style({\n prop: 'borderRight',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderBottom = style({\n prop: 'borderBottom',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderLeft = style({\n prop: 'borderLeft',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderColor = style({\n prop: 'borderColor',\n themeKey: 'palette'\n});\nexport var borderRadius = style({\n prop: 'borderRadius',\n themeKey: 'shape'\n});\nvar borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);\nexport default borders;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport merge from './merge';\n\nfunction omit(input, fields) {\n var output = {};\n Object.keys(input).forEach(function (prop) {\n if (fields.indexOf(prop) === -1) {\n output[prop] = input[prop];\n }\n });\n return output;\n}\n\nfunction css(styleFunction) {\n var newStyleFunction = function newStyleFunction(props) {\n var output = styleFunction(props);\n\n if (props.css) {\n return _extends({}, merge(output, styleFunction(_extends({\n theme: props.theme\n }, props.css))), omit(props.css, [styleFunction.filterProps]));\n }\n\n return output;\n };\n\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n css: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['css'].concat(_toConsumableArray(styleFunction.filterProps));\n return newStyleFunction;\n}\n\nexport default css;","import style from './style';\nimport compose from './compose';\nexport var displayPrint = style({\n prop: 'displayPrint',\n cssProperty: false,\n transform: function transform(value) {\n return {\n '@media print': {\n display: value\n }\n };\n }\n});\nexport var displayRaw = style({\n prop: 'display'\n});\nexport var overflow = style({\n prop: 'overflow'\n});\nexport var textOverflow = style({\n prop: 'textOverflow'\n});\nexport var visibility = style({\n prop: 'visibility'\n});\nexport var whiteSpace = style({\n prop: 'whiteSpace'\n});\nexport default compose(displayPrint, displayRaw, overflow, textOverflow, visibility, whiteSpace);","import style from './style';\nimport compose from './compose';\nexport var flexBasis = style({\n prop: 'flexBasis'\n});\nexport var flexDirection = style({\n prop: 'flexDirection'\n});\nexport var flexWrap = style({\n prop: 'flexWrap'\n});\nexport var justifyContent = style({\n prop: 'justifyContent'\n});\nexport var alignItems = style({\n prop: 'alignItems'\n});\nexport var alignContent = style({\n prop: 'alignContent'\n});\nexport var order = style({\n prop: 'order'\n});\nexport var flex = style({\n prop: 'flex'\n});\nexport var flexGrow = style({\n prop: 'flexGrow'\n});\nexport var flexShrink = style({\n prop: 'flexShrink'\n});\nexport var alignSelf = style({\n prop: 'alignSelf'\n});\nexport var justifyItems = style({\n prop: 'justifyItems'\n});\nexport var justifySelf = style({\n prop: 'justifySelf'\n});\nvar flexbox = compose(flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf);\nexport default flexbox;","import style from './style';\nimport compose from './compose';\nexport var gridGap = style({\n prop: 'gridGap'\n});\nexport var gridColumnGap = style({\n prop: 'gridColumnGap'\n});\nexport var gridRowGap = style({\n prop: 'gridRowGap'\n});\nexport var gridColumn = style({\n prop: 'gridColumn'\n});\nexport var gridRow = style({\n prop: 'gridRow'\n});\nexport var gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport var gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport var gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport var gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport var gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport var gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport var gridArea = style({\n prop: 'gridArea'\n});\nvar grid = compose(gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from './style';\nimport compose from './compose';\nexport var color = style({\n prop: 'color',\n themeKey: 'palette'\n});\nexport var bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette'\n});\nvar palette = compose(color, bgcolor);\nexport default palette;","import style from './style';\nimport compose from './compose';\nexport var position = style({\n prop: 'position'\n});\nexport var zIndex = style({\n prop: 'zIndex',\n themeKey: 'zIndex'\n});\nexport var top = style({\n prop: 'top'\n});\nexport var right = style({\n prop: 'right'\n});\nexport var bottom = style({\n prop: 'bottom'\n});\nexport var left = style({\n prop: 'left'\n});\nexport default compose(position, zIndex, top, right, bottom, left);","import style from './style';\nvar boxShadow = style({\n prop: 'boxShadow',\n themeKey: 'shadows'\n});\nexport default boxShadow;","import style from './style';\nimport compose from './compose';\n\nfunction transform(value) {\n return value <= 1 ? \"\".concat(value * 100, \"%\") : value;\n}\n\nexport var width = style({\n prop: 'width',\n transform: transform\n});\nexport var maxWidth = style({\n prop: 'maxWidth',\n transform: transform\n});\nexport var minWidth = style({\n prop: 'minWidth',\n transform: transform\n});\nexport var height = style({\n prop: 'height',\n transform: transform\n});\nexport var maxHeight = style({\n prop: 'maxHeight',\n transform: transform\n});\nexport var minHeight = style({\n prop: 'minHeight',\n transform: transform\n});\nexport var sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: transform\n});\nexport var sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: transform\n});\nexport var boxSizing = style({\n prop: 'boxSizing'\n});\nvar sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import style from './style';\nimport compose from './compose';\nexport var fontFamily = style({\n prop: 'fontFamily',\n themeKey: 'typography'\n});\nexport var fontSize = style({\n prop: 'fontSize',\n themeKey: 'typography'\n});\nexport var fontStyle = style({\n prop: 'fontStyle',\n themeKey: 'typography'\n});\nexport var fontWeight = style({\n prop: 'fontWeight',\n themeKey: 'typography'\n});\nexport var letterSpacing = style({\n prop: 'letterSpacing'\n});\nexport var lineHeight = style({\n prop: 'lineHeight'\n});\nexport var textAlign = style({\n prop: 'textAlign'\n});\nvar typography = compose(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);\nexport default typography;","import { deepmerge } from '@material-ui/utils';\n\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n\n });\n}\n\nexport default merge;","export default function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n\n return cache[arg];\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nimport merge from './merge';\nimport memoize from './memoize';\nvar properties = {\n m: 'margin',\n p: 'padding'\n};\nvar directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nvar aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n}; // memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\n\nvar getCssProperties = memoize(function (prop) {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n\n var _prop$split = prop.split(''),\n _prop$split2 = _slicedToArray(_prop$split, 2),\n a = _prop$split2[0],\n b = _prop$split2[1];\n\n var property = properties[a];\n var direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(function (dir) {\n return property + dir;\n }) : [property + direction];\n});\nvar spacingKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];\nexport function createUnarySpacing(theme) {\n var themeSpacing = theme.spacing || 8;\n\n if (typeof themeSpacing === 'number') {\n return function (abs) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof abs !== 'number') {\n console.error(\"Material-UI: Expected spacing argument to be a number, got \".concat(abs, \".\"));\n }\n }\n\n return themeSpacing * abs;\n };\n }\n\n if (Array.isArray(themeSpacing)) {\n return function (abs) {\n if (process.env.NODE_ENV !== 'production') {\n if (abs > themeSpacing.length - 1) {\n console.error([\"Material-UI: The value provided (\".concat(abs, \") overflows.\"), \"The supported values are: \".concat(JSON.stringify(themeSpacing), \".\"), \"\".concat(abs, \" > \").concat(themeSpacing.length - 1, \", you need to add the missing values.\")].join('\\n'));\n }\n }\n\n return themeSpacing[abs];\n };\n }\n\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n console.error([\"Material-UI: The `theme.spacing` value (\".concat(themeSpacing, \") is invalid.\"), 'It should be a number, an array or a function.'].join('\\n'));\n }\n\n return function () {\n return undefined;\n };\n}\n\nfunction getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n\n var abs = Math.abs(propValue);\n var transformed = transformer(abs);\n\n if (propValue >= 0) {\n return transformed;\n }\n\n if (typeof transformed === 'number') {\n return -transformed;\n }\n\n return \"-\".concat(transformed);\n}\n\nfunction getStyleFromPropValue(cssProperties, transformer) {\n return function (propValue) {\n return cssProperties.reduce(function (acc, cssProperty) {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n };\n}\n\nfunction spacing(props) {\n var theme = props.theme;\n var transformer = createUnarySpacing(theme);\n return Object.keys(props).map(function (prop) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (spacingKeys.indexOf(prop) === -1) {\n return null;\n }\n\n var cssProperties = getCssProperties(prop);\n var styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n var propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n }).reduce(merge, {});\n}\n\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce(function (obj, key) {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport function isPlainObject(item) {\n return item && _typeof(item) === 'object' && item.constructor === Object;\n}\nexport default function deepmerge(target, source) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n clone: true\n };\n var output = options.clone ? _extends({}, target) : target;\n\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(function (key) {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n\n if (isPlainObject(source[key]) && key in target) {\n output[key] = deepmerge(target[key], source[key], options);\n } else {\n output[key] = source[key];\n }\n });\n }\n\n return output;\n}","export default function chainPropTypes(propType1, propType2) {\n if (process.env.NODE_ENV === 'production') {\n return function () {\n return null;\n };\n }\n\n return function validate() {\n return propType1.apply(void 0, arguments) || propType2.apply(void 0, arguments);\n };\n}","import PropTypes from 'prop-types';\nimport chainPropTypes from './chainPropTypes';\n\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n var _elementType$prototyp = elementType.prototype,\n prototype = _elementType$prototyp === void 0 ? {} : _elementType$prototyp;\n return Boolean(prototype.isReactComponent);\n}\n\nfunction acceptingRef(props, propName, componentName, location, propFullName) {\n var element = props[propName];\n var safePropName = propFullName || propName;\n\n if (element == null) {\n return null;\n }\n\n var warningHint;\n var elementType = element.type;\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n\n if (typeof elementType === 'function' && !isClassComponent(elementType)) {\n warningHint = 'Did you accidentally use a plain function component for an element instead?';\n }\n\n if (warningHint !== undefined) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an element that can hold a ref. \".concat(warningHint, \" \") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');\n }\n\n return null;\n}\n\nvar elementAcceptingRef = chainPropTypes(PropTypes.element, acceptingRef);\nelementAcceptingRef.isRequired = chainPropTypes(PropTypes.element.isRequired, acceptingRef);\nexport default elementAcceptingRef;","import * as PropTypes from 'prop-types';\nimport chainPropTypes from './chainPropTypes';\n\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n var _elementType$prototyp = elementType.prototype,\n prototype = _elementType$prototyp === void 0 ? {} : _elementType$prototyp;\n return Boolean(prototype.isReactComponent);\n}\n\nfunction elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var safePropName = propFullName || propName;\n\n if (propValue == null) {\n return null;\n }\n\n var warningHint;\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n\n if (typeof propValue === 'function' && !isClassComponent(propValue)) {\n warningHint = 'Did you accidentally provide a plain function component instead?';\n }\n\n if (warningHint !== undefined) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an element type that can hold a ref. \".concat(warningHint, \" \") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');\n }\n\n return null;\n}\n\nexport default chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n// This module is based on https://github.com/airbnb/prop-types-exact repository.\n// However, in order to reduce the number of dependencies and to remove some extra safe checks\n// the module was forked.\n// Only exported for test purposes.\nexport var specialProperty = \"exact-prop: \\u200B\";\nexport default function exactProp(propTypes) {\n if (process.env.NODE_ENV === 'production') {\n return propTypes;\n }\n\n return _extends({}, propTypes, _defineProperty({}, specialProperty, function (props) {\n var unsupportedProps = Object.keys(props).filter(function (prop) {\n return !propTypes.hasOwnProperty(prop);\n });\n\n if (unsupportedProps.length > 0) {\n return new Error(\"The following props are not supported: \".concat(unsupportedProps.map(function (prop) {\n return \"`\".concat(prop, \"`\");\n }).join(', '), \". Please remove them.\"));\n }\n\n return null;\n }));\n}","/**\n * WARNING: Don't import this directly.\n * Use `MuiError` from `@material-ui/utils/macros/MuiError.macro` instead.\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code) {\n // Apply babel-plugin-transform-template-literals in loose mode\n // loose mode is safe iff we're concatenating primitives\n // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose\n\n /* eslint-disable prefer-template */\n var url = 'https://material-ui.com/production-error/?code=' + code;\n\n for (var i = 1; i < arguments.length; i += 1) {\n // rest params over-transpile for this case\n // eslint-disable-next-line prefer-rest-params\n url += '&args[]=' + encodeURIComponent(arguments[i]);\n }\n\n return 'Minified Material-UI error #' + code + '; visit ' + url + ' for the full message.';\n /* eslint-enable prefer-template */\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { ForwardRef, Memo } from 'react-is'; // Simplified polyfill for IE 11 support\n// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3\n\nvar fnNameMatchRegex = /^\\s*function(?:\\s|\\s*\\/\\*.*\\*\\/\\s*)+([^(\\s/]*)\\s*/;\nexport function getFunctionName(fn) {\n var match = \"\".concat(fn).match(fnNameMatchRegex);\n var name = match && match[1];\n return name || '';\n}\n/**\n * @param {function} Component\n * @param {string} fallback\n * @returns {string | undefined}\n */\n\nfunction getFunctionComponentName(Component) {\n var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return Component.displayName || Component.name || getFunctionName(Component) || fallback;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var functionName = getFunctionComponentName(innerType);\n return outerType.displayName || (functionName !== '' ? \"\".concat(wrapperName, \"(\").concat(functionName, \")\") : wrapperName);\n}\n/**\n * cherry-pick from\n * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js\n * originally forked from recompose/getDisplayName with added IE 11 support\n *\n * @param {React.ReactType} Component\n * @returns {string | undefined}\n */\n\n\nexport default function getDisplayName(Component) {\n if (Component == null) {\n return undefined;\n }\n\n if (typeof Component === 'string') {\n return Component;\n }\n\n if (typeof Component === 'function') {\n return getFunctionComponentName(Component, 'Component');\n }\n\n if (_typeof(Component) === 'object') {\n switch (Component.$$typeof) {\n case ForwardRef:\n return getWrappedName(Component, Component.render, 'ForwardRef');\n\n case Memo:\n return getWrappedName(Component, Component.type, 'memo');\n\n default:\n return undefined;\n }\n }\n\n return undefined;\n}","export default function HTMLElementType(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n\n var propValue = props[propName];\n var safePropName = propFullName || propName;\n\n if (propValue == null) {\n return null;\n }\n\n if (propValue && propValue.nodeType !== 1) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an HTMLElement.\");\n }\n\n return null;\n}","/* eslint-disable */\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nexport default typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();","import PropTypes from 'prop-types';\nvar refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);\nexport default refType;","/**\n * Utils\n */\nfunction makeGetEdgeOfNeighbor(getPeriod, getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborInternal(date) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOffset;\n var previousPeriod = getPeriod(date) + offset;\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n\nfunction makeGetEnd(getBeginOfNextPeriod) {\n return function makeGetEndInternal(date) {\n return new Date(getBeginOfNextPeriod(date).getTime() - 1);\n };\n}\n\nfunction makeGetRange(functions) {\n return function makeGetRangeInternal(date) {\n return functions.map(function (fn) {\n return fn(date);\n });\n };\n}\n/**\n * Simple getters - getting a property of a given point in time\n */\n\n/**\n * Gets year from date.\n *\n * @param {Date|number|string} date Date to get year from.\n */\n\n\nexport function getYear(date) {\n if (date instanceof Date) {\n return date.getFullYear();\n }\n\n if (typeof date === 'number') {\n return date;\n }\n\n var year = parseInt(date, 10);\n\n if (typeof date === 'string' && !isNaN(year)) {\n return year;\n }\n\n throw new Error(\"Failed to get year from date: \".concat(date, \".\"));\n}\n/**\n * Gets month from date.\n *\n * @param {Date} date Date to get month from.\n */\n\nexport function getMonth(date) {\n if (date instanceof Date) {\n return date.getMonth();\n }\n\n throw new Error(\"Failed to get month from date: \".concat(date, \".\"));\n}\n/**\n * Gets human-readable month from date.\n *\n * @param {Date} date Date to get human-readable month from.\n */\n\nexport function getMonthHuman(date) {\n if (date instanceof Date) {\n return date.getMonth() + 1;\n }\n\n throw new Error(\"Failed to get human-readable month from date: \".concat(date, \".\"));\n}\n/**\n * Gets human-readable day of the month from date.\n *\n * @param {Date} date Date to get day of the month from.\n */\n\nexport function getDate(date) {\n if (date instanceof Date) {\n return date.getDate();\n }\n\n throw new Error(\"Failed to get year from date: \".concat(date, \".\"));\n}\n/**\n * Gets hours from date.\n *\n * @param {Date|string} date Date to get hours from.\n */\n\nexport function getHours(date) {\n if (date instanceof Date) {\n return date.getHours();\n }\n\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n\n if (datePieces.length >= 2) {\n var hoursString = datePieces[0];\n var hours = parseInt(hoursString, 10);\n\n if (!isNaN(hours)) {\n return hours;\n }\n }\n }\n\n throw new Error(\"Failed to get hours from date: \".concat(date, \".\"));\n}\n/**\n * Gets minutes from date.\n *\n * @param {Date|string} date Date to get minutes from.\n */\n\nexport function getMinutes(date) {\n if (date instanceof Date) {\n return date.getMinutes();\n }\n\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n\n if (datePieces.length >= 2) {\n var minutesString = datePieces[1] || 0;\n var minutes = parseInt(minutesString, 10);\n\n if (!isNaN(minutes)) {\n return minutes;\n }\n }\n }\n\n throw new Error(\"Failed to get minutes from date: \".concat(date, \".\"));\n}\n/**\n * Gets seconds from date.\n *\n * @param {Date|string} date Date to get seconds from.\n */\n\nexport function getSeconds(date) {\n if (date instanceof Date) {\n return date.getSeconds();\n }\n\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n\n if (datePieces.length >= 2) {\n var secondsString = datePieces[2] || 0;\n var seconds = parseInt(secondsString, 10);\n\n if (!isNaN(seconds)) {\n return seconds;\n }\n }\n }\n\n throw new Error(\"Failed to get seconds from date: \".concat(date, \".\"));\n}\n/**\n * Century\n */\n\nexport function getCenturyStart(date) {\n var year = getYear(date);\n var centuryStartYear = year + (-year + 1) % 100;\n var centuryStartDate = new Date();\n centuryStartDate.setFullYear(centuryStartYear, 0, 1);\n centuryStartDate.setHours(0, 0, 0, 0);\n return centuryStartDate;\n}\nexport var getPreviousCenturyStart = makeGetEdgeOfNeighbor(getYear, getCenturyStart, -100);\nexport var getNextCenturyStart = makeGetEdgeOfNeighbor(getYear, getCenturyStart, 100);\nexport var getCenturyEnd = makeGetEnd(getNextCenturyStart);\nexport var getPreviousCenturyEnd = makeGetEdgeOfNeighbor(getYear, getCenturyEnd, -100);\nexport var getNextCenturyEnd = makeGetEdgeOfNeighbor(getYear, getCenturyEnd, 100);\nexport var getCenturyRange = makeGetRange([getCenturyStart, getCenturyEnd]);\n/**\n * Decade\n */\n\nexport function getDecadeStart(date) {\n var year = getYear(date);\n var decadeStartYear = year + (-year + 1) % 10;\n var decadeStartDate = new Date();\n decadeStartDate.setFullYear(decadeStartYear, 0, 1);\n decadeStartDate.setHours(0, 0, 0, 0);\n return decadeStartDate;\n}\nexport var getPreviousDecadeStart = makeGetEdgeOfNeighbor(getYear, getDecadeStart, -10);\nexport var getNextDecadeStart = makeGetEdgeOfNeighbor(getYear, getDecadeStart, 10);\nexport var getDecadeEnd = makeGetEnd(getNextDecadeStart);\nexport var getPreviousDecadeEnd = makeGetEdgeOfNeighbor(getYear, getDecadeEnd, -10);\nexport var getNextDecadeEnd = makeGetEdgeOfNeighbor(getYear, getDecadeEnd, 10);\nexport var getDecadeRange = makeGetRange([getDecadeStart, getDecadeEnd]);\n/**\n * Year\n */\n\nexport function getYearStart(date) {\n var year = getYear(date);\n var yearStartDate = new Date();\n yearStartDate.setFullYear(year, 0, 1);\n yearStartDate.setHours(0, 0, 0, 0);\n return yearStartDate;\n}\nexport var getPreviousYearStart = makeGetEdgeOfNeighbor(getYear, getYearStart, -1);\nexport var getNextYearStart = makeGetEdgeOfNeighbor(getYear, getYearStart, 1);\nexport var getYearEnd = makeGetEnd(getNextYearStart);\nexport var getPreviousYearEnd = makeGetEdgeOfNeighbor(getYear, getYearEnd, -1);\nexport var getNextYearEnd = makeGetEdgeOfNeighbor(getYear, getYearEnd, 1);\nexport var getYearRange = makeGetRange([getYearStart, getYearEnd]);\n/**\n * Month\n */\n\nfunction makeGetEdgeOfNeighborMonth(getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborMonthInternal(date) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOffset;\n var year = getYear(date);\n var month = getMonth(date) + offset;\n var previousPeriod = new Date();\n previousPeriod.setFullYear(year, month, 1);\n previousPeriod.setHours(0, 0, 0, 0);\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n\nexport function getMonthStart(date) {\n var year = getYear(date);\n var month = getMonth(date);\n var monthStartDate = new Date();\n monthStartDate.setFullYear(year, month, 1);\n monthStartDate.setHours(0, 0, 0, 0);\n return monthStartDate;\n}\nexport var getPreviousMonthStart = makeGetEdgeOfNeighborMonth(getMonthStart, -1);\nexport var getNextMonthStart = makeGetEdgeOfNeighborMonth(getMonthStart, 1);\nexport var getMonthEnd = makeGetEnd(getNextMonthStart);\nexport var getPreviousMonthEnd = makeGetEdgeOfNeighborMonth(getMonthEnd, -1);\nexport var getNextMonthEnd = makeGetEdgeOfNeighborMonth(getMonthEnd, 1);\nexport var getMonthRange = makeGetRange([getMonthStart, getMonthEnd]);\n/**\n * Day\n */\n\nfunction makeGetEdgeOfNeighborDay(getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborDayInternal(date) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOffset;\n var year = getYear(date);\n var month = getMonth(date);\n var day = getDate(date) + offset;\n var previousPeriod = new Date();\n previousPeriod.setFullYear(year, month, day);\n previousPeriod.setHours(0, 0, 0, 0);\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n\nexport function getDayStart(date) {\n var year = getYear(date);\n var month = getMonth(date);\n var day = getDate(date);\n var dayStartDate = new Date();\n dayStartDate.setFullYear(year, month, day);\n dayStartDate.setHours(0, 0, 0, 0);\n return dayStartDate;\n}\nexport var getPreviousDayStart = makeGetEdgeOfNeighborDay(getDayStart, -1);\nexport var getNextDayStart = makeGetEdgeOfNeighborDay(getDayStart, 1);\nexport var getDayEnd = makeGetEnd(getNextDayStart);\nexport var getPreviousDayEnd = makeGetEdgeOfNeighborDay(getDayEnd, -1);\nexport var getNextDayEnd = makeGetEdgeOfNeighborDay(getDayEnd, 1);\nexport var getDayRange = makeGetRange([getDayStart, getDayEnd]);\n/**\n * Other\n */\n\n/**\n * Returns a number of days in a month of a given date.\n *\n * @param {Date} date Date.\n */\n\nexport function getDaysInMonth(date) {\n return getDate(getMonthEnd(date));\n}\n\nfunction padStart(num) {\n var val = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n var numStr = \"\".concat(num);\n\n if (numStr.length >= val) {\n return num;\n }\n\n return \"0000\".concat(numStr).slice(-val);\n}\n/**\n * Returns local hours and minutes (hh:mm).\n */\n\n\nexport function getHoursMinutes(date) {\n var hours = padStart(getHours(date));\n var minutes = padStart(getMinutes(date));\n return \"\".concat(hours, \":\").concat(minutes);\n}\n/**\n * Returns local hours, minutes and seconds (hh:mm:ss).\n */\n\nexport function getHoursMinutesSeconds(date) {\n var hours = padStart(getHours(date));\n var minutes = padStart(getMinutes(date));\n var seconds = padStart(getSeconds(date));\n return \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n}\n/**\n * Returns local month in ISO-like format (YYYY-MM).\n */\n\nexport function getISOLocalMonth(date) {\n var year = padStart(getYear(date), 4);\n var month = padStart(getMonthHuman(date));\n return \"\".concat(year, \"-\").concat(month);\n}\n/**\n * Returns local date in ISO-like format (YYYY-MM-DD).\n */\n\nexport function getISOLocalDate(date) {\n var year = padStart(getYear(date), 4);\n var month = padStart(getMonthHuman(date));\n var day = padStart(getDate(date));\n return \"\".concat(year, \"-\").concat(month, \"-\").concat(day);\n}\n/**\n * Returns local date & time in ISO-like format (YYYY-MM-DDThh:mm:ss).\n */\n\nexport function getISOLocalDateTime(date) {\n return \"\".concat(getISOLocalDate(date), \"T\").concat(getHoursMinutesSeconds(date));\n}","/**\r\n * Copyright (c) 2014-present, Facebook, Inc.\r\n * All rights reserved.\r\n *\r\n * This source code is licensed under the BSD-style license found in the\r\n * LICENSE file in the root directory of this source tree. An additional grant\r\n * of patent rights can be found in the PATENTS file in the same directory.\r\n */\r\n\r\nmodule.exports.Dispatcher = require('./lib/Dispatcher');\r\n","/**\r\n * Copyright (c) 2014-present, Facebook, Inc.\r\n * All rights reserved.\r\n *\r\n * This source code is licensed under the BSD-style license found in the\r\n * LICENSE file in the root directory of this source tree. An additional grant\r\n * of patent rights can be found in the PATENTS file in the same directory.\r\n *\r\n * @providesModule Dispatcher\r\n * \r\n * @preventMunge\r\n */\n'use strict';\n\nfunction _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; }\n\nvar invariant = require(\"fbjs/lib/invariant\");\n\nvar _prefix = 'ID_';\n/**\r\n * Dispatcher is used to broadcast payloads to registered callbacks. This is\r\n * different from generic pub-sub systems in two ways:\r\n *\r\n * 1) Callbacks are not subscribed to particular events. Every payload is\r\n * dispatched to every registered callback.\r\n * 2) Callbacks can be deferred in whole or part until other callbacks have\r\n * been executed.\r\n *\r\n * For example, consider this hypothetical flight destination form, which\r\n * selects a default city when a country is selected:\r\n *\r\n * var flightDispatcher = new Dispatcher();\r\n *\r\n * // Keeps track of which country is selected\r\n * var CountryStore = {country: null};\r\n *\r\n * // Keeps track of which city is selected\r\n * var CityStore = {city: null};\r\n *\r\n * // Keeps track of the base flight price of the selected city\r\n * var FlightPriceStore = {price: null}\r\n *\r\n * When a user changes the selected city, we dispatch the payload:\r\n *\r\n * flightDispatcher.dispatch({\r\n * actionType: 'city-update',\r\n * selectedCity: 'paris'\r\n * });\r\n *\r\n * This payload is digested by `CityStore`:\r\n *\r\n * flightDispatcher.register(function(payload) {\r\n * if (payload.actionType === 'city-update') {\r\n * CityStore.city = payload.selectedCity;\r\n * }\r\n * });\r\n *\r\n * When the user selects a country, we dispatch the payload:\r\n *\r\n * flightDispatcher.dispatch({\r\n * actionType: 'country-update',\r\n * selectedCountry: 'australia'\r\n * });\r\n *\r\n * This payload is digested by both stores:\r\n *\r\n * CountryStore.dispatchToken = flightDispatcher.register(function(payload) {\r\n * if (payload.actionType === 'country-update') {\r\n * CountryStore.country = payload.selectedCountry;\r\n * }\r\n * });\r\n *\r\n * When the callback to update `CountryStore` is registered, we save a reference\r\n * to the returned token. Using this token with `waitFor()`, we can guarantee\r\n * that `CountryStore` is updated before the callback that updates `CityStore`\r\n * needs to query its data.\r\n *\r\n * CityStore.dispatchToken = flightDispatcher.register(function(payload) {\r\n * if (payload.actionType === 'country-update') {\r\n * // `CountryStore.country` may not be updated.\r\n * flightDispatcher.waitFor([CountryStore.dispatchToken]);\r\n * // `CountryStore.country` is now guaranteed to be updated.\r\n *\r\n * // Select the default city for the new country\r\n * CityStore.city = getDefaultCityForCountry(CountryStore.country);\r\n * }\r\n * });\r\n *\r\n * The usage of `waitFor()` can be chained, for example:\r\n *\r\n * FlightPriceStore.dispatchToken =\r\n * flightDispatcher.register(function(payload) {\r\n * switch (payload.actionType) {\r\n * case 'country-update':\r\n * case 'city-update':\r\n * flightDispatcher.waitFor([CityStore.dispatchToken]);\r\n * FlightPriceStore.price =\r\n * getFlightPriceStore(CountryStore.country, CityStore.city);\r\n * break;\r\n * }\r\n * });\r\n *\r\n * The `country-update` payload will be guaranteed to invoke the stores'\r\n * registered callbacks in order: `CountryStore`, `CityStore`, then\r\n * `FlightPriceStore`.\r\n */\n\nvar Dispatcher = /*#__PURE__*/function () {\n function Dispatcher() {\n _defineProperty(this, \"_callbacks\", void 0);\n\n _defineProperty(this, \"_isDispatching\", void 0);\n\n _defineProperty(this, \"_isHandled\", void 0);\n\n _defineProperty(this, \"_isPending\", void 0);\n\n _defineProperty(this, \"_lastID\", void 0);\n\n _defineProperty(this, \"_pendingPayload\", void 0);\n\n this._callbacks = {};\n this._isDispatching = false;\n this._isHandled = {};\n this._isPending = {};\n this._lastID = 1;\n }\n /**\r\n * Registers a callback to be invoked with every dispatched payload. Returns\r\n * a token that can be used with `waitFor()`.\r\n */\n\n\n var _proto = Dispatcher.prototype;\n\n _proto.register = function register(callback) {\n var id = _prefix + this._lastID++;\n this._callbacks[id] = callback;\n return id;\n }\n /**\r\n * Removes a callback based on its token.\r\n */\n ;\n\n _proto.unregister = function unregister(id) {\n !this._callbacks[id] ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.unregister(...): `%s` does not map to a registered callback.', id) : invariant(false) : void 0;\n delete this._callbacks[id];\n }\n /**\r\n * Waits for the callbacks specified to be invoked before continuing execution\r\n * of the current callback. This method should only be used by a callback in\r\n * response to a dispatched payload.\r\n */\n ;\n\n _proto.waitFor = function waitFor(ids) {\n !this._isDispatching ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.waitFor(...): Must be invoked while dispatching.') : invariant(false) : void 0;\n\n for (var ii = 0; ii < ids.length; ii++) {\n var id = ids[ii];\n\n if (this._isPending[id]) {\n !this._isHandled[id] ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.waitFor(...): Circular dependency detected while ' + 'waiting for `%s`.', id) : invariant(false) : void 0;\n continue;\n }\n\n !this._callbacks[id] ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.waitFor(...): `%s` does not map to a registered callback.', id) : invariant(false) : void 0;\n\n this._invokeCallback(id);\n }\n }\n /**\r\n * Dispatches a payload to all registered callbacks.\r\n */\n ;\n\n _proto.dispatch = function dispatch(payload) {\n !!this._isDispatching ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch.') : invariant(false) : void 0;\n\n this._startDispatching(payload);\n\n try {\n for (var id in this._callbacks) {\n if (this._isPending[id]) {\n continue;\n }\n\n this._invokeCallback(id);\n }\n } finally {\n this._stopDispatching();\n }\n }\n /**\r\n * Is this Dispatcher currently dispatching.\r\n */\n ;\n\n _proto.isDispatching = function isDispatching() {\n return this._isDispatching;\n }\n /**\r\n * Call the callback stored with the given id. Also do some internal\r\n * bookkeeping.\r\n *\r\n * @internal\r\n */\n ;\n\n _proto._invokeCallback = function _invokeCallback(id) {\n this._isPending[id] = true;\n\n this._callbacks[id](this._pendingPayload);\n\n this._isHandled[id] = true;\n }\n /**\r\n * Set up bookkeeping needed when dispatching.\r\n *\r\n * @internal\r\n */\n ;\n\n _proto._startDispatching = function _startDispatching(payload) {\n for (var id in this._callbacks) {\n this._isPending[id] = false;\n this._isHandled[id] = false;\n }\n\n this._pendingPayload = payload;\n this._isDispatching = true;\n }\n /**\r\n * Clear bookkeeping used for dispatching.\r\n *\r\n * @internal\r\n */\n ;\n\n _proto._stopDispatching = function _stopDispatching() {\n delete this._pendingPayload;\n this._isDispatching = false;\n };\n\n return Dispatcher;\n}();\n\nmodule.exports = Dispatcher;","\"use strict\";\n\nfunction noop() {\n return null;\n}\n\nnoop.isRequired = noop;\n\nfunction noopThunk() {\n return noop;\n}\n\nmodule.exports = {\n and: noopThunk,\n between: noopThunk,\n booleanSome: noopThunk,\n childrenHavePropXorChildren: noopThunk,\n childrenOf: noopThunk,\n childrenOfType: noopThunk,\n childrenSequenceOf: noopThunk,\n componentWithName: noopThunk,\n disallowedIf: noopThunk,\n elementType: noopThunk,\n empty: noopThunk,\n explicitNull: noopThunk,\n forbidExtraProps: Object,\n integer: noopThunk,\n keysOf: noopThunk,\n mutuallyExclusiveProps: noopThunk,\n mutuallyExclusiveTrueProps: noopThunk,\n nChildren: noopThunk,\n nonNegativeInteger: noop,\n nonNegativeNumber: noopThunk,\n numericString: noopThunk,\n object: noopThunk,\n or: noopThunk,\n predicate: noopThunk,\n range: noopThunk,\n ref: noopThunk,\n requiredBy: noopThunk,\n restrictedProp: noopThunk,\n sequenceOf: noopThunk,\n shape: noopThunk,\n stringEndsWith: noopThunk,\n stringStartsWith: noopThunk,\n uniqueArray: noopThunk,\n uniqueArrayOf: noopThunk,\n valuesOf: noopThunk,\n withShape: noopThunk\n};\n//# sourceMappingURL=index.js.map","module.exports = process.env.NODE_ENV === 'production' ? require('./build/mocks') : require('./build');\n\n//# sourceMappingURL=index.js.map","'use strict';\n\nvar ArraySpeciesCreate = require('es-abstract/2021/ArraySpeciesCreate');\nvar FlattenIntoArray = require('es-abstract/2021/FlattenIntoArray');\nvar Get = require('es-abstract/2021/Get');\nvar ToIntegerOrInfinity = require('es-abstract/2021/ToIntegerOrInfinity');\nvar ToLength = require('es-abstract/2021/ToLength');\nvar ToObject = require('es-abstract/2021/ToObject');\n\nmodule.exports = function flat() {\n\tvar O = ToObject(this);\n\tvar sourceLen = ToLength(Get(O, 'length'));\n\n\tvar depthNum = 1;\n\tif (arguments.length > 0 && typeof arguments[0] !== 'undefined') {\n\t\tdepthNum = ToIntegerOrInfinity(arguments[0]);\n\t}\n\n\tvar A = ArraySpeciesCreate(O, 0);\n\tFlattenIntoArray(A, O, sourceLen, 0, depthNum);\n\treturn A;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar callBind = require('call-bind');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar polyfill = getPolyfill();\nvar shim = require('./shim');\n\nvar boundFlat = callBind(polyfill);\n\ndefine(boundFlat, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundFlat;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isarray\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $ArrayPrototype = GetIntrinsic('%Array.prototype%');\nvar $RangeError = GetIntrinsic('%RangeError%');\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsIntegralNumber = require('./IsIntegralNumber');\n\nvar MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;\n\nvar $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (\n\t// eslint-disable-next-line no-proto, no-negated-condition\n\t[].__proto__ !== $ArrayPrototype\n\t\t? null\n\t\t: function (O, proto) {\n\t\t\tO.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign\n\t\t\treturn O;\n\t\t}\n);\n\n// https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate\n\nmodule.exports = function ArrayCreate(length) {\n\tif (!IsIntegralNumber(length) || length < 0) {\n\t\tthrow new $TypeError('Assertion failed: `length` must be an integer Number >= 0');\n\t}\n\tif (length > MAX_ARRAY_LENGTH) {\n\t\tthrow new $RangeError('length is greater than (2**32 - 1)');\n\t}\n\tvar proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;\n\tvar A = []; // steps 3, 5\n\tif (proto !== $ArrayPrototype) { // step 4\n\t\tif (!$setProto) {\n\t\t\tthrow new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');\n\t\t}\n\t\t$setProto(A, proto);\n\t}\n\tif (length !== 0) { // bypasses the need for step 6\n\t\tA.length = length;\n\t}\n\t/* step 6, the above as a shortcut for the below\n OrdinaryDefineOwnProperty(A, 'length', {\n '[[Configurable]]': false,\n '[[Enumerable]]': false,\n '[[Value]]': length,\n '[[Writable]]': true\n });\n */\n\treturn A;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $species = GetIntrinsic('%Symbol.species%', true);\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar ArrayCreate = require('./ArrayCreate');\nvar Get = require('./Get');\nvar IsArray = require('./IsArray');\nvar IsConstructor = require('./IsConstructor');\nvar IsIntegralNumber = require('./IsIntegralNumber');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate\n\nmodule.exports = function ArraySpeciesCreate(originalArray, length) {\n\tif (!IsIntegralNumber(length) || length < 0) {\n\t\tthrow new $TypeError('Assertion failed: length must be an integer >= 0');\n\t}\n\n\tvar isArray = IsArray(originalArray);\n\tif (!isArray) {\n\t\treturn ArrayCreate(length);\n\t}\n\n\tvar C = Get(originalArray, 'constructor');\n\t// TODO: figure out how to make a cross-realm normal Array, a same-realm Array\n\t// if (IsConstructor(C)) {\n\t// \tif C is another realm's Array, C = undefined\n\t// \tObject.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?\n\t// }\n\tif ($species && Type(C) === 'Object') {\n\t\tC = Get(C, $species);\n\t\tif (C === null) {\n\t\t\tC = void 0;\n\t\t}\n\t}\n\n\tif (typeof C === 'undefined') {\n\t\treturn ArrayCreate(length);\n\t}\n\tif (!IsConstructor(C)) {\n\t\tthrow new $TypeError('C must be a constructor');\n\t}\n\treturn new C(length); // Construct(C, length);\n};\n\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsArray = require('./IsArray');\n\nvar $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-call\n\nmodule.exports = function Call(F, V) {\n\tvar argumentsList = arguments.length > 2 ? arguments[2] : [];\n\tif (!IsArray(argumentsList)) {\n\t\tthrow new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n\t}\n\treturn $apply(F, V, argumentsList);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsExtensible = require('./IsExtensible');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar SameValue = require('./SameValue');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty\n\nmodule.exports = function CreateDataProperty(O, P, V) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\tvar oldDesc = OrdinaryGetOwnProperty(O, P);\n\tvar extensible = !oldDesc || IsExtensible(O);\n\tvar immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);\n\tif (immutable || !extensible) {\n\t\treturn false;\n\t}\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\t{\n\t\t\t'[[Configurable]]': true,\n\t\t\t'[[Enumerable]]': true,\n\t\t\t'[[Value]]': V,\n\t\t\t'[[Writable]]': true\n\t\t}\n\t);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar CreateDataProperty = require('./CreateDataProperty');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow\n\nmodule.exports = function CreateDataPropertyOrThrow(O, P, V) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\tvar success = CreateDataProperty(O, P, V);\n\tif (!success) {\n\t\tthrow new $TypeError('unable to create data property');\n\t}\n\treturn success;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar isPropertyDescriptor = require('../helpers/isPropertyDescriptor');\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar IsAccessorDescriptor = require('./IsAccessorDescriptor');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar SameValue = require('./SameValue');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow\n\nmodule.exports = function DefinePropertyOrThrow(O, P, desc) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\n\tvar Desc = isPropertyDescriptor({\n\t\tType: Type,\n\t\tIsDataDescriptor: IsDataDescriptor,\n\t\tIsAccessorDescriptor: IsAccessorDescriptor\n\t}, desc) ? desc : ToPropertyDescriptor(desc);\n\tif (!isPropertyDescriptor({\n\t\tType: Type,\n\t\tIsDataDescriptor: IsDataDescriptor,\n\t\tIsAccessorDescriptor: IsAccessorDescriptor\n\t}, Desc)) {\n\t\tthrow new $TypeError('Assertion failed: Desc is not a valid Property Descriptor');\n\t}\n\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\tDesc\n\t);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar Call = require('./Call');\nvar CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow');\nvar Get = require('./Get');\nvar HasProperty = require('./HasProperty');\nvar IsArray = require('./IsArray');\nvar LengthOfArrayLike = require('./LengthOfArrayLike');\nvar ToString = require('./ToString');\n\n// https://262.ecma-international.org/11.0/#sec-flattenintoarray\n\n// eslint-disable-next-line max-params\nmodule.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) {\n\tvar mapperFunction;\n\tif (arguments.length > 5) {\n\t\tmapperFunction = arguments[5];\n\t}\n\n\tvar targetIndex = start;\n\tvar sourceIndex = 0;\n\twhile (sourceIndex < sourceLen) {\n\t\tvar P = ToString(sourceIndex);\n\t\tvar exists = HasProperty(source, P);\n\t\tif (exists === true) {\n\t\t\tvar element = Get(source, P);\n\t\t\tif (typeof mapperFunction !== 'undefined') {\n\t\t\t\tif (arguments.length <= 6) {\n\t\t\t\t\tthrow new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided');\n\t\t\t\t}\n\t\t\t\telement = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);\n\t\t\t}\n\t\t\tvar shouldFlatten = false;\n\t\t\tif (depth > 0) {\n\t\t\t\tshouldFlatten = IsArray(element);\n\t\t\t}\n\t\t\tif (shouldFlatten) {\n\t\t\t\tvar elementLen = LengthOfArrayLike(element);\n\t\t\t\ttargetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);\n\t\t\t} else {\n\t\t\t\tif (targetIndex >= MAX_SAFE_INTEGER) {\n\t\t\t\t\tthrow new $TypeError('index too large');\n\t\t\t\t}\n\t\t\t\tCreateDataPropertyOrThrow(target, ToString(targetIndex), element);\n\t\t\t\ttargetIndex += 1;\n\t\t\t}\n\t\t}\n\t\tsourceIndex += 1;\n\t}\n\n\treturn targetIndex;\n};\n","'use strict';\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor\n\nmodule.exports = function FromPropertyDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn Desc;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tvar obj = {};\n\tif ('[[Value]]' in Desc) {\n\t\tobj.value = Desc['[[Value]]'];\n\t}\n\tif ('[[Writable]]' in Desc) {\n\t\tobj.writable = Desc['[[Writable]]'];\n\t}\n\tif ('[[Get]]' in Desc) {\n\t\tobj.get = Desc['[[Get]]'];\n\t}\n\tif ('[[Set]]' in Desc) {\n\t\tobj.set = Desc['[[Set]]'];\n\t}\n\tif ('[[Enumerable]]' in Desc) {\n\t\tobj.enumerable = Desc['[[Enumerable]]'];\n\t}\n\tif ('[[Configurable]]' in Desc) {\n\t\tobj.configurable = Desc['[[Configurable]]'];\n\t}\n\treturn obj;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar inspect = require('object-inspect');\n\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n/**\n * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p\n * 1. Assert: Type(O) is Object.\n * 2. Assert: IsPropertyKey(P) is true.\n * 3. Return O.[[Get]](P, O).\n */\n\nmodule.exports = function Get(O, P) {\n\t// 7.3.1.1\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\t// 7.3.1.2\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));\n\t}\n\t// 7.3.1.3\n\treturn O[P];\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty\n\nmodule.exports = function HasProperty(O, P) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: `O` must be an Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: `P` must be a Property Key');\n\t}\n\treturn P in O;\n};\n","'use strict';\n\nvar has = require('has');\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor\n\nmodule.exports = function IsAccessorDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tif (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isarray\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.11\n\nmodule.exports = require('is-callable');\n","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic.js');\n\nvar $construct = GetIntrinsic('%Reflect.construct%', true);\n\nvar DefinePropertyOrThrow = require('./DefinePropertyOrThrow');\ntry {\n\tDefinePropertyOrThrow({}, '', { '[[Get]]': function () {} });\n} catch (e) {\n\t// Accessor properties aren't supported\n\tDefinePropertyOrThrow = null;\n}\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor\n\nif (DefinePropertyOrThrow && $construct) {\n\tvar isConstructorMarker = {};\n\tvar badArrayLike = {};\n\tDefinePropertyOrThrow(badArrayLike, 'length', {\n\t\t'[[Get]]': function () {\n\t\t\tthrow isConstructorMarker;\n\t\t},\n\t\t'[[Enumerable]]': true\n\t});\n\n\tmodule.exports = function IsConstructor(argument) {\n\t\ttry {\n\t\t\t// `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`:\n\t\t\t$construct(argument, badArrayLike);\n\t\t} catch (err) {\n\t\t\treturn err === isConstructorMarker;\n\t\t}\n\t};\n} else {\n\tmodule.exports = function IsConstructor(argument) {\n\t\t// unfortunately there's no way to truly check this without try/catch `new argument` in old environments\n\t\treturn typeof argument === 'function' && !!argument.prototype;\n\t};\n}\n","'use strict';\n\nvar has = require('has');\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor\n\nmodule.exports = function IsDataDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tif (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Object = GetIntrinsic('%Object%');\n\nvar isPrimitive = require('../helpers/isPrimitive');\n\nvar $preventExtensions = $Object.preventExtensions;\nvar $isExtensible = $Object.isExtensible;\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o\n\nmodule.exports = $preventExtensions\n\t? function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj) && $isExtensible(obj);\n\t}\n\t: function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj);\n\t};\n","'use strict';\n\nvar abs = require('./abs');\nvar floor = require('./floor');\nvar Type = require('./Type');\n\nvar $isNaN = require('../helpers/isNaN');\nvar $isFinite = require('../helpers/isFinite');\n\n// https://tc39.es/ecma262/#sec-isintegralnumber\n\nmodule.exports = function IsIntegralNumber(argument) {\n\tif (Type(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {\n\t\treturn false;\n\t}\n\tvar absValue = abs(argument);\n\treturn floor(absValue) === absValue;\n};\n","'use strict';\n\n// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey\n\nmodule.exports = function IsPropertyKey(argument) {\n\treturn typeof argument === 'string' || typeof argument === 'symbol';\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $match = GetIntrinsic('%Symbol.match%', true);\n\nvar hasRegExpMatcher = require('is-regex');\n\nvar ToBoolean = require('./ToBoolean');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isregexp\n\nmodule.exports = function IsRegExp(argument) {\n\tif (!argument || typeof argument !== 'object') {\n\t\treturn false;\n\t}\n\tif ($match) {\n\t\tvar isRegExp = argument[$match];\n\t\tif (typeof isRegExp !== 'undefined') {\n\t\t\treturn ToBoolean(isRegExp);\n\t\t}\n\t}\n\treturn hasRegExpMatcher(argument);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar Get = require('./Get');\nvar ToLength = require('./ToLength');\nvar Type = require('./Type');\n\n// https://262.ecma-international.org/11.0/#sec-lengthofarraylike\n\nmodule.exports = function LengthOfArrayLike(obj) {\n\tif (Type(obj) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: `obj` must be an Object');\n\t}\n\treturn ToLength(Get(obj, 'length'));\n};\n\n// TODO: use this all over\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = require('../helpers/getOwnPropertyDescriptor');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar callBound = require('call-bind/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\nvar has = require('has');\n\nvar IsArray = require('./IsArray');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar IsRegExp = require('./IsRegExp');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty\n\nmodule.exports = function OrdinaryGetOwnProperty(O, P) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: O must be an Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P must be a Property Key');\n\t}\n\tif (!has(O, P)) {\n\t\treturn void 0;\n\t}\n\tif (!$gOPD) {\n\t\t// ES3 / IE 8 fallback\n\t\tvar arrayLength = IsArray(O) && P === 'length';\n\t\tvar regexLastIndex = IsRegExp(O) && P === 'lastIndex';\n\t\treturn {\n\t\t\t'[[Configurable]]': !(arrayLength || regexLastIndex),\n\t\t\t'[[Enumerable]]': $isEnumerable(O, P),\n\t\t\t'[[Value]]': O[P],\n\t\t\t'[[Writable]]': true\n\t\t};\n\t}\n\treturn ToPropertyDescriptor($gOPD(O, P));\n};\n","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');\n","'use strict';\n\nvar $isNaN = require('../helpers/isNaN');\n\n// http://262.ecma-international.org/5.1/#sec-9.12\n\nmodule.exports = function SameValue(x, y) {\n\tif (x === y) { // 0 === -0, but they are not identical.\n\t\tif (x === 0) { return 1 / x === 1 / y; }\n\t\treturn true;\n\t}\n\treturn $isNaN(x) && $isNaN(y);\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.2\n\nmodule.exports = function ToBoolean(value) { return !!value; };\n","'use strict';\n\nvar ES5ToInteger = require('../5/ToInteger');\n\nvar ToNumber = require('./ToNumber');\n\n// https://www.ecma-international.org/ecma-262/11.0/#sec-tointeger\n\nmodule.exports = function ToInteger(value) {\n\tvar number = ToNumber(value);\n\tif (number !== 0) {\n\t\tnumber = ES5ToInteger(number);\n\t}\n\treturn number === 0 ? 0 : number;\n};\n","'use strict';\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar ToIntegerOrInfinity = require('./ToIntegerOrInfinity');\n\nmodule.exports = function ToLength(argument) {\n\tvar len = ToIntegerOrInfinity(argument);\n\tif (len <= 0) { return 0; } // includes converting -0 to +0\n\tif (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }\n\treturn len;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $Number = GetIntrinsic('%Number%');\nvar $RegExp = GetIntrinsic('%RegExp%');\nvar $parseInteger = GetIntrinsic('%parseInt%');\n\nvar callBound = require('call-bind/callBound');\nvar regexTester = require('../helpers/regexTester');\nvar isPrimitive = require('../helpers/isPrimitive');\n\nvar $strSlice = callBound('String.prototype.slice');\nvar isBinary = regexTester(/^0b[01]+$/i);\nvar isOctal = regexTester(/^0o[0-7]+$/i);\nvar isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);\nvar nonWS = ['\\u0085', '\\u200b', '\\ufffe'].join('');\nvar nonWSregex = new $RegExp('[' + nonWS + ']', 'g');\nvar hasNonWS = regexTester(nonWSregex);\n\n// whitespace from: https://es5.github.io/#x15.5.4.20\n// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324\nvar ws = [\n\t'\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003',\n\t'\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028',\n\t'\\u2029\\uFEFF'\n].join('');\nvar trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');\nvar $replace = callBound('String.prototype.replace');\nvar $trim = function (value) {\n\treturn $replace(value, trimRegex, '');\n};\n\nvar ToPrimitive = require('./ToPrimitive');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-tonumber\n\nmodule.exports = function ToNumber(argument) {\n\tvar value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);\n\tif (typeof value === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a number');\n\t}\n\tif (typeof value === 'bigint') {\n\t\tthrow new $TypeError('Conversion from \\'BigInt\\' to \\'number\\' is not allowed.');\n\t}\n\tif (typeof value === 'string') {\n\t\tif (isBinary(value)) {\n\t\t\treturn ToNumber($parseInteger($strSlice(value, 2), 2));\n\t\t} else if (isOctal(value)) {\n\t\t\treturn ToNumber($parseInteger($strSlice(value, 2), 8));\n\t\t} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {\n\t\t\treturn NaN;\n\t\t}\n\t\tvar trimmed = $trim(value);\n\t\tif (trimmed !== value) {\n\t\t\treturn ToNumber(trimmed);\n\t\t}\n\n\t}\n\treturn $Number(value);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Object = GetIntrinsic('%Object%');\n\nvar RequireObjectCoercible = require('./RequireObjectCoercible');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-toobject\n\nmodule.exports = function ToObject(value) {\n\tRequireObjectCoercible(value);\n\treturn $Object(value);\n};\n","'use strict';\n\nvar toPrimitive = require('es-to-primitive/es2015');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive\n\nmodule.exports = function ToPrimitive(input) {\n\tif (arguments.length > 1) {\n\t\treturn toPrimitive(input, arguments[1]);\n\t}\n\treturn toPrimitive(input);\n};\n","'use strict';\n\nvar has = require('has');\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar Type = require('./Type');\nvar ToBoolean = require('./ToBoolean');\nvar IsCallable = require('./IsCallable');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.5\n\nmodule.exports = function ToPropertyDescriptor(Obj) {\n\tif (Type(Obj) !== 'Object') {\n\t\tthrow new $TypeError('ToPropertyDescriptor requires an object');\n\t}\n\n\tvar desc = {};\n\tif (has(Obj, 'enumerable')) {\n\t\tdesc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n\t}\n\tif (has(Obj, 'configurable')) {\n\t\tdesc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n\t}\n\tif (has(Obj, 'value')) {\n\t\tdesc['[[Value]]'] = Obj.value;\n\t}\n\tif (has(Obj, 'writable')) {\n\t\tdesc['[[Writable]]'] = ToBoolean(Obj.writable);\n\t}\n\tif (has(Obj, 'get')) {\n\t\tvar getter = Obj.get;\n\t\tif (typeof getter !== 'undefined' && !IsCallable(getter)) {\n\t\t\tthrow new $TypeError('getter must be a function');\n\t\t}\n\t\tdesc['[[Get]]'] = getter;\n\t}\n\tif (has(Obj, 'set')) {\n\t\tvar setter = Obj.set;\n\t\tif (typeof setter !== 'undefined' && !IsCallable(setter)) {\n\t\t\tthrow new $TypeError('setter must be a function');\n\t\t}\n\t\tdesc['[[Set]]'] = setter;\n\t}\n\n\tif ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {\n\t\tthrow new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n\t}\n\treturn desc;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $String = GetIntrinsic('%String%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-tostring\n\nmodule.exports = function ToString(argument) {\n\tif (typeof argument === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a string');\n\t}\n\treturn $String(argument);\n};\n","'use strict';\n\nvar ES5Type = require('../5/Type');\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nmodule.exports = function Type(x) {\n\tif (typeof x === 'symbol') {\n\t\treturn 'Symbol';\n\t}\n\tif (typeof x === 'bigint') {\n\t\treturn 'BigInt';\n\t}\n\treturn ES5Type(x);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $abs = GetIntrinsic('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function abs(x) {\n\treturn $abs(x);\n};\n","'use strict';\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function floor(x) {\n\t// return x - modulo(x, 1);\n\treturn $floor(x);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// http://262.ecma-international.org/5.1/#sec-9.10\n\nmodule.exports = function CheckObjectCoercible(value, optMessage) {\n\tif (value == null) {\n\t\tthrow new $TypeError(optMessage || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar abs = require('./abs');\nvar floor = require('./floor');\nvar ToNumber = require('./ToNumber');\n\nvar $isNaN = require('../helpers/isNaN');\nvar $isFinite = require('../helpers/isFinite');\nvar $sign = require('../helpers/sign');\n\n// http://262.ecma-international.org/5.1/#sec-9.4\n\nmodule.exports = function ToInteger(value) {\n\tvar number = ToNumber(value);\n\tif ($isNaN(number)) { return 0; }\n\tif (number === 0 || !$isFinite(number)) { return number; }\n\treturn $sign(number) * floor(abs(number));\n};\n","'use strict';\n\nvar ToPrimitive = require('./ToPrimitive');\n\n// http://262.ecma-international.org/5.1/#sec-9.3\n\nmodule.exports = function ToNumber(value) {\n\tvar prim = ToPrimitive(value, Number);\n\tif (typeof prim !== 'string') {\n\t\treturn +prim; // eslint-disable-line no-implicit-coercion\n\t}\n\n\t// eslint-disable-next-line no-control-regex\n\tvar trimmed = prim.replace(/^[ \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u0085]+|[ \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u0085]+$/g, '');\n\tif ((/^0[ob]|^[+-]0x/).test(trimmed)) {\n\t\treturn NaN;\n\t}\n\n\treturn +trimmed; // eslint-disable-line no-implicit-coercion\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.1\n\nmodule.exports = require('es-to-primitive/es5');\n","'use strict';\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nmodule.exports = function Type(x) {\n\tif (x === null) {\n\t\treturn 'Null';\n\t}\n\tif (typeof x === 'undefined') {\n\t\treturn 'Undefined';\n\t}\n\tif (typeof x === 'function' || typeof x === 'object') {\n\t\treturn 'Object';\n\t}\n\tif (typeof x === 'number') {\n\t\treturn 'Number';\n\t}\n\tif (typeof x === 'boolean') {\n\t\treturn 'Boolean';\n\t}\n\tif (typeof x === 'string') {\n\t\treturn 'String';\n\t}\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $abs = GetIntrinsic('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function abs(x) {\n\treturn $abs(x);\n};\n","'use strict';\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function floor(x) {\n\t// return x - modulo(x, 1);\n\treturn $floor(x);\n};\n","'use strict';\n\n// TODO: remove, semver-major\n\nmodule.exports = require('get-intrinsic');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\n// node v0.6 has a bug where array lengths can be Set but not Defined\nvar hasArrayLengthDefineBug = Object.defineProperty && Object.defineProperty([], 'length', { value: 1 }).length === 0;\n\n// eslint-disable-next-line global-require\nvar isArray = hasArrayLengthDefineBug && require('../2020/IsArray'); // this does not depend on any other AOs.\n\nvar callBound = require('call-bind/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n// eslint-disable-next-line max-params\nmodule.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n\tif (!$defineProperty) {\n\t\tif (!IsDataDescriptor(desc)) {\n\t\t\t// ES3 does not support getters/setters\n\t\t\treturn false;\n\t\t}\n\t\tif (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// fallback for ES3\n\t\tif (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n\t\t\t// a non-enumerable existing property\n\t\t\treturn false;\n\t\t}\n\n\t\t// property does not exist at all, or exists but is enumerable\n\t\tvar V = desc['[[Value]]'];\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO[P] = V; // will use [[Define]]\n\t\treturn SameValue(O[P], V);\n\t}\n\tif (\n\t\thasArrayLengthDefineBug\n\t\t&& P === 'length'\n\t\t&& '[[Value]]' in desc\n\t\t&& isArray(O)\n\t\t&& O.length !== desc['[[Value]]']\n\t) {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO.length = desc['[[Value]]'];\n\t\treturn O.length === desc['[[Value]]'];\n\t}\n\n\t$defineProperty(O, P, FromPropertyDescriptor(desc));\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\n\nvar has = require('has');\n\nvar predicates = {\n\t// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n\t'Property Descriptor': function isPropertyDescriptor(Type, Desc) {\n\t\tif (Type(Desc) !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\tvar allowed = {\n\t\t\t'[[Configurable]]': true,\n\t\t\t'[[Enumerable]]': true,\n\t\t\t'[[Get]]': true,\n\t\t\t'[[Set]]': true,\n\t\t\t'[[Value]]': true,\n\t\t\t'[[Writable]]': true\n\t\t};\n\n\t\tfor (var key in Desc) { // eslint-disable-line\n\t\t\tif (has(Desc, key) && !allowed[key]) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tvar isData = has(Desc, '[[Value]]');\n\t\tvar IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');\n\t\tif (isData && IsAccessor) {\n\t\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t\t}\n\t\treturn true;\n\t}\n};\n\nmodule.exports = function assertRecord(Type, recordType, argumentName, value) {\n\tvar predicate = predicates[recordType];\n\tif (typeof predicate !== 'function') {\n\t\tthrow new $SyntaxError('unknown record type: ' + recordType);\n\t}\n\tif (!predicate(Type, value)) {\n\t\tthrow new $TypeError(argumentName + ' must be a ' + recordType);\n\t}\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\nvar $isNaN = Number.isNaN || function (a) { return a !== a; };\n\nmodule.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };\n","'use strict';\n\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar has = require('has');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nmodule.exports = function IsPropertyDescriptor(ES, Desc) {\n\tif (ES.Type(Desc) !== 'Object') {\n\t\treturn false;\n\t}\n\tvar allowed = {\n\t\t'[[Configurable]]': true,\n\t\t'[[Enumerable]]': true,\n\t\t'[[Get]]': true,\n\t\t'[[Set]]': true,\n\t\t'[[Value]]': true,\n\t\t'[[Writable]]': true\n\t};\n\n\tfor (var key in Desc) { // eslint-disable-line no-restricted-syntax\n\t\tif (has(Desc, key) && !allowed[key]) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {\n\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t}\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Math = GetIntrinsic('%Math%');\nvar $Number = GetIntrinsic('%Number%');\n\nmodule.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $test = GetIntrinsic('RegExp.prototype.test');\n\nvar callBind = require('call-bind');\n\nmodule.exports = function regexTester(regex) {\n\treturn callBind($test, regex);\n};\n","'use strict';\n\nmodule.exports = function sign(number) {\n\treturn number >= 0 ? 1 : -1;\n};\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n/* globals document: false */\nvar documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\treturn strClass === fnClass || strClass === genClass;\n\t};\n","'use strict';\n\nvar callBound = require('call-bind/callBound');\nvar hasToStringTag = require('has-tostringtag/shams')();\nvar has;\nvar $exec;\nvar isRegexMarker;\nvar badStringifier;\n\nif (hasToStringTag) {\n\thas = callBound('Object.prototype.hasOwnProperty');\n\t$exec = callBound('RegExp.prototype.exec');\n\tisRegexMarker = {};\n\n\tvar throwRegexMarker = function () {\n\t\tthrow isRegexMarker;\n\t};\n\tbadStringifier = {\n\t\ttoString: throwRegexMarker,\n\t\tvalueOf: throwRegexMarker\n\t};\n\n\tif (typeof Symbol.toPrimitive === 'symbol') {\n\t\tbadStringifier[Symbol.toPrimitive] = throwRegexMarker;\n\t}\n}\n\nvar $toString = callBound('Object.prototype.toString');\nvar gOPD = Object.getOwnPropertyDescriptor;\nvar regexClass = '[object RegExp]';\n\nmodule.exports = hasToStringTag\n\t// eslint-disable-next-line consistent-return\n\t? function isRegex(value) {\n\t\tif (!value || typeof value !== 'object') {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar descriptor = gOPD(value, 'lastIndex');\n\t\tvar hasLastIndexDataProperty = descriptor && has(descriptor, 'value');\n\t\tif (!hasLastIndexDataProperty) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\t$exec(value, badStringifier);\n\t\t} catch (e) {\n\t\t\treturn e === isRegexMarker;\n\t\t}\n\t}\n\t: function isRegex(value) {\n\t\t// In older browsers, typeof regex incorrectly returns 'function'\n\t\tif (!value || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn $toString(value) === regexClass;\n\t};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar match = String.prototype.match;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nvar inspectCustom = require('./util.inspect').custom;\nvar inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;\nvar toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('options \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n return String(obj);\n }\n if (typeof obj === 'bigint') {\n return String(obj) + 'n';\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = seen.slice();\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function') {\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + String(obj.nodeName).toLowerCase();\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '' + String(obj.nodeName).toLowerCase() + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + xs.join(', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {\n return obj[inspectSymbol]();\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + ys.join(', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return String(s).replace(/\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = str.replace(/(['\\\\])/g, '\\\\$1').replace(/[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = Array(opts.indent + 1).join(' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: Array(depth + 1).join(baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + xs.join(',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ((/[^\\w$]/).test(key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\treturn Array.prototype.flat || implementation;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimFlat() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tArray.prototype,\n\t\t{ flat: polyfill },\n\t\t{ flat: function () { return Array.prototype.flat !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n","module.exports = { \"default\": require(\"core-js/library/fn/object/assign\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();","\"use strict\";\n\nexports.__esModule = true;\n\nvar _assign = require(\"../core-js/object/assign\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = require(\"../core-js/object/set-prototype-of\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = require(\"../core-js/object/create\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};","require('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/_core').Object.assign;\n","require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","module.exports = function () { /* empty */ };\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = true;\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","module.exports = require('./_hide');\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","require('./_wks-define')('asyncIterator');\n","require('./_wks-define')('observable');\n","require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function toVal(mix) {\n\tvar k, y, str='';\n\n\tif (typeof mix === 'string' || typeof mix === 'number') {\n\t\tstr += mix;\n\t} else if (typeof mix === 'object') {\n\t\tif (Array.isArray(mix)) {\n\t\t\tfor (k=0; k < mix.length; k++) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tif (y = toVal(mix[k])) {\n\t\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\t\tstr += y;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (k in mix) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\tstr += k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn str;\n}\n\nexport default function () {\n\tvar i=0, tmp, x, str='';\n\twhile (i < arguments.length) {\n\t\tif (tmp = arguments[i++]) {\n\t\t\tif (x = toVal(tmp)) {\n\t\t\t\tstr && (str += ' ');\n\t\t\t\tstr += x\n\t\t\t}\n\t\t}\n\t}\n\treturn str;\n}\n","var CAN_USE_DOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n// Adapted from Modernizr\n// https://github.com/Modernizr/Modernizr/blob/acb3f0d9/feature-detects/dom/passiveeventlisteners.js#L26-L37\nfunction testPassiveEventListeners() {\n if (!CAN_USE_DOM) {\n return false;\n }\n\n if (!window.addEventListener || !window.removeEventListener || !Object.defineProperty) {\n return false;\n }\n\n var supportsPassiveOption = false;\n try {\n var opts = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line getter-return\n get: function () {\n function get() {\n supportsPassiveOption = true;\n }\n\n return get;\n }()\n });\n var noop = function noop() {};\n window.addEventListener('testPassiveEventSupport', noop, opts);\n window.removeEventListener('testPassiveEventSupport', noop, opts);\n } catch (e) {\n // do nothing\n }\n\n return supportsPassiveOption;\n}\n\nvar memoized = void 0;\n\nfunction canUsePassiveEventListeners() {\n if (memoized === undefined) {\n memoized = testPassiveEventListeners();\n }\n return memoized;\n}\n\nfunction normalizeEventOptions(eventOptions) {\n if (!eventOptions) {\n return undefined;\n }\n\n if (!canUsePassiveEventListeners()) {\n // If the browser does not support the passive option, then it is expecting\n // a boolean for the options argument to specify whether it should use\n // capture or not. In more modern browsers, this is passed via the `capture`\n // option, so let's just hoist that value up.\n return !!eventOptions.capture;\n }\n\n return eventOptions;\n}\n\n/* eslint-disable no-bitwise */\n\n/**\n * Generate a unique key for any set of event options\n */\nfunction eventOptionsKey(normalizedEventOptions) {\n if (!normalizedEventOptions) {\n return 0;\n }\n\n // If the browser does not support passive event listeners, the normalized\n // event options will be a boolean.\n if (normalizedEventOptions === true) {\n return 100;\n }\n\n // At this point, the browser supports passive event listeners, so we expect\n // the event options to be an object with possible properties of capture,\n // passive, and once.\n //\n // We want to consistently return the same value, regardless of the order of\n // these properties, so let's use binary maths to assign each property to a\n // bit, and then add those together (with an offset to account for the\n // booleans at the beginning of this function).\n var capture = normalizedEventOptions.capture << 0;\n var passive = normalizedEventOptions.passive << 1;\n var once = normalizedEventOptions.once << 2;\n return capture + passive + once;\n}\n\nfunction ensureCanMutateNextEventHandlers(eventHandlers) {\n if (eventHandlers.handlers === eventHandlers.nextHandlers) {\n // eslint-disable-next-line no-param-reassign\n eventHandlers.nextHandlers = eventHandlers.handlers.slice();\n }\n}\n\nfunction TargetEventHandlers(target) {\n this.target = target;\n this.events = {};\n}\n\nTargetEventHandlers.prototype.getEventHandlers = function () {\n function getEventHandlers(eventName, options) {\n var key = String(eventName) + ' ' + String(eventOptionsKey(options));\n\n if (!this.events[key]) {\n this.events[key] = {\n handlers: [],\n handleEvent: undefined\n };\n this.events[key].nextHandlers = this.events[key].handlers;\n }\n\n return this.events[key];\n }\n\n return getEventHandlers;\n}();\n\nTargetEventHandlers.prototype.handleEvent = function () {\n function handleEvent(eventName, options, event) {\n var eventHandlers = this.getEventHandlers(eventName, options);\n eventHandlers.handlers = eventHandlers.nextHandlers;\n eventHandlers.handlers.forEach(function (handler) {\n if (handler) {\n // We need to check for presence here because a handler function may\n // cause later handlers to get removed. This can happen if you for\n // instance have a waypoint that unmounts another waypoint as part of an\n // onEnter/onLeave handler.\n handler(event);\n }\n });\n }\n\n return handleEvent;\n}();\n\nTargetEventHandlers.prototype.add = function () {\n function add(eventName, listener, options) {\n var _this = this;\n\n // options has already been normalized at this point.\n var eventHandlers = this.getEventHandlers(eventName, options);\n\n ensureCanMutateNextEventHandlers(eventHandlers);\n\n if (eventHandlers.nextHandlers.length === 0) {\n eventHandlers.handleEvent = this.handleEvent.bind(this, eventName, options);\n\n this.target.addEventListener(eventName, eventHandlers.handleEvent, options);\n }\n\n eventHandlers.nextHandlers.push(listener);\n\n var isSubscribed = true;\n var unsubscribe = function () {\n function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n isSubscribed = false;\n\n ensureCanMutateNextEventHandlers(eventHandlers);\n var index = eventHandlers.nextHandlers.indexOf(listener);\n eventHandlers.nextHandlers.splice(index, 1);\n\n if (eventHandlers.nextHandlers.length === 0) {\n // All event handlers have been removed, so we want to remove the event\n // listener from the target node.\n\n if (_this.target) {\n // There can be a race condition where the target may no longer exist\n // when this function is called, e.g. when a React component is\n // unmounting. Guarding against this prevents the following error:\n //\n // Cannot read property 'removeEventListener' of undefined\n _this.target.removeEventListener(eventName, eventHandlers.handleEvent, options);\n }\n\n eventHandlers.handleEvent = undefined;\n }\n }\n\n return unsubscribe;\n }();\n return unsubscribe;\n }\n\n return add;\n}();\n\nvar EVENT_HANDLERS_KEY = '__consolidated_events_handlers__';\n\n// eslint-disable-next-line import/prefer-default-export\nfunction addEventListener(target, eventName, listener, options) {\n if (!target[EVENT_HANDLERS_KEY]) {\n // eslint-disable-next-line no-param-reassign\n target[EVENT_HANDLERS_KEY] = new TargetEventHandlers(target);\n }\n var normalizedEventOptions = normalizeEventOptions(options);\n return target[EVENT_HANDLERS_KEY].add(eventName, listener, normalizedEventOptions);\n}\n\nexport { addEventListener };\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function () {\n\tvar obj = {};\n\ttry {\n\t\torigDefineProperty(obj, 'x', { enumerable: false, value: obj });\n\t\t// eslint-disable-next-line no-unused-vars, no-restricted-syntax\n\t\tfor (var _ in obj) { // jscs:ignore disallowUnusedVariables\n\t\t\treturn false;\n\t\t}\n\t\treturn obj.x === obj;\n\t} catch (e) { /* this is IE 8. */\n\t\treturn false;\n\t}\n};\nvar supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object && (!isFunction(predicate) || !predicate())) {\n\t\treturn;\n\t}\n\tif (supportsDescriptors) {\n\t\torigDefineProperty(object, name, {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: value,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\tobject[name] = value;\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","'use strict';\n\nmodule.exports = function contains(other) {\n\tif (arguments.length < 1) {\n\t\tthrow new TypeError('1 argument is required');\n\t}\n\tif (typeof other !== 'object') {\n\t\tthrow new TypeError('Argument 1 (”other“) to Node.contains must be an instance of Node');\n\t}\n\n\tvar node = other;\n\tdo {\n\t\tif (this === node) {\n\t\t\treturn true;\n\t\t}\n\t\tif (node) {\n\t\t\tnode = node.parentNode;\n\t\t}\n\t} while (node);\n\n\treturn false;\n};\n","'use strict';\n\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar polyfill = getPolyfill();\nvar shim = require('./shim');\n\nvar boundContains = function contains(node, other) {\n\treturn polyfill.apply(node, [other]);\n};\n\ndefine(boundContains, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundContains;\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\tif (typeof document !== 'undefined') {\n\t\tif (document.contains) {\n\t\t\treturn document.contains;\n\t\t}\n\t\tif (document.body && document.body.contains) {\n\t\t\ttry {\n\t\t\t\tif (typeof document.body.contains.call(document, '') === 'boolean') {\n\t\t\t\t\treturn document.body.contains;\n\t\t\t\t}\n\t\t\t} catch (e) { /**/ }\n\t\t}\n\t}\n\treturn implementation;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimContains() {\n\tvar polyfill = getPolyfill();\n\tif (typeof document !== 'undefined') {\n\t\tdefine(\n\t\t\tdocument,\n\t\t\t{ contains: polyfill },\n\t\t\t{ contains: function () { return document.contains !== polyfill; } }\n\t\t);\n\t\tif (typeof Element !== 'undefined') {\n\t\t\tdefine(\n\t\t\t\tElement.prototype,\n\t\t\t\t{ contains: polyfill },\n\t\t\t\t{ contains: function () { return Element.prototype.contains !== polyfill; } }\n\t\t\t);\n\t\t}\n\t}\n\treturn polyfill;\n};\n","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// http://262.ecma-international.org/5.1/#sec-9.10\n\nmodule.exports = function CheckObjectCoercible(value, optMessage) {\n\tif (value == null) {\n\t\tthrow new $TypeError(optMessage || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';\n\nvar isPrimitive = require('./helpers/isPrimitive');\nvar isCallable = require('is-callable');\nvar isDate = require('is-date-object');\nvar isSymbol = require('is-symbol');\n\nvar ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {\n\tif (typeof O === 'undefined' || O === null) {\n\t\tthrow new TypeError('Cannot call method on ' + O);\n\t}\n\tif (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) {\n\t\tthrow new TypeError('hint must be \"string\" or \"number\"');\n\t}\n\tvar methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];\n\tvar method, result, i;\n\tfor (i = 0; i < methodNames.length; ++i) {\n\t\tmethod = O[methodNames[i]];\n\t\tif (isCallable(method)) {\n\t\t\tresult = method.call(O);\n\t\t\tif (isPrimitive(result)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t}\n\tthrow new TypeError('No default value');\n};\n\nvar GetMethod = function GetMethod(O, P) {\n\tvar func = O[P];\n\tif (func !== null && typeof func !== 'undefined') {\n\t\tif (!isCallable(func)) {\n\t\t\tthrow new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function');\n\t\t}\n\t\treturn func;\n\t}\n\treturn void 0;\n};\n\n// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive\nmodule.exports = function ToPrimitive(input) {\n\tif (isPrimitive(input)) {\n\t\treturn input;\n\t}\n\tvar hint = 'default';\n\tif (arguments.length > 1) {\n\t\tif (arguments[1] === String) {\n\t\t\thint = 'string';\n\t\t} else if (arguments[1] === Number) {\n\t\t\thint = 'number';\n\t\t}\n\t}\n\n\tvar exoticToPrim;\n\tif (hasSymbols) {\n\t\tif (Symbol.toPrimitive) {\n\t\t\texoticToPrim = GetMethod(input, Symbol.toPrimitive);\n\t\t} else if (isSymbol(input)) {\n\t\t\texoticToPrim = Symbol.prototype.valueOf;\n\t\t}\n\t}\n\tif (typeof exoticToPrim !== 'undefined') {\n\t\tvar result = exoticToPrim.call(input, hint);\n\t\tif (isPrimitive(result)) {\n\t\t\treturn result;\n\t\t}\n\t\tthrow new TypeError('unable to convert exotic object to primitive');\n\t}\n\tif (hint === 'default' && (isDate(input) || isSymbol(input))) {\n\t\thint = 'string';\n\t}\n\treturn ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);\n};\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nvar isPrimitive = require('./helpers/isPrimitive');\n\nvar isCallable = require('is-callable');\n\n// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8\nvar ES5internalSlots = {\n\t'[[DefaultValue]]': function (O) {\n\t\tvar actualHint;\n\t\tif (arguments.length > 1) {\n\t\t\tactualHint = arguments[1];\n\t\t} else {\n\t\t\tactualHint = toStr.call(O) === '[object Date]' ? String : Number;\n\t\t}\n\n\t\tif (actualHint === String || actualHint === Number) {\n\t\t\tvar methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'];\n\t\t\tvar value, i;\n\t\t\tfor (i = 0; i < methods.length; ++i) {\n\t\t\t\tif (isCallable(O[methods[i]])) {\n\t\t\t\t\tvalue = O[methods[i]]();\n\t\t\t\t\tif (isPrimitive(value)) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tthrow new TypeError('No default value');\n\t\t}\n\t\tthrow new TypeError('invalid [[DefaultValue]] hint supplied');\n\t}\n};\n\n// http://ecma-international.org/ecma-262/5.1/#sec-9.1\nmodule.exports = function ToPrimitive(input) {\n\tif (isPrimitive(input)) {\n\t\treturn input;\n\t}\n\tif (arguments.length > 1) {\n\t\treturn ES5internalSlots['[[DefaultValue]]'](input, arguments[1]);\n\t}\n\treturn ES5internalSlots['[[DefaultValue]]'](input);\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nvar validateFormat = process.env.NODE_ENV !== \"production\" ? function (format) {\n if (format === undefined) {\n throw new Error('invariant(...): Second argument must be a string.');\n }\n} : function (format) {};\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments to provide\n * information about what broke and what you were expecting.\n *\n * The invariant message will be stripped in production, but the invariant will\n * remain to ensure logic does not differ in production.\n */\n\nfunction invariant(condition, format) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return String(args[argIndex++]);\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // Skip invariant's own stack frame.\n\n throw error;\n }\n}\n\nmodule.exports = invariant;","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","import once from 'lodash.once';\n\nfunction filterDuplicates(arr) {\n return arr.filter(function (el, index, self) {\n return self.indexOf(el) === index;\n });\n}\n\nfunction fixLowercaseProperties(arr) {\n return arr.map(function (el) {\n if (!el || el.indexOf('-') === -1 || el.toLowerCase() !== el) {\n return el;\n }\n\n var splitEl = el.split('-');\n return \"\".concat(splitEl[0], \"-\").concat(splitEl[1].toUpperCase());\n });\n}\n\nfunction getUserLocalesInternal() {\n var languageList = [];\n\n if (typeof window !== 'undefined') {\n if (window.navigator.languages) {\n languageList = languageList.concat(window.navigator.languages);\n }\n\n if (window.navigator.language) {\n languageList.push(window.navigator.language);\n }\n\n if (window.navigator.userLanguage) {\n languageList.push(window.navigator.userLanguage);\n }\n\n if (window.navigator.browserLanguage) {\n languageList.push(window.navigator.browserLanguage);\n }\n\n if (window.navigator.systemLanguage) {\n languageList.push(window.navigator.systemLanguage);\n }\n }\n\n languageList.push('en-US'); // Fallback\n\n return fixLowercaseProperties(filterDuplicates(languageList));\n}\n\nexport var getUserLocales = once(getUserLocalesInternal);\n\nfunction getUserLocaleInternal() {\n return getUserLocales()[0];\n}\n\nexport var getUserLocale = once(getUserLocaleInternal);\nexport default getUserLocale;","'use strict';\n\nvar define = require('define-properties');\nvar isSymbol = require('is-symbol');\n\nvar globalKey = '__ global cache key __';\n/* istanbul ignore else */\n// eslint-disable-next-line no-restricted-properties\nif (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') {\n\t// eslint-disable-next-line no-restricted-properties\n\tglobalKey = Symbol['for'](globalKey);\n}\n\nvar trueThunk = function () {\n\treturn true;\n};\n\nvar ensureCache = function ensureCache() {\n\tif (!global[globalKey]) {\n\t\tvar properties = {};\n\t\tproperties[globalKey] = {};\n\t\tvar predicates = {};\n\t\tpredicates[globalKey] = trueThunk;\n\t\tdefine(global, properties, predicates);\n\t}\n\treturn global[globalKey];\n};\n\nvar cache = ensureCache();\n\nvar isPrimitive = function isPrimitive(val) {\n\treturn val === null || (typeof val !== 'object' && typeof val !== 'function');\n};\n\nvar getPrimitiveKey = function getPrimitiveKey(val) {\n\tif (isSymbol(val)) {\n\t\treturn Symbol.prototype.valueOf.call(val);\n\t}\n\treturn typeof val + ' | ' + String(val);\n};\n\nvar requirePrimitiveKey = function requirePrimitiveKey(val) {\n\tif (!isPrimitive(val)) {\n\t\tthrow new TypeError('key must not be an object');\n\t}\n};\n\nvar globalCache = {\n\tclear: function clear() {\n\t\tdelete global[globalKey];\n\t\tcache = ensureCache();\n\t},\n\n\t'delete': function deleteKey(key) {\n\t\trequirePrimitiveKey(key);\n\t\tdelete cache[getPrimitiveKey(key)];\n\t\treturn !globalCache.has(key);\n\t},\n\n\tget: function get(key) {\n\t\trequirePrimitiveKey(key);\n\t\treturn cache[getPrimitiveKey(key)];\n\t},\n\n\thas: function has(key) {\n\t\trequirePrimitiveKey(key);\n\t\treturn getPrimitiveKey(key) in cache;\n\t},\n\n\tset: function set(key, value) {\n\t\trequirePrimitiveKey(key);\n\t\tvar primitiveKey = getPrimitiveKey(key);\n\t\tvar props = {};\n\t\tprops[primitiveKey] = value;\n\t\tvar predicates = {};\n\t\tpredicates[primitiveKey] = trueThunk;\n\t\tdefine(cache, props, predicates);\n\t\treturn globalCache.has(key);\n\t},\n\n\tsetIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) {\n\t\tif (globalCache.has(key)) {\n\t\t\treturn globalCache.get(key);\n\t\t}\n\t\tvar item = valueThunk();\n\t\tglobalCache.set(key, item);\n\t\treturn item;\n\t}\n};\n\nmodule.exports = globalCache;\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar ReactIs = require('react-is');\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\n\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\n\nvar TYPE_STATICS = {};\nTYPE_STATICS[ReactIs.ForwardRef] = FORWARD_REF_STATICS;\n\nfunction getStatics(component) {\n if (ReactIs.isMemo(component)) {\n return MEMO_STATICS;\n }\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n/* globals document: false */\nvar documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\treturn strClass === fnClass || strClass === genClass;\n\t};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag;\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexport var isBrowser = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && (typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object' && document.nodeType === 9;\n\nexport default isBrowser;\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","Object.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = isTouchDevice;\nfunction isTouchDevice() {\n return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));\n}\nmodule.exports = exports['default'];","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar rtl = require(\"rtl-css-js\");\r\nvar convert = rtl['default'] || rtl;\r\nfunction jssRTL(_a) {\r\n var _b = _a === void 0 ? {} : _a, _c = _b.enabled, enabled = _c === void 0 ? true : _c, _d = _b.opt, opt = _d === void 0 ? 'out' : _d;\r\n return {\r\n onProcessStyle: function (style, rule, sheet) {\r\n if (rule.type === 'font-face') {\r\n return style;\r\n }\r\n if (!enabled) {\r\n if (typeof style.flip === 'boolean') {\r\n delete style.flip;\r\n }\r\n return style;\r\n }\r\n var flip = opt === 'out'; // If it's set to opt-out, then it should flip by default\r\n if (typeof sheet.options.flip === 'boolean') {\r\n flip = sheet.options.flip;\r\n }\r\n if (typeof style.flip === 'boolean') {\r\n flip = style.flip;\r\n delete style.flip;\r\n }\r\n if (!flip) {\r\n return style;\r\n }\r\n return convert(typeof rule.toJSON === 'function' ? rule.toJSON() : style);\r\n },\r\n };\r\n}\r\nexports.default = jssRTL;\r\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport isInBrowser from 'is-in-browser';\nimport warning from 'tiny-warning';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\n\nvar plainObjectConstrurctor = {}.constructor;\nfunction cloneStyle(style) {\n if (style == null || typeof style !== 'object') return style;\n if (Array.isArray(style)) return style.map(cloneStyle);\n if (style.constructor !== plainObjectConstrurctor) return style;\n var newStyle = {};\n\n for (var name in style) {\n newStyle[name] = cloneStyle(style[name]);\n }\n\n return newStyle;\n}\n\n/**\n * Create a rule instance.\n */\n\nfunction createRule(name, decl, options) {\n if (name === void 0) {\n name = 'unnamed';\n }\n\n var jss = options.jss;\n var declCopy = cloneStyle(decl);\n var rule = jss.plugins.onCreateRule(name, declCopy, options);\n if (rule) return rule; // It is an at-rule and it has no instance.\n\n if (name[0] === '@') {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Unknown rule \" + name) : void 0;\n }\n\n return null;\n}\n\nvar join = function join(value, by) {\n var result = '';\n\n for (var i = 0; i < value.length; i++) {\n // Remove !important from the value, it will be readded later.\n if (value[i] === '!important') break;\n if (result) result += by;\n result += value[i];\n }\n\n return result;\n};\n\n/**\n * Converts array values to string.\n *\n * `margin: [['5px', '10px']]` > `margin: 5px 10px;`\n * `border: ['1px', '2px']` > `border: 1px, 2px;`\n * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`\n * `color: ['red', !important]` > `color: red !important;`\n */\nvar toCssValue = function toCssValue(value, ignoreImportant) {\n if (ignoreImportant === void 0) {\n ignoreImportant = false;\n }\n\n if (!Array.isArray(value)) return value;\n var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.\n\n if (Array.isArray(value[0])) {\n for (var i = 0; i < value.length; i++) {\n if (value[i] === '!important') break;\n if (cssValue) cssValue += ', ';\n cssValue += join(value[i], ' ');\n }\n } else cssValue = join(value, ', '); // Add !important, because it was ignored.\n\n\n if (!ignoreImportant && value[value.length - 1] === '!important') {\n cssValue += ' !important';\n }\n\n return cssValue;\n};\n\n/**\n * Indent a string.\n * http://jsperf.com/array-join-vs-for\n */\nfunction indentStr(str, indent) {\n var result = '';\n\n for (var index = 0; index < indent; index++) {\n result += ' ';\n }\n\n return result + str;\n}\n/**\n * Converts a Rule to CSS string.\n */\n\n\nfunction toCss(selector, style, options) {\n if (options === void 0) {\n options = {};\n }\n\n var result = '';\n if (!style) return result;\n var _options = options,\n _options$indent = _options.indent,\n indent = _options$indent === void 0 ? 0 : _options$indent;\n var fallbacks = style.fallbacks;\n if (selector) indent++; // Apply fallbacks first.\n\n if (fallbacks) {\n // Array syntax {fallbacks: [{prop: value}]}\n if (Array.isArray(fallbacks)) {\n for (var index = 0; index < fallbacks.length; index++) {\n var fallback = fallbacks[index];\n\n for (var prop in fallback) {\n var value = fallback[prop];\n\n if (value != null) {\n if (result) result += '\\n';\n result += \"\" + indentStr(prop + \": \" + toCssValue(value) + \";\", indent);\n }\n }\n }\n } else {\n // Object syntax {fallbacks: {prop: value}}\n for (var _prop in fallbacks) {\n var _value = fallbacks[_prop];\n\n if (_value != null) {\n if (result) result += '\\n';\n result += \"\" + indentStr(_prop + \": \" + toCssValue(_value) + \";\", indent);\n }\n }\n }\n }\n\n for (var _prop2 in style) {\n var _value2 = style[_prop2];\n\n if (_value2 != null && _prop2 !== 'fallbacks') {\n if (result) result += '\\n';\n result += \"\" + indentStr(_prop2 + \": \" + toCssValue(_value2) + \";\", indent);\n }\n } // Allow empty style in this case, because properties will be added dynamically.\n\n\n if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.\n\n if (!selector) return result;\n indent--;\n if (result) result = \"\\n\" + result + \"\\n\";\n return indentStr(selector + \" {\" + result, indent) + indentStr('}', indent);\n}\n\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g;\nvar nativeEscape = typeof CSS !== 'undefined' && CSS.escape;\nvar escape = (function (str) {\n return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\\\$1');\n});\n\nvar BaseStyleRule =\n/*#__PURE__*/\nfunction () {\n function BaseStyleRule(key, style, options) {\n this.type = 'style';\n this.key = void 0;\n this.isProcessed = false;\n this.style = void 0;\n this.renderer = void 0;\n this.renderable = void 0;\n this.options = void 0;\n var sheet = options.sheet,\n Renderer = options.Renderer;\n this.key = key;\n this.options = options;\n this.style = style;\n if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();\n }\n /**\n * Get or set a style property.\n */\n\n\n var _proto = BaseStyleRule.prototype;\n\n _proto.prop = function prop(name, value, options) {\n // It's a getter.\n if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.\n\n var force = options ? options.force : false;\n if (!force && this.style[name] === value) return this;\n var newValue = value;\n\n if (!options || options.process !== false) {\n newValue = this.options.jss.plugins.onChangeValue(value, name, this);\n }\n\n var isEmpty = newValue == null || newValue === false;\n var isDefined = name in this.style; // Value is empty and wasn't defined before.\n\n if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.\n\n var remove = isEmpty && isDefined;\n if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.\n\n if (this.renderable && this.renderer) {\n if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);\n return this;\n }\n\n var sheet = this.options.sheet;\n\n if (sheet && sheet.attached) {\n process.env.NODE_ENV !== \"production\" ? warning(false, '[JSS] Rule is not linked. Missing sheet option \"link: true\".') : void 0;\n }\n\n return this;\n };\n\n return BaseStyleRule;\n}();\nvar StyleRule =\n/*#__PURE__*/\nfunction (_BaseStyleRule) {\n _inheritsLoose(StyleRule, _BaseStyleRule);\n\n function StyleRule(key, style, options) {\n var _this;\n\n _this = _BaseStyleRule.call(this, key, style, options) || this;\n _this.selectorText = void 0;\n _this.id = void 0;\n _this.renderable = void 0;\n var selector = options.selector,\n scoped = options.scoped,\n sheet = options.sheet,\n generateId = options.generateId;\n\n if (selector) {\n _this.selectorText = selector;\n } else if (scoped !== false) {\n _this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);\n _this.selectorText = \".\" + escape(_this.id);\n }\n\n return _this;\n }\n /**\n * Set selector string.\n * Attention: use this with caution. Most browsers didn't implement\n * selectorText setter, so this may result in rerendering of entire Style Sheet.\n */\n\n\n var _proto2 = StyleRule.prototype;\n\n /**\n * Apply rule to an element inline.\n */\n _proto2.applyTo = function applyTo(renderable) {\n var renderer = this.renderer;\n\n if (renderer) {\n var json = this.toJSON();\n\n for (var prop in json) {\n renderer.setProperty(renderable, prop, json[prop]);\n }\n }\n\n return this;\n }\n /**\n * Returns JSON representation of the rule.\n * Fallbacks are not supported.\n * Useful for inline styles.\n */\n ;\n\n _proto2.toJSON = function toJSON() {\n var json = {};\n\n for (var prop in this.style) {\n var value = this.style[prop];\n if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);\n }\n\n return json;\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto2.toString = function toString(options) {\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n var opts = link ? _extends({}, options, {\n allowEmpty: true\n }) : options;\n return toCss(this.selectorText, this.style, opts);\n };\n\n _createClass(StyleRule, [{\n key: \"selector\",\n set: function set(selector) {\n if (selector === this.selectorText) return;\n this.selectorText = selector;\n var renderer = this.renderer,\n renderable = this.renderable;\n if (!renderable || !renderer) return;\n var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.\n\n if (!hasChanged) {\n renderer.replaceRule(renderable, this);\n }\n }\n /**\n * Get selector string.\n */\n ,\n get: function get() {\n return this.selectorText;\n }\n }]);\n\n return StyleRule;\n}(BaseStyleRule);\nvar pluginStyleRule = {\n onCreateRule: function onCreateRule(name, style, options) {\n if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {\n return null;\n }\n\n return new StyleRule(name, style, options);\n }\n};\n\nvar defaultToStringOptions = {\n indent: 1,\n children: true\n};\nvar atRegExp = /@([\\w-]+)/;\n/**\n * Conditional rule for @media, @supports\n */\n\nvar ConditionalRule =\n/*#__PURE__*/\nfunction () {\n function ConditionalRule(key, styles, options) {\n this.type = 'conditional';\n this.at = void 0;\n this.key = void 0;\n this.query = void 0;\n this.rules = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n var atMatch = key.match(atRegExp);\n this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.\n\n this.query = options.name || \"@\" + this.at;\n this.options = options;\n this.rules = new RuleList(_extends({}, options, {\n parent: this\n }));\n\n for (var name in styles) {\n this.rules.add(name, styles[name]);\n }\n\n this.rules.process();\n }\n /**\n * Get a rule.\n */\n\n\n var _proto = ConditionalRule.prototype;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Create and register rule, run plugins.\n */\n ;\n\n _proto.addRule = function addRule(name, style, options) {\n var rule = this.rules.add(name, style, options);\n if (!rule) return null;\n this.options.jss.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n if (options === void 0) {\n options = defaultToStringOptions;\n }\n\n if (options.indent == null) options.indent = defaultToStringOptions.indent;\n if (options.children == null) options.children = defaultToStringOptions.children;\n\n if (options.children === false) {\n return this.query + \" {}\";\n }\n\n var children = this.rules.toString(options);\n return children ? this.query + \" {\\n\" + children + \"\\n}\" : '';\n };\n\n return ConditionalRule;\n}();\nvar keyRegExp = /@media|@supports\\s+/;\nvar pluginConditionalRule = {\n onCreateRule: function onCreateRule(key, styles, options) {\n return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;\n }\n};\n\nvar defaultToStringOptions$1 = {\n indent: 1,\n children: true\n};\nvar nameRegExp = /@keyframes\\s+([\\w-]+)/;\n/**\n * Rule for @keyframes\n */\n\nvar KeyframesRule =\n/*#__PURE__*/\nfunction () {\n function KeyframesRule(key, frames, options) {\n this.type = 'keyframes';\n this.at = '@keyframes';\n this.key = void 0;\n this.name = void 0;\n this.id = void 0;\n this.rules = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n var nameMatch = key.match(nameRegExp);\n\n if (nameMatch && nameMatch[1]) {\n this.name = nameMatch[1];\n } else {\n this.name = 'noname';\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Bad keyframes name \" + key) : void 0;\n }\n\n this.key = this.type + \"-\" + this.name;\n this.options = options;\n var scoped = options.scoped,\n sheet = options.sheet,\n generateId = options.generateId;\n this.id = scoped === false ? this.name : escape(generateId(this, sheet));\n this.rules = new RuleList(_extends({}, options, {\n parent: this\n }));\n\n for (var name in frames) {\n this.rules.add(name, frames[name], _extends({}, options, {\n parent: this\n }));\n }\n\n this.rules.process();\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = KeyframesRule.prototype;\n\n _proto.toString = function toString(options) {\n if (options === void 0) {\n options = defaultToStringOptions$1;\n }\n\n if (options.indent == null) options.indent = defaultToStringOptions$1.indent;\n if (options.children == null) options.children = defaultToStringOptions$1.children;\n\n if (options.children === false) {\n return this.at + \" \" + this.id + \" {}\";\n }\n\n var children = this.rules.toString(options);\n if (children) children = \"\\n\" + children + \"\\n\";\n return this.at + \" \" + this.id + \" {\" + children + \"}\";\n };\n\n return KeyframesRule;\n}();\nvar keyRegExp$1 = /@keyframes\\s+/;\nvar refRegExp = /\\$([\\w-]+)/g;\n\nvar findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {\n if (typeof val === 'string') {\n return val.replace(refRegExp, function (match, name) {\n if (name in keyframes) {\n return keyframes[name];\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Referenced keyframes rule \\\"\" + name + \"\\\" is not defined.\") : void 0;\n return match;\n });\n }\n\n return val;\n};\n/**\n * Replace the reference for a animation name.\n */\n\n\nvar replaceRef = function replaceRef(style, prop, keyframes) {\n var value = style[prop];\n var refKeyframe = findReferencedKeyframe(value, keyframes);\n\n if (refKeyframe !== value) {\n style[prop] = refKeyframe;\n }\n};\n\nvar plugin = {\n onCreateRule: function onCreateRule(key, frames, options) {\n return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;\n },\n // Animation name ref replacer.\n onProcessStyle: function onProcessStyle(style, rule, sheet) {\n if (rule.type !== 'style' || !sheet) return style;\n if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);\n if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);\n return style;\n },\n onChangeValue: function onChangeValue(val, prop, rule) {\n var sheet = rule.options.sheet;\n\n if (!sheet) {\n return val;\n }\n\n switch (prop) {\n case 'animation':\n return findReferencedKeyframe(val, sheet.keyframes);\n\n case 'animation-name':\n return findReferencedKeyframe(val, sheet.keyframes);\n\n default:\n return val;\n }\n }\n};\n\nvar KeyframeRule =\n/*#__PURE__*/\nfunction (_BaseStyleRule) {\n _inheritsLoose(KeyframeRule, _BaseStyleRule);\n\n function KeyframeRule() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;\n _this.renderable = void 0;\n return _this;\n }\n\n var _proto = KeyframeRule.prototype;\n\n /**\n * Generates a CSS string.\n */\n _proto.toString = function toString(options) {\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n var opts = link ? _extends({}, options, {\n allowEmpty: true\n }) : options;\n return toCss(this.key, this.style, opts);\n };\n\n return KeyframeRule;\n}(BaseStyleRule);\nvar pluginKeyframeRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n if (options.parent && options.parent.type === 'keyframes') {\n return new KeyframeRule(key, style, options);\n }\n\n return null;\n }\n};\n\nvar FontFaceRule =\n/*#__PURE__*/\nfunction () {\n function FontFaceRule(key, style, options) {\n this.type = 'font-face';\n this.at = '@font-face';\n this.key = void 0;\n this.style = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = FontFaceRule.prototype;\n\n _proto.toString = function toString(options) {\n if (Array.isArray(this.style)) {\n var str = '';\n\n for (var index = 0; index < this.style.length; index++) {\n str += toCss(this.at, this.style[index]);\n if (this.style[index + 1]) str += '\\n';\n }\n\n return str;\n }\n\n return toCss(this.at, this.style, options);\n };\n\n return FontFaceRule;\n}();\nvar keyRegExp$2 = /@font-face/;\nvar pluginFontFaceRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;\n }\n};\n\nvar ViewportRule =\n/*#__PURE__*/\nfunction () {\n function ViewportRule(key, style, options) {\n this.type = 'viewport';\n this.at = '@viewport';\n this.key = void 0;\n this.style = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = ViewportRule.prototype;\n\n _proto.toString = function toString(options) {\n return toCss(this.key, this.style, options);\n };\n\n return ViewportRule;\n}();\nvar pluginViewportRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;\n }\n};\n\nvar SimpleRule =\n/*#__PURE__*/\nfunction () {\n function SimpleRule(key, value, options) {\n this.type = 'simple';\n this.key = void 0;\n this.value = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.value = value;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n // eslint-disable-next-line no-unused-vars\n\n\n var _proto = SimpleRule.prototype;\n\n _proto.toString = function toString(options) {\n if (Array.isArray(this.value)) {\n var str = '';\n\n for (var index = 0; index < this.value.length; index++) {\n str += this.key + \" \" + this.value[index] + \";\";\n if (this.value[index + 1]) str += '\\n';\n }\n\n return str;\n }\n\n return this.key + \" \" + this.value + \";\";\n };\n\n return SimpleRule;\n}();\nvar keysMap = {\n '@charset': true,\n '@import': true,\n '@namespace': true\n};\nvar pluginSimpleRule = {\n onCreateRule: function onCreateRule(key, value, options) {\n return key in keysMap ? new SimpleRule(key, value, options) : null;\n }\n};\n\nvar plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];\n\nvar defaultUpdateOptions = {\n process: true\n};\nvar forceUpdateOptions = {\n force: true,\n process: true\n /**\n * Contains rules objects and allows adding/removing etc.\n * Is used for e.g. by `StyleSheet` or `ConditionalRule`.\n */\n\n};\n\nvar RuleList =\n/*#__PURE__*/\nfunction () {\n // Rules registry for access by .get() method.\n // It contains the same rule registered by name and by selector.\n // Original styles object.\n // Used to ensure correct rules order.\n function RuleList(options) {\n this.map = {};\n this.raw = {};\n this.index = [];\n this.counter = 0;\n this.options = void 0;\n this.classes = void 0;\n this.keyframes = void 0;\n this.options = options;\n this.classes = options.classes;\n this.keyframes = options.keyframes;\n }\n /**\n * Create and register rule.\n *\n * Will not render after Style Sheet was rendered the first time.\n */\n\n\n var _proto = RuleList.prototype;\n\n _proto.add = function add(name, decl, ruleOptions) {\n var _this$options = this.options,\n parent = _this$options.parent,\n sheet = _this$options.sheet,\n jss = _this$options.jss,\n Renderer = _this$options.Renderer,\n generateId = _this$options.generateId,\n scoped = _this$options.scoped;\n\n var options = _extends({\n classes: this.classes,\n parent: parent,\n sheet: sheet,\n jss: jss,\n Renderer: Renderer,\n generateId: generateId,\n scoped: scoped,\n name: name,\n keyframes: this.keyframes,\n selector: undefined\n }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but\n // `sheet.addRule()` opens the door for any duplicate rule name. When this happens\n // we need to make the key unique within this RuleList instance scope.\n\n\n var key = name;\n\n if (name in this.raw) {\n key = name + \"-d\" + this.counter++;\n } // We need to save the original decl before creating the rule\n // because cache plugin needs to use it as a key to return a cached rule.\n\n\n this.raw[key] = decl;\n\n if (key in this.classes) {\n // E.g. rules inside of @media container\n options.selector = \".\" + escape(this.classes[key]);\n }\n\n var rule = createRule(key, decl, options);\n if (!rule) return null;\n this.register(rule);\n var index = options.index === undefined ? this.index.length : options.index;\n this.index.splice(index, 0, rule);\n return rule;\n }\n /**\n * Get a rule.\n */\n ;\n\n _proto.get = function get(name) {\n return this.map[name];\n }\n /**\n * Delete a rule.\n */\n ;\n\n _proto.remove = function remove(rule) {\n this.unregister(rule);\n delete this.raw[rule.key];\n this.index.splice(this.index.indexOf(rule), 1);\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.index.indexOf(rule);\n }\n /**\n * Run `onProcessRule()` plugins on every rule.\n */\n ;\n\n _proto.process = function process() {\n var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop\n // we end up with very hard-to-track-down side effects.\n\n this.index.slice(0).forEach(plugins.onProcessRule, plugins);\n }\n /**\n * Register a rule in `.map`, `.classes` and `.keyframes` maps.\n */\n ;\n\n _proto.register = function register(rule) {\n this.map[rule.key] = rule;\n\n if (rule instanceof StyleRule) {\n this.map[rule.selector] = rule;\n if (rule.id) this.classes[rule.key] = rule.id;\n } else if (rule instanceof KeyframesRule && this.keyframes) {\n this.keyframes[rule.name] = rule.id;\n }\n }\n /**\n * Unregister a rule.\n */\n ;\n\n _proto.unregister = function unregister(rule) {\n delete this.map[rule.key];\n\n if (rule instanceof StyleRule) {\n delete this.map[rule.selector];\n delete this.classes[rule.key];\n } else if (rule instanceof KeyframesRule) {\n delete this.keyframes[rule.name];\n }\n }\n /**\n * Update the function values with a new data.\n */\n ;\n\n _proto.update = function update() {\n var name;\n var data;\n var options;\n\n if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {\n name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]\n\n data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]\n\n options = arguments.length <= 2 ? undefined : arguments[2];\n } else {\n data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]\n\n options = arguments.length <= 1 ? undefined : arguments[1];\n name = null;\n }\n\n if (name) {\n this.updateOne(this.map[name], data, options);\n } else {\n for (var index = 0; index < this.index.length; index++) {\n this.updateOne(this.index[index], data, options);\n }\n }\n }\n /**\n * Execute plugins, update rule props.\n */\n ;\n\n _proto.updateOne = function updateOne(rule, data, options) {\n if (options === void 0) {\n options = defaultUpdateOptions;\n }\n\n var _this$options2 = this.options,\n plugins = _this$options2.jss.plugins,\n sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.\n\n if (rule.rules instanceof RuleList) {\n rule.rules.update(data, options);\n return;\n }\n\n var styleRule = rule;\n var style = styleRule.style;\n plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.\n\n if (options.process && style && style !== styleRule.style) {\n // We need to run the plugins in case new `style` relies on syntax plugins.\n plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.\n\n for (var prop in styleRule.style) {\n var nextValue = styleRule.style[prop];\n var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.\n // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.\n\n if (nextValue !== prevValue) {\n styleRule.prop(prop, nextValue, forceUpdateOptions);\n }\n } // Remove props.\n\n\n for (var _prop in style) {\n var _nextValue = styleRule.style[_prop];\n var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.\n // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.\n\n if (_nextValue == null && _nextValue !== _prevValue) {\n styleRule.prop(_prop, null, forceUpdateOptions);\n }\n }\n }\n }\n /**\n * Convert rules to a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n var str = '';\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n\n for (var index = 0; index < this.index.length; index++) {\n var rule = this.index[index];\n var css = rule.toString(options); // No need to render an empty rule.\n\n if (!css && !link) continue;\n if (str) str += '\\n';\n str += css;\n }\n\n return str;\n };\n\n return RuleList;\n}();\n\nvar StyleSheet =\n/*#__PURE__*/\nfunction () {\n function StyleSheet(styles, options) {\n this.options = void 0;\n this.deployed = void 0;\n this.attached = void 0;\n this.rules = void 0;\n this.renderer = void 0;\n this.classes = void 0;\n this.keyframes = void 0;\n this.queue = void 0;\n this.attached = false;\n this.deployed = false;\n this.classes = {};\n this.keyframes = {};\n this.options = _extends({}, options, {\n sheet: this,\n parent: this,\n classes: this.classes,\n keyframes: this.keyframes\n });\n\n if (options.Renderer) {\n this.renderer = new options.Renderer(this);\n }\n\n this.rules = new RuleList(this.options);\n\n for (var name in styles) {\n this.rules.add(name, styles[name]);\n }\n\n this.rules.process();\n }\n /**\n * Attach renderable to the render tree.\n */\n\n\n var _proto = StyleSheet.prototype;\n\n _proto.attach = function attach() {\n if (this.attached) return this;\n if (this.renderer) this.renderer.attach();\n this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.\n\n if (!this.deployed) this.deploy();\n return this;\n }\n /**\n * Remove renderable from render tree.\n */\n ;\n\n _proto.detach = function detach() {\n if (!this.attached) return this;\n if (this.renderer) this.renderer.detach();\n this.attached = false;\n return this;\n }\n /**\n * Add a rule to the current stylesheet.\n * Will insert a rule also after the stylesheet has been rendered first time.\n */\n ;\n\n _proto.addRule = function addRule(name, decl, options) {\n var queue = this.queue; // Plugins can create rules.\n // In order to preserve the right order, we need to queue all `.addRule` calls,\n // which happen after the first `rules.add()` call.\n\n if (this.attached && !queue) this.queue = [];\n var rule = this.rules.add(name, decl, options);\n if (!rule) return null;\n this.options.jss.plugins.onProcessRule(rule);\n\n if (this.attached) {\n if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.\n // It will be inserted all together when .attach is called.\n\n if (queue) queue.push(rule);else {\n this.insertRule(rule);\n\n if (this.queue) {\n this.queue.forEach(this.insertRule, this);\n this.queue = undefined;\n }\n }\n return rule;\n } // We can't add rules to a detached style node.\n // We will redeploy the sheet once user will attach it.\n\n\n this.deployed = false;\n return rule;\n }\n /**\n * Insert rule into the StyleSheet\n */\n ;\n\n _proto.insertRule = function insertRule(rule) {\n if (this.renderer) {\n this.renderer.insertRule(rule);\n }\n }\n /**\n * Create and add rules.\n * Will render also after Style Sheet was rendered the first time.\n */\n ;\n\n _proto.addRules = function addRules(styles, options) {\n var added = [];\n\n for (var name in styles) {\n var rule = this.addRule(name, styles[name], options);\n if (rule) added.push(rule);\n }\n\n return added;\n }\n /**\n * Get a rule by name.\n */\n ;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Delete a rule by name.\n * Returns `true`: if rule has been deleted from the DOM.\n */\n ;\n\n _proto.deleteRule = function deleteRule(name) {\n var rule = typeof name === 'object' ? name : this.rules.get(name);\n\n if (!rule || // Style sheet was created without link: true and attached, in this case we\n // won't be able to remove the CSS rule from the DOM.\n this.attached && !rule.renderable) {\n return false;\n }\n\n this.rules.remove(rule);\n\n if (this.attached && rule.renderable && this.renderer) {\n return this.renderer.deleteRule(rule.renderable);\n }\n\n return true;\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Deploy pure CSS string to a renderable.\n */\n ;\n\n _proto.deploy = function deploy() {\n if (this.renderer) this.renderer.deploy();\n this.deployed = true;\n return this;\n }\n /**\n * Update the function values with a new data.\n */\n ;\n\n _proto.update = function update() {\n var _this$rules;\n\n (_this$rules = this.rules).update.apply(_this$rules, arguments);\n\n return this;\n }\n /**\n * Updates a single rule.\n */\n ;\n\n _proto.updateOne = function updateOne(rule, data, options) {\n this.rules.updateOne(rule, data, options);\n return this;\n }\n /**\n * Convert rules to a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n return this.rules.toString(options);\n };\n\n return StyleSheet;\n}();\n\nvar PluginsRegistry =\n/*#__PURE__*/\nfunction () {\n function PluginsRegistry() {\n this.plugins = {\n internal: [],\n external: []\n };\n this.registry = void 0;\n }\n\n var _proto = PluginsRegistry.prototype;\n\n /**\n * Call `onCreateRule` hooks and return an object if returned by a hook.\n */\n _proto.onCreateRule = function onCreateRule(name, decl, options) {\n for (var i = 0; i < this.registry.onCreateRule.length; i++) {\n var rule = this.registry.onCreateRule[i](name, decl, options);\n if (rule) return rule;\n }\n\n return null;\n }\n /**\n * Call `onProcessRule` hooks.\n */\n ;\n\n _proto.onProcessRule = function onProcessRule(rule) {\n if (rule.isProcessed) return;\n var sheet = rule.options.sheet;\n\n for (var i = 0; i < this.registry.onProcessRule.length; i++) {\n this.registry.onProcessRule[i](rule, sheet);\n }\n\n if (rule.style) this.onProcessStyle(rule.style, rule, sheet);\n rule.isProcessed = true;\n }\n /**\n * Call `onProcessStyle` hooks.\n */\n ;\n\n _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {\n for (var i = 0; i < this.registry.onProcessStyle.length; i++) {\n // $FlowFixMe[prop-missing]\n rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);\n }\n }\n /**\n * Call `onProcessSheet` hooks.\n */\n ;\n\n _proto.onProcessSheet = function onProcessSheet(sheet) {\n for (var i = 0; i < this.registry.onProcessSheet.length; i++) {\n this.registry.onProcessSheet[i](sheet);\n }\n }\n /**\n * Call `onUpdate` hooks.\n */\n ;\n\n _proto.onUpdate = function onUpdate(data, rule, sheet, options) {\n for (var i = 0; i < this.registry.onUpdate.length; i++) {\n this.registry.onUpdate[i](data, rule, sheet, options);\n }\n }\n /**\n * Call `onChangeValue` hooks.\n */\n ;\n\n _proto.onChangeValue = function onChangeValue(value, prop, rule) {\n var processedValue = value;\n\n for (var i = 0; i < this.registry.onChangeValue.length; i++) {\n processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);\n }\n\n return processedValue;\n }\n /**\n * Register a plugin.\n */\n ;\n\n _proto.use = function use(newPlugin, options) {\n if (options === void 0) {\n options = {\n queue: 'external'\n };\n }\n\n var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.\n\n if (plugins.indexOf(newPlugin) !== -1) {\n return;\n }\n\n plugins.push(newPlugin);\n this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {\n for (var name in plugin) {\n if (name in registry) {\n registry[name].push(plugin[name]);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Unknown hook \\\"\" + name + \"\\\".\") : void 0;\n }\n }\n\n return registry;\n }, {\n onCreateRule: [],\n onProcessRule: [],\n onProcessStyle: [],\n onProcessSheet: [],\n onChangeValue: [],\n onUpdate: []\n });\n };\n\n return PluginsRegistry;\n}();\n\n/**\n * Sheets registry to access them all at one place.\n */\nvar SheetsRegistry =\n/*#__PURE__*/\nfunction () {\n function SheetsRegistry() {\n this.registry = [];\n }\n\n var _proto = SheetsRegistry.prototype;\n\n /**\n * Register a Style Sheet.\n */\n _proto.add = function add(sheet) {\n var registry = this.registry;\n var index = sheet.options.index;\n if (registry.indexOf(sheet) !== -1) return;\n\n if (registry.length === 0 || index >= this.index) {\n registry.push(sheet);\n return;\n } // Find a position.\n\n\n for (var i = 0; i < registry.length; i++) {\n if (registry[i].options.index > index) {\n registry.splice(i, 0, sheet);\n return;\n }\n }\n }\n /**\n * Reset the registry.\n */\n ;\n\n _proto.reset = function reset() {\n this.registry = [];\n }\n /**\n * Remove a Style Sheet.\n */\n ;\n\n _proto.remove = function remove(sheet) {\n var index = this.registry.indexOf(sheet);\n this.registry.splice(index, 1);\n }\n /**\n * Convert all attached sheets to a CSS string.\n */\n ;\n\n _proto.toString = function toString(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n attached = _ref.attached,\n options = _objectWithoutPropertiesLoose(_ref, [\"attached\"]);\n\n var css = '';\n\n for (var i = 0; i < this.registry.length; i++) {\n var sheet = this.registry[i];\n\n if (attached != null && sheet.attached !== attached) {\n continue;\n }\n\n if (css) css += '\\n';\n css += sheet.toString(options);\n }\n\n return css;\n };\n\n _createClass(SheetsRegistry, [{\n key: \"index\",\n\n /**\n * Current highest index number.\n */\n get: function get() {\n return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;\n }\n }]);\n\n return SheetsRegistry;\n}();\n\n/**\n * This is a global sheets registry. Only DomRenderer will add sheets to it.\n * On the server one should use an own SheetsRegistry instance and add the\n * sheets to it, because you need to make sure to create a new registry for\n * each request in order to not leak sheets across requests.\n */\n\nvar registry = new SheetsRegistry();\n\n/* eslint-disable */\n\n/**\n * Now that `globalThis` is available on most platforms\n * (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)\n * we check for `globalThis` first. `globalThis` is necessary for jss\n * to run in Agoric's secure version of JavaScript (SES). Under SES,\n * `globalThis` exists, but `window`, `self`, and `Function('return\n * this')()` are all undefined for security reasons.\n *\n * https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n */\nvar globalThis$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' && window.Math === Math ? window : typeof self !== 'undefined' && self.Math === Math ? self : Function('return this')();\n\nvar ns = '2f1acc6c3a606b082e5eef5e54414ffb';\nif (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify\n// the current version with just one short number and use it for classes generation\n// we use a counter. Also it is more accurate, because user can manually reevaluate\n// the module.\n\nvar moduleId = globalThis$1[ns]++;\n\nvar maxRules = 1e10;\n\n/**\n * Returns a function which generates unique class names based on counters.\n * When new generator function is created, rule counter is reseted.\n * We need to reset the rule counter for SSR for each request.\n */\nvar createGenerateId = function createGenerateId(options) {\n if (options === void 0) {\n options = {};\n }\n\n var ruleCounter = 0;\n return function (rule, sheet) {\n ruleCounter += 1;\n\n if (ruleCounter > maxRules) {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] You might have a memory leak. Rule counter is at \" + ruleCounter + \".\") : void 0;\n }\n\n var jssId = '';\n var prefix = '';\n\n if (sheet) {\n if (sheet.options.classNamePrefix) {\n prefix = sheet.options.classNamePrefix;\n }\n\n if (sheet.options.jss.id != null) {\n jssId = String(sheet.options.jss.id);\n }\n }\n\n if (options.minify) {\n // Using \"c\" because a number can't be the first char in a class name.\n return \"\" + (prefix || 'c') + moduleId + jssId + ruleCounter;\n }\n\n return prefix + rule.key + \"-\" + moduleId + (jssId ? \"-\" + jssId : '') + \"-\" + ruleCounter;\n };\n};\n\n/**\n * Cache the value from the first time a function is called.\n */\nvar memoize = function memoize(fn) {\n var value;\n return function () {\n if (!value) value = fn();\n return value;\n };\n};\n\n/**\n * Get a style property value.\n */\nvar getPropertyValue = function getPropertyValue(cssRule, prop) {\n try {\n // Support CSSTOM.\n if (cssRule.attributeStyleMap) {\n return cssRule.attributeStyleMap.get(prop);\n }\n\n return cssRule.style.getPropertyValue(prop);\n } catch (err) {\n // IE may throw if property is unknown.\n return '';\n }\n};\n\n/**\n * Set a style property.\n */\nvar setProperty = function setProperty(cssRule, prop, value) {\n try {\n var cssValue = value;\n\n if (Array.isArray(value)) {\n cssValue = toCssValue(value, true);\n\n if (value[value.length - 1] === '!important') {\n cssRule.style.setProperty(prop, cssValue, 'important');\n return true;\n }\n } // Support CSSTOM.\n\n\n if (cssRule.attributeStyleMap) {\n cssRule.attributeStyleMap.set(prop, cssValue);\n } else {\n cssRule.style.setProperty(prop, cssValue);\n }\n } catch (err) {\n // IE may throw if property is unknown.\n return false;\n }\n\n return true;\n};\n\n/**\n * Remove a style property.\n */\nvar removeProperty = function removeProperty(cssRule, prop) {\n try {\n // Support CSSTOM.\n if (cssRule.attributeStyleMap) {\n cssRule.attributeStyleMap.delete(prop);\n } else {\n cssRule.style.removeProperty(prop);\n }\n } catch (err) {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] DOMException \\\"\" + err.message + \"\\\" was thrown. Tried to remove property \\\"\" + prop + \"\\\".\") : void 0;\n }\n};\n\n/**\n * Set the selector.\n */\nvar setSelector = function setSelector(cssRule, selectorText) {\n cssRule.selectorText = selectorText; // Return false if setter was not successful.\n // Currently works in chrome only.\n\n return cssRule.selectorText === selectorText;\n};\n/**\n * Gets the `head` element upon the first call and caches it.\n * We assume it can't be null.\n */\n\n\nvar getHead = memoize(function () {\n return document.querySelector('head');\n});\n/**\n * Find attached sheet with an index higher than the passed one.\n */\n\nfunction findHigherSheet(registry, options) {\n for (var i = 0; i < registry.length; i++) {\n var sheet = registry[i];\n\n if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {\n return sheet;\n }\n }\n\n return null;\n}\n/**\n * Find attached sheet with the highest index.\n */\n\n\nfunction findHighestSheet(registry, options) {\n for (var i = registry.length - 1; i >= 0; i--) {\n var sheet = registry[i];\n\n if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {\n return sheet;\n }\n }\n\n return null;\n}\n/**\n * Find a comment with \"jss\" inside.\n */\n\n\nfunction findCommentNode(text) {\n var head = getHead();\n\n for (var i = 0; i < head.childNodes.length; i++) {\n var node = head.childNodes[i];\n\n if (node.nodeType === 8 && node.nodeValue.trim() === text) {\n return node;\n }\n }\n\n return null;\n}\n\n/**\n * Find a node before which we can insert the sheet.\n */\nfunction findPrevNode(options) {\n var registry$1 = registry.registry;\n\n if (registry$1.length > 0) {\n // Try to insert before the next higher sheet.\n var sheet = findHigherSheet(registry$1, options);\n\n if (sheet && sheet.renderer) {\n return {\n parent: sheet.renderer.element.parentNode,\n node: sheet.renderer.element\n };\n } // Otherwise insert after the last attached.\n\n\n sheet = findHighestSheet(registry$1, options);\n\n if (sheet && sheet.renderer) {\n return {\n parent: sheet.renderer.element.parentNode,\n node: sheet.renderer.element.nextSibling\n };\n }\n } // Try to find a comment placeholder if registry is empty.\n\n\n var insertionPoint = options.insertionPoint;\n\n if (insertionPoint && typeof insertionPoint === 'string') {\n var comment = findCommentNode(insertionPoint);\n\n if (comment) {\n return {\n parent: comment.parentNode,\n node: comment.nextSibling\n };\n } // If user specifies an insertion point and it can't be found in the document -\n // bad specificity issues may appear.\n\n\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Insertion point \\\"\" + insertionPoint + \"\\\" not found.\") : void 0;\n }\n\n return false;\n}\n/**\n * Insert style element into the DOM.\n */\n\n\nfunction insertStyle(style, options) {\n var insertionPoint = options.insertionPoint;\n var nextNode = findPrevNode(options);\n\n if (nextNode !== false && nextNode.parent) {\n nextNode.parent.insertBefore(style, nextNode.node);\n return;\n } // Works with iframes and any node types.\n\n\n if (insertionPoint && typeof insertionPoint.nodeType === 'number') {\n // https://stackoverflow.com/questions/41328728/force-casting-in-flow\n var insertionPointElement = insertionPoint;\n var parentNode = insertionPointElement.parentNode;\n if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else process.env.NODE_ENV !== \"production\" ? warning(false, '[JSS] Insertion point is not in the DOM.') : void 0;\n return;\n }\n\n getHead().appendChild(style);\n}\n/**\n * Read jss nonce setting from the page if the user has set it.\n */\n\n\nvar getNonce = memoize(function () {\n var node = document.querySelector('meta[property=\"csp-nonce\"]');\n return node ? node.getAttribute('content') : null;\n});\n\nvar _insertRule = function insertRule(container, rule, index) {\n try {\n if ('insertRule' in container) {\n var c = container;\n c.insertRule(rule, index);\n } // Keyframes rule.\n else if ('appendRule' in container) {\n var _c = container;\n\n _c.appendRule(rule);\n }\n } catch (err) {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] \" + err.message) : void 0;\n return false;\n }\n\n return container.cssRules[index];\n};\n\nvar getValidRuleInsertionIndex = function getValidRuleInsertionIndex(container, index) {\n var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong\n\n if (index === undefined || index > maxIndex) {\n // eslint-disable-next-line no-param-reassign\n return maxIndex;\n }\n\n return index;\n};\n\nvar createStyle = function createStyle() {\n var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we\n // insert rules after we insert the style tag.\n // It seems to kick-off the source order specificity algorithm.\n\n el.textContent = '\\n';\n return el;\n};\n\nvar DomRenderer =\n/*#__PURE__*/\nfunction () {\n // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696\n // Will be empty if link: true option is not set, because\n // it is only for use together with insertRule API.\n function DomRenderer(sheet) {\n this.getPropertyValue = getPropertyValue;\n this.setProperty = setProperty;\n this.removeProperty = removeProperty;\n this.setSelector = setSelector;\n this.element = void 0;\n this.sheet = void 0;\n this.hasInsertedRules = false;\n this.cssRules = [];\n // There is no sheet when the renderer is used from a standalone StyleRule.\n if (sheet) registry.add(sheet);\n this.sheet = sheet;\n\n var _ref = this.sheet ? this.sheet.options : {},\n media = _ref.media,\n meta = _ref.meta,\n element = _ref.element;\n\n this.element = element || createStyle();\n this.element.setAttribute('data-jss', '');\n if (media) this.element.setAttribute('media', media);\n if (meta) this.element.setAttribute('data-meta', meta);\n var nonce = getNonce();\n if (nonce) this.element.setAttribute('nonce', nonce);\n }\n /**\n * Insert style element into render tree.\n */\n\n\n var _proto = DomRenderer.prototype;\n\n _proto.attach = function attach() {\n // In the case the element node is external and it is already in the DOM.\n if (this.element.parentNode || !this.sheet) return;\n insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`\n // most browsers create a new CSSStyleSheet, except of all IEs.\n\n var deployed = Boolean(this.sheet && this.sheet.deployed);\n\n if (this.hasInsertedRules && deployed) {\n this.hasInsertedRules = false;\n this.deploy();\n }\n }\n /**\n * Remove style element from render tree.\n */\n ;\n\n _proto.detach = function detach() {\n if (!this.sheet) return;\n var parentNode = this.element.parentNode;\n if (parentNode) parentNode.removeChild(this.element); // In the most browsers, rules inserted using insertRule() API will be lost when style element is removed.\n // Though IE will keep them and we need a consistent behavior.\n\n if (this.sheet.options.link) {\n this.cssRules = [];\n this.element.textContent = '\\n';\n }\n }\n /**\n * Inject CSS string into element.\n */\n ;\n\n _proto.deploy = function deploy() {\n var sheet = this.sheet;\n if (!sheet) return;\n\n if (sheet.options.link) {\n this.insertRules(sheet.rules);\n return;\n }\n\n this.element.textContent = \"\\n\" + sheet.toString() + \"\\n\";\n }\n /**\n * Insert RuleList into an element.\n */\n ;\n\n _proto.insertRules = function insertRules(rules, nativeParent) {\n for (var i = 0; i < rules.index.length; i++) {\n this.insertRule(rules.index[i], i, nativeParent);\n }\n }\n /**\n * Insert a rule into element.\n */\n ;\n\n _proto.insertRule = function insertRule(rule, index, nativeParent) {\n if (nativeParent === void 0) {\n nativeParent = this.element.sheet;\n }\n\n if (rule.rules) {\n var parent = rule;\n var latestNativeParent = nativeParent;\n\n if (rule.type === 'conditional' || rule.type === 'keyframes') {\n var _insertionIndex = getValidRuleInsertionIndex(nativeParent, index); // We need to render the container without children first.\n\n\n latestNativeParent = _insertRule(nativeParent, parent.toString({\n children: false\n }), _insertionIndex);\n\n if (latestNativeParent === false) {\n return false;\n }\n\n this.refCssRule(rule, _insertionIndex, latestNativeParent);\n }\n\n this.insertRules(parent.rules, latestNativeParent);\n return latestNativeParent;\n }\n\n var ruleStr = rule.toString();\n if (!ruleStr) return false;\n var insertionIndex = getValidRuleInsertionIndex(nativeParent, index);\n\n var nativeRule = _insertRule(nativeParent, ruleStr, insertionIndex);\n\n if (nativeRule === false) {\n return false;\n }\n\n this.hasInsertedRules = true;\n this.refCssRule(rule, insertionIndex, nativeRule);\n return nativeRule;\n };\n\n _proto.refCssRule = function refCssRule(rule, index, cssRule) {\n rule.renderable = cssRule; // We only want to reference the top level rules, deleteRule API doesn't support removing nested rules\n // like rules inside media queries or keyframes\n\n if (rule.options.parent instanceof StyleSheet) {\n this.cssRules[index] = cssRule;\n }\n }\n /**\n * Delete a rule.\n */\n ;\n\n _proto.deleteRule = function deleteRule(cssRule) {\n var sheet = this.element.sheet;\n var index = this.indexOf(cssRule);\n if (index === -1) return false;\n sheet.deleteRule(index);\n this.cssRules.splice(index, 1);\n return true;\n }\n /**\n * Get index of a CSS Rule.\n */\n ;\n\n _proto.indexOf = function indexOf(cssRule) {\n return this.cssRules.indexOf(cssRule);\n }\n /**\n * Generate a new CSS rule and replace the existing one.\n *\n * Only used for some old browsers because they can't set a selector.\n */\n ;\n\n _proto.replaceRule = function replaceRule(cssRule, rule) {\n var index = this.indexOf(cssRule);\n if (index === -1) return false;\n this.element.sheet.deleteRule(index);\n this.cssRules.splice(index, 1);\n return this.insertRule(rule, index);\n }\n /**\n * Get all rules elements.\n */\n ;\n\n _proto.getRules = function getRules() {\n return this.element.sheet.cssRules;\n };\n\n return DomRenderer;\n}();\n\nvar instanceCounter = 0;\n\nvar Jss =\n/*#__PURE__*/\nfunction () {\n function Jss(options) {\n this.id = instanceCounter++;\n this.version = \"10.6.0\";\n this.plugins = new PluginsRegistry();\n this.options = {\n id: {\n minify: false\n },\n createGenerateId: createGenerateId,\n Renderer: isInBrowser ? DomRenderer : null,\n plugins: []\n };\n this.generateId = createGenerateId({\n minify: false\n });\n\n for (var i = 0; i < plugins.length; i++) {\n this.plugins.use(plugins[i], {\n queue: 'internal'\n });\n }\n\n this.setup(options);\n }\n /**\n * Prepares various options, applies plugins.\n * Should not be used twice on the same instance, because there is no plugins\n * deduplication logic.\n */\n\n\n var _proto = Jss.prototype;\n\n _proto.setup = function setup(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (options.createGenerateId) {\n this.options.createGenerateId = options.createGenerateId;\n }\n\n if (options.id) {\n this.options.id = _extends({}, this.options.id, options.id);\n }\n\n if (options.createGenerateId || options.id) {\n this.generateId = this.options.createGenerateId(this.options.id);\n }\n\n if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;\n\n if ('Renderer' in options) {\n this.options.Renderer = options.Renderer;\n } // eslint-disable-next-line prefer-spread\n\n\n if (options.plugins) this.use.apply(this, options.plugins);\n return this;\n }\n /**\n * Create a Style Sheet.\n */\n ;\n\n _proto.createStyleSheet = function createStyleSheet(styles, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n index = _options.index;\n\n if (typeof index !== 'number') {\n index = registry.index === 0 ? 0 : registry.index + 1;\n }\n\n var sheet = new StyleSheet(styles, _extends({}, options, {\n jss: this,\n generateId: options.generateId || this.generateId,\n insertionPoint: this.options.insertionPoint,\n Renderer: this.options.Renderer,\n index: index\n }));\n this.plugins.onProcessSheet(sheet);\n return sheet;\n }\n /**\n * Detach the Style Sheet and remove it from the registry.\n */\n ;\n\n _proto.removeStyleSheet = function removeStyleSheet(sheet) {\n sheet.detach();\n registry.remove(sheet);\n return this;\n }\n /**\n * Create a rule without a Style Sheet.\n * [Deprecated] will be removed in the next major version.\n */\n ;\n\n _proto.createRule = function createRule$1(name, style, options) {\n if (style === void 0) {\n style = {};\n }\n\n if (options === void 0) {\n options = {};\n }\n\n // Enable rule without name for inline styles.\n if (typeof name === 'object') {\n // $FlowFixMe[incompatible-call]\n return this.createRule(undefined, name, style);\n } // $FlowFixMe[incompatible-type]\n\n\n var ruleOptions = _extends({}, options, {\n name: name,\n jss: this,\n Renderer: this.options.Renderer\n });\n\n if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;\n if (!ruleOptions.classes) ruleOptions.classes = {};\n if (!ruleOptions.keyframes) ruleOptions.keyframes = {};\n\n var rule = createRule(name, style, ruleOptions);\n\n if (rule) this.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Register plugin. Passed function will be invoked with a rule instance.\n */\n ;\n\n _proto.use = function use() {\n var _this = this;\n\n for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {\n plugins[_key] = arguments[_key];\n }\n\n plugins.forEach(function (plugin) {\n _this.plugins.use(plugin);\n });\n return this;\n };\n\n return Jss;\n}();\n\n/**\n * Extracts a styles object with only props that contain function values.\n */\nfunction getDynamicStyles(styles) {\n var to = null;\n\n for (var key in styles) {\n var value = styles[key];\n var type = typeof value;\n\n if (type === 'function') {\n if (!to) to = {};\n to[key] = value;\n } else if (type === 'object' && value !== null && !Array.isArray(value)) {\n var extracted = getDynamicStyles(value);\n\n if (extracted) {\n if (!to) to = {};\n to[key] = extracted;\n }\n }\n }\n\n return to;\n}\n\n/**\n * SheetsManager is like a WeakMap which is designed to count StyleSheet\n * instances and attach/detach automatically.\n */\nvar SheetsManager =\n/*#__PURE__*/\nfunction () {\n function SheetsManager() {\n this.length = 0;\n this.sheets = new WeakMap();\n }\n\n var _proto = SheetsManager.prototype;\n\n _proto.get = function get(key) {\n var entry = this.sheets.get(key);\n return entry && entry.sheet;\n };\n\n _proto.add = function add(key, sheet) {\n if (this.sheets.has(key)) return;\n this.length++;\n this.sheets.set(key, {\n sheet: sheet,\n refs: 0\n });\n };\n\n _proto.manage = function manage(key) {\n var entry = this.sheets.get(key);\n\n if (entry) {\n if (entry.refs === 0) {\n entry.sheet.attach();\n }\n\n entry.refs++;\n return entry.sheet;\n }\n\n warning(false, \"[JSS] SheetsManager: can't find sheet to manage\");\n return undefined;\n };\n\n _proto.unmanage = function unmanage(key) {\n var entry = this.sheets.get(key);\n\n if (entry) {\n if (entry.refs > 0) {\n entry.refs--;\n if (entry.refs === 0) entry.sheet.detach();\n }\n } else {\n warning(false, \"SheetsManager: can't find sheet to unmanage\");\n }\n };\n\n _createClass(SheetsManager, [{\n key: \"size\",\n get: function get() {\n return this.length;\n }\n }]);\n\n return SheetsManager;\n}();\n\n/**\n * A better abstraction over CSS.\n *\n * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present\n * @website https://github.com/cssinjs/jss\n * @license MIT\n */\n\n/**\n * Export a constant indicating if this browser has CSSTOM support.\n * https://developers.google.com/web/updates/2018/03/cssom\n */\nvar hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;\n/**\n * Creates a new instance of Jss.\n */\n\nvar create = function create(options) {\n return new Jss(options);\n};\n/**\n * A global Jss instance.\n */\n\nvar jss = create();\n\nexport default jss;\nexport { RuleList, SheetsManager, SheetsRegistry, create, createGenerateId, createRule, getDynamicStyles, hasCSSTOMSupport, registry as sheets, toCssValue };\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = once;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = baseRange;\n","/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseReduce;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var castSlice = require('./_castSlice'),\n hasUnicode = require('./_hasUnicode'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString');\n\n/**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\nfunction createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n}\n\nmodule.exports = createCaseFirst;\n","var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n","var baseRange = require('./_baseRange'),\n isIterateeCall = require('./_isIterateeCall'),\n toFinite = require('./toFinite');\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nmodule.exports = createRange;\n","var isPlainObject = require('./isPlainObject');\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var asciiToArray = require('./_asciiToArray'),\n hasUnicode = require('./_hasUnicode'),\n unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\nvar assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n});\n\nmodule.exports = assign;\n","var toString = require('./toString'),\n upperFirst = require('./upperFirst');\n\n/**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\nfunction capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n}\n\nmodule.exports = capitalize;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n","var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","var baseFlatten = require('./_baseFlatten');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\nfunction flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n}\n\nmodule.exports = flattenDeep;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\nfunction head(array) {\n return (array && array.length) ? array[0] : undefined;\n}\n\nmodule.exports = head;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\nfunction isNil(value) {\n return value == null;\n}\n\nmodule.exports = isNil;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '' + func(text) + '';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '
inside of a and filling it\r\n // up with stuff; it's go beyond the bounds of its width\r\n //\r\n // see https://stackoverflow.com/questions/43311943/prevent-content-from-expanding-grid-items\r\n // for more details\r\n gridTemplateColumns: 'minmax(0, 1fr)'\r\n\r\n },\r\n accent: {\r\n borderTopWidth: sizingSmall,\r\n borderTopStyle: 'solid',\r\n paddingTop: 0\r\n },\r\n accentPrimary: {\r\n borderTopColor: theme.palette.primary.main\r\n },\r\n accentSecondary: {\r\n borderTopColor: theme.palette.secondary.main\r\n }\r\n };\r\n};\r\n\r\nvar CardContext = createContext();\r\n\r\n/**\r\n * Use `Card` to display a group of similar content on a page.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * SimpleCard\r\n * SubtitleHeaderActionsCard\r\n * VisuallyAccentedCard\r\n * ComplexCard\r\n * CardActionsCard\r\n * LegacySpacingCard\r\n * CustomSpacingCard\r\n * CustomSpacingWithSpacingOptionsAPI\r\n */\r\nvar Card = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var accent = props.accent,\r\n classes = props.classes,\r\n padding = props.padding,\r\n responsive = props.responsive,\r\n spacingOptionsLocal = props.spacingOptions,\r\n legacySpacingMode = props.legacySpacingMode,\r\n rest = _objectWithoutProperties(props, ['accent', 'classes', 'padding', 'responsive', 'spacingOptions', 'legacySpacingMode']);\r\n\r\n var _useSpacing = useSpacing(spacingOptionsLocal),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n options = _useSpacing2[1],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var spacingOptions = legacySpacingMode ? {} : options;\r\n var spacingStylesLocal = legacySpacingMode ? {} : spacingStyles;\r\n var classOverrides = classNames(classes.root, spacingStylesLocal, (_classNames = {}, _defineProperty(_classNames, classes.accent, ['primary', 'secondary'].indexOf(accent) !== -1), _defineProperty(_classNames, classes.accentPrimary, accent === 'primary'), _defineProperty(_classNames, classes.accentSecondary, accent === 'secondary'), _classNames));\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptionsLocal);\r\n }, [spacingOptionsLocal]); // eslint-disable-line\r\n\r\n return React.createElement(\r\n CardContext.Provider,\r\n {\r\n value: {\r\n padding: padding,\r\n responsive: responsive,\r\n spacingOptions: spacingOptions\r\n }\r\n },\r\n React.createElement(MuiCard, Object.assign({}, rest, {\r\n classes: {\r\n root: classOverrides\r\n },\r\n ref: ref\r\n }))\r\n );\r\n});\r\n\r\nCard.muiName = 'Card';\r\nCard.displayName = 'Card';\r\n\r\nCard.propTypes = {\r\n /**\r\n * Customize the color of accent border that is added to the card.\r\n *\r\n * The options are `primary` and `secondary`. The `Card` will render with an\r\n * accented top border color that corresponds to the theme's primary and secondary\r\n * color (i.e. `primary` will render a `Card` with a `primary` accent border).\r\n */\r\n accent: PropTypes.oneOf(['primary', 'secondary']),\r\n /**\r\n * If `true`, the card will use raised visual styling\r\n */\r\n raised: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * If `true`, uses the old (padding-based) spacing infrastructure.\\\r\n * If `false`, uses the new (CSS grid-based) spacing infrastructure.\r\n */\r\n legacySpacingMode: PropTypes.bool,\r\n /**\r\n * Customize the spacing for Card's subcomponents. Standard, dense, and none\r\n * apply consistent padding across all viewports, per subcomponent.\r\n *\r\n * **NOTE:** Only applicable when `legacySpacingMode` is `true`.\r\n */\r\n padding: PropTypes.oneOf(['standard', 'dense', 'none']),\r\n /**\r\n * If `true`, `responsive` combines with `padding` to provide a responsive\r\n * spacing solution, if padding is set to either `standard` or `dense`.\r\n *\r\n * **NOTE:** Only applicable when `legacySpacingMode` is `true`.\r\n */\r\n responsive: PropTypes.bool,\r\n /**\r\n * Provides several attributes to control `Card` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Card` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n * * `responsive` (bool): **true** | false\r\n * * By default, `Card` spacing adjusts responsively to its viewport. Set to `false` to disable responsiveness.\r\n * * `outerSpacing` (bool): **true** | false\r\n * * If set to `false`, removes the card's outer padding (but retains the space between its subcomponents)\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n responsive: PropTypes.bool,\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\nCard.defaultProps = {\r\n elevation: 5,\r\n padding: 'standard',\r\n responsive: true,\r\n legacySpacingMode: false\r\n};\r\n\r\nexport { CardContext };\r\nexport default withStyles(styles)(Card);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar CardActions = React.forwardRef(function CardActions(props, ref) {\n var _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"disableSpacing\", \"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardActions.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardActions'\n})(CardActions);","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; }\r\n\r\nimport { getSpacingStyles, spacingVariant, spacingType } from './../../globalSpacing';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nexport default function (context, classes) {\r\n var _ref;\r\n\r\n var padding = context.padding,\r\n spacingOptions = context.spacingOptions,\r\n responsive = context.responsive;\r\n\r\n\r\n return isEmpty(spacingOptions) ? (_ref = {}, _defineProperty(_ref, classes.standard, padding === spacingVariant.STANDARD), _defineProperty(_ref, classes.none, padding === spacingVariant.NONE), _defineProperty(_ref, classes.responsive, responsive && padding !== spacingVariant.NONE), _ref) : getSpacingStyles({}, spacingType.COMPONENT_RESET);\r\n};","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiCardActions } from '@material-ui/core/CardActions';\r\nimport getLegacySpacingModeCss from './internal/getLegacySpacingModeCss';\r\nimport { CardContext } from './Card';\r\nimport classNames from 'classnames';\r\nimport { spacing40, spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n standard: {\r\n padding: spacing40\r\n },\r\n dense: {\r\n padding: '0.75rem ' + spacing30\r\n },\r\n none: {\r\n padding: 0\r\n },\r\n responsive: _defineProperty({}, theme.breakpoints.only('xs'), {\r\n padding: spacing30 + ' 0'\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * CardActions component for displaying actions on a Card component\r\n */\r\nvar CardActions = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classesOverrides = getLegacySpacingModeCss(useContext(CardContext), classes);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, classesOverrides)\r\n };\r\n\r\n return React.createElement(MuiCardActions, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardActions.muiName = 'CardActions';\r\nCardActions.displayName = 'CardActions';\r\n\r\nCardActions.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the card actions do not have additional margin.\r\n */\r\n disableSpacing: PropTypes.bool\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardActions.defaultProps = {\r\n disableSpacing: false\r\n};\r\n\r\nexport default withStyles(styles)(CardActions);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n padding: 16,\n '&:last-child': {\n paddingBottom: 24\n }\n }\n};\nvar CardContent = React.forwardRef(function CardContent(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardContent.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardContent'\n})(CardContent);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport get from 'lodash/get';\r\n\r\nimport { default as MuiCardContent } from '@material-ui/core/CardContent';\r\nimport { CardContext } from './Card';\r\nimport getLegacySpacingModeCss from './internal/getLegacySpacingModeCss';\r\nimport { default as withStyles } from '../styles';\r\nimport { useSpacing } from './../globalSpacing';\r\n\r\nimport { spacing60, spacing50, spacing40, spacing30, borderRadiusMedium } from '../styles/tokens';\r\n\r\nvar borderRadiusStyles = {\r\n borderBottomLeftRadius: borderRadiusMedium,\r\n borderBottomRightRadius: borderRadiusMedium\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n var _responsive;\r\n\r\n return {\r\n root: {\r\n '&:last-child': {\r\n padding: 0\r\n }\r\n },\r\n standard: {\r\n padding: spacing40 + ' ' + spacing60,\r\n '&:last-child': {\r\n padding: spacing40 + ' ' + spacing60\r\n }\r\n },\r\n dense: {\r\n padding: '0.75rem ' + spacing50,\r\n '&:last-child': {\r\n padding: '0.75rem ' + spacing50\r\n }\r\n },\r\n none: {\r\n padding: 0,\r\n '&:last-child': {\r\n padding: 0\r\n }\r\n },\r\n responsive: (_responsive = {}, _defineProperty(_responsive, theme.breakpoints.only('xs'), {\r\n padding: spacing30 + ' ' + spacing40\r\n }), _defineProperty(_responsive, '&:last-child', _defineProperty({}, theme.breakpoints.only('xs'), {\r\n padding: spacing30 + ' ' + spacing40\r\n })), _responsive),\r\n negateSpacing: Object.assign({}, borderRadiusStyles, {\r\n '& > *:last-child': Object.assign({}, borderRadiusStyles)\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * CardContent component for displaying content on a Card component\r\n */\r\nvar CardContent = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n spacingOptions = props.spacingOptions,\r\n rest = _objectWithoutProperties(props, ['classes', 'spacingOptions']);\r\n\r\n var negateSpacingAll = get(spacingOptions, 'negateSpacingAll');\r\n var negateSpacingStyles = useSpacing({ spacing: {\r\n style: {\r\n margin: '0 -' + spacing40 + ' -' + spacing40,\r\n display: 'block'\r\n },\r\n lg: {\r\n style: {\r\n margin: '0 -' + spacing50 + ' -' + spacing50\r\n }\r\n }\r\n } });\r\n\r\n var classesOverrides = negateSpacingAll ? negateSpacingStyles : getLegacySpacingModeCss(useContext(CardContext), classes);\r\n\r\n var classOverrides = {\r\n root: cn(classes.root, classesOverrides, _defineProperty({}, classes.negateSpacing, negateSpacingAll))\r\n };\r\n\r\n return React.createElement(MuiCardContent, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardContent.muiName = 'CardContent';\r\nCardContent.displayName = 'CardContent';\r\n\r\nCardContent.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Adds negative margins on all dimensions\r\n *\r\n * `negateSpacingAll` (bool): **true** | false\r\n *\r\n * * If set to `true`, adds negative margins on all dimensions.\r\n * * Helpful when you want to remove the outer padding for card content\r\n */\r\n spacingOptions: PropTypes.shape({\r\n negateSpacingAll: PropTypes.bool\r\n })\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardContent.defaultProps = {\r\n component: 'div'\r\n};\r\n\r\nexport default withStyles(styles)(CardContent);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 16\n },\n\n /* Styles applied to the avatar element. */\n avatar: {\n flex: '0 0 auto',\n marginRight: 16\n },\n\n /* Styles applied to the action element. */\n action: {\n flex: '0 0 auto',\n alignSelf: 'flex-start',\n marginTop: -8,\n marginRight: -8\n },\n\n /* Styles applied to the content wrapper element. */\n content: {\n flex: '1 1 auto'\n },\n\n /* Styles applied to the title Typography element. */\n title: {},\n\n /* Styles applied to the subheader Typography element. */\n subheader: {}\n};\nvar CardHeader = React.forwardRef(function CardHeader(props, ref) {\n var action = props.action,\n avatar = props.avatar,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n subheaderProp = props.subheader,\n subheaderTypographyProps = props.subheaderTypographyProps,\n titleProp = props.title,\n titleTypographyProps = props.titleTypographyProps,\n other = _objectWithoutProperties(props, [\"action\", \"avatar\", \"classes\", \"className\", \"component\", \"disableTypography\", \"subheader\", \"subheaderTypographyProps\", \"title\", \"titleTypographyProps\"]);\n\n var title = titleProp;\n\n if (title != null && title.type !== Typography && !disableTypography) {\n title = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: avatar ? 'body2' : 'h5',\n className: classes.title,\n component: \"span\",\n display: \"block\"\n }, titleTypographyProps), title);\n }\n\n var subheader = subheaderProp;\n\n if (subheader != null && subheader.type !== Typography && !disableTypography) {\n subheader = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: avatar ? 'body2' : 'body1',\n className: classes.subheader,\n color: \"textSecondary\",\n component: \"span\",\n display: \"block\"\n }, subheaderTypographyProps), subheader);\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: classes.avatar\n }, avatar), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.content\n }, title, subheader), action && /*#__PURE__*/React.createElement(\"div\", {\n className: classes.action\n }, action));\n});\nprocess.env.NODE_ENV !== \"production\" ? CardHeader.propTypes = {\n /**\n * The action to display in the card header.\n */\n action: PropTypes.node,\n\n /**\n * The Avatar for the Card Header.\n */\n avatar: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, `subheader` and `title` won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `title` text, and optional `subheader` text\n * with the Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n subheader: PropTypes.node,\n\n /**\n * These props will be forwarded to the subheader\n * (as long as disableTypography is not `true`).\n */\n subheaderTypographyProps: PropTypes.object,\n\n /**\n * The content of the Card Title.\n */\n title: PropTypes.node,\n\n /**\n * These props will be forwarded to the title\n * (as long as disableTypography is not `true`).\n */\n titleTypographyProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardHeader'\n})(CardHeader);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport { default as MuiCardHeader } from '@material-ui/core/CardHeader';\r\n\r\nimport { default as withStyles } from '../styles';\r\nimport { CardContext } from './Card';\r\nimport Typography from './../Typography';\r\n\r\nimport getLegacySpacingModeCss from './internal/getLegacySpacingModeCss';\r\n\r\nimport { spacing60, spacing50, spacing40, spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n standard: {\r\n padding: spacing60 + ' ' + spacing60 + ' ' + spacing40\r\n },\r\n dense: {\r\n padding: spacing50 + ' ' + spacing50 + ' 0.75rem'\r\n },\r\n none: {\r\n padding: 0\r\n },\r\n action: {\r\n marginRight: '-' + spacing30,\r\n marginTop: '-.375rem',\r\n '& svg': {\r\n width: spacing40,\r\n height: spacing40,\r\n margin: '.75rem', // No tokens available, this is one off value for spacing\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[500]\r\n }\r\n },\r\n content: {\r\n alignSelf: 'flex-start'\r\n },\r\n responsive: _defineProperty({}, theme.breakpoints.only('xs'), {\r\n padding: spacing40 + ' ' + spacing40 + ' ' + spacing30\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * CardHeader component for displaying header on a Card component\r\n */\r\nvar CardHeader = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n subheader = props.subheader,\r\n rest = _objectWithoutProperties(props, ['classes', 'subheader']);\r\n\r\n var classesOverrides = getLegacySpacingModeCss(useContext(CardContext), classes);\r\n\r\n // Typography's `body3` variant is exclusive to Path.\r\n // So subheaderTypographyProps doesn't work here.\r\n // Had to create a new node.\r\n var newSubheader = subheader && !props.subheaderTypographyProps ? React.createElement(\r\n Typography,\r\n { variant: 'body3',\r\n component: 'span',\r\n color: 'textSecondary'\r\n },\r\n subheader\r\n ) : React.createElement(\r\n React.Fragment,\r\n null,\r\n subheader || null\r\n );\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, classesOverrides),\r\n action: classes.action,\r\n content: classes.content\r\n };\r\n\r\n return React.createElement(MuiCardHeader, Object.assign({\r\n classes: classOverrides,\r\n titleTypographyProps: {\r\n variant: 'h3'\r\n },\r\n subheader: newSubheader\r\n }, rest, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardHeader.muiName = 'CardHeader';\r\nCardHeader.displayName = 'CardHeader';\r\n\r\nCardHeader.propTypes = {\r\n /**\r\n * The action to display in the card header.\r\n */\r\n action: PropTypes.node,\r\n /**\r\n * The Avatar for the Card Header.\r\n */\r\n avatar: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If true, the children won't be wrapped by a Typography component.\r\n * This can be useful to render an alternative Typography variant by\r\n * wrapping the title text, and optional subheader text with the\r\n * Typography component.\r\n */\r\n disableTypography: PropTypes.bool,\r\n /**\r\n * The content of the Card Title.\r\n */\r\n title: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the title (as\r\n * long as disableTypography is not `true`).\r\n */\r\n titleTypographyProps: PropTypes.object,\r\n /**\r\n * The content of the subheader.\r\n */\r\n subheader: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the subheader (as\r\n * long as disableTypography is not true).\r\n */\r\n subheaderTypographyProps: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardHeader.defaultProps = {\r\n component: 'div',\r\n disableTypography: false\r\n};\r\n\r\nexport default withStyles(styles)(CardHeader);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { chainPropTypes } from '@material-ui/utils';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n backgroundSize: 'cover',\n backgroundRepeat: 'no-repeat',\n backgroundPosition: 'center'\n },\n\n /* Styles applied to the root element if `component=\"video, audio, picture, iframe, or img\"`. */\n media: {\n width: '100%'\n },\n\n /* Styles applied to the root element if `component=\"picture or img\"`. */\n img: {\n // ⚠️ object-fit is not supported by IE 11.\n objectFit: 'cover'\n }\n};\nvar MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];\nvar CardMedia = React.forwardRef(function CardMedia(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n image = props.image,\n src = props.src,\n style = props.style,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"image\", \"src\", \"style\"]);\n\n var isMediaComponent = MEDIA_COMPONENTS.indexOf(Component) !== -1;\n var composedStyle = !isMediaComponent && image ? _extends({\n backgroundImage: \"url(\\\"\".concat(image, \"\\\")\")\n }, style) : style;\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, isMediaComponent && classes.media, \"picture img\".indexOf(Component) !== -1 && classes.img),\n ref: ref,\n style: composedStyle,\n src: isMediaComponent ? image || src : undefined\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? CardMedia.propTypes = {\n /**\n * The content of the component.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n if (!props.children && !props.image && !props.src && !props.component) {\n return new Error('Material-UI: Either `children`, `image`, `src` or `component` prop must be specified.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Component for rendering image.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Image to be displayed as a background image.\n * Either `image` or `src` prop must be specified.\n * Note that caller must specify height otherwise the image will not be visible.\n */\n image: PropTypes.string,\n\n /**\n * An alias for `image` property.\n * Available only with media components.\n * Media components: `video`, `audio`, `picture`, `iframe`, `img`.\n */\n src: PropTypes.string,\n\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCardMedia'\n})(CardMedia);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiCardMedia } from '@material-ui/core/CardMedia';\r\nimport { CardContext } from './Card';\r\nimport { getSpacingStyles, spacingType } from './../globalSpacing';\r\nimport isEmpty from 'lodash/isEmpty';\r\n\r\nvar styles = {\r\n root: {}\r\n};\r\n\r\n/**\r\n * CardMedia component for displaying media on a Card component\r\n */\r\nvar CardMedia = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var spacingOptions = useContext(CardContext).spacingOptions;\r\n\r\n // Card media needs to span across the card width\r\n // so using `negateSpacingRightLeft` props to set that.\r\n var classesOverrides = !isEmpty(spacingOptions) ? getSpacingStyles({\r\n spacing: spacingOptions.spacing,\r\n negateSpacingRightLeft: true\r\n }, spacingType.COMPONENT_RESET) : {};\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, classesOverrides)\r\n };\r\n\r\n return React.createElement(MuiCardMedia, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nCardMedia.muiName = 'CardMedia';\r\nCardMedia.displayName = 'CardMedia';\r\n\r\nCardMedia.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Component for rendering image.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Image to be displayed as a background image.\r\n * Either `image` or `src` prop must be specified.\r\n * Note that caller must specify height otherwise the image will not be visible.\r\n */\r\n image: PropTypes.string,\r\n /**\r\n * An alias for `image` property.\r\n * Available only with media components.\r\n * Media components: `video`, `audio`, `picture`, `iframe`, `img`.\r\n */\r\n src: PropTypes.string\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nCardMedia.defaultProps = {\r\n component: 'div'\r\n};\r\n\r\nexport default withStyles(styles)(CardMedia);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport useControlled from '../utils/useControlled';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport IconButton from '../IconButton';\nexport var styles = {\n root: {\n padding: 9\n },\n checked: {},\n disabled: {},\n input: {\n cursor: 'inherit',\n position: 'absolute',\n opacity: 0,\n width: '100%',\n height: '100%',\n top: 0,\n left: 0,\n margin: 0,\n padding: 0,\n zIndex: 1\n }\n};\n/**\n * @ignore - internal component.\n */\n\nvar SwitchBase = React.forwardRef(function SwitchBase(props, ref) {\n var autoFocus = props.autoFocus,\n checkedProp = props.checked,\n checkedIcon = props.checkedIcon,\n classes = props.classes,\n className = props.className,\n defaultChecked = props.defaultChecked,\n disabledProp = props.disabled,\n icon = props.icon,\n id = props.id,\n inputProps = props.inputProps,\n inputRef = props.inputRef,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onFocus = props.onFocus,\n readOnly = props.readOnly,\n required = props.required,\n tabIndex = props.tabIndex,\n type = props.type,\n value = props.value,\n other = _objectWithoutProperties(props, [\"autoFocus\", \"checked\", \"checkedIcon\", \"classes\", \"className\", \"defaultChecked\", \"disabled\", \"icon\", \"id\", \"inputProps\", \"inputRef\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"readOnly\", \"required\", \"tabIndex\", \"type\", \"value\"]);\n\n var _useControlled = useControlled({\n controlled: checkedProp,\n default: Boolean(defaultChecked),\n name: 'SwitchBase',\n state: 'checked'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n checked = _useControlled2[0],\n setCheckedState = _useControlled2[1];\n\n var muiFormControl = useFormControl();\n\n var handleFocus = function handleFocus(event) {\n if (onFocus) {\n onFocus(event);\n }\n\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n if (onBlur) {\n onBlur(event);\n }\n\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n }\n };\n\n var handleInputChange = function handleInputChange(event) {\n var newChecked = event.target.checked;\n setCheckedState(newChecked);\n\n if (onChange) {\n // TODO v5: remove the second argument.\n onChange(event, newChecked);\n }\n };\n\n var disabled = disabledProp;\n\n if (muiFormControl) {\n if (typeof disabled === 'undefined') {\n disabled = muiFormControl.disabled;\n }\n }\n\n var hasLabelFor = type === 'checkbox' || type === 'radio';\n return /*#__PURE__*/React.createElement(IconButton, _extends({\n component: \"span\",\n className: clsx(classes.root, className, checked && classes.checked, disabled && classes.disabled),\n disabled: disabled,\n tabIndex: null,\n role: undefined,\n onFocus: handleFocus,\n onBlur: handleBlur,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"input\", _extends({\n autoFocus: autoFocus,\n checked: checkedProp,\n defaultChecked: defaultChecked,\n className: classes.input,\n disabled: disabled,\n id: hasLabelFor && id,\n name: name,\n onChange: handleInputChange,\n readOnly: readOnly,\n ref: inputRef,\n required: required,\n tabIndex: tabIndex,\n type: type,\n value: value\n }, inputProps)), checked ? checkedIcon : icon);\n}); // NB: If changed, please update Checkbox, Switch and Radio\n// so that the API documentation is updated.\n\nprocess.env.NODE_ENV !== \"production\" ? SwitchBase.propTypes = {\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n defaultChecked: PropTypes.bool,\n\n /**\n * If `true`, the switch will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node.isRequired,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /*\n * @ignore\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * The input component prop `type`.\n */\n type: PropTypes.string.isRequired,\n\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateSwitchBase'\n})(SwitchBase);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n}), 'CheckBoxOutlineBlank');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckBox');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"\n}), 'IndeterminateCheckBox');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport SwitchBase from '../internal/SwitchBase';\nimport CheckBoxOutlineBlankIcon from '../internal/svg-icons/CheckBoxOutlineBlank';\nimport CheckBoxIcon from '../internal/svg-icons/CheckBox';\nimport { fade } from '../styles/colorManipulator';\nimport IndeterminateCheckBoxIcon from '../internal/svg-icons/IndeterminateCheckBox';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.secondary\n },\n\n /* Pseudo-class applied to the root element if `checked={true}`. */\n checked: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `indeterminate={true}`. */\n indeterminate: {},\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n '&$checked': {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n '&$checked': {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n }\n };\n};\nvar defaultCheckedIcon = /*#__PURE__*/React.createElement(CheckBoxIcon, null);\nvar defaultIcon = /*#__PURE__*/React.createElement(CheckBoxOutlineBlankIcon, null);\nvar defaultIndeterminateIcon = /*#__PURE__*/React.createElement(IndeterminateCheckBoxIcon, null);\nvar Checkbox = React.forwardRef(function Checkbox(props, ref) {\n var _props$checkedIcon = props.checkedIcon,\n checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon,\n classes = props.classes,\n _props$color = props.color,\n color = _props$color === void 0 ? 'secondary' : _props$color,\n _props$icon = props.icon,\n icon = _props$icon === void 0 ? defaultIcon : _props$icon,\n _props$indeterminate = props.indeterminate,\n indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate,\n _props$indeterminateI = props.indeterminateIcon,\n indeterminateIcon = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI,\n inputProps = props.inputProps,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"checkedIcon\", \"classes\", \"color\", \"icon\", \"indeterminate\", \"indeterminateIcon\", \"inputProps\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(SwitchBase, _extends({\n type: \"checkbox\",\n classes: {\n root: clsx(classes.root, classes[\"color\".concat(capitalize(color))], indeterminate && classes.indeterminate),\n checked: classes.checked,\n disabled: classes.disabled\n },\n color: color,\n inputProps: _extends({\n 'data-indeterminate': indeterminate\n }, inputProps),\n icon: React.cloneElement(indeterminate ? indeterminateIcon : icon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n checkedIcon: React.cloneElement(indeterminate ? indeterminateIcon : checkedIcon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Checkbox.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * If `true`, the checkbox will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * If `true`, the component appears indeterminate.\n * This does not set the native input element to indeterminate due\n * to inconsistent behavior across browsers.\n * However, we set a `data-indeterminate` attribute on the input.\n */\n indeterminate: PropTypes.bool,\n\n /**\n * The icon to display when the component is indeterminate.\n */\n indeterminateIcon: PropTypes.node,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the checkbox.\n * `small` is equivalent to the dense checkbox styling.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiCheckbox'\n})(Checkbox);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport { default as MuiCheckbox } from '@material-ui/core/Checkbox';\r\nimport PropTypes from 'prop-types';\r\nimport CheckBoxOutlineBlankIcon from '@material-ui/core/internal/svg-icons/CheckBoxOutlineBlank';\r\nimport CheckBoxIcon from '@material-ui/core/internal/svg-icons/CheckBox';\r\nimport IndeterminateCheckBoxIcon from '@material-ui/core/internal/svg-icons/IndeterminateCheckBox';\r\nimport { default as withStyles } from '../styles';\r\nimport { sizingMedium, spacing40, colorBrandSecondary, borderRadiusSmall } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n focused: {\r\n borderRadius: borderRadiusSmall,\r\n boxShadow: 'inset 0 0 0 2px ' + colorBrandSecondary,\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n checked: {},\r\n disabled: {},\r\n colorPrimary: {\r\n '&$checked': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background\r\n }\r\n },\r\n size: {\r\n width: sizingMedium,\r\n height: sizingMedium\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Checkbox` to allow a user to select one or more values from a small set of options.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * LabeledCheckboxes\r\n * UnlabeledCheckboxes\r\n */\r\n\r\nvar Checkbox = function (_React$Component) {\r\n _inherits(Checkbox, _React$Component);\r\n\r\n function Checkbox(props) {\r\n _classCallCheck(this, Checkbox);\r\n\r\n var _this = _possibleConstructorReturn(this, (Checkbox.__proto__ || Object.getPrototypeOf(Checkbox)).call(this, props));\r\n\r\n _this.state = {\r\n isFocused: false\r\n };\r\n _this.handleFocus = _this.handleFocus.bind(_this);\r\n _this.handleBlur = _this.handleBlur.bind(_this);\r\n return _this;\r\n }\r\n\r\n _createClass(Checkbox, [{\r\n key: 'handleFocus',\r\n value: function handleFocus(e) {\r\n if (this.props.onFocus) {\r\n this.props.onFocus(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: true\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'handleBlur',\r\n value: function handleBlur(e) {\r\n if (this.props.onBlur) {\r\n this.props.onBlur(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: false\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var isFocused = this.state.isFocused;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n inputPropsTemp = _props.inputProps,\r\n other = _objectWithoutProperties(_props, ['classes', 'inputProps']);\r\n\r\n var inputProps = Object.assign({}, inputPropsTemp);\r\n\r\n // Updating aria-checked attribute when indeterminate flag is true.\r\n if (this.props.indeterminate) {\r\n inputProps['aria-checked'] = 'mixed';\r\n }\r\n\r\n return React.createElement(MuiCheckbox, Object.assign({\r\n classes: {\r\n root: isFocused ? classes.focused : classes.root,\r\n checked: classes.checked,\r\n disabled: classes.disabled,\r\n colorPrimary: classes.colorPrimary\r\n },\r\n onFocus: this.handleFocus,\r\n onBlur: this.handleBlur,\r\n disableRipple: true,\r\n color: 'primary',\r\n inputProps: inputProps\r\n }, other));\r\n }\r\n }]);\r\n\r\n return Checkbox;\r\n}(React.Component);\r\n\r\n;\r\n\r\nCheckbox.muiName = 'Checkbox';\r\n\r\nCheckbox.propTypes = {\r\n /**\r\n * If `true`, the component is checked.\r\n */\r\n checked: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\r\n /**\r\n * The icon to display when the component is checked.\r\n */\r\n checkedIcon: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the switch will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the ripple effect will be disabled.\r\n */\r\n disableRipple: PropTypes.bool,\r\n /**\r\n * The icon to display when the component is unchecked.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The id of the `input` element.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * If `true`, the component appears indeterminate.\r\n */\r\n indeterminate: PropTypes.bool,\r\n /**\r\n * The icon to display when the component is indeterminate.\r\n */\r\n indeterminateIcon: PropTypes.node,\r\n /**\r\n * Properties applied to the `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n /**\r\n * Callback fired when the state is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.checked`.\r\n * @param {boolean} checked The `checked` value of the switch\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * The input component property `type`.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The value of the component.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nCheckbox.defaultProps = {\r\n checkedIcon: React.createElement(CheckBoxIcon, null),\r\n icon: React.createElement(CheckBoxOutlineBlankIcon, null),\r\n indeterminate: false,\r\n indeterminateIcon: React.createElement(IndeterminateCheckBoxIcon, null)\r\n};\r\n\r\nexport default withStyles(styles)(Checkbox);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Modal from '../Modal';\nimport Backdrop from '../Backdrop';\nimport withStyles from '../styles/withStyles';\nimport Slide from '../Slide';\nimport Paper from '../Paper';\nimport capitalize from '../utils/capitalize';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `variant=\"permanent or persistent\"`. */\n docked: {\n flex: '0 0 auto'\n },\n\n /* Styles applied to the `Paper` component. */\n paper: {\n overflowY: 'auto',\n display: 'flex',\n flexDirection: 'column',\n height: '100%',\n flex: '1 0 auto',\n zIndex: theme.zIndex.drawer,\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n // temporary style\n position: 'fixed',\n top: 0,\n // We disable the focus ring for mouse, touch and keyboard users.\n // At some point, it would be better to keep it for keyboard users.\n // :focus-ring CSS pseudo-class will help.\n outline: 0\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"left\"`. */\n paperAnchorLeft: {\n left: 0,\n right: 'auto'\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"right\"`. */\n paperAnchorRight: {\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"top\"`. */\n paperAnchorTop: {\n top: 0,\n left: 0,\n bottom: 'auto',\n right: 0,\n height: 'auto',\n maxHeight: '100%'\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"bottom\"`. */\n paperAnchorBottom: {\n top: 'auto',\n left: 0,\n bottom: 0,\n right: 0,\n height: 'auto',\n maxHeight: '100%'\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"left\"` and `variant` is not \"temporary\". */\n paperAnchorDockedLeft: {\n borderRight: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"top\"` and `variant` is not \"temporary\". */\n paperAnchorDockedTop: {\n borderBottom: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"right\"` and `variant` is not \"temporary\". */\n paperAnchorDockedRight: {\n borderLeft: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Paper` component if `anchor=\"bottom\"` and `variant` is not \"temporary\". */\n paperAnchorDockedBottom: {\n borderTop: \"1px solid \".concat(theme.palette.divider)\n },\n\n /* Styles applied to the `Modal` component. */\n modal: {}\n };\n};\nvar oppositeDirection = {\n left: 'right',\n right: 'left',\n top: 'down',\n bottom: 'up'\n};\nexport function isHorizontal(anchor) {\n return ['left', 'right'].indexOf(anchor) !== -1;\n}\nexport function getAnchor(theme, anchor) {\n return theme.direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;\n}\nvar defaultTransitionDuration = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The props of the [Modal](/api/modal/) component are available\n * when `variant=\"temporary\"` is set.\n */\n\nvar Drawer = React.forwardRef(function Drawer(props, ref) {\n var _props$anchor = props.anchor,\n anchorProp = _props$anchor === void 0 ? 'left' : _props$anchor,\n BackdropProps = props.BackdropProps,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 16 : _props$elevation,\n _props$ModalProps = props.ModalProps;\n _props$ModalProps = _props$ModalProps === void 0 ? {} : _props$ModalProps;\n\n var BackdropPropsProp = _props$ModalProps.BackdropProps,\n ModalProps = _objectWithoutProperties(_props$ModalProps, [\"BackdropProps\"]),\n onClose = props.onClose,\n _props$open = props.open,\n open = _props$open === void 0 ? false : _props$open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n SlideProps = props.SlideProps,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Slide : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'temporary' : _props$variant,\n other = _objectWithoutProperties(props, [\"anchor\", \"BackdropProps\", \"children\", \"classes\", \"className\", \"elevation\", \"ModalProps\", \"onClose\", \"open\", \"PaperProps\", \"SlideProps\", \"TransitionComponent\", \"transitionDuration\", \"variant\"]);\n\n var theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.\n // We use this state is order to skip the appear transition during the\n // initial mount of the component.\n\n var mounted = React.useRef(false);\n React.useEffect(function () {\n mounted.current = true;\n }, []);\n var anchor = getAnchor(theme, anchorProp);\n var drawer = /*#__PURE__*/React.createElement(Paper, _extends({\n elevation: variant === 'temporary' ? elevation : 0,\n square: true\n }, PaperProps, {\n className: clsx(classes.paper, classes[\"paperAnchor\".concat(capitalize(anchor))], PaperProps.className, variant !== 'temporary' && classes[\"paperAnchorDocked\".concat(capitalize(anchor))])\n }), children);\n\n if (variant === 'permanent') {\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes.docked, className),\n ref: ref\n }, other), drawer);\n }\n\n var slidingDrawer = /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: open,\n direction: oppositeDirection[anchor],\n timeout: transitionDuration,\n appear: mounted.current\n }, SlideProps), drawer);\n\n if (variant === 'persistent') {\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes.docked, className),\n ref: ref\n }, other), slidingDrawer);\n } // variant === temporary\n\n\n return /*#__PURE__*/React.createElement(Modal, _extends({\n BackdropProps: _extends(_extends(_extends({}, BackdropProps), BackdropPropsProp), {}, {\n transitionDuration: transitionDuration\n }),\n BackdropComponent: Backdrop,\n className: clsx(classes.root, classes.modal, className),\n open: open,\n onClose: onClose,\n ref: ref\n }, other, ModalProps), slidingDrawer);\n});\nprocess.env.NODE_ENV !== \"production\" ? Drawer.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Side from which the drawer will appear.\n */\n anchor: PropTypes.oneOf(['bottom', 'left', 'right', 'top']),\n\n /**\n * @ignore\n */\n BackdropProps: PropTypes.object,\n\n /**\n * The contents of the drawer.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The elevation of the drawer.\n */\n elevation: PropTypes.number,\n\n /**\n * Props applied to the [`Modal`](/api/modal/) element.\n */\n ModalProps: PropTypes.object,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * If `true`, the drawer is open.\n */\n open: PropTypes.bool,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes.object,\n\n /**\n * Props applied to the [`Slide`](/api/slide/) element.\n */\n SlideProps: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['permanent', 'persistent', 'temporary'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDrawer',\n flip: false\n})(Drawer);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiDrawer } from '@material-ui/core/Drawer';\r\nimport { useSpacing } from './../globalSpacing';\r\nimport { withStyles } from '../styles';\r\n\r\nimport { spacing40, spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n width: '17rem' }, theme.breakpoints.up('sm'), {\r\n width: '25.9375rem' // 415px\r\n }),\r\n fullScreenDrawer: {\r\n width: '100%',\r\n height: '100%'\r\n },\r\n fullScreenPaper: {\r\n height: 'inherit'\r\n },\r\n paper: {\r\n width: 'inherit',\r\n gridAutoRows: 'minmax(min-content, max-content)'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that can be used for navigation or to provide supplemental information.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.14.0\r\n * @examples\r\n * TemporaryDrawer\r\n * ResponsiveDrawer\r\n * FullScreenDrawer\r\n * DrawerWithCustomSpacing\r\n * DrawerWithCustomSpacingSpacingOptions\r\n */\r\nvar Drawer = function Drawer(props) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n spacingOptionsLocal = props.spacingOptions,\r\n anchor = props.anchor,\r\n fullScreen = props.fullScreen,\r\n rest = _objectWithoutProperties(props, ['classes', 'spacingOptions', 'anchor', 'fullScreen']);\r\n\r\n var _useSpacing = useSpacing(spacingOptionsLocal),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var fullScreenDrawer = classes.fullScreenDrawer,\r\n fullScreenPaper = classes.fullScreenPaper,\r\n restClasses = _objectWithoutProperties(classes, ['fullScreenDrawer', 'fullScreenPaper']);\r\n\r\n var classOverrides = Object.assign({}, restClasses, {\r\n root: classNames((_classNames = {}, _defineProperty(_classNames, classes.root, anchor === 'left' || anchor === 'right'), _defineProperty(_classNames, fullScreenDrawer, fullScreen), _classNames)),\r\n paper: classNames(classes.paper, spacingStyles, _defineProperty({}, fullScreenPaper, fullScreen))\r\n });\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptionsLocal);\r\n }, [spacingOptionsLocal]); // eslint-disable-line\r\n\r\n return React.createElement(MuiDrawer, Object.assign({\r\n classes: classOverrides,\r\n anchor: anchor\r\n }, rest));\r\n};\r\n\r\nDrawer.muiName = 'Drawer';\r\n\r\nDrawer.propTypes = {\r\n /**\r\n * Side from which the drawer will appear.\r\n */\r\n anchor: PropTypes.oneOf(['bottom', 'left', 'right', 'top']),\r\n /**\r\n * The contents of the drawer.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component. See Classes API below for more details.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The elevation of the drawer.\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * Props applied to the [`Modal`](https://material-ui.com/api/modal/) element.\r\n *\r\n * Only available when the variant is \"temporary\"\r\n */\r\n ModalProps: PropTypes.object,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n * Signature: `function(event: object) => void`\r\n * event: The event source of the callback.\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * If true, the drawer is open.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * Props applied to the [`Paper`](#/components/Paper) element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Props applied to the [`Slide`](https://material-ui.com/api/slide/) element.\r\n */\r\n SlideProps: PropTypes.object,\r\n /**\r\n * The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.\r\n *\r\n * Object format: { appear?: number, enter?: number, exit?: number }\r\n *\r\n * Default value: `{enter: duration.enteringScreen, exit: duration.leavingScreen}`\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.object]),\r\n /**\r\n * The variant to use.\r\n */\r\n variant: PropTypes.oneOf(['permanent', 'persistent', 'temporary']),\r\n /**\r\n * If `true`, the Drawer will be full-screen\r\n */\r\n fullScreen: PropTypes.bool,\r\n /**\r\n * Provides several attributes to control `Drawer` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Drawer` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n * * `outerSpacing` (bool): **true** | false\r\n * * If set to `false`, removes the drawer's outer padding (but retains the space between its subcomponents)\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nDrawer.defaultProps = {\r\n anchor: 'left',\r\n elevation: 16,\r\n ModalProps: {},\r\n open: false,\r\n PaperProps: {},\r\n SlideProps: {},\r\n variant: 'temporary',\r\n fullScreen: false,\r\n spacingOptions: {\r\n spacing: {\r\n xs: {\r\n padding: spacing40,\r\n gutter: spacing40\r\n },\r\n lg: {\r\n padding: spacing60,\r\n gutter: spacing50\r\n }\r\n }\r\n }\r\n};\r\n\r\nexport default withStyles(styles)(Drawer);","/**\n * @ignore\n * some key-codes definition and utils from closure-library\n * @author yiminghe@gmail.com\n */\nvar KeyCode = {\n /**\n * MAC_ENTER\n */\n MAC_ENTER: 3,\n\n /**\n * BACKSPACE\n */\n BACKSPACE: 8,\n\n /**\n * TAB\n */\n TAB: 9,\n\n /**\n * NUMLOCK on FF/Safari Mac\n */\n NUM_CENTER: 12,\n\n /**\n * ENTER\n */\n ENTER: 13,\n\n /**\n * SHIFT\n */\n SHIFT: 16,\n\n /**\n * CTRL\n */\n CTRL: 17,\n\n /**\n * ALT\n */\n ALT: 18,\n\n /**\n * PAUSE\n */\n PAUSE: 19,\n\n /**\n * CAPS_LOCK\n */\n CAPS_LOCK: 20,\n\n /**\n * ESC\n */\n ESC: 27,\n\n /**\n * SPACE\n */\n SPACE: 32,\n\n /**\n * PAGE_UP\n */\n PAGE_UP: 33,\n\n /**\n * PAGE_DOWN\n */\n PAGE_DOWN: 34,\n\n /**\n * END\n */\n END: 35,\n\n /**\n * HOME\n */\n HOME: 36,\n\n /**\n * LEFT\n */\n LEFT: 37,\n\n /**\n * UP\n */\n UP: 38,\n\n /**\n * RIGHT\n */\n RIGHT: 39,\n\n /**\n * DOWN\n */\n DOWN: 40,\n\n /**\n * PRINT_SCREEN\n */\n PRINT_SCREEN: 44,\n\n /**\n * INSERT\n */\n INSERT: 45,\n\n /**\n * DELETE\n */\n DELETE: 46,\n\n /**\n * ZERO\n */\n ZERO: 48,\n\n /**\n * ONE\n */\n ONE: 49,\n\n /**\n * TWO\n */\n TWO: 50,\n\n /**\n * THREE\n */\n THREE: 51,\n\n /**\n * FOUR\n */\n FOUR: 52,\n\n /**\n * FIVE\n */\n FIVE: 53,\n\n /**\n * SIX\n */\n SIX: 54,\n\n /**\n * SEVEN\n */\n SEVEN: 55,\n\n /**\n * EIGHT\n */\n EIGHT: 56,\n\n /**\n * NINE\n */\n NINE: 57,\n\n /**\n * QUESTION_MARK\n */\n QUESTION_MARK: 63,\n\n /**\n * A\n */\n A: 65,\n\n /**\n * B\n */\n B: 66,\n\n /**\n * C\n */\n C: 67,\n\n /**\n * D\n */\n D: 68,\n\n /**\n * E\n */\n E: 69,\n\n /**\n * F\n */\n F: 70,\n\n /**\n * G\n */\n G: 71,\n\n /**\n * H\n */\n H: 72,\n\n /**\n * I\n */\n I: 73,\n\n /**\n * J\n */\n J: 74,\n\n /**\n * K\n */\n K: 75,\n\n /**\n * L\n */\n L: 76,\n\n /**\n * M\n */\n M: 77,\n\n /**\n * N\n */\n N: 78,\n\n /**\n * O\n */\n O: 79,\n\n /**\n * P\n */\n P: 80,\n\n /**\n * Q\n */\n Q: 81,\n\n /**\n * R\n */\n R: 82,\n\n /**\n * S\n */\n S: 83,\n\n /**\n * T\n */\n T: 84,\n\n /**\n * U\n */\n U: 85,\n\n /**\n * V\n */\n V: 86,\n\n /**\n * W\n */\n W: 87,\n\n /**\n * X\n */\n X: 88,\n\n /**\n * Y\n */\n Y: 89,\n\n /**\n * Z\n */\n Z: 90,\n\n /**\n * META\n */\n META: 91,\n\n /**\n * WIN_KEY_RIGHT\n */\n WIN_KEY_RIGHT: 92,\n\n /**\n * CONTEXT_MENU\n */\n CONTEXT_MENU: 93,\n\n /**\n * NUM_ZERO\n */\n NUM_ZERO: 96,\n\n /**\n * NUM_ONE\n */\n NUM_ONE: 97,\n\n /**\n * NUM_TWO\n */\n NUM_TWO: 98,\n\n /**\n * NUM_THREE\n */\n NUM_THREE: 99,\n\n /**\n * NUM_FOUR\n */\n NUM_FOUR: 100,\n\n /**\n * NUM_FIVE\n */\n NUM_FIVE: 101,\n\n /**\n * NUM_SIX\n */\n NUM_SIX: 102,\n\n /**\n * NUM_SEVEN\n */\n NUM_SEVEN: 103,\n\n /**\n * NUM_EIGHT\n */\n NUM_EIGHT: 104,\n\n /**\n * NUM_NINE\n */\n NUM_NINE: 105,\n\n /**\n * NUM_MULTIPLY\n */\n NUM_MULTIPLY: 106,\n\n /**\n * NUM_PLUS\n */\n NUM_PLUS: 107,\n\n /**\n * NUM_MINUS\n */\n NUM_MINUS: 109,\n\n /**\n * NUM_PERIOD\n */\n NUM_PERIOD: 110,\n\n /**\n * NUM_DIVISION\n */\n NUM_DIVISION: 111,\n\n /**\n * F1\n */\n F1: 112,\n\n /**\n * F2\n */\n F2: 113,\n\n /**\n * F3\n */\n F3: 114,\n\n /**\n * F4\n */\n F4: 115,\n\n /**\n * F5\n */\n F5: 116,\n\n /**\n * F6\n */\n F6: 117,\n\n /**\n * F7\n */\n F7: 118,\n\n /**\n * F8\n */\n F8: 119,\n\n /**\n * F9\n */\n F9: 120,\n\n /**\n * F10\n */\n F10: 121,\n\n /**\n * F11\n */\n F11: 122,\n\n /**\n * F12\n */\n F12: 123,\n\n /**\n * NUMLOCK\n */\n NUMLOCK: 144,\n\n /**\n * SEMICOLON\n */\n SEMICOLON: 186,\n\n /**\n * DASH\n */\n DASH: 189,\n\n /**\n * EQUALS\n */\n EQUALS: 187,\n\n /**\n * COMMA\n */\n COMMA: 188,\n\n /**\n * PERIOD\n */\n PERIOD: 190,\n\n /**\n * SLASH\n */\n SLASH: 191,\n\n /**\n * APOSTROPHE\n */\n APOSTROPHE: 192,\n\n /**\n * SINGLE_QUOTE\n */\n SINGLE_QUOTE: 222,\n\n /**\n * OPEN_SQUARE_BRACKET\n */\n OPEN_SQUARE_BRACKET: 219,\n\n /**\n * BACKSLASH\n */\n BACKSLASH: 220,\n\n /**\n * CLOSE_SQUARE_BRACKET\n */\n CLOSE_SQUARE_BRACKET: 221,\n\n /**\n * WIN_KEY\n */\n WIN_KEY: 224,\n\n /**\n * MAC_FF_META\n */\n MAC_FF_META: 224,\n\n /**\n * WIN_IME\n */\n WIN_IME: 229,\n // ======================== Function ========================\n\n /**\n * whether text and modified key is entered at the same time.\n */\n isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) {\n var keyCode = e.keyCode;\n\n if (e.altKey && !e.ctrlKey || e.metaKey || // Function keys don't generate text\n keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) {\n return false;\n } // The following keys are quite harmless, even in combination with\n // CTRL, ALT or SHIFT.\n\n\n switch (keyCode) {\n case KeyCode.ALT:\n case KeyCode.CAPS_LOCK:\n case KeyCode.CONTEXT_MENU:\n case KeyCode.CTRL:\n case KeyCode.DOWN:\n case KeyCode.END:\n case KeyCode.ESC:\n case KeyCode.HOME:\n case KeyCode.INSERT:\n case KeyCode.LEFT:\n case KeyCode.MAC_FF_META:\n case KeyCode.META:\n case KeyCode.NUMLOCK:\n case KeyCode.NUM_CENTER:\n case KeyCode.PAGE_DOWN:\n case KeyCode.PAGE_UP:\n case KeyCode.PAUSE:\n case KeyCode.PRINT_SCREEN:\n case KeyCode.RIGHT:\n case KeyCode.SHIFT:\n case KeyCode.UP:\n case KeyCode.WIN_KEY:\n case KeyCode.WIN_KEY_RIGHT:\n return false;\n\n default:\n return true;\n }\n },\n\n /**\n * whether character is entered.\n */\n isCharacterKey: function isCharacterKey(keyCode) {\n if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) {\n return true;\n }\n\n if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) {\n return true;\n }\n\n if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) {\n return true;\n } // Safari sends zero key code for non-latin characters.\n\n\n if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) {\n return true;\n }\n\n switch (keyCode) {\n case KeyCode.SPACE:\n case KeyCode.QUESTION_MARK:\n case KeyCode.NUM_PLUS:\n case KeyCode.NUM_MINUS:\n case KeyCode.NUM_PERIOD:\n case KeyCode.NUM_DIVISION:\n case KeyCode.SEMICOLON:\n case KeyCode.DASH:\n case KeyCode.EQUALS:\n case KeyCode.COMMA:\n case KeyCode.PERIOD:\n case KeyCode.SLASH:\n case KeyCode.APOSTROPHE:\n case KeyCode.SINGLE_QUOTE:\n case KeyCode.OPEN_SQUARE_BRACKET:\n case KeyCode.BACKSLASH:\n case KeyCode.CLOSE_SQUARE_BRACKET:\n return true;\n\n default:\n return false;\n }\n }\n};\nexport default KeyCode;","import _extends from 'babel-runtime/helpers/extends';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _createClass from 'babel-runtime/helpers/createClass';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport React from 'react';\nimport classNames from 'classnames';\n\nvar TouchFeedback = function (_React$Component) {\n _inherits(TouchFeedback, _React$Component);\n\n function TouchFeedback() {\n _classCallCheck(this, TouchFeedback);\n\n var _this = _possibleConstructorReturn(this, (TouchFeedback.__proto__ || Object.getPrototypeOf(TouchFeedback)).apply(this, arguments));\n\n _this.state = {\n active: false\n };\n _this.onTouchStart = function (e) {\n _this.triggerEvent('TouchStart', true, e);\n };\n _this.onTouchMove = function (e) {\n _this.triggerEvent('TouchMove', false, e);\n };\n _this.onTouchEnd = function (e) {\n _this.triggerEvent('TouchEnd', false, e);\n };\n _this.onTouchCancel = function (e) {\n _this.triggerEvent('TouchCancel', false, e);\n };\n _this.onMouseDown = function (e) {\n // pc simulate mobile\n _this.triggerEvent('MouseDown', true, e);\n };\n _this.onMouseUp = function (e) {\n _this.triggerEvent('MouseUp', false, e);\n };\n _this.onMouseLeave = function (e) {\n _this.triggerEvent('MouseLeave', false, e);\n };\n return _this;\n }\n\n _createClass(TouchFeedback, [{\n key: 'componentDidUpdate',\n value: function componentDidUpdate() {\n if (this.props.disabled && this.state.active) {\n this.setState({\n active: false\n });\n }\n }\n }, {\n key: 'triggerEvent',\n value: function triggerEvent(type, isActive, ev) {\n var eventType = 'on' + type;\n var children = this.props.children;\n\n if (children.props[eventType]) {\n children.props[eventType](ev);\n }\n if (isActive !== this.state.active) {\n this.setState({\n active: isActive\n });\n }\n }\n }, {\n key: 'render',\n value: function render() {\n var _props = this.props,\n children = _props.children,\n disabled = _props.disabled,\n activeClassName = _props.activeClassName,\n activeStyle = _props.activeStyle;\n\n var events = disabled ? undefined : {\n onTouchStart: this.onTouchStart,\n onTouchMove: this.onTouchMove,\n onTouchEnd: this.onTouchEnd,\n onTouchCancel: this.onTouchCancel,\n onMouseDown: this.onMouseDown,\n onMouseUp: this.onMouseUp,\n onMouseLeave: this.onMouseLeave\n };\n var child = React.Children.only(children);\n if (!disabled && this.state.active) {\n var _child$props = child.props,\n style = _child$props.style,\n className = _child$props.className;\n\n if (activeStyle !== false) {\n if (activeStyle) {\n style = _extends({}, style, activeStyle);\n }\n className = classNames(className, activeClassName);\n }\n return React.cloneElement(child, _extends({ className: className,\n style: style }, events));\n }\n return React.cloneElement(child, events);\n }\n }]);\n\n return TouchFeedback;\n}(React.Component);\n\nexport default TouchFeedback;\n\nTouchFeedback.defaultProps = {\n disabled: false\n};","import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport Touchable from 'rmc-feedback';\n\nvar InputHandler = function (_Component) {\n _inherits(InputHandler, _Component);\n\n function InputHandler() {\n _classCallCheck(this, InputHandler);\n\n return _possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n InputHandler.prototype.render = function render() {\n var _props = this.props,\n prefixCls = _props.prefixCls,\n disabled = _props.disabled,\n otherProps = _objectWithoutProperties(_props, ['prefixCls', 'disabled']);\n\n return React.createElement(\n Touchable,\n {\n disabled: disabled,\n activeClassName: prefixCls + '-handler-active'\n },\n React.createElement('span', otherProps)\n );\n };\n\n return InputHandler;\n}(Component);\n\nInputHandler.propTypes = {\n prefixCls: PropTypes.string,\n disabled: PropTypes.bool,\n onTouchStart: PropTypes.func,\n onTouchEnd: PropTypes.func,\n onMouseDown: PropTypes.func,\n onMouseUp: PropTypes.func,\n onMouseLeave: PropTypes.func\n};\n\nexport default InputHandler;","import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';\nimport _extends from 'babel-runtime/helpers/extends';\nimport _classCallCheck from 'babel-runtime/helpers/classCallCheck';\nimport _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';\nimport _inherits from 'babel-runtime/helpers/inherits';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport KeyCode from 'rc-util/es/KeyCode';\nimport InputHandler from './InputHandler';\n\nfunction noop() {}\n\nfunction preventDefault(e) {\n e.preventDefault();\n}\n\nfunction defaultParser(input) {\n return input.replace(/[^\\w\\.-]+/g, '');\n}\n\n/**\n * When click and hold on a button - the speed of auto changin the value.\n */\nvar SPEED = 200;\n\n/**\n * When click and hold on a button - the delay before auto changin the value.\n */\nvar DELAY = 600;\n\n/**\n * Max Safe Integer -- on IE this is not available, so manually set the number in that case.\n * The reason this is used, instead of Infinity is because numbers above the MSI are unstable\n */\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1;\n\nvar isValidProps = function isValidProps(value) {\n return value !== undefined && value !== null;\n};\n\nvar InputNumber = function (_React$Component) {\n _inherits(InputNumber, _React$Component);\n\n function InputNumber(props) {\n _classCallCheck(this, InputNumber);\n\n var _this = _possibleConstructorReturn(this, _React$Component.call(this, props));\n\n _initialiseProps.call(_this);\n\n var value = void 0;\n if ('value' in props) {\n value = props.value;\n } else {\n value = props.defaultValue;\n }\n _this.state = {\n focused: props.autoFocus\n };\n var validValue = _this.getValidValue(_this.toNumber(value));\n _this.state = _extends({}, _this.state, {\n inputValue: _this.toPrecisionAsStep(validValue),\n value: validValue\n });\n return _this;\n }\n\n InputNumber.prototype.componentDidMount = function componentDidMount() {\n this.componentDidUpdate();\n };\n\n InputNumber.prototype.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _props = this.props,\n value = _props.value,\n onChange = _props.onChange,\n max = _props.max,\n min = _props.min;\n var focused = this.state.focused;\n\n // Don't trigger in componentDidMount\n\n if (prevProps) {\n if (prevProps.value !== value || prevProps.max !== max || prevProps.min !== min) {\n var validValue = focused ? value : this.getValidValue(value);\n var nextInputValue = void 0;\n if (this.pressingUpOrDown) {\n nextInputValue = validValue;\n } else if (this.inputting) {\n nextInputValue = this.rawInput;\n } else {\n nextInputValue = this.toPrecisionAsStep(validValue);\n }\n this.setState({ // eslint-disable-line\n value: validValue,\n inputValue: nextInputValue\n });\n }\n\n // Trigger onChange when max or min change\n // https://github.com/ant-design/ant-design/issues/11574\n var nextValue = 'value' in this.props ? value : this.state.value;\n // ref: null < 20 === true\n // https://github.com/ant-design/ant-design/issues/14277\n if ('max' in this.props && prevProps.max !== max && typeof nextValue === 'number' && nextValue > max && onChange) {\n onChange(max);\n }\n if ('min' in this.props && prevProps.min !== min && typeof nextValue === 'number' && nextValue < min && onChange) {\n onChange(min);\n }\n }\n\n // Restore cursor\n try {\n // Firefox set the input cursor after it get focused.\n // This caused that if an input didn't init with the selection,\n // set will cause cursor not correct when first focus.\n // Safari will focus input if set selection. We need skip this.\n if (this.cursorStart !== undefined && this.state.focused) {\n // In most cases, the string after cursor is stable.\n // We can move the cursor before it\n\n if (\n // If not match full str, try to match part of str\n !this.partRestoreByAfter(this.cursorAfter) && this.state.value !== this.props.value) {\n // If not match any of then, let's just keep the position\n // TODO: Logic should not reach here, need check if happens\n var pos = this.cursorStart + 1;\n\n // If not have last string, just position to the end\n if (!this.cursorAfter) {\n pos = this.input.value.length;\n } else if (this.lastKeyCode === KeyCode.BACKSPACE) {\n pos = this.cursorStart - 1;\n } else if (this.lastKeyCode === KeyCode.DELETE) {\n pos = this.cursorStart;\n }\n this.fixCaret(pos, pos);\n } else if (this.currentValue === this.input.value) {\n // Handle some special key code\n switch (this.lastKeyCode) {\n case KeyCode.BACKSPACE:\n this.fixCaret(this.cursorStart - 1, this.cursorStart - 1);\n break;\n case KeyCode.DELETE:\n this.fixCaret(this.cursorStart + 1, this.cursorStart + 1);\n break;\n default:\n // Do nothing\n }\n }\n }\n } catch (e) {}\n // Do nothing\n\n\n // Reset last key\n this.lastKeyCode = null;\n\n // pressingUpOrDown is true means that someone just click up or down button\n if (!this.pressingUpOrDown) {\n return;\n }\n if (this.props.focusOnUpDown && this.state.focused) {\n if (document.activeElement !== this.input) {\n this.focus();\n }\n }\n\n this.pressingUpOrDown = false;\n };\n\n InputNumber.prototype.componentWillUnmount = function componentWillUnmount() {\n this.stop();\n };\n\n InputNumber.prototype.getCurrentValidValue = function getCurrentValidValue(value) {\n var val = value;\n if (val === '') {\n val = '';\n } else if (!this.isNotCompleteNumber(parseFloat(val, 10))) {\n val = this.getValidValue(val);\n } else {\n val = this.state.value;\n }\n return this.toNumber(val);\n };\n\n InputNumber.prototype.getRatio = function getRatio(e) {\n var ratio = 1;\n if (e.metaKey || e.ctrlKey) {\n ratio = 0.1;\n } else if (e.shiftKey) {\n ratio = 10;\n }\n return ratio;\n };\n\n InputNumber.prototype.getValueFromEvent = function getValueFromEvent(e) {\n // optimize for chinese input expierence\n // https://github.com/ant-design/ant-design/issues/8196\n var value = e.target.value.trim().replace(/。/g, '.');\n\n if (isValidProps(this.props.decimalSeparator)) {\n value = value.replace(this.props.decimalSeparator, '.');\n }\n\n return value;\n };\n\n InputNumber.prototype.getValidValue = function getValidValue(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.props.min;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.props.max;\n\n var val = parseFloat(value, 10);\n // https://github.com/ant-design/ant-design/issues/7358\n if (isNaN(val)) {\n return value;\n }\n if (val < min) {\n val = min;\n }\n if (val > max) {\n val = max;\n }\n return val;\n };\n\n InputNumber.prototype.setValue = function setValue(v, callback) {\n // trigger onChange\n var precision = this.props.precision;\n\n var newValue = this.isNotCompleteNumber(parseFloat(v, 10)) ? null : parseFloat(v, 10);\n var _state = this.state,\n _state$value = _state.value,\n value = _state$value === undefined ? null : _state$value,\n _state$inputValue = _state.inputValue,\n inputValue = _state$inputValue === undefined ? null : _state$inputValue;\n // https://github.com/ant-design/ant-design/issues/7363\n // https://github.com/ant-design/ant-design/issues/16622\n\n var newValueInString = typeof newValue === 'number' ? newValue.toFixed(precision) : '' + newValue;\n var changed = newValue !== value || newValueInString !== '' + inputValue;\n if (!('value' in this.props)) {\n this.setState({\n value: newValue,\n inputValue: this.toPrecisionAsStep(v)\n }, callback);\n } else {\n // always set input value same as value\n this.setState({\n inputValue: this.toPrecisionAsStep(this.state.value)\n }, callback);\n }\n if (changed) {\n this.props.onChange(newValue);\n }\n\n return newValue;\n };\n\n InputNumber.prototype.getPrecision = function getPrecision(value) {\n if (isValidProps(this.props.precision)) {\n return this.props.precision;\n }\n var valueString = value.toString();\n if (valueString.indexOf('e-') >= 0) {\n return parseInt(valueString.slice(valueString.indexOf('e-') + 2), 10);\n }\n var precision = 0;\n if (valueString.indexOf('.') >= 0) {\n precision = valueString.length - valueString.indexOf('.') - 1;\n }\n return precision;\n };\n\n // step={1.0} value={1.51}\n // press +\n // then value should be 2.51, rather than 2.5\n // if this.props.precision is undefined\n // https://github.com/react-component/input-number/issues/39\n\n\n InputNumber.prototype.getMaxPrecision = function getMaxPrecision(currentValue) {\n var ratio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var _props2 = this.props,\n precision = _props2.precision,\n step = _props2.step;\n\n if (isValidProps(precision)) {\n return precision;\n }\n var ratioPrecision = this.getPrecision(ratio);\n var stepPrecision = this.getPrecision(step);\n var currentValuePrecision = this.getPrecision(currentValue);\n if (!currentValue) {\n return ratioPrecision + stepPrecision;\n }\n return Math.max(currentValuePrecision, ratioPrecision + stepPrecision);\n };\n\n InputNumber.prototype.getPrecisionFactor = function getPrecisionFactor(currentValue) {\n var ratio = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n\n var precision = this.getMaxPrecision(currentValue, ratio);\n return Math.pow(10, precision);\n };\n\n InputNumber.prototype.fixCaret = function fixCaret(start, end) {\n if (start === undefined || end === undefined || !this.input || !this.input.value) {\n return;\n }\n\n try {\n var currentStart = this.input.selectionStart;\n var currentEnd = this.input.selectionEnd;\n\n if (start !== currentStart || end !== currentEnd) {\n this.input.setSelectionRange(start, end);\n }\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n };\n\n InputNumber.prototype.focus = function focus() {\n this.input.focus();\n this.recordCursorPosition();\n };\n\n InputNumber.prototype.blur = function blur() {\n this.input.blur();\n };\n\n InputNumber.prototype.formatWrapper = function formatWrapper(num) {\n // http://2ality.com/2012/03/signedzero.html\n // https://github.com/ant-design/ant-design/issues/9439\n if (this.props.formatter) {\n return this.props.formatter(num);\n }\n return num;\n };\n\n InputNumber.prototype.toPrecisionAsStep = function toPrecisionAsStep(num) {\n if (this.isNotCompleteNumber(num) || num === '') {\n return num;\n }\n var precision = Math.abs(this.getMaxPrecision(num));\n if (!isNaN(precision)) {\n return Number(num).toFixed(precision);\n }\n return num.toString();\n };\n\n // '1.' '1x' 'xx' '' => are not complete numbers\n\n\n InputNumber.prototype.isNotCompleteNumber = function isNotCompleteNumber(num) {\n return isNaN(num) || num === '' || num === null || num && num.toString().indexOf('.') === num.toString().length - 1;\n };\n\n InputNumber.prototype.toNumber = function toNumber(num) {\n var precision = this.props.precision;\n var focused = this.state.focused;\n // num.length > 16 => This is to prevent input of large numbers\n\n var numberIsTooLarge = num && num.length > 16 && focused;\n if (this.isNotCompleteNumber(num) || numberIsTooLarge) {\n return num;\n }\n if (isValidProps(precision)) {\n return Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision);\n }\n return Number(num);\n };\n\n InputNumber.prototype.upStep = function upStep(val, rat) {\n var step = this.props.step;\n\n var precisionFactor = this.getPrecisionFactor(val, rat);\n var precision = Math.abs(this.getMaxPrecision(val, rat));\n var result = ((precisionFactor * val + precisionFactor * step * rat) / precisionFactor).toFixed(precision);\n return this.toNumber(result);\n };\n\n InputNumber.prototype.downStep = function downStep(val, rat) {\n var step = this.props.step;\n\n var precisionFactor = this.getPrecisionFactor(val, rat);\n var precision = Math.abs(this.getMaxPrecision(val, rat));\n var result = ((precisionFactor * val - precisionFactor * step * rat) / precisionFactor).toFixed(precision);\n return this.toNumber(result);\n };\n\n InputNumber.prototype.step = function step(type, e) {\n var _this2 = this;\n\n var ratio = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var recursive = arguments[3];\n\n this.stop();\n if (e) {\n e.persist();\n e.preventDefault();\n }\n var props = this.props;\n if (props.disabled) {\n return;\n }\n var value = this.getCurrentValidValue(this.state.inputValue) || 0;\n if (this.isNotCompleteNumber(value)) {\n return;\n }\n var val = this[type + 'Step'](value, ratio);\n var outOfRange = val > props.max || val < props.min;\n if (val > props.max) {\n val = props.max;\n } else if (val < props.min) {\n val = props.min;\n }\n this.setValue(val);\n this.setState({\n focused: true\n });\n if (outOfRange) {\n return;\n }\n this.autoStepTimer = setTimeout(function () {\n _this2[type](e, ratio, true);\n }, recursive ? SPEED : DELAY);\n };\n\n InputNumber.prototype.render = function render() {\n var _classNames;\n\n var props = _extends({}, this.props);\n\n var prefixCls = props.prefixCls,\n disabled = props.disabled,\n readOnly = props.readOnly,\n useTouch = props.useTouch,\n autoComplete = props.autoComplete,\n upHandler = props.upHandler,\n downHandler = props.downHandler,\n rest = _objectWithoutProperties(props, ['prefixCls', 'disabled', 'readOnly', 'useTouch', 'autoComplete', 'upHandler', 'downHandler']);\n\n var classes = classNames((_classNames = {}, _classNames[prefixCls] = true, _classNames[props.className] = !!props.className, _classNames[prefixCls + '-disabled'] = disabled, _classNames[prefixCls + '-focused'] = this.state.focused, _classNames));\n var upDisabledClass = '';\n var downDisabledClass = '';\n var value = this.state.value;\n\n if (value || value === 0) {\n if (!isNaN(value)) {\n var val = Number(value);\n if (val >= props.max) {\n upDisabledClass = prefixCls + '-handler-up-disabled';\n }\n if (val <= props.min) {\n downDisabledClass = prefixCls + '-handler-down-disabled';\n }\n } else {\n upDisabledClass = prefixCls + '-handler-up-disabled';\n downDisabledClass = prefixCls + '-handler-down-disabled';\n }\n }\n\n var dataOrAriaAttributeProps = {};\n for (var key in props) {\n if (props.hasOwnProperty(key) && (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role')) {\n dataOrAriaAttributeProps[key] = props[key];\n }\n }\n\n var editable = !props.readOnly && !props.disabled;\n\n // focus state, show input value\n // unfocus state, show valid value\n var inputDisplayValue = this.getInputDisplayValue();\n\n var upEvents = void 0;\n var downEvents = void 0;\n if (useTouch) {\n upEvents = {\n onTouchStart: editable && !upDisabledClass ? this.up : noop,\n onTouchEnd: this.stop\n };\n downEvents = {\n onTouchStart: editable && !downDisabledClass ? this.down : noop,\n onTouchEnd: this.stop\n };\n } else {\n upEvents = {\n onMouseDown: editable && !upDisabledClass ? this.up : noop,\n onMouseUp: this.stop,\n onMouseLeave: this.stop\n };\n downEvents = {\n onMouseDown: editable && !downDisabledClass ? this.down : noop,\n onMouseUp: this.stop,\n onMouseLeave: this.stop\n };\n }\n\n var isUpDisabled = !!upDisabledClass || disabled || readOnly;\n var isDownDisabled = !!downDisabledClass || disabled || readOnly;\n // ref for test\n return React.createElement(\n 'div',\n {\n className: classes,\n style: props.style,\n title: props.title,\n onMouseEnter: props.onMouseEnter,\n onMouseLeave: props.onMouseLeave,\n onMouseOver: props.onMouseOver,\n onMouseOut: props.onMouseOut\n },\n React.createElement(\n 'div',\n { className: prefixCls + '-handler-wrap' },\n React.createElement(\n InputHandler,\n _extends({\n ref: this.saveUp,\n disabled: isUpDisabled,\n prefixCls: prefixCls,\n unselectable: 'unselectable'\n }, upEvents, {\n role: 'button',\n 'aria-label': 'Increase Value',\n 'aria-disabled': !!isUpDisabled,\n className: prefixCls + '-handler ' + prefixCls + '-handler-up ' + upDisabledClass\n }),\n upHandler || React.createElement('span', {\n unselectable: 'unselectable',\n className: prefixCls + '-handler-up-inner',\n onClick: preventDefault\n })\n ),\n React.createElement(\n InputHandler,\n _extends({\n ref: this.saveDown,\n disabled: isDownDisabled,\n prefixCls: prefixCls,\n unselectable: 'unselectable'\n }, downEvents, {\n role: 'button',\n 'aria-label': 'Decrease Value',\n 'aria-disabled': !!isDownDisabled,\n className: prefixCls + '-handler ' + prefixCls + '-handler-down ' + downDisabledClass\n }),\n downHandler || React.createElement('span', {\n unselectable: 'unselectable',\n className: prefixCls + '-handler-down-inner',\n onClick: preventDefault\n })\n )\n ),\n React.createElement(\n 'div',\n {\n className: prefixCls + '-input-wrap'\n },\n React.createElement('input', _extends({\n role: 'spinbutton',\n 'aria-valuemin': props.min,\n 'aria-valuemax': props.max,\n 'aria-valuenow': value,\n required: props.required,\n type: props.type,\n placeholder: props.placeholder,\n onClick: props.onClick,\n onMouseUp: this.onMouseUp,\n className: prefixCls + '-input',\n tabIndex: props.tabIndex,\n autoComplete: autoComplete,\n onFocus: this.onFocus,\n onBlur: this.onBlur,\n onKeyDown: editable ? this.onKeyDown : noop,\n onKeyUp: editable ? this.onKeyUp : noop,\n autoFocus: props.autoFocus,\n maxLength: props.maxLength,\n readOnly: props.readOnly,\n disabled: props.disabled,\n max: props.max,\n min: props.min,\n step: props.step,\n name: props.name,\n id: props.id,\n onChange: this.onChange,\n ref: this.saveInput,\n value: inputDisplayValue,\n pattern: props.pattern\n }, dataOrAriaAttributeProps))\n )\n );\n };\n\n return InputNumber;\n}(React.Component);\n\nInputNumber.propTypes = {\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n defaultValue: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n focusOnUpDown: PropTypes.bool,\n autoFocus: PropTypes.bool,\n onChange: PropTypes.func,\n onPressEnter: PropTypes.func,\n onKeyDown: PropTypes.func,\n onKeyUp: PropTypes.func,\n prefixCls: PropTypes.string,\n tabIndex: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n disabled: PropTypes.bool,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n readOnly: PropTypes.bool,\n max: PropTypes.number,\n min: PropTypes.number,\n step: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n upHandler: PropTypes.node,\n downHandler: PropTypes.node,\n useTouch: PropTypes.bool,\n formatter: PropTypes.func,\n parser: PropTypes.func,\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n onMouseOver: PropTypes.func,\n onMouseOut: PropTypes.func,\n onMouseUp: PropTypes.func,\n precision: PropTypes.number,\n required: PropTypes.bool,\n pattern: PropTypes.string,\n decimalSeparator: PropTypes.string\n};\nInputNumber.defaultProps = {\n focusOnUpDown: true,\n useTouch: false,\n prefixCls: 'rc-input-number',\n min: -MAX_SAFE_INTEGER,\n step: 1,\n style: {},\n onChange: noop,\n onKeyDown: noop,\n onPressEnter: noop,\n onFocus: noop,\n onBlur: noop,\n parser: defaultParser,\n required: false,\n autoComplete: 'off'\n};\n\nvar _initialiseProps = function _initialiseProps() {\n var _this3 = this;\n\n this.onKeyDown = function (e) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var _props3 = _this3.props,\n onKeyDown = _props3.onKeyDown,\n onPressEnter = _props3.onPressEnter;\n\n\n if (e.keyCode === KeyCode.UP) {\n var ratio = _this3.getRatio(e);\n _this3.up(e, ratio);\n _this3.stop();\n } else if (e.keyCode === KeyCode.DOWN) {\n var _ratio = _this3.getRatio(e);\n _this3.down(e, _ratio);\n _this3.stop();\n } else if (e.keyCode === KeyCode.ENTER && onPressEnter) {\n onPressEnter(e);\n }\n\n // Trigger user key down\n _this3.recordCursorPosition();\n _this3.lastKeyCode = e.keyCode;\n if (onKeyDown) {\n onKeyDown.apply(undefined, [e].concat(args));\n }\n };\n\n this.onKeyUp = function (e) {\n for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n var onKeyUp = _this3.props.onKeyUp;\n\n\n _this3.stop();\n\n _this3.recordCursorPosition();\n\n // Trigger user key up\n if (onKeyUp) {\n onKeyUp.apply(undefined, [e].concat(args));\n }\n };\n\n this.onChange = function (e) {\n var onChange = _this3.props.onChange;\n\n\n if (_this3.state.focused) {\n _this3.inputting = true;\n }\n _this3.rawInput = _this3.props.parser(_this3.getValueFromEvent(e));\n _this3.setState({ inputValue: _this3.rawInput });\n onChange(_this3.toNumber(_this3.rawInput)); // valid number or invalid string\n };\n\n this.onMouseUp = function () {\n var onMouseUp = _this3.props.onMouseUp;\n\n\n _this3.recordCursorPosition();\n\n if (onMouseUp) {\n onMouseUp.apply(undefined, arguments);\n }\n };\n\n this.onFocus = function () {\n var _props4;\n\n _this3.setState({\n focused: true\n });\n (_props4 = _this3.props).onFocus.apply(_props4, arguments);\n };\n\n this.onBlur = function (e) {\n for (var _len3 = arguments.length, args = Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n args[_key3 - 1] = arguments[_key3];\n }\n\n var onBlur = _this3.props.onBlur;\n\n _this3.inputting = false;\n _this3.setState({\n focused: false\n });\n var value = _this3.getCurrentValidValue(_this3.state.inputValue);\n e.persist(); // fix https://github.com/react-component/input-number/issues/51\n var newValue = _this3.setValue(value);\n\n if (onBlur) {\n var originValue = _this3.input.value;\n var inputValue = _this3.getInputDisplayValue({ focus: false, value: newValue });\n _this3.input.value = inputValue;\n onBlur.apply(undefined, [e].concat(args));\n _this3.input.value = originValue;\n }\n };\n\n this.getInputDisplayValue = function (state) {\n var _ref = state || _this3.state,\n focused = _ref.focused,\n inputValue = _ref.inputValue,\n value = _ref.value;\n\n var inputDisplayValue = void 0;\n if (focused) {\n inputDisplayValue = inputValue;\n } else {\n inputDisplayValue = _this3.toPrecisionAsStep(value);\n }\n\n if (inputDisplayValue === undefined || inputDisplayValue === null) {\n inputDisplayValue = '';\n }\n\n var inputDisplayValueFormat = _this3.formatWrapper(inputDisplayValue);\n if (isValidProps(_this3.props.decimalSeparator)) {\n inputDisplayValueFormat = inputDisplayValueFormat.toString().replace('.', _this3.props.decimalSeparator);\n }\n\n return inputDisplayValueFormat;\n };\n\n this.recordCursorPosition = function () {\n // Record position\n try {\n _this3.cursorStart = _this3.input.selectionStart;\n _this3.cursorEnd = _this3.input.selectionEnd;\n _this3.currentValue = _this3.input.value;\n _this3.cursorBefore = _this3.input.value.substring(0, _this3.cursorStart);\n _this3.cursorAfter = _this3.input.value.substring(_this3.cursorEnd);\n } catch (e) {\n // Fix error in Chrome:\n // Failed to read the 'selectionStart' property from 'HTMLInputElement'\n // http://stackoverflow.com/q/21177489/3040605\n }\n };\n\n this.restoreByAfter = function (str) {\n if (str === undefined) return false;\n\n var fullStr = _this3.input.value;\n var index = fullStr.lastIndexOf(str);\n\n if (index === -1) return false;\n\n if (index + str.length === fullStr.length) {\n _this3.fixCaret(index, index);\n\n return true;\n }\n return false;\n };\n\n this.partRestoreByAfter = function (str) {\n if (str === undefined) return false;\n\n // For loop from full str to the str with last char to map. e.g. 123\n // -> 123\n // -> 23\n // -> 3\n return Array.prototype.some.call(str, function (_, start) {\n var partStr = str.substring(start);\n\n return _this3.restoreByAfter(partStr);\n });\n };\n\n this.stop = function () {\n if (_this3.autoStepTimer) {\n clearTimeout(_this3.autoStepTimer);\n }\n };\n\n this.down = function (e, ratio, recursive) {\n _this3.pressingUpOrDown = true;\n _this3.step('down', e, ratio, recursive);\n };\n\n this.up = function (e, ratio, recursive) {\n _this3.pressingUpOrDown = true;\n _this3.step('up', e, ratio, recursive);\n };\n\n this.saveUp = function (node) {\n _this3.upHandler = node;\n };\n\n this.saveDown = function (node) {\n _this3.downHandler = node;\n };\n\n this.saveInput = function (node) {\n _this3.input = node;\n };\n};\n\nexport default InputNumber;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormControl as MuiFormControl } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport { widthFluid } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'block',\r\n position: 'relative',\r\n // Reset fieldset default style\r\n minWidth: 0,\r\n padding: 0,\r\n margin: 0,\r\n border: 0\r\n },\r\n marginNormal: {\r\n marginTop: theme.spacing(2),\r\n marginBottom: theme.spacing(1)\r\n },\r\n marginDense: {\r\n marginTop: theme.spacing(1),\r\n marginBottom: theme.spacing(0.5)\r\n },\r\n fullWidth: {\r\n width: widthFluid\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Provides context such as filled/focused/error/required for form inputs.\r\n * Relying on the context provides high flexibility and ensures that state always stays consistent\r\n * across children.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * ASimpleInput\r\n * BulkFormGroupOrientation\r\n * ContactFormDemo\r\n */\r\n\r\nvar FormControl = function (_React$Component) {\r\n _inherits(FormControl, _React$Component);\r\n\r\n function FormControl() {\r\n var _ref;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, FormControl);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = FormControl.__proto__ || Object.getPrototypeOf(FormControl)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\r\n adornedStart: false,\r\n filled: false,\r\n focused: false\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(FormControl, [{\r\n key: 'getChildContext',\r\n value: function getChildContext() {\r\n var _props = this.props,\r\n disabled = _props.disabled,\r\n error = _props.error,\r\n required = _props.required,\r\n margin = _props.margin;\r\n var _state = this.state,\r\n adornedStart = _state.adornedStart,\r\n filled = _state.filled,\r\n focused = _state.focused;\r\n\r\n\r\n return {\r\n muiFormControl: {\r\n adornedStart: adornedStart,\r\n disabled: disabled,\r\n error: error,\r\n filled: filled,\r\n focused: focused,\r\n margin: margin,\r\n onBlur: this.handleBlur,\r\n onEmpty: this.handleClean,\r\n onFilled: this.handleDirty,\r\n onFocus: this.handleFocus,\r\n required: required\r\n }\r\n };\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var props = this.props;\r\n\r\n var classes = props.classes,\r\n other = _objectWithoutProperties(props, ['classes']);\r\n\r\n return React.createElement(MuiFormControl, Object.assign({\r\n classes: {\r\n root: classes.root,\r\n marginNormal: classes.marginNormal,\r\n marginDense: classes.marginDense,\r\n fullWidth: classes.fullWidth\r\n }\r\n }, other));\r\n }\r\n }]);\r\n\r\n return FormControl;\r\n}(React.Component);\r\n\r\nFormControl.muiName = 'FormControl';\r\n\r\nFormControl.propTypes = {\r\n /**\r\n * The contents of the form control.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If `true`, the label, input and helper text should be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the label should be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the component will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\r\n */\r\n margin: PropTypes.oneOf(['none', 'dense', 'normal']),\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * If `true`, the label will indicate that the input is required.\r\n */\r\n required: PropTypes.bool\r\n};\r\n\r\nFormControl.defaultProps = {\r\n component: 'div',\r\n disabled: false,\r\n error: false,\r\n fullWidth: false,\r\n margin: 'none',\r\n required: false\r\n};\r\n\r\nFormControl.childContextTypes = {\r\n muiFormControl: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormControl);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormHelperText as MuiFormHelperText } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\n\r\nimport { fontSizeSmall, spacing30 } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: fontSizeSmall,\r\n color: theme.palette.text.secondary,\r\n '&$error': {\r\n color: theme.palette.status.error.text\r\n },\r\n '&$disabled': {\r\n color: theme.palette.text.disabled\r\n },\r\n marginTop: spacing30,\r\n textTransform: 'none',\r\n letterSpacing: 'unset'\r\n },\r\n error: {},\r\n disabled: {},\r\n marginDense: {\r\n marginTop: theme.spacing(0.5)\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A wrapper for standardized states for text near inputs in a form, disabled/error.\r\n */\r\nvar FormHelperText = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormHelperText, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormHelperText.muiName = 'FormHelperText';\r\nFormHelperText.displayName = 'FormHelperText';\r\n\r\nFormHelperText.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the helper text should be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, helper text should be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the helper text should use filled classes key.\r\n */\r\n filled: PropTypes.bool,\r\n /**\r\n * If `true`, the helper text should use focused classes key.\r\n */\r\n focused: PropTypes.bool,\r\n /**\r\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\r\n * FormControl.\r\n */\r\n margin: PropTypes.oneOf(['dense']),\r\n /**\r\n * If `true`, the helper text should use required classes key.\r\n */\r\n required: PropTypes.bool\r\n};\r\n\r\nFormHelperText.defaultProps = {\r\n component: 'p'\r\n};\r\n\r\nFormHelperText.contextTypes = {\r\n muiFormControl: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormHelperText);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React, { Component } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\n\r\nimport RcInputNumber from 'rc-input-number';\r\n\r\nimport FormControl from '../../FormControl/FormControl';\r\nimport FormHelperText from '../../FormControl/FormHelperText';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\n\r\nimport withStyles from '../../styles';\r\n\r\nimport { borderRadiusMedium, borderWidthThick, borderWidthThin, boxShadowFocus, fontFamilyDefault, fontSizeDefault, fontSizeLarge, heightInputFieldsSmall, spacing40, spacing30, widthInputFields, zIndexTextFieldLabel } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n\r\n root: {\r\n '& .hedtech-number': {\r\n backgroundColor: '' + theme.palette.grey[100],\r\n width: widthInputFields,\r\n margin: 0,\r\n padding: 0,\r\n fontSize: fontSizeLarge,\r\n height: '3.25rem', // Needs to be 52px in order to match text field, accounting for border\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRadius: borderRadiusMedium\r\n },\r\n\r\n '& .hedtech-number-focused': {\r\n boxShadow: boxShadowFocus\r\n },\r\n '& .hedtech-number-handler': {\r\n textAlign: 'center',\r\n height: 'calc(50% - 1px)',\r\n overflow: 'hidden',\r\n display: 'block',\r\n touchAction: 'none',\r\n fill: theme.palette.grey[500]\r\n },\r\n '& .hedtech-number-handler-active': {\r\n fill: theme.palette.ctaColor.active\r\n },\r\n '& .hedtech-number-handler--up-inner, .hedtech-number-handler-down-inner': {\r\n color: theme.palette.grey[600],\r\n userSelect: 'none'\r\n },\r\n '& .hedtech-number.hedtech-number-disabled': {\r\n // borderColor: '#d9d9d9',\r\n borderColor: theme.palette.grey[400],\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n borderColor: theme.palette.grey[400]\r\n }\r\n },\r\n\r\n '& .hedtech-number-input-wrap': {\r\n overflow: 'hidden',\r\n height: '100%'\r\n },\r\n\r\n '& .hedtech-number-input': {\r\n display: 'flex',\r\n width: '100%',\r\n fontSize: fontSizeLarge,\r\n fontFamily: fontFamilyDefault,\r\n outline: 0,\r\n MozAppearance: 'textfield',\r\n border: 0,\r\n borderRadius: '0.75rem',\r\n background: 'none',\r\n padding: '1.375rem 1rem .625rem 1rem',\r\n '&::placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500]\r\n },\r\n // Disable FF specific invalid input box-shadow\r\n '&:not(output):-moz-ui-invalid': {\r\n boxShadow: 'none'\r\n }\r\n },\r\n\r\n // Handler containers\r\n '& .hedtech-number-disabled .hedtech-number-input ': {\r\n cursor: 'not-allowed',\r\n color: theme.palette.grey[500],\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n '& .hedtech-number-disabled .hedtech-number-handler': {\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n fill: theme.palette.grey[500]\r\n }\r\n },\r\n '& .hedtech-number-disabled .hedtech-number-handler:hover': {\r\n color: theme.palette.grey[400],\r\n borderColor: theme.palette.grey[400]\r\n }\r\n },\r\n\r\n small: {\r\n\r\n '& .hedtech-number': {\r\n height: heightInputFieldsSmall\r\n },\r\n '& .hedtech-number input, & .hedtech-number input:focus': {\r\n lineHeight: 'unset',\r\n padding: spacing30,\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabelFormControl': {\r\n top: '-0.30rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabelShrink': {\r\n display: 'none'\r\n }\r\n },\r\n\r\n // If focused, show placeholder text\r\n focused: {\r\n '& .hedtech-number-input': {\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n },\r\n\r\n // If there is no label\r\n // -- show placeholder text in middle of input\r\n noLabel: {\r\n '& .hedtech-number-input': {\r\n padding: spacing40,\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n },\r\n\r\n // Error styling\r\n error: {\r\n '& .hedtech-number': {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill,\r\n '&:hover': {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n }\r\n }\r\n },\r\n focusedError: {\r\n '& .hedtech-number-focused': {\r\n boxShadow: '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill\r\n }\r\n },\r\n\r\n // Full width\r\n fullWidth: {\r\n '& .hedtech-number': {\r\n width: '100%'\r\n },\r\n '& .hedtech-number-input': {\r\n width: 'calc(100% - 33px)' // Keep room for the buttons on the right (32px width + 1px border-left)\r\n }\r\n },\r\n\r\n // InputLabel\r\n inputLabelRoot: {\r\n '&:hover': {\r\n cursor: 'text'\r\n }\r\n },\r\n inputLabelFormControl: {\r\n zIndex: zIndexTextFieldLabel,\r\n left: spacing40,\r\n transform: 'translate(0, 1.125rem) scale(1)' // 18px to match TextField\r\n },\r\n inputLabelShrink: {\r\n fontSize: 14,\r\n transform: 'translate(0, .625rem) scale(0.75)' // 10px to match TextField\r\n }\r\n };\r\n};\r\n\r\n// https://github.com/react-component/input-number\r\n\r\nvar InputNumber = function (_Component) {\r\n _inherits(InputNumber, _Component);\r\n\r\n function InputNumber(props) {\r\n _classCallCheck(this, InputNumber);\r\n\r\n var _this = _possibleConstructorReturn(this, (InputNumber.__proto__ || Object.getPrototypeOf(InputNumber)).call(this, props));\r\n\r\n _this.onFocus = function (e) {\r\n _this.setState({ shrink: true, focused: true });\r\n if (_this.props.onFocus) {\r\n _this.props.onFocus(e);\r\n }\r\n };\r\n\r\n _this.onBlur = function (e) {\r\n if (e.target.value.length !== 0) {\r\n _this.setState({ shrink: true, focused: false });\r\n } else if (e.target.value.length === 0) {\r\n _this.setState({ shrink: false, focused: false });\r\n }\r\n if (_this.props.onBlur) {\r\n _this.props.onBlur(e);\r\n }\r\n };\r\n\r\n var shouldShrink = false;\r\n\r\n if (props.value !== null) {\r\n shouldShrink = props.defaultValue >= 0 || props.value !== undefined || props.defaultValue !== undefined;\r\n }\r\n\r\n _this.state = {\r\n shrink: shouldShrink,\r\n focused: _this.props.autoFocus\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(InputNumber, [{\r\n key: 'render',\r\n value: function render() {\r\n var _cn,\r\n _this2 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n placeholderProp = _props.placeholder,\r\n readOnly = _props.readOnly,\r\n id = _props.id,\r\n size = _props.size,\r\n FormControlProps = _props.FormControlProps,\r\n fullWidth = _props.fullWidth,\r\n error = _props.error,\r\n labelProp = _props.label,\r\n InputLabelProps = _props.InputLabelProps,\r\n inputProps = _props.inputProps,\r\n inputRef = _props.inputRef,\r\n helperText = _props.helperText,\r\n FormHelperTextProps = _props.FormHelperTextProps,\r\n rest = _objectWithoutProperties(_props, ['classes', 'placeholder', 'readOnly', 'id', 'size', 'FormControlProps', 'fullWidth', 'error', 'label', 'InputLabelProps', 'inputProps', 'inputRef', 'helperText', 'FormHelperTextProps']);\r\n\r\n var label = labelProp,\r\n placeholder = placeholderProp;\r\n\r\n // Add asterisk to label or placeholder if required\r\n if (this.props.required) {\r\n if (label) {\r\n label = labelProp + ' *';\r\n } else {\r\n placeholder = placeholderProp + ' *';\r\n }\r\n }\r\n\r\n return React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: cn(classes.root, (_cn = {}, _defineProperty(_cn, classes.small, size === 'small'), _defineProperty(_cn, classes.noLabel, !label), _defineProperty(_cn, classes.error, error), _defineProperty(_cn, classes.focusedError, error && this.state.focused), _defineProperty(_cn, classes.focused, !error && this.state.focused), _defineProperty(_cn, classes.fullWidth, fullWidth), _cn)),\r\n fullWidth: fullWidth,\r\n error: error\r\n }, FormControlProps),\r\n label && React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n id: this.props.id + '-label-text',\r\n htmlFor: id,\r\n shrink: this.state.shrink,\r\n classes: {\r\n root: classes.inputLabelRoot,\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n }\r\n }, InputLabelProps),\r\n label\r\n ),\r\n React.createElement(RcInputNumber, Object.assign({\r\n 'aria-labelledby': label ? this.props.id + '-label-text' : null,\r\n 'aria-describedby': helperText ? this.props.id + '-helper-text' : null,\r\n placeholder: placeholder,\r\n readOnly: readOnly,\r\n ref: inputRef,\r\n id: id\r\n }, inputProps, rest, {\r\n onFocus: function onFocus(e) {\r\n return _this2.onFocus(e);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.onBlur(e);\r\n },\r\n prefixCls: 'hedtech-number'\r\n })),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n id: this.props.id + '-helper-text'\r\n }, FormHelperTextProps),\r\n helperText\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return InputNumber;\r\n}(Component);\r\n\r\nInputNumber.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n\r\n // FormControl\r\n /**\r\n * Properties applied to the `FormControl` element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * If `true`, the element will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * If `true`, display the FormControl in an error state\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * The size of the number field.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n // InputLabel\r\n /**\r\n * The label content.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * Properties applied to the `InputLabel` element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n\r\n // InputProps\r\n /**\r\n * Properties applied to the `InputLabel` element.\r\n */\r\n InputProps: PropTypes.object,\r\n\r\n // input (HTML)\r\n /**\r\n * Properties applied to the native `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n\r\n // FormHelperText\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * Properties applied to the `FormHelperText` element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n\r\n // RcInputNumber\r\n /**\r\n * Specifies the minimum value\r\n */\r\n min: PropTypes.number,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * HTML input placeholder\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * Specifies the maximum value\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * Specifies the valid number intervals\r\n */\r\n step: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * Specifies the precision length of value e.g. `precision={2} => 0.00`\r\n */\r\n precision: PropTypes.number,\r\n /**\r\n * Specifies that an InputNumber should be disabled\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Whether focus input when click up or down button\r\n */\r\n focusOnUpDown: PropTypes.bool,\r\n /**\r\n * Specifies that the value is required\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Specifies that an InputNumber should automatically get focus when the page loads\r\n */\r\n autoFocus: PropTypes.bool,\r\n /**\r\n * Specifies that an InputNumber is read only\r\n */\r\n readOnly: PropTypes.bool,\r\n /**\r\n * Specifies the name of an InputNumber\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Specifies the id of an InputNumber\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Specifies the value of an InputNumber\r\n */\r\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\r\n /**\r\n * Specifies the defaultValue of an InputNumber\r\n */\r\n defaultValue: PropTypes.number,\r\n /**\r\n * Called when value of an InputNumber changed\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Called when an element gets focus\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * Root container style. such as {width:100}\r\n */\r\n style: PropTypes.object,\r\n /**\r\n * Specifies the format of the value presented\r\n * `(@param: value: number|string, @param displayValue: string)`\r\n */\r\n formatter: PropTypes.func,\r\n /**\r\n * Specifies the value extracted from formatter\r\n */\r\n parser: PropTypes.func,\r\n /**\r\n * Specifies a regex pattern to be added to the input number element - useful for forcing iOS to open the number pad instead of the normal keyboard (supply a regex of \"\\d*\" to do this) or form validation\r\n */\r\n pattern: PropTypes.string,\r\n /**\r\n * Specifies the decimal separator\r\n */\r\n decimalSeparator: PropTypes.string\r\n};\r\n\r\nexport default withStyles(styles)(InputNumber);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { cloneElement, Component } from 'react';\r\nimport { default as MuiTextField } from '@material-ui/core/TextField';\r\nimport { default as withStyles } from '../styles';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport Close from '@ellucian/ds-icons/lib/Close';\r\nimport Search from '@ellucian/ds-icons/lib/Search';\r\nimport InputAdornment from '@material-ui/core/InputAdornment';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { borderRadiusMedium, colorBorderGlobalFocus, colorBorderAlertError, fontSizeDefault, fontSizeSmall, heightInputFieldsSmall, lineHeightHeader2Small, paddingTextField, spacing40, spacing30, spacing80, widthInputFields, borderWidthThin, borderWidthThick, spacing50, boxShadowFocus, boxShadowError } from '../styles/tokens';\r\nimport uuid from 'uuid/v4';\r\nimport isNumber from 'lodash/isNumber';\r\nimport isObject from 'lodash/isObject';\r\nimport isNil from 'lodash/isNil';\r\nimport Tooltip from '../Tooltip';\r\nimport Typography from '../Typography';\r\nimport InputNumber from './internal/InputNumber';\r\n\r\n// This object holds all of the props that are specific to our TextField and should not be included for the numeric TextField\r\nvar MUI_TEXTFIELD_PROPS = ['classes', 'margin', 'maxCharacters', 'multiline', 'onAdornmentClick', 'onClearClick', 'onEnterPress', 'passwordToggle', 'rows', 'rowsMax', 'select', 'SelectProps', 'type'];\r\n\r\nvar adornmentStyles = {\r\n margin: 0,\r\n maxHeight: 'none',\r\n padding: spacing40,\r\n border: 'none',\r\n backgroundColor: 'transparent',\r\n borderRadius: '0 0.19rem 0.19rem 0',\r\n '&:focus': {\r\n color: colorBorderGlobalFocus,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderGlobalFocus,\r\n outline: 0,\r\n marginRight: '.1rem'\r\n }\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n var _inputSearch;\r\n\r\n return {\r\n root: {\r\n margin: 0\r\n },\r\n focused: {\r\n boxShadow: boxShadowFocus\r\n },\r\n focusedError: {\r\n boxShadow: boxShadowError,\r\n '-webkit-box-shadow': boxShadowError,\r\n '-moz-box-shadow:': boxShadowError\r\n },\r\n adornment: Object.assign({\r\n fill: theme.palette.grey[500],\r\n color: theme.palette.grey[500],\r\n cursor: 'pointer',\r\n height: 'auto'\r\n }, adornmentStyles),\r\n searchErrorAdornmentError: {\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderAlertError\r\n }\r\n },\r\n passwordAdornmentRoot: Object.assign({\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.caption.fontSize,\r\n fontWeight: theme.typography.button.fontWeight,\r\n height: 'auto',\r\n textDecoration: 'none'\r\n }, adornmentStyles, {\r\n '&:hover': {\r\n color: theme.palette.ctaColor.hover,\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active\r\n }\r\n }),\r\n adornmentDisabled: {\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400],\r\n cursor: 'not-allowed',\r\n outline: 'none',\r\n '&:hover': {\r\n cursor: 'not-allowed',\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400]\r\n },\r\n '&:active': {\r\n fill: theme.palette.grey[400],\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n adornmentButton: {\r\n '&:hover': {\r\n color: theme.palette.ctaColor.hover\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active\r\n },\r\n '&:focus': {\r\n border: borderWidthThick + ' solid ' + colorBorderGlobalFocus,\r\n outline: 'none',\r\n top: '0.3125rem'\r\n },\r\n '&:focus:hover': {\r\n border: 'none',\r\n outline: 'none',\r\n top: '0.375rem'\r\n },\r\n '&:disabled': {\r\n color: theme.palette.ctaColor.disabled\r\n },\r\n '&:disabled:hover': {\r\n backgroundColor: 'transparent',\r\n color: theme.palette.ctaColor.disabled\r\n }\r\n },\r\n inputRoot: {\r\n backgroundColor: theme.palette.grey[100],\r\n borderRadius: borderRadiusMedium,\r\n height: 'auto',\r\n padding: 0,\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n },\r\n '& $input:disabled': {\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n }\r\n },\r\n rowsMaxRoot: {\r\n '& > div': {\r\n display: 'inline-flex'\r\n }\r\n },\r\n disabled: {},\r\n error: {},\r\n inputBorderDefault: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n inputBorderError: {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n },\r\n input: {\r\n color: theme.palette.grey[600],\r\n flex: 1,\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n height: '1.25rem',\r\n lineHeight: lineHeightHeader2Small,\r\n padding: paddingTextField,\r\n width: 'auto',\r\n '&::placeholder': {\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize,\r\n opacity: '1'\r\n },\r\n '&::-ms-reveal': {\r\n display: 'none'\r\n },\r\n '&::-ms-input-placeholder': {\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize,\r\n opacity: '1'\r\n },\r\n '&$startInputAdornment': {\r\n paddingLeft: spacing30\r\n }\r\n },\r\n startInputAdornment: {},\r\n constrainedWidth: {\r\n width: widthInputFields\r\n },\r\n inputMultilineRoot: {\r\n paddingTop: '1.375rem',\r\n paddingBottom: '.625rem'\r\n },\r\n inputMultiline: {\r\n height: 'auto',\r\n paddingRight: spacing40,\r\n paddingLeft: spacing40,\r\n paddingTop: 0\r\n },\r\n inputSearch: (_inputSearch = {\r\n padding: spacing40\r\n }, _defineProperty(_inputSearch, '&[type=\"search\"]::-webkit-search-decoration,\\n &[type=\"search\"]::-webkit-search-cancel-button,\\n &[type=\"search\"]::-webkit-search-results-button,\\n &[type=\"search\"]::-webkit-search-results-decoration', {\r\n display: 'none'\r\n }), _defineProperty(_inputSearch, '&[type=\"search\"]', {\r\n '-webkit-appearance': 'none'\r\n }), _defineProperty(_inputSearch, '&[type=search]::-ms-clear', {\r\n display: 'none',\r\n width: 0,\r\n height: 0\r\n }), _inputSearch),\r\n inputSearchWithLabel: {\r\n padding: paddingTextField\r\n },\r\n inputLabel: {\r\n cursor: 'text',\r\n fontSize: theme.typography.body1.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n left: spacing40,\r\n top: -6, // used to center label in middle of input\r\n zIndex: theme.zIndex.textFieldLabel,\r\n '&[data-shrink=\"true\"]': {\r\n fontSize: theme.typography.body2.fontSize,\r\n lineHeight: 'normal',\r\n top: 6, // specific for inputs\r\n width: 'calc(100% - 1rem)', // needs to be assigned for ellipsis to work, 100% causes horizontal scrollbar to flash when opening\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis'\r\n }\r\n },\r\n inputLabelWrapForAdornment: {\r\n marginRight: spacing80\r\n },\r\n inputFormLabel: {\r\n color: theme.palette.status.error.text + ' !important'\r\n },\r\n svgSize: {\r\n height: spacing40,\r\n width: spacing40\r\n },\r\n small: {\r\n '& $inputRoot': {\r\n height: heightInputFieldsSmall\r\n },\r\n '& $input, & $input:focus': {\r\n lineHeight: 'unset',\r\n padding: spacing30,\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabel': {\r\n top: '-0.75rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabel[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n },\r\n helperTextContainer: {\r\n display: 'flex'\r\n },\r\n helperTextAlignment: {\r\n justifyContent: 'space-between'\r\n },\r\n counterTextAlignment: {\r\n justifyContent: 'flex-end'\r\n },\r\n charCounterContainer: {\r\n marginLeft: spacing50,\r\n whiteSpace: 'nowrap'\r\n },\r\n formHelperTextRoot: {\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: fontSizeSmall,\r\n color: theme.palette.text.secondary,\r\n '&$error': {\r\n color: theme.palette.status.error.text\r\n },\r\n '&$disabled': {\r\n color: theme.palette.text.disabled\r\n },\r\n marginTop: spacing30,\r\n textTransform: 'none',\r\n letterSpacing: 'unset'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `TextField` to allow users to enter and edit data.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * Label\r\n * LabelAndPlaceholder\r\n * FullWidth\r\n * Required\r\n * Disabled\r\n * Multiline\r\n * MultilineLimit\r\n * MultilineRequired\r\n * Search\r\n * Password\r\n * Uncontrolled\r\n * CharacterCounter\r\n * Number\r\n * InputAdornments\r\n */\r\n\r\nvar TextField = function (_Component) {\r\n _inherits(TextField, _Component);\r\n\r\n function TextField(props) {\r\n _classCallCheck(this, TextField);\r\n\r\n var _this = _possibleConstructorReturn(this, (TextField.__proto__ || Object.getPrototypeOf(TextField)).call(this, props));\r\n\r\n _this.cloneAdornment = function (element, classes) {\r\n var id = _this.props.id || '';\r\n var isButtonElement = element.props.component === 'button';\r\n return cloneElement(element, {\r\n classes: {\r\n root: classNames(classes.adornment, _defineProperty({}, classes.adornmentButton, isButtonElement))\r\n },\r\n id: id + '_Adornment',\r\n onClick: isButtonElement ? _this.handleAdornmentClick : null,\r\n size: _this.props.size\r\n });\r\n };\r\n\r\n _this.handleAdornmentClick = function (event) {\r\n if (_this.props.onAdornmentClick) {\r\n // Prevents triggering onEnterPress event of TextField when user press enter key on search icon.\r\n event.preventDefault();\r\n _this.props.onAdornmentClick();\r\n }\r\n };\r\n\r\n _this.handleBlur = function (event) {\r\n if (_this.props.onBlur) {\r\n _this.props.onBlur(event);\r\n }\r\n };\r\n\r\n _this.handleChange = function (event) {\r\n if (event.target.value.length > 0) {\r\n _this.setState({\r\n hasText: true,\r\n count: event.target.value.length\r\n });\r\n } else {\r\n _this.setState({\r\n hasText: false,\r\n count: 0\r\n });\r\n }\r\n\r\n if (_this.props.onChange) {\r\n _this.props.onChange(event);\r\n }\r\n };\r\n\r\n _this.handleEnterPress = function (event) {\r\n var key = event.key;\r\n\r\n if (key === 'Enter') {\r\n if (_this.props.onEnterPress) {\r\n _this.props.onEnterPress(event);\r\n }\r\n }\r\n };\r\n\r\n _this.handleFocus = function (event) {\r\n if (_this.props.onFocus) {\r\n _this.props.onFocus(event);\r\n }\r\n };\r\n\r\n _this.handleClearClick = function (event) {\r\n _this.setState({ hasText: false });\r\n if (_this.props.onClearClick) {\r\n _this.props.onClearClick(event);\r\n }\r\n };\r\n\r\n _this.handleSearchAdornment = function (event) {\r\n var onAdornmentClick = _this.props.onAdornmentClick;\r\n\r\n if (_this.state.hasText) {\r\n _this.handleClearClick(event);\r\n } else if (onAdornmentClick) {\r\n _this.handleAdornmentClick(event);\r\n }\r\n };\r\n\r\n _this.toggleVisibilityClick = function (e) {\r\n if (!_this.props.disabled) {\r\n _this.setState(function (prevState) {\r\n return {\r\n isPasswordVisible: !prevState.isPasswordVisible\r\n };\r\n });\r\n }\r\n };\r\n\r\n _this.helperTextNode = function () {\r\n var _classNames3;\r\n\r\n var _this$props = _this.props,\r\n helperText = _this$props.helperText,\r\n maxCharacters = _this$props.maxCharacters,\r\n classes = _this$props.classes;\r\n\r\n\r\n var charCounterNode = void 0;\r\n var a11yCharCounterNode = void 0;\r\n\r\n var count = _this.state.count;\r\n\r\n // if we're dispalaying a character counter\r\n if (isObject(maxCharacters)) {\r\n\r\n // build the counter screen reader text\r\n var a11yCharCounterText = _this.props.edsContext.formatMessage('component.TextField.characterCounter', {\r\n count: count,\r\n total: maxCharacters.max\r\n });\r\n\r\n var countErrorState = count > maxCharacters.max;\r\n\r\n // build the counter text node\r\n var nodeText = React.createElement(\r\n 'span',\r\n {\r\n 'aria-hidden': 'true',\r\n className: classNames(classes.charCounterContainer, _defineProperty({}, classes.inputFormLabel, countErrorState)) },\r\n count,\r\n ' / ',\r\n maxCharacters.max\r\n );\r\n\r\n // build the final counter node, optionally encasing it in a tooltip\r\n charCounterNode = maxCharacters.tooltipText ? React.createElement(\r\n Tooltip,\r\n {\r\n title: maxCharacters.tooltipText,\r\n placement: _this.props.edsContext.dir === 'rtl' ? 'left' : 'right' },\r\n nodeText\r\n ) : nodeText;\r\n a11yCharCounterNode = React.createElement(\r\n Typography,\r\n { variant: 'srOnly' },\r\n a11yCharCounterText\r\n );\r\n }\r\n\r\n return (helperText || charCounterNode) && React.createElement(\r\n 'span',\r\n { className: classNames(classes.helperTextContainer, (_classNames3 = {}, _defineProperty(_classNames3, classes.helperTextAlignment, helperText), _defineProperty(_classNames3, classes.counterTextAlignment, !helperText), _classNames3)) },\r\n helperText && React.createElement(\r\n 'span',\r\n null,\r\n helperText\r\n ),\r\n charCounterNode !== undefined && charCounterNode,\r\n a11yCharCounterNode\r\n );\r\n };\r\n\r\n _this.state = {\r\n isPasswordVisible: false,\r\n hasText: _this.props.value && _this.props.value.length > 0 || _this.props.defaultValue && _this.props.defaultValue.length > 0,\r\n count: _this.props.value && _this.props.value.length ? _this.props.value.length : 0\r\n };\r\n\r\n return _this;\r\n }\r\n\r\n _createClass(TextField, [{\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n\r\n // if the value changed, determine whether to show the search/clear icon\r\n if (this.props.type === 'search' && prevProps.value !== this.props.value) {\r\n this.setState({\r\n hasText: this.props.value && this.props.value.length > 0\r\n });\r\n }\r\n\r\n // if (1) this is a controlled component; (2) chracter counts are active; and (3) the value has changed,\r\n // update the character count\r\n if (!isNil(this.props.value) && isObject(this.props.maxCharacters) && prevProps.value !== this.props.value) {\r\n this.setState({\r\n count: this.props.value ? this.props.value.length : 0\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _classNames4,\r\n _this2 = this,\r\n _classNames8,\r\n _classNames9;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n classNameProp = _props.className,\r\n disabled = _props.disabled,\r\n error = _props.error,\r\n edsContext = _props.edsContext,\r\n FormHelperTextPropsProp = _props.FormHelperTextProps,\r\n helperTextProp = _props.helperText,\r\n id = _props.id,\r\n InputLabelPropsProp = _props.InputLabelProps,\r\n InputPropsProp = _props.InputProps,\r\n inputPropsProp = _props.inputProps,\r\n label = _props.label,\r\n multiline = _props.multiline,\r\n maxCharacters = _props.maxCharacters,\r\n onAdornmentClick = _props.onAdornmentClick,\r\n onClearClick = _props.onClearClick,\r\n onEnterPress = _props.onEnterPress,\r\n onKeyDown = _props.onKeyDown,\r\n onKeyUp = _props.onKeyUp,\r\n passwordToggle = _props.passwordToggle,\r\n required = _props.required,\r\n type = _props.type,\r\n value = _props.value,\r\n size = _props.size,\r\n rest = _objectWithoutProperties(_props, ['classes', 'className', 'disabled', 'error', 'edsContext', 'FormHelperTextProps', 'helperText', 'id', 'InputLabelProps', 'InputProps', 'inputProps', 'label', 'multiline', 'maxCharacters', 'onAdornmentClick', 'onClearClick', 'onEnterPress', 'onKeyDown', 'onKeyUp', 'passwordToggle', 'required', 'type', 'value', 'size']);\r\n\r\n var _state = this.state,\r\n isPasswordVisible = _state.isPasswordVisible,\r\n hasText = _state.hasText;\r\n\r\n var cleanedId = id || uuid();\r\n\r\n var numberAriaLabel = '';\r\n var numberAriaLabelledby = '';\r\n\r\n // HTML input element props\r\n var inputProps = Object.assign({}, inputPropsProp);\r\n\r\n if (inputProps && inputProps['aria-label']) {\r\n numberAriaLabel = inputProps['aria-label'];\r\n } else {\r\n numberAriaLabel = null;\r\n }\r\n\r\n if (inputProps && inputProps['aria-labelledby']) {\r\n numberAriaLabelledby = inputProps['aria-labelledby'];\r\n } else {\r\n numberAriaLabelledby = null;\r\n }\r\n\r\n // If type number, handle render in InputNumber\r\n if (type === 'number') {\r\n return React.createElement(InputNumber, Object.assign({}, omit(this.props, MUI_TEXTFIELD_PROPS), { // Send all props, except MUI TextField props\r\n 'aria-label': numberAriaLabel // Re-assign to correct React prop name\r\n , 'aria-labelledby': numberAriaLabelledby // Re-assign to correct React prop name\r\n , id: cleanedId // Assign id to new cleanedId\r\n }));\r\n }\r\n\r\n var rootClassName = classNames(classes.root, (_classNames4 = {}, _defineProperty(_classNames4, classes.small, size === 'small'), _defineProperty(_classNames4, classes.constrainedWidth, !this.props.fullWidth), _classNames4), classNameProp);\r\n\r\n // Search specific logic\r\n var searchAdornment = React.createElement(\r\n InputAdornment,\r\n {\r\n component: 'button',\r\n type: 'button',\r\n disabled: this.props.disabled,\r\n className: classNames(_defineProperty({}, classes.adornmentDisabled, disabled)),\r\n 'aria-label': hasText ? edsContext.formatMessage('component.TextField.clear') : edsContext.formatMessage('component.TextField.search'),\r\n classes: {\r\n root: classNames(classes.adornment, _defineProperty({}, classes.searchErrorAdornmentError, error))\r\n },\r\n id: id ? id + '_SearchIcon' : '',\r\n onClick: function onClick(event) {\r\n _this2.handleSearchAdornment(event);\r\n },\r\n tabIndex: '0'\r\n },\r\n !hasText || disabled ? React.createElement(\r\n Tooltip,\r\n {\r\n disableFocusListener: true,\r\n disableHoverListener: this.props.disabled,\r\n title: edsContext.formatMessage('component.TextField.search') },\r\n React.createElement(Search, { role: 'img', className: classes.svgSize })\r\n ) : React.createElement(\r\n Tooltip,\r\n {\r\n disableFocusListener: true,\r\n disableHoverListener: this.props.disabled,\r\n title: edsContext.formatMessage('component.TextField.clear') },\r\n React.createElement(Close, { role: 'img', className: classes.svgSize })\r\n )\r\n );\r\n\r\n // Password logic\r\n var passwordAdornment = React.createElement(\r\n InputAdornment,\r\n {\r\n component: 'button',\r\n type: 'button',\r\n disabled: this.props.disabled,\r\n classes: { root: classes.passwordAdornmentRoot },\r\n className: classNames(_defineProperty({}, classes.adornmentDisabled, disabled)),\r\n id: id ? id + '_PasswordToggle' : '',\r\n onClick: function onClick(event) {\r\n _this2.toggleVisibilityClick(event);\r\n },\r\n tabIndex: disabled ? '-1' : '0'\r\n },\r\n React.createElement(\r\n 'span',\r\n null,\r\n isPasswordVisible ? edsContext.formatMessage('component.TextField.hide') : edsContext.formatMessage('component.TextField.show')\r\n )\r\n );\r\n\r\n // MUI InputProps logic\r\n var InputProps = Object.assign({}, InputPropsProp);\r\n var startAdornment = InputProps.startAdornment,\r\n endAdornment = InputProps.endAdornment;\r\n\r\n // Send size prop to startAdornment because our custom TextField styles\r\n // messes up MUI's default styles for TextField + startAdornments\r\n\r\n if (startAdornment) {\r\n InputProps.startAdornment = cloneElement(startAdornment, { size: size });\r\n }\r\n\r\n if (endAdornment) {\r\n InputProps.endAdornment = this.cloneAdornment(endAdornment, classes);\r\n }\r\n\r\n if (type === 'search') {\r\n InputProps.endAdornment = searchAdornment;\r\n }\r\n\r\n if (type === 'password' && passwordToggle) {\r\n InputProps.endAdornment = passwordAdornment;\r\n }\r\n\r\n InputProps.classes = {\r\n root: classNames(classes.inputRoot, (_classNames8 = {}, _defineProperty(_classNames8, classes.inputBorderDefault, !error), _defineProperty(_classNames8, classes.inputBorderError, error), _defineProperty(_classNames8, classes.inputMultilineRoot, multiline), _defineProperty(_classNames8, classes.rowsMaxRoot, multiline), _classNames8)),\r\n disabled: classes.disabled,\r\n focused: classNames((_classNames9 = {}, _defineProperty(_classNames9, classes.focused, !error), _defineProperty(_classNames9, classes.focusedError, error), _classNames9)),\r\n input: classNames(classes.input, _defineProperty({}, classes.startInputAdornment, startAdornment)),\r\n inputMultiline: classes.inputMultiline,\r\n inputTypeSearch: classNames(classes.inputSearch, _defineProperty({}, classes.inputSearchWithLabel, !!label))\r\n };\r\n InputProps.disableUnderline = true;\r\n InputProps.onBlur = this.handleBlur;\r\n InputProps.onFocus = this.handleFocus;\r\n InputProps.onKeyDown = onKeyDown;\r\n InputProps.onKeyPress = this.handleEnterPress;\r\n InputProps.onKeyUp = onKeyUp;\r\n InputProps.onChange = this.handleChange;\r\n\r\n // if the caller asked for a max length, just set it\r\n if (maxCharacters && isNumber(maxCharacters)) {\r\n inputProps.maxLength = maxCharacters;\r\n }\r\n\r\n // if the caller asked for a character counter, only set the max length if overflow is disallowed\r\n else if (maxCharacters && isObject(maxCharacters) && !maxCharacters.allowOverflow) {\r\n inputProps.maxLength = maxCharacters.max;\r\n }\r\n\r\n // MUI InputLabel props\r\n var InputLabelProps = Object.assign({}, InputLabelPropsProp);\r\n InputLabelProps.classes = {\r\n root: classNames(classes.inputLabel, _defineProperty({}, classes.inputLabelWrapForAdornment, !isNil(InputProps.endAdornment)))\r\n };\r\n InputLabelProps.disabled = disabled;\r\n\r\n // MUI FormHelper props\r\n var FormHelperTextProps = Object.assign({}, FormHelperTextPropsProp);\r\n FormHelperTextProps.classes = {\r\n root: classes.formHelperTextRoot,\r\n error: classes.inputFormLabel\r\n };\r\n FormHelperTextProps.error = error;\r\n\r\n return React.createElement(MuiTextField, Object.assign({\r\n className: rootClassName,\r\n disabled: disabled,\r\n error: error,\r\n FormHelperTextProps: FormHelperTextProps,\r\n helperText: this.helperTextNode(),\r\n id: cleanedId,\r\n InputProps: InputProps,\r\n InputLabelProps: InputLabelProps,\r\n inputProps: inputProps,\r\n label: label,\r\n margin: 'normal',\r\n multiline: multiline,\r\n onChange: this.handleChange,\r\n required: required,\r\n type: isPasswordVisible ? 'text' : type // use this to tell if you should hard render a 'text' or the props.type\r\n , value: value\r\n }, rest));\r\n }\r\n }]);\r\n\r\n return TextField;\r\n}(Component);\r\n\r\nTextField.muiName = 'TextField';\r\n\r\nTextField.propTypes = {\r\n /**\r\n * This property helps users to fill forms faster, especially on mobile devices.\r\n * The name can be confusing, as it's more like an autofill.\r\n * You can learn more about it here:\r\n * https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill\r\n */\r\n autoComplete: PropTypes.string,\r\n /**\r\n * If `true`, the input will be focused during the first mount.\r\n */\r\n autoFocus: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The default value of the `Input` element.\r\n */\r\n defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * If `true`, the input will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the label will be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * Properties applied to the `FormHelperText` element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * If `true`, the input will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * The id of the `input` element.\r\n * Use that property to make `label` and `helperText` accessible for screen readers.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Properties applied to the `InputAdornment` element.\r\n */\r\n InputAdornment: PropTypes.object,\r\n /**\r\n * Properties applied to the `InputLabel` element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n /**\r\n * Properties applied to the `Input` element.\r\n *\r\n * When `type='number'`, adornments will not render.\r\n */\r\n InputProps: PropTypes.object,\r\n /**\r\n * Properties applied to the native `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * The label content.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\r\n */\r\n margin: PropTypes.oneOf(['none', 'dense', 'normal']),\r\n /**\r\n * The maximum number of characters that can be entered into the TextField. There are two variants.\r\n *\r\n * With Counter: Textbox or Textarea can have counter at the bottom of the field. allowOverflow: true will allow more that number of specified characters but counter text will be in red color.\r\n *\r\n * e.g.\r\n * - `{ max: number, allowOverflow: boolean, [tooltipText: string] }`\r\n *\r\n * Without Counter: Will not display counter but number of character restriction will be applied.\r\n *\r\n * e.g.\r\n * - `{number}`\r\n *\r\n * **Does not apply to number fields (`type=\"number\"`)**\r\n */\r\n maxCharacters: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\r\n max: PropTypes.number.isRequired,\r\n allowOverflow: PropTypes.bool\r\n })]),\r\n /**\r\n * If `true`, a textarea element will be rendered instead of an input.\r\n */\r\n multiline: PropTypes.bool,\r\n /**\r\n * Name attribute of the `input` element.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Callback fired when an [`InputAdornment`](#/components/InputAdornment) is clicked.\r\n * The value is passed into the provided function.\r\n * **Applicable for end adornments when the element rendered is a `button` or when `type=\"search\"` is used.**\r\n */\r\n onAdornmentClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * Callback fired when the value is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Callback fired when the clear icon is clicked.\r\n * @param {object} event The event source of the callback.\r\n */\r\n onClearClick: PropTypes.func,\r\n /**\r\n * Callback fired when the enter key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onEnterPress: PropTypes.func,\r\n /**\r\n * Callback fired when the a key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the key by accessing `event.key`.\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * Callback fired when the a key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the key by accessing `event.key`.\r\n */\r\n onKeyUp: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * Set to true to render the Show/Hide text for password TextFields. This will only affect TextField components with the type=\"password\".\r\n */\r\n passwordToggle: PropTypes.bool,\r\n /**\r\n * The short hint displayed in the input before the user enters a value.\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * If `true`, the label is displayed as required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Number of rows to display when multiline option is set to true.\r\n */\r\n rows: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * Maximum number of rows to display when multiline option is set to true.\r\n */\r\n rowsMax: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * Render a `Select` element while passing the `Input` element to `Select` as `input` parameter.\r\n * If this option is set you must pass the options of the select as children.\r\n */\r\n select: PropTypes.bool,\r\n /**\r\n * Properties applied to the `Select` element.\r\n */\r\n SelectProps: PropTypes.object,\r\n /**\r\n * Type attribute of the `Input` element. It should be a valid HTML5 input type.\r\n *\r\n * Type `search` has been deprecated, use the `Search` component instead.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The value of the `Input` element, required for a controlled component.\r\n */\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number]))]),\r\n /**\r\n * The size of the `TextField`. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n // InputNumber specific\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the valid number intervals\r\n */\r\n step: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the minimum value. If a value less than the minimum is entered, the field will reset to the\r\n * minimum value.\r\n */\r\n min: PropTypes.number,\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the maximum value. If a value larger than the maximum is entered, the field will reset to the\r\n * maximum value.\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the precision length of value e.g. `precision={2} => 0.00`\r\n */\r\n precision: PropTypes.number,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Whether focus input when click up or down button\r\n */\r\n focusOnUpDown: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the format of the value presented\r\n * `(@param: value: number|string, @param displayValue: string)`\r\n */\r\n formatter: PropTypes.func,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies a regex pattern to be added to the input number element - useful for forcing iOS to open the number pad instead of the normal keyboard (supply a regex of \"\\d*\" to do this) or form validation\r\n */\r\n pattern: PropTypes.string,\r\n /**\r\n * @ignore\r\n * **Only valid for number fields (`type=\"number\"`)**\r\n *\r\n * Specifies the decimal separator\r\n */\r\n decimalSeparator: PropTypes.string\r\n};\r\n\r\nTextField.displayName = 'TextField';\r\n\r\nTextField.defaultProps = {\r\n required: false,\r\n type: 'text',\r\n rows: 4,\r\n size: 'medium',\r\n fullWidth: false,\r\n step: 1\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TextField));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport { useFormControl } from '../FormControl';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n alignItems: 'center',\n cursor: 'pointer',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n WebkitTapHighlightColor: 'transparent',\n marginLeft: -11,\n marginRight: 16,\n // used for row presentation of radio/checkbox\n '&$disabled': {\n cursor: 'default'\n }\n },\n\n /* Styles applied to the root element if `labelPlacement=\"start\"`. */\n labelPlacementStart: {\n flexDirection: 'row-reverse',\n marginLeft: 16,\n // used for row presentation of radio/checkbox\n marginRight: -11\n },\n\n /* Styles applied to the root element if `labelPlacement=\"top\"`. */\n labelPlacementTop: {\n flexDirection: 'column-reverse',\n marginLeft: 16\n },\n\n /* Styles applied to the root element if `labelPlacement=\"bottom\"`. */\n labelPlacementBottom: {\n flexDirection: 'column',\n marginLeft: 16\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the label's Typography component. */\n label: {\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n }\n };\n};\n/**\n * Drop in replacement of the `Radio`, `Switch` and `Checkbox` component.\n * Use this component if you want to display an extra label.\n */\n\nvar FormControlLabel = React.forwardRef(function FormControlLabel(props, ref) {\n var checked = props.checked,\n classes = props.classes,\n className = props.className,\n control = props.control,\n disabledProp = props.disabled,\n inputRef = props.inputRef,\n label = props.label,\n _props$labelPlacement = props.labelPlacement,\n labelPlacement = _props$labelPlacement === void 0 ? 'end' : _props$labelPlacement,\n name = props.name,\n onChange = props.onChange,\n value = props.value,\n other = _objectWithoutProperties(props, [\"checked\", \"classes\", \"className\", \"control\", \"disabled\", \"inputRef\", \"label\", \"labelPlacement\", \"name\", \"onChange\", \"value\"]);\n\n var muiFormControl = useFormControl();\n var disabled = disabledProp;\n\n if (typeof disabled === 'undefined' && typeof control.props.disabled !== 'undefined') {\n disabled = control.props.disabled;\n }\n\n if (typeof disabled === 'undefined' && muiFormControl) {\n disabled = muiFormControl.disabled;\n }\n\n var controlProps = {\n disabled: disabled\n };\n ['checked', 'name', 'onChange', 'value', 'inputRef'].forEach(function (key) {\n if (typeof control.props[key] === 'undefined' && typeof props[key] !== 'undefined') {\n controlProps[key] = props[key];\n }\n });\n return /*#__PURE__*/React.createElement(\"label\", _extends({\n className: clsx(classes.root, className, labelPlacement !== 'end' && classes[\"labelPlacement\".concat(capitalize(labelPlacement))], disabled && classes.disabled),\n ref: ref\n }, other), React.cloneElement(control, controlProps), /*#__PURE__*/React.createElement(Typography, {\n component: \"span\",\n className: clsx(classes.label, disabled && classes.disabled)\n }, label));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControlLabel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component appears selected.\n */\n checked: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * A control element. For instance, it can be be a `Radio`, a `Switch` or a `Checkbox`.\n */\n control: PropTypes.element.isRequired,\n\n /**\n * If `true`, the control will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The text to be used in an enclosing label element.\n */\n label: PropTypes.node,\n\n /**\n * The position of the label.\n */\n labelPlacement: PropTypes.oneOf(['bottom', 'end', 'start', 'top']),\n\n /**\n * @ignore\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * The value of the component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormControlLabel'\n})(FormControlLabel);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormControlLabel as MuiFormControlLabel } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport { fontSizeLarge } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n cursor: 'pointer',\r\n // For correct alignment with the text.\r\n verticalAlign: 'middle',\r\n // Remove gray highlight\r\n WebkitTapHighlightColor: 'transparent',\r\n marginLeft: -2 * theme.spacing(1),\r\n marginRight: theme.spacing(2), // used for row presentation of radio/checkbox\r\n '&$disabled': {\r\n cursor: 'default'\r\n }\r\n },\r\n disabled: {},\r\n label: {\r\n fontSize: fontSizeLarge,\r\n '&$disabled': {\r\n color: theme.palette.text.disabled\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A drop-in replacement for the , and Component.\r\n * Use this component if you want to display an extra label. You will be able to use the\r\n * state to change the label text from within the context of the FormControl.\r\n */\r\nvar FormControlLabel = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormControlLabel, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormControlLabel.muiName = 'FormControlLabel';\r\nFormControlLabel.displayName = 'FormControlLabel';\r\n\r\nFormControlLabel.propTypes = {\r\n /**\r\n * If `true`, the component appears selected.\r\n */\r\n checked: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * A control element. For instance, it can be be a `Radio`, a `Switch` or a `Checkbox`.\r\n */\r\n control: PropTypes.element.isRequired,\r\n /**\r\n * If `true`, the control will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n /**\r\n * The text to be used in an enclosing label element.\r\n */\r\n label: PropTypes.node,\r\n /*\r\n * @ignore\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Callback fired when the state is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.checked`.\r\n * @param {boolean} checked The `checked` value of the switch\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The value of the component.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nFormControlLabel.contextTypes = {\r\n muiFormControl: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormControlLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'column',\n flexWrap: 'wrap'\n },\n\n /* Styles applied to the root element if `row={true}`. */\n row: {\n flexDirection: 'row'\n }\n};\n/**\n * `FormGroup` wraps controls such as `Checkbox` and `Switch`.\n * It provides compact row layout.\n * For the `Radio`, you should be using the `RadioGroup` component instead of this one.\n */\n\nvar FormGroup = React.forwardRef(function FormGroup(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$row = props.row,\n row = _props$row === void 0 ? false : _props$row,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"row\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, row && classes.row),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormGroup.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Display group of elements in a compact row.\n */\n row: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormGroup'\n})(FormGroup);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormGroup as MuiFormGroup } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\n\r\nexport var styles = {\r\n root: {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n flexWrap: 'wrap'\r\n },\r\n row: {\r\n flexDirection: 'row'\r\n }\r\n};\r\n\r\n/**\r\n * Wraps controls such as Checkbox and Switch, with compact and changeable layout.\r\n */\r\nvar FormGroup = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormGroup, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormGroup.muiName = 'FormGroup';\r\nFormGroup.displayName = 'FormGroup';\r\n\r\nFormGroup.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Display group of elements in a compact row.\r\n */\r\n row: PropTypes.bool\r\n};\r\n\r\nFormGroup.defaultProps = {\r\n row: false\r\n};\r\n\r\nexport default withStyles(styles)(FormGroup);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { FormLabel as MuiFormLabel } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: theme.typography.fontFamily,\r\n color: theme.palette.text.secondary,\r\n fontSize: theme.typography.pxToRem(16),\r\n lineHeight: 1,\r\n padding: 0,\r\n '&:focused': {\r\n color: theme.palette.primary[theme.palette.type === 'light' ? 'dark' : 'light']\r\n },\r\n '&:disabled': {\r\n color: theme.palette.text.disabled\r\n },\r\n '&:error': {\r\n color: theme.palette.error.main\r\n }\r\n },\r\n focused: {},\r\n disabled: {},\r\n error: {},\r\n asterisk: {\r\n '&:error': {\r\n color: theme.palette.error.main\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A wrapper for a label in a form with standard disabled/error/filled/focused/required props,\r\n * each of which can be accompanied by standardized, customized styling. It also supports passing\r\n * full children.\r\n */\r\nvar FormLabel = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiFormLabel, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nFormLabel.muiName = 'FormLabel';\r\nFormLabel.displayName = 'FormLabel';\r\n\r\nFormLabel.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If `true`, the label should be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the label should be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the label should use filled classes key.\r\n */\r\n filled: PropTypes.bool,\r\n /**\r\n * If `true`, the input of this label is focused (used by `FormGroup` components).\r\n */\r\n focused: PropTypes.bool,\r\n /**\r\n * If `true`, the label will indicate that the input is required.\r\n */\r\n required: PropTypes.bool\r\n};\r\n\r\nFormLabel.defaultProps = {\r\n component: 'label'\r\n};\r\n\r\nFormLabel.contextTypes = {\r\n muiFormLabel: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(FormLabel);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'RadioButtonUnchecked');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z\"\n}), 'RadioButtonChecked');","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';\nimport RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n root: {\n position: 'relative',\n display: 'flex',\n '&$checked $layer': {\n transform: 'scale(1)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeOut,\n duration: theme.transitions.duration.shortest\n })\n }\n },\n layer: {\n left: 0,\n position: 'absolute',\n transform: 'scale(0)',\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeIn,\n duration: theme.transitions.duration.shortest\n })\n },\n checked: {}\n };\n};\n/**\n * @ignore - internal component.\n */\n\nfunction RadioButtonIcon(props) {\n var checked = props.checked,\n classes = props.classes,\n fontSize = props.fontSize;\n return /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.root, checked && classes.checked)\n }, /*#__PURE__*/React.createElement(RadioButtonUncheckedIcon, {\n fontSize: fontSize\n }), /*#__PURE__*/React.createElement(RadioButtonCheckedIcon, {\n fontSize: fontSize,\n className: classes.layer\n }));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? RadioButtonIcon.propTypes = {\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The size of the radio.\n * `small` is equivalent to the dense radio styling.\n */\n fontSize: PropTypes.oneOf(['small', 'default'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateRadioButtonIcon'\n})(RadioButtonIcon);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar RadioGroupContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n RadioGroupContext.displayName = 'RadioGroupContext';\n}\n\nexport default RadioGroupContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport SwitchBase from '../internal/SwitchBase';\nimport RadioButtonIcon from './RadioButtonIcon';\nimport { fade } from '../styles/colorManipulator';\nimport capitalize from '../utils/capitalize';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport withStyles from '../styles/withStyles';\nimport useRadioGroup from '../RadioGroup/useRadioGroup';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.secondary\n },\n\n /* Pseudo-class applied to the root element if `checked={true}`. */\n checked: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n '&$checked': {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n '&$checked': {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n }\n };\n};\nvar defaultCheckedIcon = /*#__PURE__*/React.createElement(RadioButtonIcon, {\n checked: true\n});\nvar defaultIcon = /*#__PURE__*/React.createElement(RadioButtonIcon, null);\nvar Radio = React.forwardRef(function Radio(props, ref) {\n var checkedProp = props.checked,\n classes = props.classes,\n _props$color = props.color,\n color = _props$color === void 0 ? 'secondary' : _props$color,\n nameProp = props.name,\n onChangeProp = props.onChange,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"checked\", \"classes\", \"color\", \"name\", \"onChange\", \"size\"]);\n\n var radioGroup = useRadioGroup();\n var checked = checkedProp;\n var onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);\n var name = nameProp;\n\n if (radioGroup) {\n if (typeof checked === 'undefined') {\n checked = radioGroup.value === props.value;\n }\n\n if (typeof name === 'undefined') {\n name = radioGroup.name;\n }\n }\n\n return /*#__PURE__*/React.createElement(SwitchBase, _extends({\n color: color,\n type: \"radio\",\n icon: React.cloneElement(defaultIcon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n checkedIcon: React.cloneElement(defaultCheckedIcon, {\n fontSize: size === 'small' ? 'small' : 'default'\n }),\n classes: {\n root: clsx(classes.root, classes[\"color\".concat(capitalize(color))]),\n checked: classes.checked,\n disabled: classes.disabled\n },\n name: name,\n checked: checked,\n onChange: onChange,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Radio.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * If `true`, the radio will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the radio.\n * `small` is equivalent to the dense radio styling.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The value of the component. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiRadio'\n})(Radio);","import * as React from 'react';\nimport RadioGroupContext from './RadioGroupContext';\nexport default function useRadioGroup() {\n return React.useContext(RadioGroupContext);\n}","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiRadio } from '@material-ui/core/Radio';\r\nimport { default as withStyles } from '../styles';\r\nimport { colorBrandSecondary, spacing40, sizingMedium } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n focused: {\r\n boxShadow: '0 0 0 2px ' + colorBrandSecondary,\r\n color: theme.palette.grey['500'],\r\n margin: spacing40,\r\n padding: 0,\r\n width: sizingMedium // size of the icon\r\n },\r\n checked: {},\r\n disabled: {},\r\n colorPrimary: {\r\n '&$checked': {\r\n color: theme.palette.primary.main\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background\r\n }\r\n },\r\n colorSecondary: {\r\n '&$checked': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Radio` (radio buttons) to allow the user to select only one option from a group.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.3\r\n * @examples\r\n * LabeledRadios\r\n * UnlabeledRadios\r\n */\r\n\r\nvar Radio = function (_React$Component) {\r\n _inherits(Radio, _React$Component);\r\n\r\n function Radio(props) {\r\n _classCallCheck(this, Radio);\r\n\r\n var _this = _possibleConstructorReturn(this, (Radio.__proto__ || Object.getPrototypeOf(Radio)).call(this, props));\r\n\r\n _this.state = {\r\n isFocused: false\r\n };\r\n _this.handleFocus = _this.handleFocus.bind(_this);\r\n _this.handleBlur = _this.handleBlur.bind(_this);\r\n return _this;\r\n }\r\n\r\n _createClass(Radio, [{\r\n key: 'handleFocus',\r\n value: function handleFocus(e) {\r\n if (this.props.onFocus) {\r\n this.props.onFocus(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: true\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'handleBlur',\r\n value: function handleBlur(e) {\r\n if (this.props.onBlur) {\r\n this.props.onBlur(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: false\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var isFocused = this.state.isFocused;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n other = _objectWithoutProperties(_props, ['classes']);\r\n\r\n return React.createElement(MuiRadio, Object.assign({\r\n classes: {\r\n root: isFocused ? classes.focused : classes.root,\r\n checked: classes.checked,\r\n disabled: classes.disabled,\r\n colorPrimary: classes.colorPrimary,\r\n colorSecondary: classes.colorSecondary\r\n },\r\n onFocus: this.handleFocus,\r\n onBlur: this.handleBlur,\r\n disableRipple: true\r\n }, other));\r\n }\r\n }]);\r\n\r\n return Radio;\r\n}(React.Component);\r\n\r\n;\r\n\r\nRadio.muiName = 'Radio';\r\n\r\nRadio.propTypes = {\r\n /**\r\n * If `true`, the component is checked.\r\n */\r\n checked: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\r\n /**\r\n * The icon to display when the component is checked.\r\n */\r\n checkedIcon: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The color of the component. It supports those theme colors that make sense for this component.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary', 'default']),\r\n /**\r\n * If `true`, the switch will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the ripple effect will be disabled.\r\n */\r\n disableRipple: PropTypes.bool,\r\n /**\r\n * The icon to display when the component is unchecked.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The id of the `input` element.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Properties applied to the `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use that property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.func,\r\n /**\r\n * Callback fired when the state is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n * @param {boolean} checked The `checked` value of the switch\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * The input component property `type`.\r\n */\r\n type: PropTypes.string,\r\n /**\r\n * The value of the component.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nRadio.defaultProps = {\r\n color: 'secondary'\r\n};\r\n\r\nexport default withStyles(styles)(Radio);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport FormGroup from '../FormGroup';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\nimport RadioGroupContext from './RadioGroupContext';\nimport useId from '../utils/unstable_useId';\nvar RadioGroup = React.forwardRef(function RadioGroup(props, ref) {\n var actions = props.actions,\n children = props.children,\n nameProp = props.name,\n valueProp = props.value,\n onChange = props.onChange,\n other = _objectWithoutProperties(props, [\"actions\", \"children\", \"name\", \"value\", \"onChange\"]);\n\n var rootRef = React.useRef(null);\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: props.defaultValue,\n name: 'RadioGroup'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n value = _useControlled2[0],\n setValue = _useControlled2[1];\n\n React.useImperativeHandle(actions, function () {\n return {\n focus: function focus() {\n var input = rootRef.current.querySelector('input:not(:disabled):checked');\n\n if (!input) {\n input = rootRef.current.querySelector('input:not(:disabled)');\n }\n\n if (input) {\n input.focus();\n }\n }\n };\n }, []);\n var handleRef = useForkRef(ref, rootRef);\n\n var handleChange = function handleChange(event) {\n setValue(event.target.value);\n\n if (onChange) {\n onChange(event, event.target.value);\n }\n };\n\n var name = useId(nameProp);\n return /*#__PURE__*/React.createElement(RadioGroupContext.Provider, {\n value: {\n name: name,\n onChange: handleChange,\n value: value\n }\n }, /*#__PURE__*/React.createElement(FormGroup, _extends({\n role: \"radiogroup\",\n ref: handleRef\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? RadioGroup.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string]),\n\n /**\n * The name used to reference the value of the control.\n * If you don't provide this prop, it falls back to a randomly generated name.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when a radio button is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * Value of the selected radio button. The DOM API casts this to a string.\n */\n value: PropTypes.any\n} : void 0;\nexport default RadioGroup;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n// TODO: Update this after the update of material-ui itself\r\nimport { default as MuiRadioGroup } from '@material-ui/core/RadioGroup';\r\n\r\n/**\r\n * A component for grouping multiple radios\r\n */\r\nvar RadioGroup = React.forwardRef(function (props, ref) {\r\n return React.createElement(MuiRadioGroup, Object.assign({}, props, { ref: ref }));\r\n});\r\n\r\nRadioGroup.muiName = 'RadioGroup';\r\nRadioGroup.displayName = 'RadioGroup';\r\n\r\nRadioGroup.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * The name used to reference the value of the control.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * Callback fired when a radio button is selected.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n * @param {string} value The `value` of the selected radio button\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * Value of the selected radio button.\r\n */\r\n value: PropTypes.string\r\n};\r\n\r\nexport default RadioGroup;","export default {\r\n '.PresetDateRangePicker_panel': {\r\n padding: '0 22px 11px'\r\n },\r\n '.PresetDateRangePicker_button': {\r\n position: 'relative',\r\n height: '100%',\r\n textAlign: 'center',\r\n background: '0 0',\r\n border: '2px solid #00a699',\r\n color: '#00a699',\r\n padding: '4px 12px',\r\n marginRight: 8,\r\n font: 'inherit',\r\n fontWeight: '700',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n mozBoxSizing: 'border-box',\r\n boxSizing: 'border-box',\r\n cursor: 'pointer'\r\n },\r\n '.PresetDateRangePicker_button:active': {\r\n outline: '0'\r\n },\r\n '.PresetDateRangePicker_button__selected': {\r\n color: '#fff',\r\n background: '#00a699'\r\n },\r\n '.SingleDatePickerInput': {\r\n display: 'inline-block',\r\n backgroundColor: '#fff'\r\n },\r\n '.SingleDatePickerInput__withBorder': {\r\n borderRadius: 2,\r\n border: '1px solid #dbdbdb'\r\n },\r\n '.SingleDatePickerInput__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.SingleDatePickerInput__disabled': {\r\n backgroundColor: '#f2f2f2'\r\n },\r\n '.SingleDatePickerInput__block': {\r\n display: 'block'\r\n },\r\n '.SingleDatePickerInput__showClearDate': {\r\n paddingRight: 30\r\n },\r\n '.SingleDatePickerInput_clearDate': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n padding: 10,\r\n margin: '0 10px 0 5px',\r\n position: 'absolute',\r\n right: '0',\r\n top: '50%',\r\n webkitTransform: 'translateY(-50%)',\r\n msTransform: 'translateY(-50%)',\r\n transform: 'translateY(-50%)'\r\n },\r\n '.SingleDatePickerInput_clearDate__default:focus, .SingleDatePickerInput_clearDate__default:hover': {\r\n background: '#dbdbdb',\r\n borderRadius: '50%'\r\n },\r\n '.SingleDatePickerInput_clearDate__small': {\r\n padding: 6\r\n },\r\n '.SingleDatePickerInput_clearDate__hide': {\r\n visibility: 'hidden'\r\n },\r\n '.SingleDatePickerInput_clearDate_svg': {\r\n fill: '#82888a',\r\n height: 12,\r\n width: 15,\r\n verticalAlign: 'middle'\r\n },\r\n '.SingleDatePickerInput_clearDate_svg__small': {\r\n height: 9\r\n },\r\n '.SingleDatePickerInput_calendarIcon': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n padding: 10,\r\n margin: '0 5px 0 10px'\r\n },\r\n '.SingleDatePickerInput_calendarIcon_svg': {\r\n fill: '#82888a',\r\n height: 15,\r\n width: 14,\r\n verticalAlign: 'middle'\r\n },\r\n '.SingleDatePicker': {\r\n position: 'relative',\r\n display: 'inline-block'\r\n },\r\n '.SingleDatePicker__block': {\r\n display: 'block'\r\n },\r\n '.SingleDatePicker_picker': {\r\n zIndex: '1',\r\n backgroundColor: '#fff',\r\n position: 'absolute'\r\n },\r\n '.SingleDatePicker_picker__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.SingleDatePicker_picker__directionLeft': {\r\n left: '0'\r\n },\r\n '.SingleDatePicker_picker__directionRight': {\r\n right: '0'\r\n },\r\n '.SingleDatePicker_picker__portal': {\r\n backgroundColor: 'rgba(0,0,0,.3)',\r\n position: 'fixed',\r\n top: '0',\r\n left: '0',\r\n height: '100%',\r\n width: '100%'\r\n },\r\n '.SingleDatePicker_picker__fullScreenPortal': {\r\n backgroundColor: '#fff'\r\n },\r\n '.SingleDatePicker_closeButton': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n position: 'absolute',\r\n top: '0',\r\n right: '0',\r\n padding: 15,\r\n zIndex: '2'\r\n },\r\n '.SingleDatePicker_closeButton:focus, .SingleDatePicker_closeButton:hover': {\r\n color: 'darken(#cacccd,10%)',\r\n textDecoration: 'none'\r\n },\r\n '.SingleDatePicker_closeButton_svg': {\r\n height: 15,\r\n width: 15,\r\n fill: '#cacccd'\r\n },\r\n '.DayPickerKeyboardShortcuts_buttonReset': {\r\n background: '0 0',\r\n border: '0',\r\n borderRadius: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n padding: '0',\r\n cursor: 'pointer',\r\n fontSize: 14\r\n },\r\n '.DayPickerKeyboardShortcuts_buttonReset:active': {\r\n outline: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show': {\r\n width: 22,\r\n position: 'absolute',\r\n zIndex: '2'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__bottomRight': {\r\n borderTop: '26px solid transparent',\r\n borderRight: '33px solid #00a699',\r\n bottom: '0',\r\n right: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__bottomRight:hover': {\r\n borderRight: '33px solid #008489'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topRight': {\r\n borderBottom: '26px solid transparent',\r\n borderRight: '33px solid #00a699',\r\n top: '0',\r\n right: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topRight:hover': {\r\n borderRight: '33px solid #008489'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topLeft': {\r\n borderBottom: '26px solid transparent',\r\n borderLeft: '33px solid #00a699',\r\n top: '0',\r\n left: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__topLeft:hover': {\r\n borderLeft: '33px solid #008489'\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan': {\r\n color: '#fff',\r\n position: 'absolute'\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan__bottomRight': {\r\n bottom: '0',\r\n right: -28\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan__topRight': {\r\n top: 1,\r\n right: -28\r\n },\r\n '.DayPickerKeyboardShortcuts_showSpan__topLeft': {\r\n top: 1,\r\n left: -28\r\n },\r\n '.DayPickerKeyboardShortcuts_panel': {\r\n overflow: 'auto',\r\n background: '#fff',\r\n border: '1px solid #dbdbdb',\r\n borderRadius: 2,\r\n position: 'absolute',\r\n top: '0',\r\n bottom: '0',\r\n right: '0',\r\n left: '0',\r\n zIndex: '2',\r\n padding: 22,\r\n margin: 33\r\n },\r\n '.DayPickerKeyboardShortcuts_title': {\r\n fontSize: 16,\r\n fontWeight: '700',\r\n margin: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_list': {\r\n listStyle: 'none',\r\n padding: '0',\r\n fontSize: 14\r\n },\r\n '.DayPickerKeyboardShortcuts_close': {\r\n position: 'absolute',\r\n right: 22,\r\n top: 22,\r\n zIndex: '2'\r\n },\r\n '.DayPickerKeyboardShortcuts_close:active': {\r\n outline: '0'\r\n },\r\n '.DayPickerKeyboardShortcuts_closeSvg': {\r\n height: 15,\r\n width: 15,\r\n fill: '#cacccd'\r\n },\r\n '.DayPickerKeyboardShortcuts_closeSvg:focus, .DayPickerKeyboardShortcuts_closeSvg:hover': {\r\n fill: '#82888a'\r\n },\r\n '.CalendarDay': {\r\n mozBoxSizing: 'border-box',\r\n boxSizing: 'border-box',\r\n cursor: 'pointer',\r\n fontSize: 14,\r\n textAlign: 'center'\r\n },\r\n '.CalendarDay:active': {\r\n outline: '0'\r\n },\r\n '.CalendarDay__defaultCursor': {\r\n cursor: 'default'\r\n },\r\n '.CalendarDay__default': {\r\n border: '1px solid #e4e7e7',\r\n color: '#484848',\r\n background: '#fff'\r\n },\r\n '.CalendarDay__default:hover': {\r\n background: '#e4e7e7',\r\n border: '1px solid #e4e7e7',\r\n color: 'inherit'\r\n },\r\n '.CalendarDay__hovered_offset': {\r\n background: '#f4f5f5',\r\n border: '1px double #e4e7e7',\r\n color: 'inherit'\r\n },\r\n '.CalendarDay__outside': {\r\n border: '0',\r\n background: '#fff',\r\n color: '#484848'\r\n },\r\n '.CalendarDay__outside:hover': {\r\n border: '0'\r\n },\r\n '.CalendarDay__blocked_minimum_nights': {\r\n background: '#fff',\r\n border: '1px solid #eceeee',\r\n color: '#cacccd'\r\n },\r\n '.CalendarDay__blocked_minimum_nights:active, .CalendarDay__blocked_minimum_nights:hover': {\r\n background: '#fff',\r\n color: '#cacccd'\r\n },\r\n '.CalendarDay__highlighted_calendar': {\r\n background: '#ffe8bc',\r\n color: '#484848'\r\n },\r\n '.CalendarDay__highlighted_calendar:active, .CalendarDay__highlighted_calendar:hover': {\r\n background: '#ffce71',\r\n color: '#484848'\r\n },\r\n '.CalendarDay__selected_span': {\r\n background: '#66e2da',\r\n border: '1px double #33dacd',\r\n color: '#fff'\r\n },\r\n '.CalendarDay__selected_span:active, .CalendarDay__selected_span:hover': {\r\n background: '#33dacd',\r\n border: '1px double #33dacd',\r\n color: '#fff'\r\n },\r\n '.CalendarDay__last_in_range, .CalendarDay__last_in_range:hover': {\r\n borderStyle: 'solid'\r\n },\r\n '.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover': {\r\n background: '#00a699',\r\n border: '1px double #00a699',\r\n color: '#fff'\r\n },\r\n '.CalendarDay__hovered_span, .CalendarDay__hovered_span:hover': {\r\n background: '#b2f1ec',\r\n border: '1px double #80e8e0',\r\n color: '#007a87'\r\n },\r\n '.CalendarDay__hovered_span:active': {\r\n background: '#80e8e0',\r\n border: '1px double #80e8e0',\r\n color: '#007a87'\r\n },\r\n '.CalendarDay__blocked_calendar, .CalendarDay__blocked_calendar:active, .CalendarDay__blocked_calendar:hover': {\r\n background: '#cacccd',\r\n border: '1px solid #cacccd',\r\n color: '#82888a'\r\n },\r\n '.CalendarDay__blocked_out_of_range, .CalendarDay__blocked_out_of_range:active, .CalendarDay__blocked_out_of_range:hover': {\r\n background: '#fff',\r\n border: '1px solid #e4e7e7',\r\n color: '#cacccd'\r\n },\r\n '.CalendarMonth': {\r\n background: '#fff',\r\n textAlign: 'center',\r\n verticalAlign: 'top',\r\n webkitUserSelect: 'none',\r\n mozUserSelect: 'none',\r\n msUserSelect: 'none',\r\n userSelect: 'none'\r\n },\r\n '.CalendarMonth_table': {\r\n borderCollapse: 'collapse',\r\n borderSpacing: '0'\r\n },\r\n '.CalendarMonth_verticalSpacing': {\r\n borderCollapse: 'separate'\r\n },\r\n '.CalendarMonth_caption': {\r\n color: '#484848',\r\n fontSize: 18,\r\n textAlign: 'center',\r\n paddingTop: 22,\r\n paddingBottom: 37,\r\n captionSide: 'initial'\r\n },\r\n '.CalendarMonth_caption__verticalScrollable': {\r\n paddingTop: 12,\r\n paddingBottom: 7\r\n },\r\n '.CalendarMonthGrid': {\r\n background: '#fff',\r\n textAlign: 'left',\r\n zIndex: '0'\r\n },\r\n '.CalendarMonthGrid__animating': {\r\n zIndex: '1'\r\n },\r\n '.CalendarMonthGrid__horizontal': {\r\n position: 'absolute',\r\n left: 9\r\n },\r\n '.CalendarMonthGrid__vertical': {\r\n margin: '0 auto'\r\n },\r\n '.CalendarMonthGrid__vertical_scrollable': {\r\n margin: '0 auto',\r\n overflowY: 'scroll'\r\n },\r\n '.CalendarMonthGrid_month__horizontal': {\r\n display: 'inline-block',\r\n verticalAlign: 'top',\r\n minHeight: '100%'\r\n },\r\n '.CalendarMonthGrid_month__hideForAnimation': {\r\n position: 'absolute',\r\n zIndex: '-1',\r\n opacity: '0',\r\n pointerEvents: 'none'\r\n },\r\n '.CalendarMonthGrid_month__hidden': {\r\n visibility: 'hidden'\r\n },\r\n '.DayPickerNavigation': {\r\n position: 'relative',\r\n zIndex: '2'\r\n },\r\n '.DayPickerNavigation__horizontal': {\r\n height: '0'\r\n },\r\n '.DayPickerNavigation__verticalDefault': {\r\n position: 'absolute',\r\n width: '100%',\r\n height: 52,\r\n bottom: '0',\r\n left: '0'\r\n },\r\n '.DayPickerNavigation__verticalScrollableDefault': {\r\n position: 'relative'\r\n },\r\n '.DayPickerNavigation_button': {\r\n cursor: 'pointer',\r\n webkitUserSelect: 'none',\r\n mozUserSelect: 'none',\r\n msUserSelect: 'none',\r\n userSelect: 'none',\r\n border: '0',\r\n padding: '0',\r\n margin: '0'\r\n },\r\n '.DayPickerNavigation_button__default': {\r\n border: '1px solid #e4e7e7',\r\n backgroundColor: '#fff',\r\n color: '#757575'\r\n },\r\n '.DayPickerNavigation_button__default:focus, .DayPickerNavigation_button__default:hover': {\r\n border: '1px solid #c4c4c4'\r\n },\r\n '.DayPickerNavigation_button__default:active': {\r\n background: '#f2f2f2'\r\n },\r\n '.DayPickerNavigation_button__horizontalDefault': {\r\n position: 'absolute',\r\n top: 18,\r\n lineHeight: '.78',\r\n borderRadius: 3,\r\n padding: '6px 9px'\r\n },\r\n '.DayPickerNavigation_leftButton__horizontalDefault': {\r\n left: 22\r\n },\r\n '.DayPickerNavigation_rightButton__horizontalDefault': {\r\n right: 22\r\n },\r\n '.DayPickerNavigation_button__verticalDefault': {\r\n padding: 5,\r\n background: '#fff',\r\n boxShadow: '0 0 5px 2px rgba(0,0,0,.1)',\r\n position: 'relative',\r\n display: 'inline-block',\r\n height: '100%',\r\n width: '50%'\r\n },\r\n '.DayPickerNavigation_nextButton__verticalDefault': {\r\n borderLeft: '0'\r\n },\r\n '.DayPickerNavigation_nextButton__verticalScrollableDefault': {\r\n width: '100%'\r\n },\r\n '.DayPickerNavigation_svg__horizontal': {\r\n height: 19,\r\n width: 19,\r\n fill: '#82888a',\r\n display: 'block'\r\n },\r\n '.DayPickerNavigation_svg__vertical': {\r\n height: 42,\r\n width: 42,\r\n fill: '#484848',\r\n display: 'block'\r\n },\r\n '.DayPicker': {\r\n background: '#fff',\r\n position: 'relative',\r\n textAlign: 'left'\r\n },\r\n '.DayPicker__horizontal': {\r\n background: '#fff'\r\n },\r\n '.DayPicker__verticalScrollable': {\r\n height: '100%'\r\n },\r\n '.DayPicker__hidden': {\r\n visibility: 'hidden'\r\n },\r\n '.DayPicker__withBorder': {\r\n boxShadow: '0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07)',\r\n borderRadius: 3\r\n },\r\n '.DayPicker_portal__horizontal': {\r\n boxShadow: 'none',\r\n position: 'absolute',\r\n left: '50%',\r\n top: '50%'\r\n },\r\n '.DayPicker_portal__vertical': {\r\n position: 'initial'\r\n },\r\n '.DayPicker_focusRegion': {\r\n outline: '0'\r\n },\r\n '.DayPicker_calendarInfo__horizontal, .DayPicker_wrapper__horizontal': {\r\n display: 'inline-block',\r\n verticalAlign: 'top'\r\n },\r\n '.DayPicker_weekHeaders': {\r\n position: 'relative'\r\n },\r\n '.DayPicker_weekHeaders__horizontal': {\r\n marginLeft: 9\r\n },\r\n '.DayPicker_weekHeader': {\r\n color: '#757575',\r\n position: 'absolute',\r\n top: 62,\r\n zIndex: '2',\r\n textAlign: 'left'\r\n },\r\n '.DayPicker_weekHeader__vertical': {\r\n left: '50%'\r\n },\r\n '.DayPicker_weekHeader__verticalScrollable': {\r\n top: '0',\r\n display: 'table-row',\r\n borderBottom: '1px solid #dbdbdb',\r\n background: '#fff',\r\n marginLeft: '0',\r\n left: '0',\r\n width: '100%',\r\n textAlign: 'center'\r\n },\r\n '.DayPicker_weekHeader_ul': {\r\n listStyle: 'none',\r\n margin: '1px 0',\r\n paddingLeft: '0',\r\n paddingRight: '0',\r\n fontSize: 14\r\n },\r\n '.DayPicker_weekHeader_li': {\r\n display: 'inline-block',\r\n textAlign: 'center'\r\n },\r\n '.DayPicker_transitionContainer': {\r\n position: 'relative',\r\n overflow: 'hidden',\r\n borderRadius: 3\r\n },\r\n '.DayPicker_transitionContainer__horizontal': {\r\n webkitTransition: 'height .2s ease-in-out',\r\n mozTransition: 'height .2s ease-in-out',\r\n transition: 'height .2s ease-in-out'\r\n },\r\n '.DayPicker_transitionContainer__vertical': {\r\n width: '100%'\r\n },\r\n '.DayPicker_transitionContainer__verticalScrollable': {\r\n paddingTop: 20,\r\n height: '100%',\r\n position: 'absolute',\r\n top: '0',\r\n bottom: '0',\r\n right: '0',\r\n left: '0',\r\n overflowY: 'scroll'\r\n },\r\n '.DateInput': {\r\n margin: '0',\r\n padding: '0',\r\n background: '#fff',\r\n position: 'relative',\r\n display: 'inline-block',\r\n width: 130,\r\n verticalAlign: 'middle'\r\n },\r\n '.DateInput__small': {\r\n width: 97\r\n },\r\n '.DateInput__block': {\r\n width: '100%'\r\n },\r\n '.DateInput__disabled': {\r\n background: '#f2f2f2',\r\n color: '#dbdbdb'\r\n },\r\n '.DateInput_input': {\r\n fontWeight: '200',\r\n fontSize: 19,\r\n lineHeight: 24,\r\n color: '#484848',\r\n backgroundColor: '#fff',\r\n width: '100%',\r\n padding: '11px 11px 9px',\r\n border: '0',\r\n borderTop: '0',\r\n borderRight: '0',\r\n borderBottom: '2px solid transparent',\r\n borderLeft: '0',\r\n borderRadius: '0'\r\n },\r\n '.DateInput_input__small': {\r\n fontSize: 15,\r\n lineHeight: 18,\r\n letterSpacing: 0.2,\r\n padding: '7px 7px 5px'\r\n },\r\n '.DateInput_input__regular': {\r\n fontWeight: 'auto'\r\n },\r\n '.DateInput_input__readOnly': {\r\n webkitUserSelect: 'none',\r\n mozUserSelect: 'none',\r\n msUserSelect: 'none',\r\n userSelect: 'none'\r\n },\r\n '.DateInput_input__focused': {\r\n outline: '0',\r\n background: '#fff',\r\n border: '0',\r\n borderTop: '0',\r\n borderRight: '0',\r\n borderBottom: '2px solid #008489',\r\n borderLeft: '0'\r\n },\r\n '.DateInput_input__disabled': {\r\n background: '#f2f2f2',\r\n fontStyle: 'italic'\r\n },\r\n '.DateInput_screenReaderMessage': {\r\n border: '0',\r\n clip: 'rect(0,0,0,0)',\r\n height: 1,\r\n margin: -1,\r\n overflow: 'hidden',\r\n padding: '0',\r\n position: 'absolute',\r\n width: 1\r\n },\r\n '.DateInput_fang': {\r\n position: 'absolute',\r\n width: 20,\r\n height: 10,\r\n left: 22,\r\n zIndex: '2'\r\n },\r\n '.DateInput_fangShape': {\r\n fill: '#fff'\r\n },\r\n '.DateInput_fangStroke': {\r\n stroke: '#dbdbdb',\r\n fill: 'transparent'\r\n },\r\n '.DateRangePickerInput': {\r\n backgroundColor: '#fff',\r\n display: 'inline-block'\r\n },\r\n '.DateRangePickerInput__disabled': {\r\n background: '#f2f2f2'\r\n },\r\n '.DateRangePickerInput__withBorder': {\r\n borderRadius: 2,\r\n border: '1px solid #dbdbdb'\r\n },\r\n '.DateRangePickerInput__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.DateRangePickerInput__block': {\r\n display: 'block'\r\n },\r\n '.DateRangePickerInput__showClearDates': {\r\n paddingRight: 30\r\n },\r\n '.DateRangePickerInput_arrow': {\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n color: '#484848'\r\n },\r\n '.DateRangePickerInput_arrow_svg': {\r\n verticalAlign: 'middle',\r\n fill: '#484848',\r\n height: 24,\r\n width: 24\r\n },\r\n '.DateRangePickerInput_clearDates': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n padding: 10,\r\n margin: '0 10px 0 5px',\r\n position: 'absolute',\r\n right: '0',\r\n top: '50%',\r\n webkitTransform: 'translateY(-50%)',\r\n msTransform: 'translateY(-50%)',\r\n transform: 'translateY(-50%)'\r\n },\r\n '.DateRangePickerInput_clearDates__small': {\r\n padding: 6\r\n },\r\n '.DateRangePickerInput_clearDates_default:focus, .DateRangePickerInput_clearDates_default:hover': {\r\n background: '#dbdbdb',\r\n borderRadius: '50%'\r\n },\r\n '.DateRangePickerInput_clearDates__hide': {\r\n visibility: 'hidden'\r\n },\r\n '.DateRangePickerInput_clearDates_svg': {\r\n fill: '#82888a',\r\n height: 12,\r\n width: 15,\r\n verticalAlign: 'middle'\r\n },\r\n '.DateRangePickerInput_clearDates_svg__small': {\r\n height: 9\r\n },\r\n '.DateRangePickerInput_calendarIcon': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n display: 'inline-block',\r\n verticalAlign: 'middle',\r\n padding: 10,\r\n margin: '0 5px 0 10px'\r\n },\r\n '.DateRangePickerInput_calendarIcon_svg': {\r\n fill: '#82888a',\r\n height: 15,\r\n width: 14,\r\n verticalAlign: 'middle'\r\n },\r\n '.DateRangePicker': {\r\n position: 'relative',\r\n display: 'inline-block'\r\n },\r\n '.DateRangePicker__block': {\r\n display: 'block'\r\n },\r\n '.DateRangePicker_picker': {\r\n zIndex: '1',\r\n backgroundColor: '#fff',\r\n position: 'absolute'\r\n },\r\n '.DateRangePicker_picker__rtl': {\r\n direction: 'rtl'\r\n },\r\n '.DateRangePicker_picker__directionLeft': {\r\n left: '0'\r\n },\r\n '.DateRangePicker_picker__directionRight': {\r\n right: '0'\r\n },\r\n '.DateRangePicker_picker__portal': {\r\n backgroundColor: 'rgba(0,0,0,.3)',\r\n position: 'fixed',\r\n top: '0',\r\n left: '0',\r\n height: '100%',\r\n width: '100%'\r\n },\r\n '.DateRangePicker_picker__fullScreenPortal': {\r\n backgroundColor: '#fff'\r\n },\r\n '.DateRangePicker_closeButton': {\r\n background: '0 0',\r\n border: '0',\r\n color: 'inherit',\r\n font: 'inherit',\r\n lineHeight: 'normal',\r\n overflow: 'visible',\r\n cursor: 'pointer',\r\n position: 'absolute',\r\n top: '0',\r\n right: '0',\r\n padding: 15,\r\n zIndex: '2'\r\n },\r\n '.DateRangePicker_closeButton:focus, .DateRangePicker_closeButton:hover': {\r\n color: 'darken(#cacccd,10%)',\r\n textDecoration: 'none'\r\n },\r\n '.DateRangePicker_closeButton_svg': {\r\n height: 15,\r\n width: 15,\r\n fill: '#cacccd'\r\n }\r\n};","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport moment from 'moment';\r\nimport momentPropTypes from 'react-moment-proptypes';\r\nimport omit from 'lodash/omit';\r\nimport isNil from 'lodash/isNil';\r\nimport range from 'lodash/range';\r\nimport filter from 'lodash/filter';\r\nimport head from 'lodash/head';\r\nimport last from 'lodash/last';\r\nimport merge from 'lodash/merge';\r\n\r\nimport cn from 'classnames';\r\nimport 'react-dates/initialize';\r\nimport { SingleDatePicker as ABSingleDatePicker, DayPickerSingleDateController } from 'react-dates'; // AirBnb DatePicker\r\n\r\nimport FormControl from '../FormControl/FormControl';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport Select from '@material-ui/core/Select';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport Input from '@material-ui/core/Input';\r\n\r\nimport getPhrasePropTypes from 'react-dates/lib/utils/getPhrasePropTypes';\r\nimport { SingleDatePickerPhrases } from 'react-dates/lib/defaultPhrases';\r\n\r\nimport CalendarIcon from '@ellucian/ds-icons/lib/Calendar';\r\nimport ChevronRightIcon from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeftIcon from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport uuid from 'uuid';\r\n\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport withStyles from '../styles';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport { borderRadiusCircle, borderRadiusMedium, borderWidthThick, borderWidthThin, colorTextNeutral500, fontFamilyDefault, fontFamilyHeader, fontSizeDefault, fontWeightBold, lineHeightParagraphMedium, lineHeightHeader2Small, paddingTextField, sizingMedium, spacing50, spacing40, spacing30, widthInputFields, heightInputFields, heightInputFieldsSmall, zIndexDatePicker, zIndexTextFieldLabel, widthFluid } from '../styles/tokens';\r\n\r\nimport defaultStyles from './internal/datepickerDefaultStyles';\r\n\r\nvar MONTH_YEAR_CALENDAR_WIDTH = '354px';\r\n\r\nvar AUTOPOSITION_CALENDAR_HEIGHT = 276; // (measured in pixels)\r\nvar AUTOPOSITION_CALENDAR_WIDTH = 284; // (measured in pixels)\r\n\r\nvar DEFAULT_PLACEHOLDER = 'Date';\r\n\r\n// overrides to the global datepicker styles\r\n\r\n// NOTE: we use a lot of raw px values in the styles below (as opposed to rem), because we're\r\n// overriding portions of the underlying react-date styles, which use px; don't want to mix\r\n// px and rem\r\n\r\nvar globalStyleOverrides = function globalStyleOverrides(theme) {\r\n return {\r\n\r\n // the standalone version of the month/year pickers will take up the full width\r\n // of its container unless you constrain it; this has something to do with the\r\n // fact that we're using the vertically-oriented datepicker for the month/year\r\n // variant of DatePicker (to get around other rendering issues)\r\n '.monthYearPickerFix': {\r\n\r\n '&.SingleDatePicker_picker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH\r\n },\r\n\r\n '& .DayPicker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH,\r\n '& .DayPicker_transitionContainer': {\r\n // left to its own devices, the vertically-oriented date picker will\r\n // allocate enough room for *two*, stacked montly calendars. constrain\r\n // the height, and add a little padding at the padding, to compensate\r\n height: 'auto !important',\r\n paddingBottom: spacing50\r\n },\r\n\r\n // hide the \"second\" (offscreen) month entirely when we're showing the\r\n // month/year selection version of datepicker, so that it doesn't take up\r\n // any space on the page\r\n '& .CalendarMonthGrid_month__hidden': {\r\n display: 'none'\r\n }\r\n\r\n }\r\n },\r\n\r\n '.DayPicker': {\r\n fontFamily: fontFamilyDefault,\r\n borderRadius: borderRadiusMedium,\r\n '& .DayPicker_transitionContainer': {\r\n borderRadius: borderRadiusMedium\r\n },\r\n '& .DayPicker_transitionContainer__horizontal': {\r\n transition: 'height 100ms ease-in-out',\r\n '& .CalendarMonthGrid': {\r\n background: 'transparent'\r\n }\r\n }\r\n },\r\n '.SingleDatePicker': {\r\n '& .SingleDatePickerInput__disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n }\r\n },\r\n '.SingleDatePicker_picker': {\r\n backgroundColor: 'transparent',\r\n zIndex: zIndexDatePicker\r\n },\r\n '.SingleDatePickerInput': {\r\n width: widthInputFields,\r\n height: heightInputFields, // 54px to match TextField & Dropdown\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n '& .SingleDatePickerInput_calendarIcon': {\r\n fill: theme.palette.grey[500],\r\n borderRadius: borderRadiusMedium,\r\n margin: 0,\r\n marginLeft: '1.25rem',\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.focus\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n },\r\n '&:disabled:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n },\r\n '& .DateInput': {\r\n width: 'calc(100% - 3.75rem)', // Specific to not overlap with the calendar icon button\r\n backgroundColor: 'transparent',\r\n '& .DateInput_input': {\r\n padding: paddingTextField,\r\n backgroundColor: 'transparent',\r\n color: theme.palette.grey[600],\r\n fontFamily: fontFamilyDefault,\r\n fontSize: theme.typography.body1.fontSize,\r\n lineHeight: lineHeightHeader2Small,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n '&:focus': {\r\n outline: 0\r\n },\r\n '&::placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 0,\r\n color: theme.palette.grey[500],\r\n fontSize: theme.typography.body1.fontSize\r\n },\r\n // Disable FF specific invalid input box-shadow\r\n '&:not(output):-moz-ui-invalid': {\r\n boxShadow: 'none'\r\n }\r\n },\r\n '& .DateInput_input__focused': {\r\n borderColor: 'transparent',\r\n backgroundColor: 'transparent'\r\n },\r\n '& .DateInput_input__disabled': {\r\n fontStyle: 'normal',\r\n '&:hover': {\r\n cursor: 'not-allowed'\r\n }\r\n }\r\n },\r\n // Hide input fang icon\r\n '& .DateInput_fang': {\r\n display: 'none'\r\n }\r\n },\r\n\r\n '.SingleDatePickerInput__withBorder': {\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n\r\n // always hide the standard navigation buttons; we'll be defining our own\r\n '.DayPickerNavigation_button': {\r\n display: 'none'\r\n },\r\n\r\n // always hide vertical navigation buttons; we don't use them\r\n '.DayPickerNavigation__verticalDefault': {\r\n display: 'none'\r\n },\r\n\r\n '.DayPicker__withBorder': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)'\r\n },\r\n '.DayPickerKeyboardShortcuts_show__bottomRight': {\r\n borderRightColor: theme.palette.ctaColor.base\r\n },\r\n '.CalendarMonth_caption': {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: theme.typography.h3.fontSize,\r\n paddingTop: '13px',\r\n paddingBottom: '28px',\r\n '& > strong': {\r\n fontWeight: theme.typography.h3.fontWeight\r\n }\r\n },\r\n\r\n '.CalendarDateCell': {\r\n border: 'none',\r\n borderRadius: '50%',\r\n width: '75%',\r\n height: '75%',\r\n margin: 'auto',\r\n lineHeight: '32px'\r\n },\r\n\r\n // calendar days\r\n '.CalendarDay': {\r\n // Open days\r\n '&.CalendarDay__default': {\r\n color: theme.palette.grey[600],\r\n borderColor: 'transparent',\r\n border: 'none',\r\n '&:hover': {\r\n background: 'none',\r\n color: theme.palette.grey[600],\r\n border: 'none',\r\n '& .CalendarDateCell': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.grey[600]\r\n }\r\n },\r\n '&:focus': {\r\n background: 'none',\r\n outline: 'none',\r\n border: 'none',\r\n color: theme.palette.grey[100],\r\n '& .CalendarDateCell': {\r\n backgroundColor: theme.palette.grey[500],\r\n\r\n '&.today': {\r\n color: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n '& .CalendarDateCell': {\r\n borderRadius: borderRadiusCircle,\r\n transition: theme.transitions.create(['background-color', 'color'], {\r\n duration: 50,\r\n easing: theme.transitions.easing.sharp\r\n }),\r\n '&.today': {\r\n color: theme.palette.ctaColor.base,\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n fontWeight: fontWeightBold\r\n },\r\n '&:active': {\r\n color: theme.palette.grey[100]\r\n // backgroundColor: theme.palette.ctaColor.active,\r\n }\r\n }\r\n },\r\n\r\n // Selected Day\r\n '&.CalendarDay__selected.CalendarDay__default': {\r\n background: 'none',\r\n fontWeight: fontWeightBold,\r\n color: theme.palette.grey[100],\r\n '&:hover': {\r\n color: theme.palette.grey[100]\r\n },\r\n '&:active': {\r\n color: theme.palette.grey[100]\r\n },\r\n '& .CalendarDateCell': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n '&.today': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:hover': {\r\n color: theme.palette.grey[100],\r\n backgroundColor: theme.palette.ctaColor.hover\r\n },\r\n '&:active': {\r\n color: theme.palette.grey[100],\r\n backgroundColor: theme.palette.ctaColor.active\r\n }\r\n }\r\n },\r\n\r\n // Disabled Days\r\n // Out of range\r\n '&.CalendarDay__blocked_out_of_range': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500],\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important',\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n outline: 'none'\r\n }\r\n },\r\n // Days outside of current month\r\n '&.CalendarDay__outside': {\r\n color: theme.palette.grey[500],\r\n borderRadius: borderRadiusCircle,\r\n '&:hover': {\r\n borderRadius: borderRadiusCircle\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: borderRadiusCircle\r\n }\r\n },\r\n // User defined blocked\r\n '&.CalendarDay__blocked_calendar': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[400],\r\n backgroundColor: theme.palette.grey[200],\r\n '&:hover': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important',\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important'\r\n },\r\n '&.CalendarDay__outside': {\r\n color: theme.palette.grey[500],\r\n borderRadius: 0,\r\n '&:hover': {\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: 0,\r\n color: theme.palette.grey[500] + ' !important',\r\n backgroundColor: theme.palette.grey[200] + ' !important'\r\n }\r\n }\r\n }\r\n },\r\n '.DayPicker_weekHeader': {\r\n top: '60px'\r\n },\r\n '.DayPicker_weekHeader_ul': {\r\n textTransform: 'uppercase',\r\n fontSize: theme.typography.caption.fontSize,\r\n color: theme.palette.grey[500]\r\n },\r\n // DatePicker prev + nav buttons\r\n '.DayPickerNavigation': {\r\n '& div[role=\"button\"]': {\r\n position: 'absolute',\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&:focus, &:active': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n }\r\n },\r\n '& div:first-of-type': {\r\n left: '1.375rem'\r\n },\r\n '& div:last-of-type': {\r\n right: '3.125rem'\r\n },\r\n '& svg': {\r\n border: 'none',\r\n height: spacing40,\r\n width: spacing40,\r\n '&:focus, &:active': {\r\n outline: 'none',\r\n border: 0\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n }\r\n }\r\n },\r\n\r\n // detached (appendToBody) calendar are rendered with position 'absolute' by\r\n // default; but this doesn't work in all scenarios, since they'll still\r\n // be positioned absolutely relative to their parent container\r\n\r\n // override the default to be fixed, intead; this seems to work in all\r\n // situations\r\n '.SingleDatePicker_picker[style*=\"transform: translate3d\"]': {\r\n position: 'fixed'\r\n },\r\n\r\n '.hedtech-bring-forward': {\r\n zIndex: theme.zIndex.modal\r\n },\r\n\r\n // Fix for DatePicker calendar positioning when appendToBody props is set\r\n '.SingleDatePicker_picker_small': {\r\n top: '2.875rem !important',\r\n left: '0.875rem !important'\r\n }\r\n\r\n };\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n\r\n // global styles that apply to all instances of DatePicker -- including the\r\n // detached calendar that's displayed when the appendToBody option is enabled\r\n '@global': merge(defaultStyles, globalStyleOverrides(theme)),\r\n\r\n // month picker fix for DatePicker components that are NOT appended to the body\r\n monthYearPickerFix: {\r\n\r\n '& .SingleDatePicker_picker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH\r\n },\r\n\r\n '& .DayPicker': {\r\n width: MONTH_YEAR_CALENDAR_WIDTH,\r\n '& .DayPicker_transitionContainer': {\r\n // left to its own devices, the vertically-oriented date picker will\r\n // allocate enough room for *two*, stacked montly calendars. constrain\r\n // the height, and add a little padding at the padding, to compensate\r\n height: 'auto !important',\r\n paddingBottom: spacing50\r\n },\r\n\r\n // hide the \"second\" (offscreen) month entirely when we're showing the\r\n // month/year selection version of datepicker, so that it doesn't take up\r\n // any space on the page\r\n '& .CalendarMonthGrid_month__hidden': {\r\n display: 'none'\r\n }\r\n\r\n }\r\n },\r\n\r\n standalone: {\r\n position: 'relative',\r\n left: -2,\r\n zIndex: zIndexDatePicker,\r\n '& .DayPicker__withBorder': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: 'none'\r\n },\r\n '& .DayPicker .DayPicker_transitionContainer': {\r\n borderRight: 'none',\r\n backgroundColor: 'transparent'\r\n },\r\n '& .CalendarMonthGrid': {\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n\r\n // for STANDALONE_WEEK variant, size the calendar so it only shows a single week\r\n standaloneWeek: {\r\n '& .DayPicker .DayPicker_transitionContainer': {\r\n height: '130px !important'\r\n }\r\n },\r\n\r\n standaloneRTL: {\r\n '& .CalendarMonthGrid__vertical_2': {\r\n transform: 'translateX(0px) !important'\r\n }\r\n },\r\n fullWidth: {\r\n '& .SingleDatePicker': {\r\n width: widthFluid\r\n },\r\n '& .SingleDatePickerInput': {\r\n width: widthFluid\r\n }\r\n },\r\n\r\n // Apply the focused outline around the input field\r\n focused: {\r\n '& .SingleDatePickerInput': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.focus,\r\n '& .SingleDatePickerInput_calendarIcon': {\r\n fill: theme.palette.grey[500],\r\n borderRadius: borderRadiusMedium,\r\n '&:focus': {\r\n outline: 'none',\r\n boxShadow: 'none',\r\n border: 0\r\n },\r\n '&::-moz-focus-inner': {\r\n border: 0\r\n }\r\n }\r\n }\r\n },\r\n\r\n // small size variant DatePicker\r\n smallDatePicker: {\r\n '& .div_small': {\r\n height: heightInputFieldsSmall,\r\n '& .SingleDatePickerInput': {\r\n height: heightInputFieldsSmall,\r\n top: '-0.125rem',\r\n fontSize: fontSizeDefault,\r\n '& .SingleDatePickerInput_calendarIcon': {\r\n height: '2.25rem',\r\n width: '2.25rem',\r\n padding: spacing30,\r\n marginLeft: spacing50\r\n },\r\n '& .DateInput': {\r\n height: '2.25rem',\r\n '& .DateInput_input': {\r\n height: '2.25rem',\r\n padding: spacing30,\r\n borderBottom: 'none',\r\n fontSize: fontSizeDefault\r\n }\r\n }\r\n },\r\n // For positioning the calendar when not used in a Table\r\n '& .SingleDatePicker_picker': {\r\n top: '2.875rem !important'\r\n }\r\n }\r\n },\r\n\r\n // Show the placeholder if no label is provided\r\n noLabel: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n }\r\n }\r\n },\r\n noLabelMedium: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n padding: spacing40\r\n }\r\n }\r\n }\r\n },\r\n noLabelSmall: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n padding: spacing30,\r\n fontSize: fontSizeDefault,\r\n height: heightInputFieldsSmall,\r\n borderBottom: 'none'\r\n }\r\n }\r\n }\r\n },\r\n\r\n // Error styling\r\n error: {\r\n '& .SingleDatePickerInput': {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n }\r\n },\r\n focusedError: {\r\n '& .SingleDatePickerInput': {\r\n boxShadow: '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill,\r\n '-webkit-box-shadow': '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill,\r\n '-moz-box-shadow:': '0 0 0 ' + borderWidthThin + ' ' + theme.palette.status.error.fill\r\n }\r\n },\r\n\r\n // Styles to show the placeholder when input is\r\n // focused / DatePicker is open (with label)\r\n showPlaceholder: {\r\n '& .SingleDatePickerInput': {\r\n '& .DateInput': {\r\n '& .DateInput_input': {\r\n '&::placeholder': {\r\n opacity: 1\r\n },\r\n '&::-webkit-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&::-moz-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-ms-input-placeholder': {\r\n opacity: 1\r\n },\r\n '&:-moz-placeholder': {\r\n opacity: 1\r\n }\r\n }\r\n }\r\n }\r\n },\r\n\r\n // Calendar Icon Button screen reader only styles\r\n srOnly: {\r\n position: 'absolute',\r\n width: 1,\r\n height: 1,\r\n padding: 0,\r\n margin: '-1px',\r\n overflow: 'hidden',\r\n clip: 'rect(0,0,0,0)',\r\n border: 0\r\n },\r\n\r\n // NOTE: The following styles could be moved into their\r\n // own files in the FormControl directory\r\n // InputLabel\r\n inputLabelFormControl: {\r\n zIndex: zIndexTextFieldLabel,\r\n left: spacing40,\r\n transform: 'translate(0, 1.125rem) scale(1)'\r\n },\r\n inputLabelShrink: {\r\n fontSize: fontSizeDefault,\r\n transform: 'translate(0, .5rem) scale(0.75)'\r\n },\r\n\r\n // styling for custom calendar header\r\n headerControls: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n\r\n '& svg': {\r\n width: spacing40,\r\n height: spacing40,\r\n fill: colorTextNeutral500\r\n }\r\n\r\n },\r\n\r\n alternateHeaderControls: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n paddingLeft: '0.75rem',\r\n\r\n '& > .utility-icons': {\r\n display: 'flex'\r\n },\r\n\r\n '& > .nav-area': {\r\n display: 'flex',\r\n alignItems: 'center',\r\n\r\n '& > .nav-date': {\r\n flex: '1 0 5.5rem',\r\n textAlign: 'start'\r\n }\r\n },\r\n '& svg': {\r\n width: spacing40,\r\n height: spacing40,\r\n fill: colorTextNeutral500\r\n }\r\n\r\n },\r\n\r\n // additional header styling for incremental calendar\r\n incrementalSelector: {\r\n\r\n paddingBottom: '1px',\r\n alignItems: 'center',\r\n margin: '0 -6px'\r\n\r\n },\r\n\r\n // additional header styling for month/year calendar\r\n monthYearSelector: {\r\n padding: '11px 10px 9px 10px'\r\n },\r\n\r\n monthYearSelectInput: {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: theme.typography.h3.fontSize,\r\n fontWeight: theme.typography.h3.fontWeight\r\n },\r\n\r\n monthYearSelectInputInput: {\r\n padding: '0 1.3125rem 0 0'\r\n },\r\n\r\n monthYearSelectIcon: {\r\n top: 'calc(50% - 8px)'\r\n },\r\n\r\n monthYearSelectMenuItem: {\r\n backgroundColor: theme.palette.grey['100'],\r\n // note - can't use borderBottom for this because of an Edge bug that makes\r\n // bottom borders disappear: https://stackoverflow.com/questions/32313551/border-bottom-bug-in-microsoft-edge\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey['300'],\r\n color: theme.palette.grey['600'],\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.fontSize,\r\n lineHeight: lineHeightParagraphMedium,\r\n minHeight: sizingMedium,\r\n whiteSpace: 'inherit',\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey['200'],\r\n color: theme.palette.grey['600']\r\n }\r\n },\r\n\r\n monthYearSelectMenuItemSelected: {\r\n backgroundColor: theme.palette.ctaColor.active + ' !important',\r\n color: theme.palette.grey['100'] + ' !important'\r\n },\r\n\r\n monthYearSelectMenu: {\r\n padding: 0\r\n },\r\n inputLabelSmall: {\r\n top: '-0.35rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault,\r\n '&[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n }\r\n\r\n };\r\n};\r\n\r\n// CONSTANTS\r\nexport var STANDALONE = 'standalone';\r\nexport var STANDALONE_WEEK = 'standalone-week';\r\nexport var WITH_TEXT_FIELD = 'with-text-field';\r\n\r\nexport var INCREMENTAL_SELECTION = 'incremental'; // deprecated\r\nexport var MONTH_YEAR_SELECTION = 'month-year'; // deprecated\r\n\r\nexport var INCREMENTAL_NAVIGATION = 'incremental';\r\nexport var INCREMENTAL_NAVIGATION_WITH_TOOLBAR = 'toolbar-incremental';\r\nexport var MONTH_YEAR_NAVIGATION = 'month-year';\r\n\r\nexport var ANCHOR_LEFT = 'left';\r\nexport var ANCHOR_RIGHT = 'right';\r\n\r\nexport var OPEN_DOWN = 'down';\r\nexport var OPEN_UP = 'up';\r\n\r\nexport var HORIZONTAL_ORIENTATION = 'horizontal';\r\nexport var VERTICAL_ORIENTATION = 'vertical';\r\n\r\nexport var ICON_BEFORE_POSITION = 'before';\r\nexport var ICON_AFTER_POSITION = 'after';\r\n\r\nexport var INFO_POSITION_TOP = 'top';\r\nexport var INFO_POSITION_BOTTOM = 'bottom';\r\nexport var INFO_POSITION_BEFORE = 'before';\r\nexport var INFO_POSITION_AFTER = 'after';\r\n\r\nvar DEFAULT_DISPLAY_FORMAT = 'MMM D, YYYY';\r\nvar DEFAULT_WEEK_DAY_FORMAT = 'dd';\r\nvar DEFAULT_DAY_SIZE = 44;\r\n\r\nvar LAST_WEEK_IN_MONTH = Number.MAX_SAFE_INTEGER;\r\n\r\nvar INPUT_SPECIFIC_PROPS = ['anchorDirection', 'aria-label', 'customCloseIcon', 'customInputIcon', 'disableScroll', 'displayFormat', 'id', 'inputIconPosition', 'openDirection', 'placeholder', 'screenReaderInputMessage'];\r\n\r\n// This implementation is based on MUI's TextField\r\n// https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/TextField/TextField.js\r\n\r\n/**\r\n * Get month metadata from the given date.\r\n *\r\n * @param {moment} date The date of the month to analyze\r\n */\r\nvar getDateRow = function getDateRow(date) {\r\n\r\n var localDate = date.clone();\r\n var dayOfMonth = localDate.date();\r\n\r\n var daysInMonth = localDate.daysInMonth();\r\n var monthStartDay = localDate.startOf('month').day();\r\n var monthEndDay = localDate.endOf('month').day();\r\n\r\n // this accounts for days from the previous/next month appearing in the calendar\r\n var firstRowOffset = monthStartDay;\r\n var lastRowOffset = 6 - monthEndDay;\r\n\r\n // the number of rows rendered by the calendar for this month\r\n var numRowsInMonth = Math.ceil((daysInMonth + firstRowOffset + lastRowOffset) / 7);\r\n\r\n // the calendar row containing the given date\r\n var activeMonthRow = Math.ceil((dayOfMonth + monthStartDay) / 7);\r\n\r\n return {\r\n monthStartDay: monthStartDay,\r\n monthEndDay: monthEndDay,\r\n numRowsInMonth: numRowsInMonth,\r\n activeMonthRow: activeMonthRow\r\n };\r\n};\r\n\r\n/**\r\n * Use `DatePicker` to select a single date.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v0.0.5\r\n * @examples\r\n * ExampleDatePicker\r\n * Disabled\r\n * FullWidth\r\n * DateFormats\r\n * DatePickerWithinAForm\r\n * InADialog\r\n * Standalone\r\n * StandaloneWithToggle\r\n * @examplesInternal\r\n * ExampleDatePickerRTL\r\n */\r\n\r\nvar DatePicker = function (_React$Component) {\r\n _inherits(DatePicker, _React$Component);\r\n\r\n function DatePicker(props) {\r\n _classCallCheck(this, DatePicker);\r\n\r\n var _this = _possibleConstructorReturn(this, (DatePicker.__proto__ || Object.getPrototypeOf(DatePicker)).call(this, props));\r\n\r\n _this.state = {\r\n shrink: false,\r\n currentWeekRow: 0 // tracks current week for STANDALONE_WEEK variant\r\n };\r\n\r\n _this.handleClose = function () {\r\n if (navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform)) {\r\n _this.props.onFocusChange({ focused: false });\r\n }\r\n };\r\n\r\n _this.switchMonth = function (direction, month, onMonthSelect, onYearSelect) {\r\n\r\n var localMonth = month.clone();\r\n var monthCoefficient = void 0;\r\n\r\n // add or subtract a month, depending on direction\r\n //\r\n // note: we use the monthCoefficient to counteract an internal react-date offset that shifts the month\r\n // forward/back by three months when switching years. ¯\\_(ツ)_/¯\r\n if (direction === -1) {\r\n localMonth.subtract(1, 'month');\r\n monthCoefficient = 9;\r\n } else {\r\n localMonth.add(1, 'month');\r\n monthCoefficient = -2;\r\n }\r\n\r\n // switch year if the navigation crosses year boundries\r\n if (month.year() !== localMonth.year()) {\r\n onYearSelect(month, localMonth.year());\r\n onMonthSelect(localMonth, monthCoefficient);\r\n } else {\r\n onMonthSelect(month, localMonth.month());\r\n }\r\n\r\n // invoke the next/prev callbacks\r\n if (direction === -1 && _this.props.onPrevMonthClick) {\r\n _this.props.onPrevMonthClick(localMonth);\r\n } else if (direction === 1 && _this.props.onNextMonthClick) {\r\n _this.props.onNextMonthClick(localMonth);\r\n }\r\n };\r\n\r\n _this.handleCalendarNavigation = function (direction, month, isWeekCalendar, onMonthSelect, onYearSelect) {\r\n\r\n if (isWeekCalendar) {\r\n\r\n var monthDateInfo = getDateRow(month);\r\n var numWeeksInMonth = monthDateInfo.numRowsInMonth;\r\n\r\n // to to the next previous week\r\n var updatedWeek = _this.state.currentWeekRow === LAST_WEEK_IN_MONTH ? numWeeksInMonth - 1 : _this.state.currentWeekRow;\r\n\r\n updatedWeek += direction;\r\n\r\n // if we're on the first/last week of the month, check to see if we should be transitioning\r\n // the another month\r\n if (updatedWeek === 0 || updatedWeek === numWeeksInMonth - 1) {\r\n\r\n var isTransitionRow = direction === 1 ? monthDateInfo.monthEndDay !== 6 : monthDateInfo.monthStartDay !== 0;\r\n\r\n // if it does, consider it a week from the next/previous calendar\r\n if (isTransitionRow) {\r\n updatedWeek = direction === 1 ? numWeeksInMonth : -1;\r\n }\r\n }\r\n\r\n // if we're moving to a new month\r\n if (updatedWeek < 0 || updatedWeek === numWeeksInMonth) {\r\n\r\n // move to the last week of the previous month\r\n if (updatedWeek < 0) {\r\n updatedWeek = LAST_WEEK_IN_MONTH;\r\n }\r\n\r\n // move to the first week of the next month\r\n else if (updatedWeek === numWeeksInMonth) {\r\n updatedWeek = 0;\r\n }\r\n\r\n _this.switchMonth(direction, month, onMonthSelect, onYearSelect);\r\n }\r\n\r\n _this.setState({ currentWeekRow: updatedWeek });\r\n\r\n // this is a full calendar; just move to the appopriate month\r\n } else {\r\n _this.switchMonth(direction, month, onMonthSelect, onYearSelect);\r\n }\r\n };\r\n\r\n _this.handleNavigationButtonPress = function (e, direction, month, isWeekCalendar, onMonthSelect, onYearSelect) {\r\n\r\n // the week calendar wants to handle all nav button keybaord events itself\r\n if (isWeekCalendar) {\r\n e.stopPropagation();\r\n }\r\n\r\n // navigate backwards/forwards on enter or space\r\n if (e.keyCode === 32 || e.keyCode === 13) {\r\n _this.handleCalendarNavigation(direction, month, isWeekCalendar, onMonthSelect, onYearSelect);\r\n }\r\n };\r\n\r\n _this.selectorId = uuid();\r\n _this.datePickerRef = React.createRef();\r\n _this.singleDatePickerId = props.id ? props.id : uuid();\r\n return _this;\r\n }\r\n\r\n _createClass(DatePicker, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n var _props = this.props,\r\n date = _props.date,\r\n variant = _props.variant,\r\n appendToBody = _props.appendToBody;\r\n\r\n // if a detached calendar is enabled, remember the current overflow values of the\r\n // top page elements; we will need this info later\r\n\r\n if (appendToBody) {\r\n this.getOverflow();\r\n }\r\n\r\n if (variant === WITH_TEXT_FIELD) {\r\n this.HACK_setConditionalSizeClass(this.props);\r\n }\r\n\r\n // if this is a standlone week calendar, set the row to the one containing the\r\n // selected date\r\n if (date && variant === STANDALONE_WEEK) {\r\n this.setCurrentRow(date);\r\n }\r\n }\r\n\r\n /**\r\n * Set the row to display in the standalone week calendar\r\n *\r\n * @param {moment} date The date containing the row that should be selected\r\n */\r\n\r\n }, {\r\n key: 'setCurrentRow',\r\n value: function setCurrentRow(date) {\r\n var activeRow = getDateRow(date).activeMonthRow;\r\n this.setState({ currentWeekRow: activeRow - 1 });\r\n }\r\n\r\n /**\r\n * Week calendar keyboard event handler.\r\n */\r\n\r\n }, {\r\n key: 'handleWeekCalendarKeyboardNav',\r\n value: function handleWeekCalendarKeyboardNav(e) {\r\n\r\n // prevent calendar from handling keyboard navigation (we let the enter\r\n // through so that users can select dates)\r\n if (e.keyCode !== 13) {\r\n e.stopPropagation();\r\n }\r\n }\r\n\r\n /**\r\n * Hides rows in the calendar\r\n *\r\n * @param {number} week The week that should be visible. -1 to show all weeks\r\n * @param {boolean} allCalendars Whether this operation to all calendars, or just the visible one.\r\n */\r\n\r\n }, {\r\n key: 'setVisibleCalendarRows',\r\n value: function setVisibleCalendarRows(week, allCalendars) {\r\n\r\n // grab all the rows in the calendar\r\n var allCalendarViews = this.datePickerRef.current.querySelectorAll('table');\r\n var dateRows = void 0;\r\n\r\n // react-dates keeps three month calendars active in the dom, only one of which\r\n // is visible; if prompted, change row visibility in all of them\r\n if (allCalendars) {\r\n dateRows = this.datePickerRef.current.querySelectorAll('table tr');\r\n } else {\r\n dateRows = allCalendarViews[1].querySelectorAll('tr');\r\n }\r\n\r\n // figure out which one should be visible\r\n var visibleRow = week === LAST_WEEK_IN_MONTH ? dateRows.length - 1 : week;\r\n\r\n // show just the selected row (or all rows if directed)\r\n dateRows.forEach(function (row, index) {\r\n\r\n // show only the row for the current week\r\n row.style.display = visibleRow === -1 || index === visibleRow ? 'table-row' : 'none';\r\n\r\n // make each of the dates in that row tabstops, so that the user can keyboard\r\n // through them\r\n row.querySelectorAll('td').forEach(function (td) {\r\n return td.tabIndex = index === visibleRow ? 0 : -1;\r\n });\r\n\r\n // TODO - the standard calendar uses arrows to move through dates, but I can't seem\r\n // to get that to work\r\n });\r\n }\r\n\r\n /**\r\n * Applies the appropriate header for the standalone week calendar.\r\n */\r\n\r\n }, {\r\n key: 'setWeekCalendarHeader',\r\n value: function setWeekCalendarHeader() {\r\n\r\n // the week calendar displays the range of dates in the current week; we don't have\r\n // enough insight about what the range portion of this is during render time,\r\n // so it's applied *after* the fact\r\n\r\n // get the current month/year from where the render method stashed it in the dom\r\n var headerArea = this.datePickerRef.current.querySelector('div.CalendarMonth_1[data-visible=true]').querySelector('span.calendar-title');\r\n var calenderDate = moment(headerArea.getAttribute('data-current-date'), 'MMM YYYY');\r\n\r\n // get all the data in the visible row of the calendar\r\n var weekRows = this.datePickerRef.current.querySelectorAll('table')[1].querySelector('tr[style*=\"table-row\"]');\r\n var days = weekRows.querySelectorAll('td');\r\n\r\n // filter the list of days down to the ones for the current month\r\n var weekData = filter(days, function (day) {\r\n return ![].concat(_toConsumableArray(day.classList)).includes('CalendarDay__outside');\r\n });\r\n\r\n // put together the header text for the current week\r\n var weekCalendarDayRange = head(weekData).textContent + '-' + last(weekData).textContent;\r\n var headerText = calenderDate.format('MMM') + ' ' + weekCalendarDayRange;\r\n\r\n headerArea.innerText = headerText;\r\n }\r\n }, {\r\n key: 'setMonthCalendarHeader',\r\n value: function setMonthCalendarHeader() {\r\n\r\n // get the current month/year from where the render method stashed it in the dom\r\n var headerArea = this.datePickerRef.current.querySelector('div.CalendarMonth_1[data-visible=true]').querySelector('span.calendar-title');\r\n var calenderDate = moment(headerArea.getAttribute('data-current-date'), 'MMM YYYY');\r\n\r\n var headerText = calenderDate.format('MMM YYYY');\r\n\r\n headerArea.innerText = headerText;\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState) {\r\n var _this2 = this;\r\n\r\n var _props2 = this.props,\r\n date = _props2.date,\r\n variant = _props2.variant,\r\n appendToBody = _props2.appendToBody,\r\n monthSelectionVariant = _props2.monthSelectionVariant,\r\n headerVariant = _props2.headerVariant,\r\n focused = _props2.focused;\r\n\r\n // if switching into standalone week view, show the row with the selected date\r\n\r\n if (variant === STANDALONE_WEEK && prevProps.variant !== STANDALONE_WEEK) {\r\n this.setCurrentRow(date);\r\n }\r\n\r\n // if switching out of week view, make sure all rows are visible\r\n else if (variant !== STANDALONE_WEEK && prevProps.variant === STANDALONE_WEEK) {\r\n this.setVisibleCalendarRows(-1, true);\r\n this.setState({ currentWeekRow: 0 });\r\n this.setMonthCalendarHeader();\r\n } else {\r\n\r\n // whether to use month/year header (checking both the deprecated monthSelectionVariant and headerVariant props\r\n var useMonthYearHeader = monthSelectionVariant === MONTH_YEAR_SELECTION || headerVariant.headerType === MONTH_YEAR_NAVIGATION;\r\n\r\n // determine whether the header type changed\r\n var headerVariantChanged = monthSelectionVariant !== prevProps.monthSelectionVariant || headerVariant !== prevProps.headerVariant;\r\n\r\n if (variant === WITH_TEXT_FIELD) {\r\n\r\n // This accounts for DatePickers when placed on Dialogs\r\n // The MUI Dialog disables the scroll when open, and we need to save that new overflow state\r\n if (this.props.appendToBody) {\r\n this.getOverflow();\r\n }\r\n\r\n // when the date picker is rendered with `appendToBody`, the date picker calendar\r\n // is appended to the top of the DOM hierarchy; this makes it difficult to apply\r\n // conditional styling to it, since react-dates doesn't give us a way to interact\r\n // with the calendar specifically\r\n\r\n // the workaround: when we want to apply the month/picker hack to it, we\r\n // wait for it to appear, then apply the styles *directly* to the calendar\r\n // div\r\n\r\n // check if (1) something has changed that requires us to take another look at the\r\n // calendar; and (2) we're dealing with an open, detached calendar\r\n if ((appendToBody !== prevProps.appendToBody || focused !== prevProps.focused || headerVariantChanged) && appendToBody && focused) {\r\n\r\n // jump out of the event loop, to give the calendar time to render\r\n setTimeout(function () {\r\n // apply the hack if the we're using the month/year selector variant;\r\n // otherwise, remove it\r\n _this2.handleMonthPickerHack(useMonthYearHeader);\r\n\r\n // Use this hack to adjust the z-index of the DatePicker when being rendered in a Dialog\r\n // when the prop appendToBody is true. This gives the DatePicker a higher z-index so it is\r\n // not hidden in the background of the Dialog/the Dialog's backdrop.\r\n _this2.HACK_handleZIndex();\r\n }, 1);\r\n }\r\n\r\n // add aria info to calendar button\r\n this.HACK_updateCalendarButtonA11yInfo();\r\n\r\n // if an aria label was provided, apply to input field\r\n this.HACK_updateAriaLabel();\r\n\r\n var curShrink = this.state.shrink;\r\n\r\n var htmlInput = this.datePickerRef.current.querySelector('.DateInput_input');\r\n var htmlInputValueLength = htmlInput ? htmlInput.value.length : 0;\r\n\r\n if (date !== null || curShrink && htmlInputValueLength > 0) {\r\n return;\r\n } else if (curShrink && htmlInputValueLength === 0) {\r\n this.setState({ shrink: false });\r\n } else if (!curShrink && htmlInputValueLength > 0) {\r\n this.setState({ shrink: true });\r\n }\r\n\r\n this.HACK_setConditionalSizeClass();\r\n }\r\n\r\n // if we're in the week calendar, display only the row for the current week\r\n else if (variant === STANDALONE_WEEK) {\r\n\r\n this.setVisibleCalendarRows(this.state.currentWeekRow);\r\n\r\n // retractively apply the week calendar header\r\n if (!useMonthYearHeader) {\r\n this.setWeekCalendarHeader();\r\n }\r\n\r\n // register an event handler to take control of all keyboard events on the\r\n // calendar\r\n var calendar = this.datePickerRef.current.querySelector('.DayPicker_focusRegion');\r\n calendar.removeEventListener('keydown', this.handleWeekCalendarKeyboardNav);\r\n calendar.addEventListener('keydown', this.handleWeekCalendarKeyboardNav);\r\n }\r\n }\r\n }\r\n\r\n // Utility function that gets the overflow of the html and body elements\r\n\r\n }, {\r\n key: 'getOverflow',\r\n value: function getOverflow() {\r\n this.htmlOverflowY = document.querySelector('html').style.overflowY;\r\n this.bodyOverflowY = document.querySelector('body').style.overflowY;\r\n }\r\n\r\n /**\r\n * Find the instance of the calendar that's been appeneded to the document body, and\r\n * add (or remove) the class that patches our issues with the month picker\r\n *\r\n * @param {boolean} apply True to apply the class; false to remove it\r\n */\r\n\r\n }, {\r\n key: 'handleMonthPickerHack',\r\n value: function handleMonthPickerHack(apply) {\r\n\r\n // grab the calendar\r\n var datePickers = document.querySelectorAll('body > div > div.SingleDatePicker_picker');\r\n\r\n // add/remove the month picker hack\r\n if (datePickers.length > 0) {\r\n for (var i = 0; i < datePickers.length; i++) {\r\n var datePicker = datePickers[i];\r\n if (datePicker && datePicker.classList) {\r\n if (apply) {\r\n if (!datePicker.classList.contains('monthYearPickerFix')) {\r\n datePicker.classList.add('monthYearPickerFix');\r\n }\r\n } else {\r\n datePicker.classList.remove('monthYearPickerFix');\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }, {\r\n key: 'HACK_handleZIndex',\r\n value: function HACK_handleZIndex() {\r\n // Get DatePicker\r\n var datePickers = document.querySelectorAll('body > div > div.SingleDatePicker_picker');\r\n\r\n // Assign DatePicker a higher z-index\r\n if (datePickers.length > 0) {\r\n for (var i = 0; i < datePickers.length; i++) {\r\n var datePicker = datePickers[i];\r\n if (datePicker && datePicker.classList) {\r\n datePicker.classList.add('hedtech-bring-forward');\r\n }\r\n }\r\n }\r\n }\r\n\r\n // add aria info to the calendar popup button\r\n\r\n }, {\r\n key: 'HACK_updateCalendarButtonA11yInfo',\r\n value: function HACK_updateCalendarButtonA11yInfo() {\r\n\r\n var calendarButton = this.datePickerRef.current.querySelector('.SingleDatePickerInput_calendarIcon');\r\n\r\n // add a \"hasPopup\" aria label to the button that pops up the date picker\r\n if (this.datePickerRef.current) {\r\n\r\n if (!calendarButton.getAttribute('aria-haspopup')) {\r\n\r\n // note -- we don't have direct access to the button, so need to hack our way in there\r\n calendarButton.setAttribute('aria-haspopup', 'true');\r\n }\r\n }\r\n }\r\n\r\n // Need to add specific classes for small size DatePicker\r\n\r\n }, {\r\n key: 'HACK_setConditionalSizeClass',\r\n value: function HACK_setConditionalSizeClass() {\r\n // Need to add a class to this basic so we can target it specifically\r\n var htmlInput = this.datePickerRef.current.querySelector('.DateInput_input');\r\n\r\n if (this.props.size === 'small' && htmlInput && htmlInput.classList && htmlInput.parentElement.parentElement.parentElement) {\r\n htmlInput.parentElement.parentElement.parentElement.classList.add('div_small');\r\n }\r\n\r\n // DatePicker with appendToBody doesn't respect calendar's top positioning because of where it's rendered\r\n // Need to be more aggressive setting it\r\n var datePickers = document.querySelectorAll('body > div > div.SingleDatePicker_picker');\r\n\r\n if (datePickers.length > 0) {\r\n for (var i = 0; i < datePickers.length; i++) {\r\n var datePicker = datePickers[i];\r\n if (datePicker && datePicker.classList && !datePicker.classList.contains('SingleDatePicker_picker_small')) {\r\n datePicker.classList.add('SingleDatePicker_picker_small');\r\n }\r\n }\r\n }\r\n }\r\n\r\n // add the correct aria-label to the datepicker input field\r\n\r\n }, {\r\n key: 'HACK_updateAriaLabel',\r\n value: function HACK_updateAriaLabel() {\r\n\r\n // add a \"hasPopup\" aria attribute to the button that pops up the date picker\r\n if (this.props['aria-label']) {\r\n\r\n var htmlInput = this.datePickerRef.current.querySelector('.DateInput_input');\r\n\r\n if (htmlInput.getAttribute('aria-label') !== this.props['aria-label']) {\r\n\r\n // note -- we need to hack this in, because the placeholder text always overrides\r\n // whatever you pass in for aria-label, effectively making it impossible to have\r\n // different placeholder and aria-label text\r\n htmlInput.setAttribute('aria-label', this.props['aria-label']);\r\n }\r\n }\r\n }\r\n\r\n // builds a month selection dropdown\r\n\r\n }, {\r\n key: 'buildSelector',\r\n value: function buildSelector(menuItems, callback, value, type) {\r\n var classes = this.props.classes;\r\n var dirString = this.props.isRTL ? 'rtl' : this.props.edsContext.dir;\r\n\r\n return React.createElement(\r\n Select,\r\n {\r\n IconComponent: ChevronDownIcon,\r\n onChange: callback,\r\n MenuProps: {\r\n id: this.selectorId,\r\n MenuListProps: {\r\n classes: {\r\n root: classes.monthYearSelectMenu\r\n },\r\n 'aria-label': type === 'month' ? this.props.edsContext.formatMessage('component.DatePicker.monthPicker') : this.props.edsContext.formatMessage('component.DatePicker.yearPicker')\r\n },\r\n dir: dirString\r\n },\r\n classes: {\r\n icon: classes.monthYearSelectIcon\r\n },\r\n value: value,\r\n input: React.createElement(Input, {\r\n classes: {\r\n root: classes.monthYearSelectInput,\r\n input: classes.monthYearSelectInputInput },\r\n disableUnderline: true\r\n })\r\n },\r\n menuItems\r\n );\r\n }\r\n\r\n // Method will close the calender if user clicks outside of the calendar container.\r\n\r\n\r\n /**\r\n * Switch to the next/previous month.\r\n *\r\n * @param {number} direction The direction to navigation; 1 == forward, -1 == backward\r\n * @param {moment} month Current month\r\n * @param {function} onMonthSelect Invoke to choose a different month\r\n * @param {function} onYearSelect Invoke to choose a different year\r\n */\r\n\r\n\r\n /**\r\n * Handles incremental calendar navigation\r\n *\r\n * @param {number} direction The direction to navigation; 1 == forward, -1 == backward\r\n * @param {moment} month Current month\r\n * @param {boolean} isWeekCalendar True if this is a week clendar\r\n * @param {function} onMonthSelect Invoke to choose a different month\r\n * @param {function} onYearSelect Invoke to choose a different year\r\n */\r\n\r\n\r\n /**\r\n * Handle incremental navigation via keybaord.\r\n */\r\n\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this3 = this,\r\n _cn,\r\n _cn2;\r\n\r\n var _props3 = this.props,\r\n classes = _props3.classes,\r\n error = _props3.error,\r\n variant = _props3.variant,\r\n className = _props3.className,\r\n helperText = _props3.helperText,\r\n fullWidth = _props3.fullWidth,\r\n edsContext = _props3.edsContext,\r\n FormControlProps = _props3.FormControlProps,\r\n FormHelperTextProps = _props3.FormHelperTextProps,\r\n InputLabelProps = _props3.InputLabelProps,\r\n isRTLProp = _props3.isRTL,\r\n labelProp = _props3.label,\r\n startYear = _props3.startYear,\r\n endYear = _props3.endYear,\r\n autoPosition = _props3.autoPosition,\r\n screenReaderInputMessageProp = _props3.screenReaderInputMessage,\r\n placeholderProp = _props3.placeholder,\r\n onFocusChange = _props3.onFocusChange,\r\n monthSelectionVariant = _props3.monthSelectionVariant,\r\n isOutsideRange = _props3.isOutsideRange,\r\n size = _props3.size,\r\n daySize = _props3.daySize,\r\n headerVariant = _props3.headerVariant,\r\n highlightToday = _props3.highlightToday,\r\n date = _props3.date,\r\n props = _objectWithoutProperties(_props3, ['classes', 'error', 'variant', 'className', 'helperText', 'fullWidth', 'edsContext', 'FormControlProps', 'FormHelperTextProps', 'InputLabelProps', 'isRTL', 'label', 'startYear', 'endYear', 'autoPosition', 'screenReaderInputMessage', 'placeholder', 'onFocusChange', 'monthSelectionVariant', 'isOutsideRange', 'size', 'daySize', 'headerVariant', 'highlightToday', 'date']);\r\n\r\n var shrink = this.state.shrink;\r\n\r\n var isRTL = isRTLProp ? isRTLProp : edsContext.dir === 'rtl';\r\n var dirString = isRTLProp ? 'rtl' : edsContext.dir;\r\n var hasLabel = !isNil(labelProp);\r\n var helperTextId = helperText && props.id ? props.id + '-helper-text' : undefined;\r\n var shouldShrink = props.focused || date !== null || shrink;\r\n\r\n var label = labelProp;\r\n // translate placeholder text if we're displaying the default\r\n var placeholder = placeholderProp === DEFAULT_PLACEHOLDER ? edsContext.formatMessage('component.DatePicker.dateLabel') : placeholderProp;\r\n\r\n // Add asterisk to label or placeholder if required\r\n if (props.required) {\r\n if (hasLabel) {\r\n label = labelProp + ' *';\r\n } else {\r\n placeholder = placeholder + ' *';\r\n }\r\n }\r\n\r\n // set up the default screen reader input message\r\n var screenReaderInputMessage = screenReaderInputMessageProp || edsContext.formatMessage('component.DatePicker.a11y.inputDescription', {\r\n dateFormat: this.props.displayFormat\r\n });\r\n\r\n // whether to use month/year header (checking both the deprecated monthSelectionVariant and headerVariant props\r\n var useMonthYearHeader = monthSelectionVariant === MONTH_YEAR_SELECTION || headerVariant.headerType === MONTH_YEAR_NAVIGATION;\r\n\r\n // the custom header for incremental navigation\r\n var incrementalNavHeader = function incrementalNavHeader(_ref) {\r\n var month = _ref.month,\r\n onMonthSelect = _ref.onMonthSelect,\r\n onYearSelect = _ref.onYearSelect;\r\n\r\n\r\n var previousTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToPrevWeek') : edsContext.formatMessage('component.DatePicker.jumpToPrevMonth');\r\n\r\n var nextTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToNextWeek') : edsContext.formatMessage('component.DatePicker.jumpToNextMonth');\r\n\r\n var headerText = month.format('MMMM YYYY');\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: cn(classes.headerControls, classes.incrementalSelector) },\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: previousTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(-1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, -1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronRightIcon, null) : React.createElement(ChevronLeftIcon, null)\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n 'strong',\r\n null,\r\n React.createElement(\r\n 'span',\r\n { 'data-current-date': month.format('MMM YYYY'), className: 'calendar-title' },\r\n headerText\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: nextTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, 1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)\r\n )\r\n )\r\n )\r\n );\r\n };\r\n\r\n // the custom header for incremental navigation\r\n var toolbarIncrementalNavHeader = function toolbarIncrementalNavHeader(_ref2) {\r\n var month = _ref2.month,\r\n onMonthSelect = _ref2.onMonthSelect,\r\n onYearSelect = _ref2.onYearSelect;\r\n\r\n\r\n var previousTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToPrevWeek') : edsContext.formatMessage('component.DatePicker.jumpToPrevMonth');\r\n\r\n var nextTooltip = variant === STANDALONE_WEEK ? edsContext.formatMessage('component.DatePicker.jumpToNextWeek') : edsContext.formatMessage('component.DatePicker.jumpToNextMonth');\r\n\r\n var headerText = month.format('MMM YYYY');\r\n\r\n return React.createElement(\r\n 'div',\r\n { role: 'toolbar', className: cn(classes.alternateHeaderControls), onKeyDown: function onKeyDown(e) {\r\n return e.stopPropagation();\r\n } },\r\n React.createElement(\r\n 'div',\r\n { className: 'nav-area' },\r\n React.createElement(\r\n 'div',\r\n { className: 'nav-date' },\r\n React.createElement(\r\n 'strong',\r\n null,\r\n React.createElement(\r\n 'span',\r\n { 'data-current-date': month.format('MMM YYYY'), className: 'calendar-title' },\r\n headerText\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: previousTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(-1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, -1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronRightIcon, null) : React.createElement(ChevronLeftIcon, null)\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Tooltip,\r\n { title: nextTooltip, enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n onMouseUp: function onMouseUp() {\r\n return _this3.handleCalendarNavigation(1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this3.handleNavigationButtonPress(e, 1, month, variant === STANDALONE_WEEK, onMonthSelect, onYearSelect);\r\n }\r\n },\r\n isRTL ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)\r\n )\r\n )\r\n )\r\n ),\r\n _this3.props.headerVariant.toolbarItems && React.createElement(\r\n 'div',\r\n { className: 'utility-icons' },\r\n _this3.props.headerVariant.toolbarItems.map(function (item, index) {\r\n return React.createElement(\r\n React.Fragment,\r\n { key: index },\r\n item\r\n );\r\n })\r\n )\r\n );\r\n };\r\n\r\n // the custom header for month/year navigation\r\n var monthYearSelectionHeader = function monthYearSelectionHeader(_ref3) {\r\n var month = _ref3.month,\r\n onMonthSelect = _ref3.onMonthSelect,\r\n onYearSelect = _ref3.onYearSelect;\r\n return (\r\n\r\n // Month/Year Calendar Hack\r\n //\r\n // The month/year variant of the calendar has an issue where the transitions from one month\r\n // to another gets 'stuck' when using the month selector; you wind up with the calendar\r\n // half-shifted out of the viewport. This only happens when you put a MUI select in the month\r\n // header; something about it throws off the fragile timing of the transition in the bowels\r\n // of react-dates.\r\n //\r\n // The most consistent/least intrusive way we've found to solve this is by making the month/\r\n // year calendar *vertically*-oriented. This appears to satisfy the transition that is\r\n // causing us so many problems, without any visual impact to the component (since we only\r\n // show one calendar at a time).\r\n //\r\n // We had to add a few CSS tweaks to make this work (see the monthYearPickerFix class, above).\r\n // They are only applied for the month/year version of the calendar.\r\n\r\n React.createElement(\r\n 'div',\r\n { className: cn(classes.headerControls, classes.monthYearSelector) },\r\n React.createElement(\r\n 'div',\r\n null,\r\n _this3.buildSelector(moment.months().map(function (monthLabel, value) {\r\n return React.createElement(\r\n MenuItem,\r\n {\r\n classes: {\r\n root: classes.monthYearSelectMenuItem,\r\n selected: classes.monthYearSelectMenuItemSelected\r\n },\r\n key: value,\r\n value: value,\r\n disableRipple: true,\r\n disableTouchRipple: true\r\n },\r\n monthLabel\r\n );\r\n }), function (e) {\r\n onMonthSelect(month, e.target.value);\r\n }, month.month(), 'month')\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n _this3.buildSelector(range(startYear, endYear + 1, 1).map(function (year) {\r\n return React.createElement(\r\n MenuItem,\r\n {\r\n classes: {\r\n root: classes.monthYearSelectMenuItem,\r\n selected: classes.monthYearSelectMenuItemSelected\r\n },\r\n key: year,\r\n value: year,\r\n disableRipple: true,\r\n disableTouchRipple: true\r\n },\r\n moment(year, 'YYYY').format('YYYY')\r\n );\r\n }), function (e) {\r\n onYearSelect(month, e.target.value);\r\n }, month.year(), 'year')\r\n )\r\n )\r\n );\r\n };\r\n\r\n // figure out what kind of header to use\r\n var header = null;\r\n\r\n var headerType = this.props.monthSelectionVariant ? this.props.monthSelectionVariant : this.props.headerVariant.headerType;\r\n\r\n switch (headerType) {\r\n\r\n case INCREMENTAL_SELECTION:\r\n case INCREMENTAL_NAVIGATION:\r\n header = incrementalNavHeader;\r\n break;\r\n\r\n case INCREMENTAL_NAVIGATION_WITH_TOOLBAR:\r\n header = toolbarIncrementalNavHeader;\r\n break;\r\n\r\n case MONTH_YEAR_SELECTION:\r\n case MONTH_YEAR_NAVIGATION:\r\n header = monthYearSelectionHeader;\r\n break;\r\n\r\n default:\r\n header = incrementalNavHeader;\r\n console.error('Unknown headerVariant: ' + this.props.headerVariant.headerType);\r\n break;\r\n\r\n }\r\n\r\n var today = moment();\r\n\r\n var DatePickerPropOverrides = {\r\n isRTL: isRTL,\r\n inputIconPosition: ICON_AFTER_POSITION,\r\n orientation: useMonthYearHeader ? VERTICAL_ORIENTATION : HORIZONTAL_ORIENTATION,\r\n customInputIcon: React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n 'span',\r\n { className: classes.srOnly },\r\n edsContext.formatMessage('component.DatePicker.inputCalendarIconButton')\r\n ),\r\n React.createElement(CalendarIcon, null)\r\n ),\r\n numberOfMonths: 1,\r\n displayFormat: DEFAULT_DISPLAY_FORMAT,\r\n weekDayFormat: DEFAULT_WEEK_DAY_FORMAT,\r\n anchorDirection: isRTL ? ANCHOR_RIGHT : ANCHOR_LEFT,\r\n screenReaderInputMessage: screenReaderInputMessage,\r\n placeholder: placeholder,\r\n\r\n // override the date cell render so we can apply our own styles and highlight today's date\r\n renderDayContents: function renderDayContents(day) {\r\n var dayClasses = 'CalendarDateCell ' + (highlightToday && day.isSame(today, 'day') ? ' today' : '');\r\n return React.createElement(\r\n 'div',\r\n { className: dayClasses },\r\n day.date()\r\n );\r\n },\r\n\r\n onFocusChange: function onFocusChange(focused) {\r\n\r\n // this is to get past react-dates' stubborn insistence on closing whenever you click\r\n // outside the calendar; selecting a dropdown item is considered an outside click, so\r\n // without this code the calendar would close (in non-standalone mode) whenever you\r\n // select a new date/year\r\n if (focused.focused || !useMonthYearHeader || variant === STANDALONE || variant === STANDALONE_WEEK) {\r\n _this3.props.onFocusChange(focused);\r\n } else {\r\n\r\n // if the month/year selection menu is visible, abort the close\r\n if (document.getElementById(_this3.selectorId)) {\r\n _this3.props.onFocusChange({ focused: true });\r\n } else {\r\n _this3.props.onFocusChange(focused);\r\n }\r\n }\r\n },\r\n\r\n onClose: function onClose() {\r\n\r\n // if the appendToBody prop is specified, users might run afoul of a react-date bug\r\n // where, if you invoke a date picker calendar while another one is already open,\r\n // react-date's scroll-disabling code gets confused, and turns off scrolling forever\r\n // (or until the page refreshes, whichever comes first)\r\n\r\n // work around this by explicitly setting overflow-y back to its previous value,\r\n // whenever a calendar closes\r\n\r\n if (_this3.props.appendToBody) {\r\n\r\n setTimeout(function () {\r\n\r\n // both html & body tags might have their overflows disabled (it appears to be\r\n // browser-dependent); so check both, and reset them if necessary\r\n var html = document.querySelector('html');\r\n var body = document.querySelector('body');\r\n\r\n if (html.style.overflowY === 'hidden' && _this3.htmlOverflowY !== 'hidden') {\r\n html.style.overflowY = _this3.htmlOverflowY;\r\n }\r\n\r\n if (body.style.overflowY === 'hidden' && _this3.bodyOverflowY !== 'hidden') {\r\n body.style.overflowY = _this3.bodyOverflowY;\r\n }\r\n }, 1);\r\n }\r\n\r\n // if the caller provided their own onClose, call it\r\n if (_this3.props.onClose) {\r\n _this3.props.onClose();\r\n }\r\n },\r\n\r\n // if we're showing month selectors, don't allow selections of years outside of the\r\n // given year range\r\n isOutsideRange: this.props.isOutsideRange ? this.props.isOutsideRange : useMonthYearHeader ? function (day) {\r\n return day.year() < startYear || day.year() > endYear;\r\n } : function () {\r\n return false;\r\n },\r\n\r\n // introduce our own custom header\r\n renderMonthElement: header,\r\n\r\n enableOutsideDays: true,\r\n daySize: daySize,\r\n hideKeyboardShortcutsPanel: true,\r\n transitionDuration: 0\r\n };\r\n\r\n var autoPositionOverrides = {};\r\n\r\n if (autoPosition && this.datePickerRef.current && this.props.focused) {\r\n\r\n var rect = this.datePickerRef.current.getBoundingClientRect();\r\n var anchorDirection = void 0;\r\n // determine if the datepicker will fit in the available vertical space, and if not\r\n // if it makes more sense to open it *above* the field\r\n var verticalFit = rect.bottom + AUTOPOSITION_CALENDAR_HEIGHT <= document.documentElement.clientHeight;\r\n var bottomDelta = document.documentElement.clientHeight - rect.bottom;\r\n var topDelta = rect.top;\r\n var openDirection = !verticalFit && bottomDelta <= topDelta ? OPEN_UP : OPEN_DOWN;\r\n\r\n // determine if the datepicker will fit in the available horizontal space, and if not\r\n // if it makes more sense to anchor it to the *right* of the field\r\n if (isRTL) {\r\n var horizontalFit = rect.right + AUTOPOSITION_CALENDAR_WIDTH <= document.documentElement.clientWidth;\r\n var rightDelta = document.documentElement.clientWidth - rect.right;\r\n var leftDelta = rect.left;\r\n anchorDirection = !horizontalFit && rightDelta <= leftDelta ? ANCHOR_LEFT : ANCHOR_RIGHT;\r\n } else {\r\n var _horizontalFit = rect.left + AUTOPOSITION_CALENDAR_WIDTH <= document.documentElement.clientWidth;\r\n var _leftDelta = document.documentElement.clientWidth - rect.left;\r\n var _rightDelta = rect.right;\r\n anchorDirection = !_horizontalFit && _leftDelta <= _rightDelta ? ANCHOR_RIGHT : ANCHOR_LEFT;\r\n }\r\n\r\n // add positioning overrides\r\n autoPositionOverrides = {\r\n openDirection: openDirection,\r\n anchorDirection: anchorDirection\r\n };\r\n }\r\n\r\n // make sure the incoming date is a valid moment object\r\n var isDateValid = isNil(date) || date.isValid && date.isValid();\r\n\r\n if (!isDateValid) {\r\n console.warn('Invalid date supplied to DatePicker');\r\n }\r\n\r\n // make sure the date we were given is a valid moment object; if it's not,\r\n // clear it out (react-dates throws a TypeError when it's given an invalid\r\n // moment object)\r\n var currentDate = isDateValid ? date : null;\r\n\r\n var datePicker = variant === STANDALONE || variant === STANDALONE_WEEK ?\r\n // Standalone\r\n React.createElement(\r\n 'div',\r\n {\r\n dir: dirString,\r\n className: cn(classes.root, classes.standalone, (_cn = {}, _defineProperty(_cn, classes.monthYearPickerFix, useMonthYearHeader), _defineProperty(_cn, classes.standaloneRTL, isRTL && useMonthYearHeader), _defineProperty(_cn, classes.standaloneWeek, variant === STANDALONE_WEEK), _cn), className)\r\n },\r\n React.createElement(DayPickerSingleDateController, Object.assign({}, omit(DatePickerPropOverrides, INPUT_SPECIFIC_PROPS), omit(props, INPUT_SPECIFIC_PROPS), {\r\n date: currentDate\r\n }))\r\n ) :\r\n // With input\r\n React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: cn(classes.root, (_cn2 = {}, _defineProperty(_cn2, classes.focused, props.focused), _defineProperty(_cn2, classes.monthYearPickerFix, useMonthYearHeader), _defineProperty(_cn2, classes.showPlaceholder, props.focused), _defineProperty(_cn2, classes.fullWidth, fullWidth), _defineProperty(_cn2, cn(classes.noLabel, classes.noLabelMedium), !hasLabel && size !== 'small'), _defineProperty(_cn2, cn(classes.noLabel, classes.noLabelSmall), !hasLabel && size === 'small'), _defineProperty(_cn2, classes.error, error), _defineProperty(_cn2, classes.focusedError, error && props.focused), _defineProperty(_cn2, classes.smallDatePicker, size === 'small'), _cn2), className),\r\n fullWidth: fullWidth,\r\n error: error\r\n }, FormControlProps),\r\n hasLabel && React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n htmlFor: props.id,\r\n classes: {\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n },\r\n className: cn(_defineProperty({}, classes.inputLabelSmall, size === 'small')),\r\n shrink: shouldShrink,\r\n error: error\r\n }, InputLabelProps),\r\n label\r\n ),\r\n React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: this.handleClose },\r\n React.createElement(ABSingleDatePicker, Object.assign({\r\n id: this.singleDatePickerId\r\n }, DatePickerPropOverrides, props, autoPositionOverrides, {\r\n date: currentDate\r\n }))\r\n ),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({ id: helperTextId }, FormHelperTextProps),\r\n helperText\r\n )\r\n );\r\n\r\n // if we're autopositioning, wrap the datepicker in a span so that\r\n // it can be referenced by the autopositioning algorithm\r\n datePicker = React.createElement(\r\n 'span',\r\n { ref: this.datePickerRef },\r\n datePicker\r\n );\r\n\r\n return datePicker;\r\n }\r\n }]);\r\n\r\n return DatePicker;\r\n}(React.Component);\r\n\r\nDatePicker.defaultProps = {\r\n placeholder: DEFAULT_PLACEHOLDER,\r\n disableScroll: false,\r\n displayFormat: DEFAULT_DISPLAY_FORMAT,\r\n enableOutsideDays: true,\r\n firstDayOfWeek: 0,\r\n inputIconPosition: ICON_AFTER_POSITION,\r\n isDayBlocked: function isDayBlocked() {\r\n return false;\r\n },\r\n isDayHighlighted: function isDayHighlighted() {\r\n return false;\r\n },\r\n isOutsideRange: null,\r\n isRTL: false,\r\n keepOpenOnDateSelect: false,\r\n openDirection: OPEN_DOWN,\r\n variant: WITH_TEXT_FIELD,\r\n weekDayFormat: DEFAULT_WEEK_DAY_FORMAT,\r\n phrases: SingleDatePickerPhrases,\r\n headerVariant: { headerType: INCREMENTAL_NAVIGATION },\r\n startYear: moment().year() - 3,\r\n endYear: moment().year() + 3,\r\n autoPosition: false,\r\n size: 'medium',\r\n daySize: DEFAULT_DAY_SIZE,\r\n highlightToday: false\r\n};\r\n\r\nDatePicker.propTypes = {\r\n /**\r\n * @ignore\r\n * Added to allow for global JSS styling (and theme usage).\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n 'aria-label': PropTypes.string,\r\n\r\n /****\r\n * FormControl, Input\r\n ****/\r\n /**\r\n * Custom class name to be applied on the `div` when `variant=\"standalone\"` or the `FormControl`\r\n * when `variant=\"with-text-field\"` (default).\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Mark the `FormControl`, `FormHelperText` and `Input` in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * Input label text. This is rendered as the child within the `InputLabel` component.\r\n */\r\n label: PropTypes.string,\r\n /**\r\n * Properties applied to the [`FormControl`](#/components/FormControl) element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * Render the input field full width of the parent container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * Properties applied to the [`InputLabel`](#/components/FormControl) element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n /**\r\n * Render the `DatePicker` with input field or as a standalone calendar UI.\r\n *\r\n * Options:\r\n *\r\n * * `WITH_TEXT_FIELD` ('with-text-field')\r\n * * `STANDALONE` ('standalone')\r\n * * `STANDALONE_WEEK` ('standalone_week')\r\n *\r\n * These contstants can be imported from `@ellucian/react-design-system/core/DatePicker`.\r\n */\r\n variant: PropTypes.oneOf([WITH_TEXT_FIELD, STANDALONE, STANDALONE_WEEK]),\r\n\r\n /****\r\n * Required props for a function interactive SingleDatePicker\r\n ****/\r\n /**\r\n * The selected date to display in the `DatePicker` input field.\r\n *\r\n * This prop expects a `moment` object.\r\n */\r\n date: momentPropTypes.momentObj,\r\n /**\r\n * Function that handles setting the date.\r\n * This function receives a `date` parameter.\r\n *\r\n * i.e. `date => this.setState({ date })`\r\n */\r\n onDateChange: PropTypes.func.isRequired,\r\n /**\r\n * Handles the focused state of the component.\r\n */\r\n focused: PropTypes.bool,\r\n /**\r\n * Function to set whether the `DatePicker` has a focused state or not.\r\n *\r\n * i.e. `({ focused }) => this.setState({ focused })`\r\n */\r\n onFocusChange: PropTypes.func.isRequired,\r\n\r\n /**\r\n * **DEPRECATED**\r\n *\r\n * How months are selected; incrementally, or by month/year:\r\n * * `INCREMENTAL_SELECTION`: Shows next/previous navigation arrows on the date picker\r\n * * `MONTH_YEAR_SELECTION`: Shows month/year selection dropdowns on the date picker\r\n *\r\n * Note: If month/year selection is enabled, the calendar will not allow selection of dates\r\n * before the start year, or after the end year.\r\n *\r\n */\r\n monthSelectionVariant: PropTypes.oneOf([INCREMENTAL_SELECTION, MONTH_YEAR_SELECTION]),\r\n\r\n /**\r\n * The first year in the year selection dropdown. Only applies when\r\n * `monthSelectionVariant` === `MONTH_YEAR_SELECTION` or `headerVariant.headerType` === `MONTH_YEAR_NAVIGATION`.\r\n *\r\n * Defaults to three years before current year.\r\n */\r\n startYear: PropTypes.number,\r\n\r\n /**\r\n * The last year in the year selection dropdown. Only applies when\r\n * `monthSelectionVariant` === `MONTH_YEAR_SELECTION` or `headerVariant.headerType` === `MONTH_YEAR_NAVIGATION`.\r\n *\r\n * Defaults to three years after current year.\r\n */\r\n endYear: PropTypes.number,\r\n\r\n /****\r\n * Input related props\r\n ****/\r\n /**\r\n * A unique identifier of the `DatePicker` to assist with ARIA attribute.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Placeholder text in the input field.\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * Set the input field to disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Set the input field to required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Set the input to `readOnly`. This prevents the users from being able to type into the input field. The date can only be selected from the `DatePicker` UI.\r\n */\r\n readOnly: PropTypes.bool,\r\n /**\r\n * Inform screen reader users of the date format, minimum days, blocked out dates, etc.\r\n */\r\n screenReaderInputMessage: PropTypes.string,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * If a date is selected, the Calendar icon will be swapped out with a Clear icon.\r\n // */\r\n // showClearDate: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render a custom close icon. `showClearDate` has to be `true`.\r\n // */\r\n // customCloseIcon: PropTypes.node,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Show the default input icon.\r\n // */\r\n // showDefaultInputIcon: PropTypes.bool,\r\n\r\n /**\r\n * Render the icon before the input, or after.\r\n *\r\n * Options are `ICON_BEFORE_POSITION` ('before') or `ICON_AFTER_POSITION` ('after') and must be imported from `@ellucian/react-design-system/core/DatePicker`.\r\n */\r\n inputIconPosition: PropTypes.oneOf([ICON_BEFORE_POSITION, ICON_AFTER_POSITION]),\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render a custom input icon. `showDefaultInputIcon` has to be `true`.\r\n // */\r\n // customInputIcon: PropTypes.node,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render the `DatePicker` with no border.\r\n // */\r\n // noBorder: PropTypes.bool,\r\n\r\n /**\r\n * Render the `DatePicker` with `display` set to `'block'`.\r\n */\r\n block: PropTypes.bool,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render `DatePicker` with size small.\r\n // */\r\n // small: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render `DatePicker` with size regular.\r\n // */\r\n // regular: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Set the vertical spacing between the input field and the calendar UI.\r\n // */\r\n // verticalSpacing: PropTypes.number,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Keep focus on the `input` after selecting a date.\r\n // */\r\n // keepFocusOnInput: PropTypes.bool,\r\n\r\n /****\r\n * Calendar presentation and interaction related props\r\n ****/\r\n /**\r\n * Customize the month text rendered in the `DatePicker` UI.\r\n *\r\n * i.e. month => momentJalaali(month).format('jMMMM jYYYY') or 'MM YY'\r\n */\r\n renderMonthText: PropTypes.oneOfType([PropTypes.string, PropTypes.func]), // (month) => PropTypes.string,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render custom month calendar.\r\n // *\r\n // * See the airbnb 'single month, custom caption' DayPickerSingleDateController example.\r\n // *\r\n // * i.e. `({ month, onMonthSelect, onYearSelect }) => `\r\n // */\r\n // renderMonthElement: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Define the orientation of the `DatePicker` calendar UI.\r\n // */\r\n // orientation: PropTypes.oneOf([HORIZONTAL_ORIENTATION, VERTICAL_ORIENTATION]),\r\n\r\n /**\r\n * Set the direction of the calendar UI to be anchored to the left or the right of the input.\r\n *\r\n * Options are `ANCHOR_LEFT` ('left') or `ANCHOR_RIGHT` ('right') and must be imported from `@elluciann/react-design-system/core/DatePicker`.\r\n */\r\n anchorDirection: PropTypes.oneOf([ANCHOR_LEFT, ANCHOR_RIGHT]),\r\n /**\r\n * Open the `DatePicker` from the top or bottom of the input. This is useful to use when the `DatePicker` selection is near the bottom of the screen.\r\n *\r\n * Options are `OPEN_DOWN` ('down') or `OPEN_UP` ('up') and must be imported from `@ellucian/react-design-system/core/DatePicker`.\r\n */\r\n openDirection: PropTypes.oneOf([OPEN_DOWN, OPEN_UP]),\r\n\r\n // NOTE: Hidden until needed\r\n // horizontalMargin: PropTypes.number,\r\n // withPortal: PropTypes.bool,\r\n // withFullScreenPortal: PropTypes.bool,\r\n\r\n /**\r\n * Render the `DatePicker` as the last child in the HTML `body` element.\r\n *\r\n * This is particularly useful when rendering a `DatePicker` in a `Dialog`.\r\n */\r\n appendToBody: PropTypes.bool,\r\n /**\r\n * Disable the scrolling behavior of the parent container when the `DatePicker` is open.\r\n */\r\n disableScroll: PropTypes.bool,\r\n /**\r\n * Function to set whether the initial month shown.\r\n *\r\n * i.e. This function will force the `DatePicker` to open 10 months from today's month: `() => moment().add(10, 'months')`\r\n */\r\n initialVisibleMonth: PropTypes.func,\r\n /**\r\n * Set the first day of the week.\r\n *\r\n * Options are `0`, `1`, `2`, `3`, `4`, `5`, or `6`.\r\n */\r\n firstDayOfWeek: PropTypes.oneOf([0, 1, 2, 3, 4, 5, 6]),\r\n /**\r\n * Positions the DatePicker so that it doesn't go off the screen.\r\n *\r\n * If this is specified, the `openDirection` and `anchorDirection` props are ignored.\r\n */\r\n autoPosition: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Set the number of months visible when the DatePicker is open.\r\n // */\r\n // numberOfMonths: PropTypes.number,\r\n\r\n /**\r\n * Keep the `DatePicker` open after selecting a date.\r\n */\r\n keepOpenOnDateSelect: PropTypes.bool,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Open the `DatePicker` back up when the date is cleared.\r\n // */\r\n // reopenPickerOnClearDate: PropTypes.bool,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render custom calendar information.\r\n // */\r\n // renderCalendarInfo: PropTypes.func,\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Define where to render the additional calendar info. Use with `renderCalendarInfo`.\r\n // */\r\n // calendarInfoPosition: PropTypes.oneOf([\r\n // INFO_POSITION_TOP,\r\n // INFO_POSITION_BOTTOM,\r\n // INFO_POSITION_BEFORE,\r\n // INFO_POSITION_AFTER,\r\n // ]),\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Hide the keyboard shortcuts panel.\r\n // */\r\n // hideKeyboardShortcutsPanel: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * **BETA**\r\n *\r\n * Customize the size of the days. This number should be a non-negative integer.\r\n *\r\n * Note: changing this value may cause display issues if the `monthSelectionVariant` prop is set to `MONTH_YEAR_SELECTION`.\r\n */\r\n daySize: PropTypes.number,\r\n\r\n /**\r\n * **DEPRECATED** Will be determined by the props passed to [`EDSApplication`](#/components/EDSApplication).\r\n *\r\n * Change the reading direction of the `DatePicker`.\r\n */\r\n isRTL: PropTypes.bool,\r\n\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Change the duration of the month transition, measured in `milliseconds`.\r\n // */\r\n // verticalHeight: PropTypes.number,\r\n // /**\r\n // * Change the duration of the month transition, measured in `milliseconds`.\r\n // */\r\n // transitionDuration: PropTypes.number,\r\n // /**\r\n // * Change the horizontal month padding.\r\n // */\r\n // horizontalMonthPadding: PropTypes.number,\r\n\r\n /****\r\n * Navigation related props\r\n ****/\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Render a custom element in place of the `previous` chevron button.\r\n // */\r\n // navPrev: PropTypes.node,\r\n // /**\r\n // * Render a custom element in place of the `next` chevron button.\r\n // */\r\n // navNext: PropTypes.node,\r\n\r\n /**\r\n * Event handler called when the `previous` chevron button is clicked.\r\n */\r\n onPrevMonthClick: PropTypes.func,\r\n /**\r\n * Event handler called when the `next` chevron button is clicked.\r\n */\r\n onNextMonthClick: PropTypes.func,\r\n /**\r\n * Event handler called when the `DatePicker` is closed.\r\n */\r\n onClose: PropTypes.func,\r\n\r\n /****\r\n * Day presentation and interaction props\r\n ****/\r\n // NOTE: Hidden until needed\r\n // /**\r\n // * Customize the contents of the Calendar day elements.\r\n // *\r\n // * See https://github.com/airbnb/react-dates/blob/master/stories/DateRangePicker_day.js#L136 and\r\n // * https://github.com/airbnb/react-dates/blob/master/src/components/CustomizableCalendarDay.jsx.\r\n // */\r\n // renderCalendarDay: PropTypes.func,\r\n\r\n // NOTE: We do not want consumers to customize this prop\r\n // it should be removed in an upcoming release.\r\n /**\r\n * Toggles if days outside of the shown month are visible.\r\n *\r\n * i.e. When March 2019 is shown, the overlapping dates in February and April will show.\r\n */\r\n enableOutsideDays: PropTypes.bool,\r\n /**\r\n * A function that blocks specific days.\r\n * This function receives a `day` (a `moment` object) parameter.\r\n *\r\n * i.e. This function disables all Fridays: `day => moment.weekdays(day.weekday()) === 'Friday'`\r\n */\r\n isDayBlocked: PropTypes.func,\r\n /**\r\n * A function that blocks a range of dates.\r\n * This function receives a `day` (a `moment` object) parameter.\r\n *\r\n * Note: `isInclusivelyAfterDay` is a utility function provided by `react-dates/utils`.\r\n *\r\n * i.e. This function allows for the next two weeks to be available: `day => !isInclusivelyAfterDay(day, moment()) || isInclusivelyAfterDay(day, moment().add(2, 'weeks'))`\r\n */\r\n isOutsideRange: PropTypes.func,\r\n /**\r\n * A function that highlights a specific dates.\r\n * This function receives a `day` (a `moment` object) parameter.\r\n *\r\n * Note: `isSameDay` is a utility function provided by `react-dates/utils`.\r\n *\r\n * i.e. This function highlights dates that match a `moment` date stored in an `Array`: `day1 => datesList.some(day2 => isSameDay(day1, day2))`\r\n */\r\n isDayHighlighted: PropTypes.func,\r\n\r\n /****\r\n * Internationalization props\r\n ****/\r\n\r\n /**\r\n * Date format of the date displayed in the input.\r\n *\r\n * See https://momentjs.com/docs/#/displaying/format/ for more information.\r\n *\r\n * i.e. `() => moment.localeData().longDateFormat('L')` or `'MM DD, YYYY'`\r\n */\r\n displayFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Date format of the month displayed.\r\n *\r\n * See https://momentjs.com/docs/#/displaying/format/ for more information.\r\n *\r\n * i.e. `'MMM'`\r\n */\r\n monthFormat: PropTypes.string,\r\n /**\r\n * Date format of weekday headers.\r\n *\r\n * See https://momentjs.com/docs/#/displaying/format/ for more information.\r\n *\r\n * i.e. `'dd'`\r\n */\r\n weekDayFormat: PropTypes.string,\r\n /**\r\n * Override default component phrases.\r\n *\r\n * See https://github.com/airbnb/react-dates/blob/master/src/defaultPhrases.js for more information.\r\n */\r\n phrases: PropTypes.shape(getPhrasePropTypes(SingleDatePickerPhrases)),\r\n /**\r\n * ARIA label given to the focus-able days.\r\n */\r\n dayAriaLabelFormat: PropTypes.string,\r\n /**\r\n * The size of the `DatePicker`. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n /**\r\n * Highlight today's date in the calendar.\r\n */\r\n highlightToday: PropTypes.bool,\r\n\r\n /**\r\n * How months are selected; incrementally, or by month/year:\r\n *\r\n * Use `headerType` to specify the type of header. Valid values are:\r\n *\r\n * * `INCREMENTAL_NAVIGATION`: A header with next/previous navigation arrows\r\n * * `INCREMENTAL_NAVIGATION_WITH_TOOLBAR`: A header with next/previous navigation arrows and a toolbar\r\n * * `MONTH_YEAR_NAVIGATION`: Shows month/year selection dropdowns on the date picker\r\n *\r\n * Use `toolbarItems` to specify which items should appear in the toolbar. It accepts an array of\r\n * nodes. It is only valid with the `INCREMENTAL_NAVIGATION_WiTH_TOOLBAR` header type.\r\n *\r\n * **Note**: If month/year selection is enabled, the calendar will not allow selection of dates\r\n * before the start year, or after the end year.\r\n */\r\n headerVariant: PropTypes.shape({\r\n headerType: PropTypes.oneOf([INCREMENTAL_NAVIGATION, INCREMENTAL_NAVIGATION_WITH_TOOLBAR, MONTH_YEAR_NAVIGATION]),\r\n toolbarItems: PropTypes.arrayOf(PropTypes.node)\r\n })\r\n\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(DatePicker));","// Source from https://github.com/alitaheri/normalize-scroll-left\nvar cachedType;\n/**\n * Based on the jquery plugin https://github.com/othree/jquery.rtl-scroll-type\n *\n * Types of scrollLeft, assiming scrollWidth=100 and direction is rtl.\n *\n * Browser | Type | <- Most Left | Most Right -> | Initial\n * -------------- | ------------- | ------------ | ------------- | -------\n * WebKit | default | 0 | 100 | 100\n * Firefox/Opera | negative | -100 | 0 | 0\n * IE/Edge | reverse | 100 | 0 | 0\n */\n\nexport function detectScrollType() {\n if (cachedType) {\n return cachedType;\n }\n\n var dummy = document.createElement('div');\n dummy.appendChild(document.createTextNode('ABCD'));\n dummy.dir = 'rtl';\n dummy.style.fontSize = '14px';\n dummy.style.width = '4px';\n dummy.style.height = '1px';\n dummy.style.position = 'absolute';\n dummy.style.top = '-1000px';\n dummy.style.overflow = 'scroll';\n document.body.appendChild(dummy);\n cachedType = 'reverse';\n\n if (dummy.scrollLeft > 0) {\n cachedType = 'default';\n } else {\n dummy.scrollLeft = 1;\n\n if (dummy.scrollLeft === 0) {\n cachedType = 'negative';\n }\n }\n\n document.body.removeChild(dummy);\n return cachedType;\n} // Based on https://stackoverflow.com/a/24394376\n\nexport function getNormalizedScrollLeft(element, direction) {\n var scrollLeft = element.scrollLeft; // Perform the calculations only when direction is rtl to avoid messing up the ltr bahavior\n\n if (direction !== 'rtl') {\n return scrollLeft;\n }\n\n var type = detectScrollType();\n\n switch (type) {\n case 'negative':\n return element.scrollWidth - element.clientWidth + scrollLeft;\n\n case 'reverse':\n return element.scrollWidth - element.clientWidth - scrollLeft;\n\n default:\n return scrollLeft;\n }\n}","function easeInOutSin(time) {\n return (1 + Math.sin(Math.PI * time - Math.PI / 2)) / 2;\n}\n\nexport default function animate(property, element, to) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var cb = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : function () {};\n var _options$ease = options.ease,\n ease = _options$ease === void 0 ? easeInOutSin : _options$ease,\n _options$duration = options.duration,\n duration = _options$duration === void 0 ? 300 : _options$duration;\n var start = null;\n var from = element[property];\n var cancelled = false;\n\n var cancel = function cancel() {\n cancelled = true;\n };\n\n var step = function step(timestamp) {\n if (cancelled) {\n cb(new Error('Animation cancelled'));\n return;\n }\n\n if (start === null) {\n start = timestamp;\n }\n\n var time = Math.min(1, (timestamp - start) / duration);\n element[property] = ease(time) * (to - from) + from;\n\n if (time >= 1) {\n requestAnimationFrame(function () {\n cb(null);\n });\n return;\n }\n\n requestAnimationFrame(step);\n };\n\n if (from === to) {\n cb(new Error('Element already at target position'));\n return cancel;\n }\n\n requestAnimationFrame(step);\n return cancel;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nvar styles = {\n width: 99,\n height: 99,\n position: 'absolute',\n top: -9999,\n overflow: 'scroll'\n};\n/**\n * @ignore - internal component.\n * The component is originates from https://github.com/STORIS/react-scrollbar-size.\n * It has been moved into the core in order to minimize the bundle size.\n */\n\nexport default function ScrollbarSize(props) {\n var onChange = props.onChange,\n other = _objectWithoutProperties(props, [\"onChange\"]);\n\n var scrollbarHeight = React.useRef();\n var nodeRef = React.useRef(null);\n\n var setMeasurements = function setMeasurements() {\n scrollbarHeight.current = nodeRef.current.offsetHeight - nodeRef.current.clientHeight;\n };\n\n React.useEffect(function () {\n var handleResize = debounce(function () {\n var prevHeight = scrollbarHeight.current;\n setMeasurements();\n\n if (prevHeight !== scrollbarHeight.current) {\n onChange(scrollbarHeight.current);\n }\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [onChange]);\n React.useEffect(function () {\n setMeasurements();\n onChange(scrollbarHeight.current);\n }, [onChange]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n style: styles,\n ref: nodeRef\n }, other));\n}\nprocess.env.NODE_ENV !== \"production\" ? ScrollbarSize.propTypes = {\n onChange: PropTypes.func.isRequired\n} : void 0;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n root: {\n position: 'absolute',\n height: 2,\n bottom: 0,\n width: '100%',\n transition: theme.transitions.create()\n },\n colorPrimary: {\n backgroundColor: theme.palette.primary.main\n },\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main\n },\n vertical: {\n height: '100%',\n width: 2,\n right: 0\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar TabIndicator = React.forwardRef(function TabIndicator(props, ref) {\n var classes = props.classes,\n className = props.className,\n color = props.color,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, orientation === 'vertical' && classes.vertical),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TabIndicator.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n * The color of the tab indicator.\n */\n color: PropTypes.oneOf(['primary', 'secondary']).isRequired,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateTabIndicator'\n})(TabIndicator);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z\"\n}), 'KeyboardArrowLeft');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z\"\n}), 'KeyboardArrowRight');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';\nimport KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: 40,\n flexShrink: 0,\n opacity: 0.8,\n '&$disabled': {\n opacity: 0\n }\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n width: '100%',\n height: 40,\n '& svg': {\n transform: 'rotate(90deg)'\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {}\n};\n\nvar _ref = /*#__PURE__*/React.createElement(KeyboardArrowLeft, {\n fontSize: \"small\"\n});\n\nvar _ref2 = /*#__PURE__*/React.createElement(KeyboardArrowRight, {\n fontSize: \"small\"\n});\n\nvar TabScrollButton = React.forwardRef(function TabScrollButton(props, ref) {\n var classes = props.classes,\n classNameProp = props.className,\n direction = props.direction,\n orientation = props.orientation,\n disabled = props.disabled,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"direction\", \"orientation\", \"disabled\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n component: \"div\",\n className: clsx(classes.root, classNameProp, disabled && classes.disabled, orientation === 'vertical' && classes.vertical),\n ref: ref,\n role: null,\n tabIndex: null\n }, other), direction === 'left' ? _ref : _ref2);\n});\nprocess.env.NODE_ENV !== \"production\" ? TabScrollButton.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Which direction should the button indicate?\n */\n direction: PropTypes.oneOf(['left', 'right']).isRequired,\n\n /**\n * If `true`, the element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']).isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTabScrollButton'\n})(TabScrollButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport ownerWindow from '../utils/ownerWindow';\nimport { getNormalizedScrollLeft, detectScrollType } from '../utils/scrollLeft';\nimport animate from '../internal/animate';\nimport ScrollbarSize from './ScrollbarSize';\nimport withStyles from '../styles/withStyles';\nimport TabIndicator from './TabIndicator';\nimport TabScrollButton from '../TabScrollButton';\nimport useEventCallback from '../utils/useEventCallback';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden',\n minHeight: 48,\n WebkitOverflowScrolling: 'touch',\n // Add iOS momentum scrolling.\n display: 'flex'\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the flex container element. */\n flexContainer: {\n display: 'flex'\n },\n\n /* Styles applied to the flex container element if `orientation=\"vertical\"`. */\n flexContainerVertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the flex container element if `centered={true}` & `!variant=\"scrollable\"`. */\n centered: {\n justifyContent: 'center'\n },\n\n /* Styles applied to the tablist element. */\n scroller: {\n position: 'relative',\n display: 'inline-block',\n flex: '1 1 auto',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the tablist element if `!variant=\"scrollable\"`\b\b\b. */\n fixed: {\n overflowX: 'hidden',\n width: '100%'\n },\n\n /* Styles applied to the tablist element if `variant=\"scrollable\"`. */\n scrollable: {\n overflowX: 'scroll',\n // Hide dimensionless scrollbar on MacOS\n scrollbarWidth: 'none',\n // Firefox\n '&::-webkit-scrollbar': {\n display: 'none' // Safari + Chrome\n\n }\n },\n\n /* Styles applied to the `ScrollButtonComponent` component. */\n scrollButtons: {},\n\n /* Styles applied to the `ScrollButtonComponent` component if `scrollButtons=\"auto\"` or scrollButtons=\"desktop\"`. */\n scrollButtonsDesktop: _defineProperty({}, theme.breakpoints.down('xs'), {\n display: 'none'\n }),\n\n /* Styles applied to the `TabIndicator` component. */\n indicator: {}\n };\n};\nvar Tabs = React.forwardRef(function Tabs(props, ref) {\n var action = props.action,\n _props$centered = props.centered,\n centered = _props$centered === void 0 ? false : _props$centered,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$indicatorColor = props.indicatorColor,\n indicatorColor = _props$indicatorColor === void 0 ? 'secondary' : _props$indicatorColor,\n onChange = props.onChange,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$ScrollButtonCo = props.ScrollButtonComponent,\n ScrollButtonComponent = _props$ScrollButtonCo === void 0 ? TabScrollButton : _props$ScrollButtonCo,\n _props$scrollButtons = props.scrollButtons,\n scrollButtons = _props$scrollButtons === void 0 ? 'auto' : _props$scrollButtons,\n _props$TabIndicatorPr = props.TabIndicatorProps,\n TabIndicatorProps = _props$TabIndicatorPr === void 0 ? {} : _props$TabIndicatorPr,\n TabScrollButtonProps = props.TabScrollButtonProps,\n _props$textColor = props.textColor,\n textColor = _props$textColor === void 0 ? 'inherit' : _props$textColor,\n value = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"action\", \"centered\", \"children\", \"classes\", \"className\", \"component\", \"indicatorColor\", \"onChange\", \"orientation\", \"ScrollButtonComponent\", \"scrollButtons\", \"TabIndicatorProps\", \"TabScrollButtonProps\", \"textColor\", \"value\", \"variant\"]);\n\n var theme = useTheme();\n var scrollable = variant === 'scrollable';\n var isRtl = theme.direction === 'rtl';\n var vertical = orientation === 'vertical';\n var scrollStart = vertical ? 'scrollTop' : 'scrollLeft';\n var start = vertical ? 'top' : 'left';\n var end = vertical ? 'bottom' : 'right';\n var clientSize = vertical ? 'clientHeight' : 'clientWidth';\n var size = vertical ? 'height' : 'width';\n\n if (process.env.NODE_ENV !== 'production') {\n if (centered && scrollable) {\n console.error('Material-UI: You can not use the `centered={true}` and `variant=\"scrollable\"` properties ' + 'at the same time on a `Tabs` component.');\n }\n }\n\n var _React$useState = React.useState(false),\n mounted = _React$useState[0],\n setMounted = _React$useState[1];\n\n var _React$useState2 = React.useState({}),\n indicatorStyle = _React$useState2[0],\n setIndicatorStyle = _React$useState2[1];\n\n var _React$useState3 = React.useState({\n start: false,\n end: false\n }),\n displayScroll = _React$useState3[0],\n setDisplayScroll = _React$useState3[1];\n\n var _React$useState4 = React.useState({\n overflow: 'hidden',\n marginBottom: null\n }),\n scrollerStyle = _React$useState4[0],\n setScrollerStyle = _React$useState4[1];\n\n var valueToIndex = new Map();\n var tabsRef = React.useRef(null);\n var tabListRef = React.useRef(null);\n\n var getTabsMeta = function getTabsMeta() {\n var tabsNode = tabsRef.current;\n var tabsMeta;\n\n if (tabsNode) {\n var rect = tabsNode.getBoundingClientRect(); // create a new object with ClientRect class props + scrollLeft\n\n tabsMeta = {\n clientWidth: tabsNode.clientWidth,\n scrollLeft: tabsNode.scrollLeft,\n scrollTop: tabsNode.scrollTop,\n scrollLeftNormalized: getNormalizedScrollLeft(tabsNode, theme.direction),\n scrollWidth: tabsNode.scrollWidth,\n top: rect.top,\n bottom: rect.bottom,\n left: rect.left,\n right: rect.right\n };\n }\n\n var tabMeta;\n\n if (tabsNode && value !== false) {\n var _children = tabListRef.current.children;\n\n if (_children.length > 0) {\n var tab = _children[valueToIndex.get(value)];\n\n if (process.env.NODE_ENV !== 'production') {\n if (!tab) {\n console.error([\"Material-UI: The value provided to the Tabs component is invalid.\", \"None of the Tabs' children match with `\".concat(value, \"`.\"), valueToIndex.keys ? \"You can provide one of the following values: \".concat(Array.from(valueToIndex.keys()).join(', '), \".\") : null].join('\\n'));\n }\n }\n\n tabMeta = tab ? tab.getBoundingClientRect() : null;\n }\n }\n\n return {\n tabsMeta: tabsMeta,\n tabMeta: tabMeta\n };\n };\n\n var updateIndicatorState = useEventCallback(function () {\n var _newIndicatorStyle;\n\n var _getTabsMeta = getTabsMeta(),\n tabsMeta = _getTabsMeta.tabsMeta,\n tabMeta = _getTabsMeta.tabMeta;\n\n var startValue = 0;\n\n if (tabMeta && tabsMeta) {\n if (vertical) {\n startValue = tabMeta.top - tabsMeta.top + tabsMeta.scrollTop;\n } else {\n var correction = isRtl ? tabsMeta.scrollLeftNormalized + tabsMeta.clientWidth - tabsMeta.scrollWidth : tabsMeta.scrollLeft;\n startValue = tabMeta.left - tabsMeta.left + correction;\n }\n }\n\n var newIndicatorStyle = (_newIndicatorStyle = {}, _defineProperty(_newIndicatorStyle, start, startValue), _defineProperty(_newIndicatorStyle, size, tabMeta ? tabMeta[size] : 0), _newIndicatorStyle);\n\n if (isNaN(indicatorStyle[start]) || isNaN(indicatorStyle[size])) {\n setIndicatorStyle(newIndicatorStyle);\n } else {\n var dStart = Math.abs(indicatorStyle[start] - newIndicatorStyle[start]);\n var dSize = Math.abs(indicatorStyle[size] - newIndicatorStyle[size]);\n\n if (dStart >= 1 || dSize >= 1) {\n setIndicatorStyle(newIndicatorStyle);\n }\n }\n });\n\n var scroll = function scroll(scrollValue) {\n animate(scrollStart, tabsRef.current, scrollValue);\n };\n\n var moveTabsScroll = function moveTabsScroll(delta) {\n var scrollValue = tabsRef.current[scrollStart];\n\n if (vertical) {\n scrollValue += delta;\n } else {\n scrollValue += delta * (isRtl ? -1 : 1); // Fix for Edge\n\n scrollValue *= isRtl && detectScrollType() === 'reverse' ? -1 : 1;\n }\n\n scroll(scrollValue);\n };\n\n var handleStartScrollClick = function handleStartScrollClick() {\n moveTabsScroll(-tabsRef.current[clientSize]);\n };\n\n var handleEndScrollClick = function handleEndScrollClick() {\n moveTabsScroll(tabsRef.current[clientSize]);\n };\n\n var handleScrollbarSizeChange = React.useCallback(function (scrollbarHeight) {\n setScrollerStyle({\n overflow: null,\n marginBottom: -scrollbarHeight\n });\n }, []);\n\n var getConditionalElements = function getConditionalElements() {\n var conditionalElements = {};\n conditionalElements.scrollbarSizeListener = scrollable ? /*#__PURE__*/React.createElement(ScrollbarSize, {\n className: classes.scrollable,\n onChange: handleScrollbarSizeChange\n }) : null;\n var scrollButtonsActive = displayScroll.start || displayScroll.end;\n var showScrollButtons = scrollable && (scrollButtons === 'auto' && scrollButtonsActive || scrollButtons === 'desktop' || scrollButtons === 'on');\n conditionalElements.scrollButtonStart = showScrollButtons ? /*#__PURE__*/React.createElement(ScrollButtonComponent, _extends({\n orientation: orientation,\n direction: isRtl ? 'right' : 'left',\n onClick: handleStartScrollClick,\n disabled: !displayScroll.start,\n className: clsx(classes.scrollButtons, scrollButtons !== 'on' && classes.scrollButtonsDesktop)\n }, TabScrollButtonProps)) : null;\n conditionalElements.scrollButtonEnd = showScrollButtons ? /*#__PURE__*/React.createElement(ScrollButtonComponent, _extends({\n orientation: orientation,\n direction: isRtl ? 'left' : 'right',\n onClick: handleEndScrollClick,\n disabled: !displayScroll.end,\n className: clsx(classes.scrollButtons, scrollButtons !== 'on' && classes.scrollButtonsDesktop)\n }, TabScrollButtonProps)) : null;\n return conditionalElements;\n };\n\n var scrollSelectedIntoView = useEventCallback(function () {\n var _getTabsMeta2 = getTabsMeta(),\n tabsMeta = _getTabsMeta2.tabsMeta,\n tabMeta = _getTabsMeta2.tabMeta;\n\n if (!tabMeta || !tabsMeta) {\n return;\n }\n\n if (tabMeta[start] < tabsMeta[start]) {\n // left side of button is out of view\n var nextScrollStart = tabsMeta[scrollStart] + (tabMeta[start] - tabsMeta[start]);\n scroll(nextScrollStart);\n } else if (tabMeta[end] > tabsMeta[end]) {\n // right side of button is out of view\n var _nextScrollStart = tabsMeta[scrollStart] + (tabMeta[end] - tabsMeta[end]);\n\n scroll(_nextScrollStart);\n }\n });\n var updateScrollButtonState = useEventCallback(function () {\n if (scrollable && scrollButtons !== 'off') {\n var _tabsRef$current = tabsRef.current,\n scrollTop = _tabsRef$current.scrollTop,\n scrollHeight = _tabsRef$current.scrollHeight,\n clientHeight = _tabsRef$current.clientHeight,\n scrollWidth = _tabsRef$current.scrollWidth,\n clientWidth = _tabsRef$current.clientWidth;\n var showStartScroll;\n var showEndScroll;\n\n if (vertical) {\n showStartScroll = scrollTop > 1;\n showEndScroll = scrollTop < scrollHeight - clientHeight - 1;\n } else {\n var scrollLeft = getNormalizedScrollLeft(tabsRef.current, theme.direction); // use 1 for the potential rounding error with browser zooms.\n\n showStartScroll = isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;\n showEndScroll = !isRtl ? scrollLeft < scrollWidth - clientWidth - 1 : scrollLeft > 1;\n }\n\n if (showStartScroll !== displayScroll.start || showEndScroll !== displayScroll.end) {\n setDisplayScroll({\n start: showStartScroll,\n end: showEndScroll\n });\n }\n }\n });\n React.useEffect(function () {\n var handleResize = debounce(function () {\n updateIndicatorState();\n updateScrollButtonState();\n });\n var win = ownerWindow(tabsRef.current);\n win.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n win.removeEventListener('resize', handleResize);\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n var handleTabsScroll = React.useCallback(debounce(function () {\n updateScrollButtonState();\n }));\n React.useEffect(function () {\n return function () {\n handleTabsScroll.clear();\n };\n }, [handleTabsScroll]);\n React.useEffect(function () {\n setMounted(true);\n }, []);\n React.useEffect(function () {\n updateIndicatorState();\n updateScrollButtonState();\n });\n React.useEffect(function () {\n scrollSelectedIntoView();\n }, [scrollSelectedIntoView, indicatorStyle]);\n React.useImperativeHandle(action, function () {\n return {\n updateIndicator: updateIndicatorState,\n updateScrollButtons: updateScrollButtonState\n };\n }, [updateIndicatorState, updateScrollButtonState]);\n var indicator = /*#__PURE__*/React.createElement(TabIndicator, _extends({\n className: classes.indicator,\n orientation: orientation,\n color: indicatorColor\n }, TabIndicatorProps, {\n style: _extends(_extends({}, indicatorStyle), TabIndicatorProps.style)\n }));\n var childIndex = 0;\n var children = React.Children.map(childrenProp, function (child) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Tabs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var childValue = child.props.value === undefined ? childIndex : child.props.value;\n valueToIndex.set(childValue, childIndex);\n var selected = childValue === value;\n childIndex += 1;\n return React.cloneElement(child, {\n fullWidth: variant === 'fullWidth',\n indicator: selected && !mounted && indicator,\n selected: selected,\n onChange: onChange,\n textColor: textColor,\n value: childValue\n });\n });\n\n var handleKeyDown = function handleKeyDown(event) {\n var target = event.target; // Keyboard navigation assumes that [role=\"tab\"] are siblings\n // though we might warn in the future about nested, interactive elements\n // as a a11y violation\n\n var role = target.getAttribute('role');\n\n if (role !== 'tab') {\n return;\n }\n\n var newFocusTarget = null;\n var previousItemKey = orientation !== \"vertical\" ? 'ArrowLeft' : 'ArrowUp';\n var nextItemKey = orientation !== \"vertical\" ? 'ArrowRight' : 'ArrowDown';\n\n if (orientation !== \"vertical\" && theme.direction === 'rtl') {\n // swap previousItemKey with nextItemKey\n previousItemKey = 'ArrowRight';\n nextItemKey = 'ArrowLeft';\n }\n\n switch (event.key) {\n case previousItemKey:\n newFocusTarget = target.previousElementSibling || tabListRef.current.lastChild;\n break;\n\n case nextItemKey:\n newFocusTarget = target.nextElementSibling || tabListRef.current.firstChild;\n break;\n\n case 'Home':\n newFocusTarget = tabListRef.current.firstChild;\n break;\n\n case 'End':\n newFocusTarget = tabListRef.current.lastChild;\n break;\n\n default:\n break;\n }\n\n if (newFocusTarget !== null) {\n newFocusTarget.focus();\n event.preventDefault();\n }\n };\n\n var conditionalElements = getConditionalElements();\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, vertical && classes.vertical),\n ref: ref\n }, other), conditionalElements.scrollButtonStart, conditionalElements.scrollbarSizeListener, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.scroller, scrollable ? classes.scrollable : classes.fixed),\n style: scrollerStyle,\n ref: tabsRef,\n onScroll: handleTabsScroll\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.flexContainer, vertical && classes.flexContainerVertical, centered && !scrollable && classes.centered),\n onKeyDown: handleKeyDown,\n ref: tabListRef,\n role: \"tablist\"\n }, children), mounted && indicator), conditionalElements.scrollButtonEnd);\n});\nprocess.env.NODE_ENV !== \"production\" ? Tabs.propTypes = {\n /**\n * Callback fired when the component mounts.\n * This is useful when you want to trigger an action programmatically.\n * It supports two actions: `updateIndicator()` and `updateScrollButtons()`\n *\n * @param {object} actions This object contains all possible actions\n * that can be triggered programmatically.\n */\n action: refType,\n\n /**\n * If `true`, the tabs will be centered.\n * This property is intended for large views.\n */\n centered: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Determines the color of the indicator.\n */\n indicatorColor: PropTypes.oneOf(['secondary', 'primary']),\n\n /**\n * Callback fired when the value changes.\n *\n * @param {object} event The event source of the callback\n * @param {any} value We default to the index of the child (number)\n */\n onChange: PropTypes.func,\n\n /**\n * The tabs orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * The component used to render the scroll buttons.\n */\n ScrollButtonComponent: PropTypes.elementType,\n\n /**\n * Determine behavior of scroll buttons when tabs are set to scroll:\n *\n * - `auto` will only present them when not all the items are visible.\n * - `desktop` will only present them on medium and larger viewports.\n * - `on` will always present them.\n * - `off` will never present them.\n */\n scrollButtons: PropTypes.oneOf(['auto', 'desktop', 'on', 'off']),\n\n /**\n * Props applied to the tab indicator element.\n */\n TabIndicatorProps: PropTypes.object,\n\n /**\n * Props applied to the [`TabScrollButton`](/api/tab-scroll-button/) element.\n */\n TabScrollButtonProps: PropTypes.object,\n\n /**\n * Determines the color of the `Tab`.\n */\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\n\n /**\n * The value of the currently selected `Tab`.\n * If you don't want any selected `Tab`, you can set this property to `false`.\n */\n value: PropTypes.any,\n\n /**\n * Determines additional display behavior of the tabs:\n *\n * - `scrollable` will invoke scrolling properties and allow for horizontally\n * scrolling (or swiping) of the tab bar.\n * -`fullWidth` will make the tabs grow to use all the available space,\n * which should be used for small views, like on mobile.\n * - `standard` will render the default state.\n */\n variant: PropTypes.oneOf(['standard', 'scrollable', 'fullWidth'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTabs'\n})(Tabs);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport withStyles from '../../styles/withStyles';\r\nimport IconButton from '../../IconButton';\r\nimport { spacing40, spacing30 } from '../../styles/tokens';\r\nimport { withEDSContext } from '../../EDSContext/EDSContext';\r\nimport Tooltip from '../../Tooltip/Tooltip';\r\n\r\nexport var styles = {\r\n /* Styles applied to the root element. */\r\n root: {\r\n color: 'inherit',\r\n flexBasis: 'auto',\r\n alignSelf: 'center',\r\n margin: '0 0.125rem'\r\n },\r\n icon: {\r\n height: spacing40,\r\n width: spacing40\r\n },\r\n scrollLeftIcon: {\r\n marginRight: spacing30\r\n },\r\n scrollRightIcon: {\r\n marginLeft: spacing30\r\n },\r\n hideScrollButtons: {\r\n display: 'none'\r\n }\r\n};\r\n\r\nvar TabScrollButton = React.forwardRef(function (props, ref) {\r\n var _classNames2;\r\n\r\n var classes = props.classes,\r\n classNameProp = props.className,\r\n direction = props.direction,\r\n edsContext = props.edsContext,\r\n onClick = props.onClick,\r\n visible = props.visible,\r\n hideScrollButtons = props.hideScrollButtons,\r\n other = _objectWithoutProperties(props, ['classes', 'className', 'direction', 'edsContext', 'onClick', 'visible', 'hideScrollButtons']);\r\n\r\n var className = classNames('tab-scroll-button', classes.root, _defineProperty({}, classes.hideScrollButtons, hideScrollButtons), classNameProp, (_classNames2 = {}, _defineProperty(_classNames2, classes.scrollLeftIcon, direction === 'left'), _defineProperty(_classNames2, classes.scrollRightIcon, direction === 'right'), _classNames2));\r\n\r\n return React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Tabs.scrollButtons'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n Object.assign({\r\n 'aria-label': edsContext.formatMessage('component.Tabs.scrollButtons'),\r\n className: className,\r\n onClick: onClick,\r\n tabIndex: -1,\r\n color: 'gray',\r\n disabled: !visible\r\n }, other, {\r\n ref: ref\r\n }),\r\n direction === 'left' ? React.createElement(ChevronLeft, { className: classes.icon }) : React.createElement(ChevronRight, { className: classes.icon })\r\n )\r\n );\r\n});\r\n\r\nTabScrollButton.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The direction of icon to render.\r\n */\r\n direction: PropTypes.oneOf(['left', 'right']),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Callback to execute for button press.\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * Should the button be present or just consume space.\r\n */\r\n visible: PropTypes.bool,\r\n /**\r\n * For auto mode, buttons will be hidden if tabs don't need scrolling\r\n */\r\n hideScrollButtons: PropTypes.bool\r\n};\r\n\r\nTabScrollButton.defaultProps = {\r\n visible: true\r\n};\r\n\r\nTabScrollButton.muiName = 'MuiPrivateTabScrollButton';\r\n\r\nexport default withEDSContext(withStyles(styles)(TabScrollButton));","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { Component } from 'react';\r\nimport { Tabs as MuiTabs } from '@material-ui/core';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '../styles';\r\n\r\nimport TabScrollButton from './internal/TabScrollButton';\r\n\r\nvar styles = function styles(theme) {\r\n return _defineProperty({\r\n root: {\r\n backgroundColor: 'transparent'\r\n },\r\n cardLevelFlexContainer: {\r\n boxShadow: 'inset 0 -1px 0 0 ' + theme.palette.grey[300]\r\n },\r\n indicator: {\r\n height: '0.125rem',\r\n backgroundColor: theme.palette.ctaColor.base\r\n }\r\n }, theme.breakpoints.down('sm'), {\r\n scrollButtonsDesktop: {\r\n display: 'inherit !important' // Forcing to display on mobile\r\n }\r\n });\r\n};\r\n\r\n/**\r\n * Use `Tabs` to group similar content into different sections on the same page.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.2\r\n * @examples\r\n * TabsWithContent\r\n * ScrollableButtonTab\r\n * CardLevelTabs\r\n * CardLevelTabsScrollableButtons\r\n */\r\n\r\nvar Tabs = function (_Component) {\r\n _inherits(Tabs, _Component);\r\n\r\n function Tabs(props) {\r\n _classCallCheck(this, Tabs);\r\n\r\n // create a ref to store the Tabs DOM element\r\n var _this = _possibleConstructorReturn(this, (Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call(this, props));\r\n\r\n _this.state = {\r\n hideScrollButtons: false\r\n };\r\n _this.tabsContainer = React.createRef();\r\n _this.updateScrollButtonsOnLoad = false;\r\n return _this;\r\n }\r\n\r\n _createClass(Tabs, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n var _this2 = this;\r\n\r\n // Options for the observer (which mutations to observe)\r\n var config = { attributes: true, childList: true, subtree: true };\r\n\r\n // Callback function to execute when mutations are observed\r\n var callback = function callback(mutationsList, observer) {\r\n if (mutationsList && mutationsList.length > 0) {\r\n var _iteratorNormalCompletion = true;\r\n var _didIteratorError = false;\r\n var _iteratorError = undefined;\r\n\r\n try {\r\n for (var _iterator = mutationsList[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\r\n var mutation = _step.value;\r\n\r\n if (mutation.attributeName === 'disabled' && mutation.target.nodeName === 'BUTTON') {\r\n _this2.showOrHideScrollButtons();\r\n }\r\n }\r\n } catch (err) {\r\n _didIteratorError = true;\r\n _iteratorError = err;\r\n } finally {\r\n try {\r\n if (!_iteratorNormalCompletion && _iterator.return) {\r\n _iterator.return();\r\n }\r\n } finally {\r\n if (_didIteratorError) {\r\n throw _iteratorError;\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n // Create an observer instance linked to the callback function\r\n this.observer = new MutationObserver(callback);\r\n\r\n // Start observing the target node for configured mutations\r\n this.observer.observe(this.tabsContainer.current, config);\r\n\r\n // Call this here so that it triggers `componentDidUpdate()`\r\n this.showOrHideScrollButtons();\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState) {\r\n // This need to be called only once when the component is loaded.\r\n // With `componentDidMount()` it did not work and maybe DOM state\r\n // was not updated which is strange. After the first update MutationObserver\r\n // will take care of updating the state of scroll buttons.\r\n if (!this.updateScrollButtonsOnLoad) {\r\n this.showOrHideScrollButtons();\r\n this.updateScrollButtonsOnLoad = true;\r\n }\r\n }\r\n }, {\r\n key: 'showOrHideScrollButtons',\r\n value: function showOrHideScrollButtons() {\r\n var buttons = this.tabsContainer.current.querySelectorAll('.tab-scroll-button:disabled');\r\n this.setState(function (state) {\r\n return { hideScrollButtons: buttons.length === 2 };\r\n });\r\n }\r\n }, {\r\n key: 'componentWillUnmount',\r\n value: function componentWillUnmount() {\r\n this.observer.disconnect();\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this3 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n TabIndicatorProps = _props.TabIndicatorProps,\r\n childrenProp = _props.children,\r\n scrollButtons = _props.scrollButtons,\r\n scrollButtonsOnMobile = _props.scrollButtonsOnMobile,\r\n variant = _props.variant,\r\n widthVariant = _props.widthVariant,\r\n rest = _objectWithoutProperties(_props, ['classes', 'TabIndicatorProps', 'children', 'scrollButtons', 'scrollButtonsOnMobile', 'variant', 'widthVariant']);\r\n\r\n var _TabIndicatorProps = void 0,\r\n children = childrenProp;\r\n\r\n if (variant === 'card') {\r\n _TabIndicatorProps = Object.assign({\r\n style: { display: 'none' }\r\n }, TabIndicatorProps);\r\n\r\n children = React.Children.map(this.props.children, function (child) {\r\n return React.cloneElement(child, {\r\n variant: _this3.props.variant\r\n });\r\n });\r\n } else {\r\n _TabIndicatorProps = Object.assign({}, TabIndicatorProps);\r\n }\r\n\r\n var scrollButtonsProp = scrollButtons;\r\n if (scrollButtons) {\r\n scrollButtonsProp = 'auto';\r\n } else {\r\n scrollButtonsProp = 'off';\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: this.tabsContainer },\r\n React.createElement(\r\n MuiTabs,\r\n Object.assign({\r\n classes: {\r\n root: classes.root,\r\n scroller: variant === 'card' && classes.cardLevelFlexContainer,\r\n indicator: classes.indicator,\r\n scrollButtonsDesktop: scrollButtonsOnMobile ? classes.scrollButtonsDesktop : ''\r\n },\r\n ScrollButtonComponent: function ScrollButtonComponent(props) {\r\n return React.createElement(TabScrollButton, Object.assign({\r\n hideScrollButtons: _this3.state.hideScrollButtons\r\n }, props));\r\n },\r\n TabIndicatorProps: _TabIndicatorProps,\r\n scrollButtons: scrollButtonsProp,\r\n variant: widthVariant\r\n }, rest),\r\n children\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return Tabs;\r\n}(Component);\r\n\r\nTabs.muiName = 'Tabs';\r\n\r\nTabs.propTypes = {\r\n /**\r\n * Callback fired when the component mounts.\r\n * This is useful when you want to trigger an action programmatically.\r\n * It currently only supports `updateIndicator()` action.\r\n *\r\n * @param {object} actions This object contains all possible actions\r\n * that can be triggered programmatically.\r\n */\r\n action: PropTypes.func,\r\n /**\r\n * If `true`, the tabs will be centered.\r\n * This property is intended for large views.\r\n */\r\n centered: PropTypes.bool,\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Send a custom class name.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Determines the color of the indicator.\r\n */\r\n indicatorColor: PropTypes.oneOfType([PropTypes.string, PropTypes.oneOf(['secondary', 'primary'])]),\r\n /**\r\n * Callback fired when the value changes.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {number} value We default to the index of the child\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Render the scroll buttons. If set to `true`, scroll buttons will be rendered if the tabs\r\n * don't fit in the current viewport.\r\n *\r\n * On mobile viewports the Tabs container has horizontal scrolling. To suppress scroll buttons\r\n * on mobile viewports, use the `scrollButtonsOnMobile` prop.\r\n */\r\n scrollButtons: PropTypes.bool,\r\n /**\r\n * Whether to show scroll buttons in the mobile viewport (when `scrollButtons` is `true`).\r\n */\r\n scrollButtonsOnMobile: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * The component used to render the scroll buttons.\r\n */\r\n ScrollButtonComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * @ignore\r\n * Properties applied to the private `TabIndicator` element.\r\n */\r\n TabIndicatorProps: PropTypes.object,\r\n /**\r\n * The value of the currently selected `Tab`.\r\n * If you don't want any selected `Tab`, you can set this property to `false`.\r\n */\r\n value: PropTypes.any,\r\n /**\r\n * Set the variant to `page` to render a page level Tab.\r\n * Set the variant to `card` to render a card level Tab.\r\n */\r\n variant: PropTypes.oneOf(['page', 'card']),\r\n\r\n /**\r\n * Determines additional display behavior of the tabs:\r\n * - scrollable will invoke scrolling properties and allow for horizontally scrolling (or swiping) of the tab bar.\r\n * - fullWidth will make the tabs grow to use all the available space, which should be used for small views, like on mobile.\r\n * - standard will render the default state.\r\n */\r\n widthVariant: PropTypes.oneOf(['scrollable', 'standard', 'fullWidth'])\r\n};\r\n\r\nTabs.defaultProps = {\r\n centered: false,\r\n widthVariant: 'scrollable',\r\n scrollButtons: false,\r\n scrollButtonsOnMobile: true,\r\n variant: 'page'\r\n};\r\n\r\nexport default withStyles(styles, { index: 0 })(Tabs);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nimport unsupportedProp from '../utils/unsupportedProp';\nexport var styles = function styles(theme) {\n var _extends2;\n\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.button), {}, (_extends2 = {\n maxWidth: 264,\n minWidth: 72,\n position: 'relative',\n boxSizing: 'border-box',\n minHeight: 48,\n flexShrink: 0,\n padding: '6px 12px'\n }, _defineProperty(_extends2, theme.breakpoints.up('sm'), {\n padding: '6px 24px'\n }), _defineProperty(_extends2, \"overflow\", 'hidden'), _defineProperty(_extends2, \"whiteSpace\", 'normal'), _defineProperty(_extends2, \"textAlign\", 'center'), _defineProperty(_extends2, theme.breakpoints.up('sm'), {\n minWidth: 160\n }), _extends2)),\n\n /* Styles applied to the root element if both `icon` and `label` are provided. */\n labelIcon: {\n minHeight: 72,\n paddingTop: 9,\n '& $wrapper > *:first-child': {\n marginBottom: 6\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"inherit\"`. */\n textColorInherit: {\n color: 'inherit',\n opacity: 0.7,\n '&$selected': {\n opacity: 1\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"primary\"`. */\n textColorPrimary: {\n color: theme.palette.text.secondary,\n '&$selected': {\n color: theme.palette.primary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n },\n\n /* Styles applied to the root element if the parent [`Tabs`](/api/tabs/) has `textColor=\"secondary\"`. */\n textColorSecondary: {\n color: theme.palette.text.secondary,\n '&$selected': {\n color: theme.palette.secondary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n }\n },\n\n /* Pseudo-class applied to the root element if `selected={true}` (controlled by the Tabs component). */\n selected: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}` (controlled by the Tabs component). */\n disabled: {},\n\n /* Styles applied to the root element if `fullWidth={true}` (controlled by the Tabs component). */\n fullWidth: {\n flexShrink: 1,\n flexGrow: 1,\n flexBasis: 0,\n maxWidth: 'none'\n },\n\n /* Styles applied to the root element if `wrapped={true}`. */\n wrapped: {\n fontSize: theme.typography.pxToRem(12),\n lineHeight: 1.5\n },\n\n /* Styles applied to the `icon` and `label`'s wrapper element. */\n wrapper: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: '100%',\n flexDirection: 'column'\n }\n };\n};\nvar Tab = React.forwardRef(function Tab(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n fullWidth = props.fullWidth,\n icon = props.icon,\n indicator = props.indicator,\n label = props.label,\n onChange = props.onChange,\n onClick = props.onClick,\n selected = props.selected,\n _props$textColor = props.textColor,\n textColor = _props$textColor === void 0 ? 'inherit' : _props$textColor,\n value = props.value,\n _props$wrapped = props.wrapped,\n wrapped = _props$wrapped === void 0 ? false : _props$wrapped,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"disableFocusRipple\", \"fullWidth\", \"icon\", \"indicator\", \"label\", \"onChange\", \"onClick\", \"selected\", \"textColor\", \"value\", \"wrapped\"]);\n\n var handleChange = function handleChange(event) {\n if (onChange) {\n onChange(event, value);\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: !disableFocusRipple,\n className: clsx(classes.root, classes[\"textColor\".concat(capitalize(textColor))], className, disabled && classes.disabled, selected && classes.selected, label && icon && classes.labelIcon, fullWidth && classes.fullWidth, wrapped && classes.wrapped),\n ref: ref,\n role: \"tab\",\n \"aria-selected\": selected,\n disabled: disabled,\n onClick: handleChange,\n tabIndex: selected ? 0 : -1\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.wrapper\n }, icon, label), indicator);\n});\nprocess.env.NODE_ENV !== \"production\" ? Tab.propTypes = {\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the tab will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n * `disableRipple` must also be true.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * @ignore\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The icon element.\n */\n icon: PropTypes.node,\n\n /**\n * @ignore\n * For server-side rendering consideration, we let the selected tab\n * render the indicator.\n */\n indicator: PropTypes.node,\n\n /**\n * The label element.\n */\n label: PropTypes.node,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n selected: PropTypes.bool,\n\n /**\n * @ignore\n */\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\n\n /**\n * You can provide your own value. Otherwise, we fallback to the child position index.\n */\n value: PropTypes.any,\n\n /**\n * Tab labels appear in a single row.\n * They can use a second line if needed.\n */\n wrapped: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTab'\n})(Tab);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport { Tab as MuiTab } from '@material-ui/core';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { spacing40, fontWeightNormal, boxShadowFocusInset, spacing20, lineHeightDefault } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _tabRoot, _cardLevelTabRoot;\r\n\r\n return {\r\n tabRoot: (_tabRoot = {\r\n display: 'inline-block',\r\n fontFamily: theme.typography.fontFamily,\r\n fontWeight: fontWeightNormal,\r\n fontSize: theme.typography.body1.fontSize,\r\n letterSpacing: 'unset',\r\n textTransform: 'none',\r\n minWidth: 'auto',\r\n padding: '0px ' + spacing20,\r\n margin: '0 ' + spacing40,\r\n lineHeight: '' + lineHeightDefault\r\n }, _defineProperty(_tabRoot, theme.breakpoints.up('md'), {\r\n minWidth: 'auto'\r\n }), _defineProperty(_tabRoot, '&:hover', {\r\n color: theme.palette.ctaColor.hover\r\n }), _defineProperty(_tabRoot, '&:focus', {\r\n boxShadow: boxShadowFocusInset,\r\n color: theme.palette.ctaColor.active\r\n }), _defineProperty(_tabRoot, '&$disabled', {\r\n color: theme.palette.text.disabled\r\n }), _tabRoot),\r\n cardLevelTabRoot: (_cardLevelTabRoot = {\r\n fontWeight: fontWeightNormal,\r\n display: 'inline-block',\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n letterSpacing: 'unset',\r\n textTransform: 'none',\r\n minWidth: 'auto',\r\n padding: '0px ' + spacing40\r\n }, _defineProperty(_cardLevelTabRoot, theme.breakpoints.up('md'), {\r\n minWidth: 'auto'\r\n }), _defineProperty(_cardLevelTabRoot, '&:hover', {\r\n color: theme.palette.ctaColor.hover\r\n }), _defineProperty(_cardLevelTabRoot, '&:focus', {\r\n boxShadow: boxShadowFocusInset,\r\n color: theme.palette.ctaColor.active\r\n }), _defineProperty(_cardLevelTabRoot, '&$disabled', {\r\n color: theme.palette.text.disabled\r\n }), _cardLevelTabRoot),\r\n selected: {\r\n color: theme.palette.ctaColor.base\r\n },\r\n\r\n // Inherit styles\r\n textColorInherit: {\r\n color: theme.palette.text.secondary,\r\n opacity: '1',\r\n '&$selected': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n opacity: 1,\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n // Primary styles\r\n textColorPrimary: {\r\n color: theme.palette.text.secondary,\r\n opacity: '1',\r\n '&$selected': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n opacity: '1'\r\n }\r\n },\r\n // Secondary styles\r\n textColorSecondary: {\r\n color: theme.palette.text.secondary,\r\n opacity: '1',\r\n '&$selected': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&$disabled': {\r\n opacity: '1',\r\n '&:hover': {\r\n color: theme.palette.grey[400]\r\n }\r\n }\r\n },\r\n // label: {\r\n // fontFamily: theme.typography.fontFamily,\r\n // fontWeight: theme.typography.button.fontWeight,\r\n // fontSize: theme.typography.body1.fontSize,\r\n // },\r\n // labelContainer: {\r\n // width: '100%', // Fix an IE 11 issue\r\n // boxSizing: 'border-box',\r\n // padding: `0 ${spacing20}`,\r\n // },\r\n cardLevel: {\r\n border: '1px solid transparent', // Fix text/tab shift with border\r\n '&$selected': {\r\n borderColor: theme.palette.grey[300] + ' ' + theme.palette.grey[300] + ' #fff',\r\n borderTopRightRadius: 4,\r\n borderTopLeftRadius: 4\r\n }\r\n },\r\n disabled: {\r\n opacity: '1',\r\n color: theme.palette.grey[400]\r\n }\r\n };\r\n};\r\n\r\nvar Tab = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n classNameProp = props.className,\r\n variant = props.variant,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'variant']);\r\n\r\n return React.createElement(MuiTab, Object.assign({}, rest, {\r\n classes: {\r\n root: variant === 'card' ? classes.cardLevelTabRoot : classes.tabRoot,\r\n selected: classes.selected,\r\n textColorInherit: classes.textColorInherit,\r\n textColorPrimary: classes.textColorPrimary,\r\n textColorSecondary: classes.textColorSecondary,\r\n // label: classes.label,\r\n // labelContainer: classes.labelContainer,\r\n disabled: classes.disabled\r\n },\r\n className: classNames((_classNames = {}, _defineProperty(_classNames, classes.cardLevel, variant === 'card'), _defineProperty(_classNames, 'classNameProp', classNameProp), _classNames)),\r\n disableRipple: true,\r\n ref: ref,\r\n 'data-text': props.label\r\n }));\r\n});\r\n\r\nTab.muiName = 'Tab';\r\nTab.displayName = 'Tab';\r\n\r\nTab.propTypes = {\r\n /**\r\n * Useful to extend the style applied to components.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the tab will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * For server side rendering consideration, we let the selected tab\r\n * render the indicator.\r\n */\r\n indicator: PropTypes.node,\r\n /**\r\n * The label element.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n selected: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n textColor: PropTypes.oneOf(['secondary', 'primary', 'inherit']),\r\n /**\r\n * You can provide your own value. Otherwise, we fallback to the child position index.\r\n */\r\n value: PropTypes.any,\r\n /**\r\n * @ignore\r\n * Internal value to check if the Tab should have Card Level styling.\r\n */\r\n variant: PropTypes.oneOf(['page', 'card'])\r\n};\r\n\r\nexport default withStyles(styles)(Tab);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { default as MuiPopper } from '@material-ui/core/Popper';\r\nimport Paper from '../Paper';\r\nimport Typography from '../Typography';\r\nimport { borderWidthThin, borderRadiusMedium, spacing40, fontFamilyHeader, fontSizeHeader2, fontWeightNormal, lineHeightHeader2Small, fontSizeHeader2Small, lineHeightHeader2, colorGlobalBorderDefault } from '@ellucian/react-design-system/core/styles/tokens';\r\nimport withStyles from '@ellucian/react-design-system/core/styles';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport Fade from '@material-ui/core/Fade';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n paperRoot: {\r\n padding: spacing40,\r\n border: borderWidthThin + ' solid ' + colorGlobalBorderDefault,\r\n borderRadius: borderRadiusMedium\r\n },\r\n popper: {\r\n zIndex: theme.zIndex.tooltip,\r\n // Arrow styling:\r\n // https://github.com/twbs/bootstrap/blob/master/dist/css/bootstrap.css#L5655\r\n '& .hedtech-popper-arrow': {\r\n position: 'absolute',\r\n display: 'block',\r\n width: '1rem',\r\n height: '0.5rem',\r\n margin: '0 0.3rem',\r\n '&::before, &::after': {\r\n position: 'absolute',\r\n display: 'block',\r\n content: '\"\"',\r\n borderColor: 'transparent',\r\n borderStyle: 'solid'\r\n }\r\n },\r\n '&[x-placement*=\"top\"] .hedtech-popper-arrow': {\r\n bottom: '-.5rem',\r\n '&::before': {\r\n bottom: 0,\r\n borderWidth: '0.5rem 0.5rem 0',\r\n borderTopColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n bottom: 1,\r\n borderWidth: '0.5rem 0.5rem 0',\r\n borderTopColor: theme.palette.grey[100]\r\n }\r\n },\r\n '&[x-placement*=\"right\"] .hedtech-popper-arrow': {\r\n flip: false,\r\n left: '-.5rem',\r\n width: '0.5rem',\r\n height: '1rem',\r\n margin: '0.3rem 0',\r\n '&::before': {\r\n flip: false,\r\n left: 0,\r\n borderWidth: '0.5rem 0.5rem 0.5rem 0',\r\n borderRightColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n flip: false,\r\n left: 1,\r\n borderWidth: '0.5rem 0.5rem 0.5rem 0',\r\n borderRightColor: theme.palette.grey[100]\r\n }\r\n },\r\n '&[x-placement*=\"bottom\"] .hedtech-popper-arrow': {\r\n top: '-.5rem',\r\n '&::before': {\r\n top: 0,\r\n borderWidth: '0 0.5rem 0.5rem 0.5rem',\r\n borderBottomColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n top: 1,\r\n borderWidth: '0 0.5rem 0.5rem 0.5rem',\r\n borderBottomColor: theme.palette.grey[100]\r\n }\r\n },\r\n '&[x-placement*=\"left\"] .hedtech-popper-arrow': {\r\n flip: false,\r\n right: '-.5rem',\r\n width: '0.5rem',\r\n height: '1rem',\r\n margin: '0.3rem 0',\r\n '&::before': {\r\n flip: false,\r\n right: 0,\r\n borderWidth: '0.5rem 0 0.5rem 0.5rem',\r\n borderLeftColor: colorGlobalBorderDefault\r\n },\r\n '&::after': {\r\n flip: false,\r\n right: 1,\r\n borderWidth: '0.5rem 0 0.5rem 0.5rem',\r\n borderLeftColor: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n popperText: {\r\n marginBottom: spacing40\r\n },\r\n popperTitle: _defineProperty({ // h2 styles\r\n fontFamily: fontFamilyHeader,\r\n fontWeight: fontWeightNormal,\r\n fontSize: fontSizeHeader2Small,\r\n lineHeight: lineHeightHeader2\r\n }, theme.breakpoints.up('sm'), {\r\n fontSize: fontSizeHeader2,\r\n lineHeight: lineHeightHeader2Small\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * Use `Popper` on top of content to give additional context or information.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v2.3.0\r\n * @examples\r\n * MinimalPopper\r\n * CustomContent\r\n * CloseOnClickaway\r\n * ScrollPlayground\r\n */\r\n\r\nvar Popper = React.forwardRef(function (props, ref) {\r\n var arrow = props.arrow,\r\n children = props.children,\r\n classes = props.classes,\r\n edsContext = props.edsContext,\r\n classNameProp = props.className,\r\n modifiersProp = props.modifiers,\r\n PaperPropsProp = props.PaperProps,\r\n text = props.text,\r\n title = props.title,\r\n TextTypographyProps = props.TextTypographyProps,\r\n TitleTypographyProps = props.TitleTypographyProps,\r\n onClickAway = props.onClickAway,\r\n ClickAwayListenerProps = props.ClickAwayListenerProps,\r\n transitionProps = props.transitionProps,\r\n rest = _objectWithoutProperties(props, ['arrow', 'children', 'classes', 'edsContext', 'className', 'modifiers', 'PaperProps', 'text', 'title', 'TextTypographyProps', 'TitleTypographyProps', 'onClickAway', 'ClickAwayListenerProps', 'transitionProps']);\r\n\r\n var _useState = useState(null),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n arrowRef = _useState2[0],\r\n setArrowRef = _useState2[1];\r\n\r\n var handleArrowRef = function handleArrowRef(node) {\r\n return setArrowRef(node);\r\n };\r\n var PaperProps = Object.assign({}, PaperPropsProp);\r\n\r\n // This line will help screen read to read popper content.\r\n if (!PaperProps['aria-live']) {\r\n PaperProps['aria-live'] = 'assertive';\r\n }\r\n\r\n var addSpace = function addSpace(data) {\r\n var newData = data;\r\n\r\n // Add additional space to Popper element (16px)\r\n if (data.placement.indexOf('top') !== -1) {\r\n newData.offsets.popper.top = data.offsets.popper.top - 16;\r\n } else if (data.placement.indexOf('right') !== -1) {\r\n newData.offsets.popper.left = data.offsets.popper.left + 16;\r\n } else if (data.placement.indexOf('bottom') !== -1) {\r\n newData.offsets.popper.top = data.offsets.popper.top + 16;\r\n } else if (data.placement.indexOf('left') !== -1) {\r\n newData.offsets.popper.left = data.offsets.popper.left - 16;\r\n }\r\n return newData;\r\n };\r\n\r\n var modifiers = Object.assign({\r\n arrow: {\r\n enabled: arrow,\r\n element: arrowRef\r\n },\r\n flip: {\r\n enabled: true\r\n },\r\n offset: {\r\n fn: addSpace\r\n }\r\n }, modifiersProp);\r\n\r\n var className = classNames(classes.popper, classNameProp);\r\n\r\n // Build Popper content\r\n var PopperContent = React.createElement(\r\n 'div',\r\n { dir: edsContext.dir },\r\n arrow && React.createElement('span', { className: 'hedtech-popper-arrow', ref: handleArrowRef }),\r\n React.createElement(\r\n Paper,\r\n Object.assign({\r\n elevation: 0,\r\n classes: {\r\n root: classes.paperRoot\r\n }\r\n }, PaperProps, {\r\n ref: ref\r\n }),\r\n title && React.createElement(\r\n Typography,\r\n Object.assign({\r\n classes: { root: classes.popperTitle },\r\n gutterBottom: true\r\n }, TitleTypographyProps),\r\n title\r\n ),\r\n text && React.createElement(\r\n Typography,\r\n Object.assign({\r\n gutterBottom: true,\r\n className: classNames(_defineProperty({}, classes.popperText, children !== undefined))\r\n }, TextTypographyProps),\r\n text\r\n ),\r\n children\r\n )\r\n );\r\n\r\n var Content = onClickAway ? React.createElement(\r\n ClickAwayListener,\r\n Object.assign({ onClickAway: onClickAway }, ClickAwayListenerProps),\r\n PopperContent\r\n ) : PopperContent;\r\n\r\n // NOTE: Structure must be, Popper > Transition > ClickAway > Content\r\n\r\n return rest.transition ? React.createElement(\r\n MuiPopper,\r\n Object.assign({ className: className, modifiers: modifiers }, rest),\r\n function (_ref) {\r\n var TransitionProps = _ref.TransitionProps;\r\n return React.createElement(\r\n Fade,\r\n Object.assign({}, TransitionProps, transitionProps),\r\n Content\r\n );\r\n }\r\n ) : React.createElement(\r\n MuiPopper,\r\n Object.assign({ className: className, modifiers: modifiers }, rest),\r\n Content\r\n );\r\n});\r\n\r\nPopper.muiName = 'Popper';\r\nPopper.displayName = 'Popper';\r\n\r\nPopper.propTypes = {\r\n /**\r\n * This is the DOM element, or a function that returns the DOM element,\r\n * that may be used to set the position of the popover.\r\n * The return value will passed as the reference object of the `Popper`\r\n * instance.\r\n */\r\n anchorEl: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * If `true`, popper will display the arrow.\r\n */\r\n arrow: PropTypes.bool,\r\n /**\r\n * `Popper` render function or node.\r\n */\r\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\r\n /**\r\n * @ignore\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * A node, component instance, or function that returns either.\r\n * The `container` will passed to the Modal component.\r\n * By default, it uses the body of the `anchorEl`'s top-level document object,\r\n * so it's simply `document.body` most of the time.\r\n */\r\n container: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * Disable the portal behavior.\r\n * The children stay within its parent DOM hierarchy.\r\n */\r\n disablePortal: PropTypes.bool,\r\n /**\r\n * Always keep the children in the DOM.\r\n */\r\n keepMounted: PropTypes.bool,\r\n /**\r\n * Popper.js is based on a \"plugin-like\" architecture,\r\n * most of its features are fully encapsulated \"modifiers\".\r\n *\r\n * A modifier is a function that is called each time Popper.js needs to\r\n * compute the position of the `Popper`.\r\n * For this reason, modifiers should be very performant to avoid bottlenecks.\r\n * To learn how to create a modifier, [read the modifiers documentation](https://github.com/FezVrasta/popper.js/blob/master/docs/_includes/popper-documentation.md#modifiers--object).\r\n */\r\n modifiers: PropTypes.object,\r\n /**\r\n * If `true`, the popper is visible.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Props provided to the `Paper` component\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Props provided to the text `Typography` component\r\n */\r\n TextTypographyProps: PropTypes.object,\r\n /**\r\n * Props provided to the title `Typography` component\r\n */\r\n TitleTypographyProps: PropTypes.object,\r\n /**\r\n * `Popper` placement.\r\n */\r\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\r\n /**\r\n * Options provided to the [`popper.js`](https://github.com/FezVrasta/popper.js) instance.\r\n */\r\n popperOptions: PropTypes.object,\r\n /**\r\n * Paragraph text that will render below the `title` text and above any children.\r\n */\r\n text: PropTypes.string,\r\n /**\r\n * Paragraph text that renders above the `text` paragraph text.\r\n */\r\n title: PropTypes.string,\r\n /**\r\n * Help supporting a react-transition-group/Transition component.\r\n */\r\n transition: PropTypes.bool,\r\n /**\r\n * Properties applied to the Transition component.\r\n */\r\n transitionProps: PropTypes.object,\r\n // /**\r\n // * The component used for the transition.\r\n // */\r\n // TransitionComponent: PropTypes.oneOf([\r\n // 'Collapse', 'Fade', 'Grow', 'Slide', 'Zoom'\r\n // ]),\r\n /**\r\n * Function to perform when clicked outside of the `Popper`.\r\n */\r\n onClickAway: PropTypes.func,\r\n /**\r\n * Props provided to the `ClickAwayListener` component\r\n */\r\n ClickAwayListenerProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nPopper.defaultProps = {\r\n placement: 'bottom',\r\n transition: true\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Popper));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport makeStyles from './../makeStyles';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\n\r\nimport { spacing40, lineHeightParagraphMedium } from '../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n root: {\r\n // Since menu list item is pulling from MUI, have to override to match recommended list\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: lineHeightParagraphMedium,\r\n textOverflow: 'ellipsis',\r\n '&.padding': {\r\n padding: spacing40 + ' 1.25rem',\r\n display: 'block'\r\n },\r\n '&:hover, &:focus': {\r\n color: '' + theme.palette.grey[600],\r\n backgroundColor: theme.palette.grey[250]\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey['100']\r\n }\r\n }\r\n };\r\n});\r\n\r\n/**\r\n * An item in an ActionMenu.\r\n */\r\nvar ActionMenuItem = React.forwardRef(function (props, ref) {\r\n var localClasses = useStyles();\r\n\r\n var className = props.className,\r\n classes = props.classes,\r\n disabled = props.disabled,\r\n _onClick = props.onClick,\r\n handleClose = props.handleClose,\r\n rest = _objectWithoutProperties(props, ['className', 'classes', 'disabled', 'onClick', 'handleClose']);\r\n\r\n return React.createElement(MenuItem, Object.assign({}, rest, {\r\n className: cn(localClasses.root, className, 'padding'),\r\n disabled: disabled,\r\n onClick: function onClick(e) {\r\n _onClick && _onClick(e);\r\n handleClose && handleClose(e);\r\n },\r\n classes: classes,\r\n ref: ref\r\n }));\r\n});\r\n\r\nActionMenuItem.muiName = 'ActionMenuItem';\r\nActionMenuItem.displayName = 'ActionMenuItem';\r\n\r\nActionMenuItem.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * @ignore\r\n *\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the action menu item will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Callback triggered when action menu item is clicked.\r\n */\r\n onClick: PropTypes.func\r\n};\r\n\r\nActionMenuItem.defaultProps = {\r\n disabled: false\r\n};\r\n\r\nexport default ActionMenuItem;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport Popper from './../Popper';\r\nimport MenuList from '@material-ui/core/MenuList';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport MoreVertical from '@ellucian/ds-icons/lib/MoreVertical';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport { default as withStyles } from '../styles';\r\nimport { borderRadiusXSmall, borderRadiusSmall, borderWidthThick, borderWidthThin } from '../styles/tokens';\r\n\r\n// TODO: Remove this below line after `actions` prop is removed\r\nimport createActionMenuItems from './internal/createActionMenuItems';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'inline-block'\r\n },\r\n paper: {\r\n padding: 0,\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400]\r\n },\r\n iconButton: {\r\n borderRadius: borderRadiusSmall,\r\n fontSize: '1.2rem',\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.focus\r\n },\r\n '&.color': {\r\n color: theme.palette.grey[500]\r\n },\r\n '&.color:hover': {\r\n background: 'none',\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&.color:active': {\r\n background: 'none',\r\n color: theme.palette.ctaColor.base\r\n }\r\n },\r\n menuList: {\r\n maxWidth: '18.750rem',\r\n borderRadius: '' + borderRadiusXSmall\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `ActionMenu` to give users access to additional actions related to a field.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * BasicActionMenuExamples\r\n * ActionMenuExamplesWIthArray\r\n * ActionMenuExamplesWithDisabledItem\r\n * PlacementActionMenuExamples\r\n * ActionMenuWithScrollBehavior\r\n */\r\n\r\nvar ActionMenu = function (_React$Component) {\r\n _inherits(ActionMenu, _React$Component);\r\n\r\n function ActionMenu(props) {\r\n _classCallCheck(this, ActionMenu);\r\n\r\n var _this = _possibleConstructorReturn(this, (ActionMenu.__proto__ || Object.getPrototypeOf(ActionMenu)).call(this, props));\r\n\r\n _this.handleToggle = function () {\r\n _this.setState({ open: !_this.state.open });\r\n };\r\n\r\n _this.handleClose = function (event, item) {\r\n // TODO: remove this below `if` blcok after `actions` prop is removed.\r\n if (item) {\r\n item.callback(item);\r\n }\r\n\r\n _this.setState({ open: false });\r\n _this.focusActionMenuButton();\r\n };\r\n\r\n _this.focusActionMenuButton = function () {\r\n _this.buttonRef.current.focus();\r\n };\r\n\r\n _this.onKeyDown = function (event) {\r\n var key = event.key;\r\n\r\n if (key === 'Escape' || key === 'Tab') {\r\n event.preventDefault();\r\n _this.handleClose();\r\n }\r\n };\r\n\r\n _this.getChildren = function () {\r\n var children = null;\r\n\r\n if (_this.props.children) {\r\n children = React.Children.toArray(_this.props.children).map(function (child) {\r\n if (!React.isValidElement(child)) {\r\n return null;\r\n }\r\n\r\n return React.cloneElement(child, {\r\n handleClose: _this.handleClose.bind(_this)\r\n });\r\n });\r\n }\r\n\r\n return children;\r\n };\r\n\r\n _this.buttonRef = React.createRef();\r\n _this.placements = ['top-start', 'top-end'];\r\n\r\n _this.state = {\r\n open: props.initialOpenOverride // action menu is closed by default, unless an override is passed in\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(ActionMenu, [{\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n actions = _props.actions,\r\n placement = _props.placement,\r\n menuId = _props.menuId,\r\n id = _props.id,\r\n edsContext = _props.edsContext,\r\n icon = _props.icon,\r\n className = _props.className,\r\n IconButtonProps = _props.IconButtonProps,\r\n PopperProps = _props.PopperProps,\r\n PaperProps = _props.PaperProps;\r\n var open = this.state.open;\r\n\r\n\r\n var popperPlacement = placement ? placement : edsContext.dir === 'rtl' ? 'bottom-start' : 'bottom-end';\r\n var PopperPropsProps = Object.assign({}, PopperProps);\r\n var offset = 20; // Bring popper closer to icon\r\n\r\n // TODO: Do this with lodash or ES6 way.\r\n if (PopperPropsProps.modifiers) {\r\n PopperPropsProps.modifiers.offset = offset;\r\n } else {\r\n PopperPropsProps.modifiers = { offset: offset };\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classNames(classes.root, className) },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.ActionMenu.more'),\r\n enterDelay: 1000,\r\n enterNextDelay: 1000\r\n },\r\n React.createElement(\r\n IconButton,\r\n Object.assign({\r\n ref: this.buttonRef,\r\n disableRipple: true,\r\n 'aria-label': edsContext.formatMessage('component.ActionMenu.more'),\r\n 'aria-expanded': open,\r\n 'aria-haspopup': 'true',\r\n 'aria-controls': menuId || id,\r\n onClick: this.handleToggle,\r\n color: 'gray',\r\n tabIndex: 0\r\n }, IconButtonProps),\r\n icon\r\n )\r\n ),\r\n React.createElement(\r\n Popper,\r\n Object.assign({\r\n arrow: true,\r\n anchorEl: this.buttonRef.current,\r\n open: open,\r\n placement: popperPlacement,\r\n onClickAway: function onClickAway() {\r\n return _this2.setState({ open: false });\r\n },\r\n className: 'eds-actionmenu-popper',\r\n PaperProps: Object.assign({\r\n 'aria-live': 'off',\r\n classes: { root: classes.paper },\r\n elevation: 1\r\n }, PaperProps)\r\n\r\n }, PopperPropsProps, {\r\n onKeyDown: this.onKeyDown,\r\n transition: false\r\n }),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n MenuList,\r\n { id: menuId || id, className: classes.menuList, autoFocusItem: open },\r\n this.getChildren() || createActionMenuItems(actions, this.handleClose)\r\n )\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return ActionMenu;\r\n}(React.Component);\r\n\r\n// TODO: Make `childrean` prop required after `action` prop is removed\r\n\r\n\r\nActionMenu.propTypes = {\r\n /**\r\n * @ignore\r\n *\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n\r\n /**\r\n * **DEPRECATED** Use the below format instead.\r\n * ```\r\n * \r\n * Add\r\n * Edit\r\n * Delete\r\n * \r\n * ```\r\n * Actions and label for the actions to be taken from the `ActionMenu`.\r\n */\r\n actions: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * A CSS class that will be applied to the parent `div`.\r\n */\r\n className: PropTypes.string,\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * Icon used in the icon button.\r\n *\r\n * Defaults to 'more-vertical' icon.\r\n */\r\n icon: PropTypes.node,\r\n\r\n /**\r\n * **DEPRECATED** Use `id` instead.\r\n *\r\n * Menu HTML ID for uniqueness.\r\n */\r\n menuId: PropTypes.string,\r\n\r\n /**\r\n * Menu HTML ID for uniqueness.\r\n */\r\n id: PropTypes.string,\r\n\r\n /**\r\n * Placement is used to place the menu at start or end of the container or screen.\r\n *\r\n * Defaults to 'bottom-end' for LTR or 'bottom-start' for RTL.\r\n */\r\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start']),\r\n\r\n /**\r\n * Props applied to the IconButton that brings up the action menu\r\n */\r\n IconButtonProps: PropTypes.object,\r\n\r\n /**\r\n * Props applied to the `Paper` component\r\n */\r\n PaperProps: PropTypes.object,\r\n\r\n /**\r\n * Props applied to the `Popper` element.\r\n */\r\n PopperProps: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Externally set the initial open state of the action menu. For testing purposes only.\r\n */\r\n initialOpenOverride: PropTypes.bool\r\n\r\n};\r\n\r\nActionMenu.defaultProps = {\r\n initialOpenOverride: false,\r\n icon: React.createElement(MoreVertical, null)\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(ActionMenu));","// TODO: Remove this file after `actions` prop is removed\r\nimport React from 'react';\r\nimport ActionMenuItem from './../ActionMenuItem';\r\n\r\nvar createActionMenuItems = function createActionMenuItems(actions, handleClose) {\r\n return actions.map(function (item, index) {\r\n return React.createElement(\r\n ActionMenuItem,\r\n {\r\n onClick: function onClick(e) {\r\n return handleClose(e, item);\r\n },\r\n key: index,\r\n tabIndex: index === 0 ? 0 : -1\r\n },\r\n item.label\r\n );\r\n });\r\n};\r\n\r\nexport default createActionMenuItems;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n// @inheritedComponent IconButton\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport capitalize from '../utils/capitalize';\nimport SwitchBase from '../internal/SwitchBase';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n width: 34 + 12 * 2,\n height: 14 + 12 * 2,\n overflow: 'hidden',\n padding: 12,\n boxSizing: 'border-box',\n position: 'relative',\n flexShrink: 0,\n zIndex: 0,\n // Reset the stacking context.\n verticalAlign: 'middle',\n // For correct alignment with the text.\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root element if `edge=\"start\"`. */\n edgeStart: {\n marginLeft: -8\n },\n\n /* Styles applied to the root element if `edge=\"end\"`. */\n edgeEnd: {\n marginRight: -8\n },\n\n /* Styles applied to the internal `SwitchBase` component's `root` class. */\n switchBase: {\n position: 'absolute',\n top: 0,\n left: 0,\n zIndex: 1,\n // Render above the focus ripple.\n color: theme.palette.type === 'light' ? theme.palette.grey[50] : theme.palette.grey[400],\n transition: theme.transitions.create(['left', 'transform'], {\n duration: theme.transitions.duration.shortest\n }),\n '&$checked': {\n transform: 'translateX(20px)'\n },\n '&$disabled': {\n color: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[800]\n },\n '&$checked + $track': {\n opacity: 0.5\n },\n '&$disabled + $track': {\n opacity: theme.palette.type === 'light' ? 0.12 : 0.1\n }\n },\n\n /* Styles applied to the internal SwitchBase component's root element if `color=\"primary\"`. */\n colorPrimary: {\n '&$checked': {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[800]\n },\n '&$checked + $track': {\n backgroundColor: theme.palette.primary.main\n },\n '&$disabled + $track': {\n backgroundColor: theme.palette.type === 'light' ? theme.palette.common.black : theme.palette.common.white\n }\n },\n\n /* Styles applied to the internal SwitchBase component's root element if `color=\"secondary\"`. */\n colorSecondary: {\n '&$checked': {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n '&$disabled': {\n color: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[800]\n },\n '&$checked + $track': {\n backgroundColor: theme.palette.secondary.main\n },\n '&$disabled + $track': {\n backgroundColor: theme.palette.type === 'light' ? theme.palette.common.black : theme.palette.common.white\n }\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n width: 40,\n height: 24,\n padding: 7,\n '& $thumb': {\n width: 16,\n height: 16\n },\n '& $switchBase': {\n padding: 4,\n '&$checked': {\n transform: 'translateX(16px)'\n }\n }\n },\n\n /* Pseudo-class applied to the internal `SwitchBase` component's `checked` class. */\n checked: {},\n\n /* Pseudo-class applied to the internal SwitchBase component's disabled class. */\n disabled: {},\n\n /* Styles applied to the internal SwitchBase component's input element. */\n input: {\n left: '-100%',\n width: '300%'\n },\n\n /* Styles used to create the thumb passed to the internal `SwitchBase` component `icon` prop. */\n thumb: {\n boxShadow: theme.shadows[1],\n backgroundColor: 'currentColor',\n width: 20,\n height: 20,\n borderRadius: '50%'\n },\n\n /* Styles applied to the track element. */\n track: {\n height: '100%',\n width: '100%',\n borderRadius: 14 / 2,\n zIndex: -1,\n transition: theme.transitions.create(['opacity', 'background-color'], {\n duration: theme.transitions.duration.shortest\n }),\n backgroundColor: theme.palette.type === 'light' ? theme.palette.common.black : theme.palette.common.white,\n opacity: theme.palette.type === 'light' ? 0.38 : 0.3\n }\n };\n};\nvar Switch = React.forwardRef(function Switch(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'secondary' : _props$color,\n _props$edge = props.edge,\n edge = _props$edge === void 0 ? false : _props$edge,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"edge\", \"size\"]);\n\n var icon = /*#__PURE__*/React.createElement(\"span\", {\n className: classes.thumb\n });\n return /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.root, className, {\n 'start': classes.edgeStart,\n 'end': classes.edgeEnd\n }[edge], size === \"small\" && classes[\"size\".concat(capitalize(size))])\n }, /*#__PURE__*/React.createElement(SwitchBase, _extends({\n type: \"checkbox\",\n icon: icon,\n checkedIcon: icon,\n classes: {\n root: clsx(classes.switchBase, classes[\"color\".concat(capitalize(color))]),\n input: classes.input,\n checked: classes.checked,\n disabled: classes.disabled\n },\n ref: ref\n }, other)), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.track\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Switch.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the component is checked.\n */\n checked: PropTypes.bool,\n\n /**\n * The icon to display when the component is checked.\n */\n checkedIcon: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * @ignore\n */\n defaultChecked: PropTypes.bool,\n\n /**\n * If `true`, the switch will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n\n /**\n * The icon to display when the component is unchecked.\n */\n icon: PropTypes.node,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * Callback fired when the state is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n * You can pull out the new checked state by accessing `event.target.checked` (boolean).\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the switch.\n * `small` is equivalent to the dense switch styling.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The value of the component. The DOM API casts this to a string.\n * The browser uses \"on\" as the default value.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSwitch'\n})(Switch);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiSwitch } from '@material-ui/core/Switch';\r\nimport cn from 'classnames';\r\nimport { boxShadowFocus, sizingXLarge, borderWidthThin, borderWidthThick, sizingSmall } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n width: '3.75rem',\r\n height: '3rem',\r\n padding: '0.9375rem 0.5rem 0.75rem 0.75rem'\r\n },\r\n switchBase: {\r\n '&$checked': {\r\n color: theme.palette.grey[100],\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.ctaColor.base,\r\n border: 'none'\r\n },\r\n '& $iconBase': {\r\n boxShadow: 'none',\r\n border: 'none !important'\r\n },\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n },\r\n top: '8px',\r\n left: '5px'\r\n },\r\n checked: {\r\n display: 'block'\r\n },\r\n barBase: {\r\n borderRadius: '0.75rem',\r\n width: sizingXLarge,\r\n height: '1.25rem',\r\n backgroundColor: theme.palette.grey[100],\r\n opacity: 1,\r\n transition: 'none'\r\n },\r\n bar: {\r\n '& + $barBase': {\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400]\r\n }\r\n },\r\n barFocused: {\r\n '& + $barBase': {\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n boxShadow: boxShadowFocus\r\n },\r\n '&$checked': {\r\n '& + $barBase': {\r\n boxShadow: boxShadowFocus\r\n }\r\n }\r\n },\r\n disabledOff: {\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&$switchBase': {\r\n color: theme.palette.grey[300], //disabled off circle\r\n boxShadow: 'none',\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[300], //disabled off background\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400] //disabled off border\r\n }\r\n }\r\n },\r\n disabledOn: {\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&$switchBase': {\r\n color: theme.palette.grey[300], //disabled on circle\r\n boxShadow: 'none',\r\n '& + $barBase': {\r\n opacity: 1,\r\n backgroundColor: theme.palette.grey[400], //disabled on background\r\n border: borderWidthThick + ' solid ' + theme.palette.grey[400] //disabled on border\r\n }\r\n }\r\n },\r\n iconBase: {\r\n width: sizingSmall,\r\n height: sizingSmall\r\n },\r\n iconOn: {\r\n boxShadow: 'none',\r\n border: 'none !important'\r\n },\r\n iconOnDisabled: {\r\n boxShadow: 'none',\r\n border: 'none !important',\r\n color: theme.palette.grey[300]\r\n },\r\n iconOff: {\r\n color: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: 'none !important' //MUI applies a very stubborn box-shadow when a border is added\r\n },\r\n iconOffDisabled: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: 'none !important' //MUI applies a very stubborn box-shadow when a border is added\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Switch` to select one of two options, typically a \"yes/no\" or an \"on/off\" selection.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * SwitchExamples\r\n * ControlledExample\r\n * SwitchFormGroup\r\n * SwitchLabels\r\n */\r\n\r\nvar Switch = function (_React$Component) {\r\n _inherits(Switch, _React$Component);\r\n\r\n function Switch(props) {\r\n _classCallCheck(this, Switch);\r\n\r\n var _this = _possibleConstructorReturn(this, (Switch.__proto__ || Object.getPrototypeOf(Switch)).call(this, props));\r\n\r\n _this.state = {\r\n isFocused: false\r\n };\r\n _this.handleFocus = _this.handleFocus.bind(_this);\r\n _this.handleBlur = _this.handleBlur.bind(_this);\r\n return _this;\r\n }\r\n\r\n _createClass(Switch, [{\r\n key: 'handleFocus',\r\n value: function handleFocus(e) {\r\n if (this.props.onFocus) {\r\n this.props.onFocus(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: true\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'handleBlur',\r\n value: function handleBlur(e) {\r\n if (this.props.onBlur) {\r\n this.props.onBlur(e);\r\n }\r\n this.setState(function (prevState) {\r\n return {\r\n isFocused: false\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var isFocused = this.state.isFocused;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n checked = _props.checked,\r\n disabled = _props.disabled,\r\n rest = _objectWithoutProperties(_props, ['classes', 'checked', 'disabled']);\r\n\r\n var classOverrides = {\r\n switchBase: cn(classes.switchBase, isFocused ? classes.barFocused : classes.bar),\r\n track: classes.barBase,\r\n root: classes.root,\r\n disabled: checked ? classes.disabledOn : classes.disabledOff,\r\n thumb: cn(classes.iconBase, disabled ? classes.iconOffDisabled : classes.iconOff),\r\n checked: classes.checked\r\n };\r\n\r\n return React.createElement(MuiSwitch, Object.assign({\r\n onFocus: this.handleFocus,\r\n onBlur: this.handleBlur,\r\n color: 'secondary',\r\n disableRipple: true,\r\n classes: classOverrides,\r\n checked: checked,\r\n disabled: disabled\r\n }, rest));\r\n }\r\n }]);\r\n\r\n return Switch;\r\n}(React.Component);\r\n\r\nSwitch.muiName = 'Switch';\r\nSwitch.displayName = 'Switch';\r\n\r\nSwitch.propTypes = {\r\n /**\r\n * If `true`, the component is checked.\r\n */\r\n checked: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If true, the switch will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * The id of the input element.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Attributes applied to the input element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Use this property to pass a ref callback to the native input component.\r\n */\r\n inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\r\n /**\r\n * Callback fired when the state is changed.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func\r\n};\r\n\r\nexport default withStyles(styles)(Switch);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 1,\n margin: 0,\n // Reset browser default style.\n border: 'none',\n flexShrink: 0,\n backgroundColor: theme.palette.divider\n },\n\n /* Styles applied to the root element if `absolute={true}`. */\n absolute: {\n position: 'absolute',\n bottom: 0,\n left: 0,\n width: '100%'\n },\n\n /* Styles applied to the root element if `variant=\"inset\"`. */\n inset: {\n marginLeft: 72\n },\n\n /* Styles applied to the root element if `light={true}`. */\n light: {\n backgroundColor: fade(theme.palette.divider, 0.08)\n },\n\n /* Styles applied to the root element if `variant=\"middle\"`. */\n middle: {\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n height: '100%',\n width: 1\n },\n\n /* Styles applied to the root element if `flexItem={true}`. */\n flexItem: {\n alignSelf: 'stretch',\n height: 'auto'\n }\n };\n};\nvar Divider = React.forwardRef(function Divider(props, ref) {\n var _props$absolute = props.absolute,\n absolute = _props$absolute === void 0 ? false : _props$absolute,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'hr' : _props$component,\n _props$flexItem = props.flexItem,\n flexItem = _props$flexItem === void 0 ? false : _props$flexItem,\n _props$light = props.light,\n light = _props$light === void 0 ? false : _props$light,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$role = props.role,\n role = _props$role === void 0 ? Component !== 'hr' ? 'separator' : undefined : _props$role,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'fullWidth' : _props$variant,\n other = _objectWithoutProperties(props, [\"absolute\", \"classes\", \"className\", \"component\", \"flexItem\", \"light\", \"orientation\", \"role\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'fullWidth' && classes[variant], absolute && classes.absolute, flexItem && classes.flexItem, light && classes.light, orientation === 'vertical' && classes.vertical),\n role: role,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Divider.propTypes = {\n /**\n * Absolutely position the element.\n */\n absolute: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, a vertical divider will have the correct height when used in flex container.\n * (By default, a vertical divider will have a calculated height of `0px` if it is the child of a flex container.)\n */\n flexItem: PropTypes.bool,\n\n /**\n * If `true`, the divider will have a lighter color.\n */\n light: PropTypes.bool,\n\n /**\n * The divider orientation.\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['fullWidth', 'inset', 'middle'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiDivider'\n})(Divider);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiDivider } from '@material-ui/core/Divider';\r\nimport classNames from 'classnames';\r\nimport { spacing40 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey[400],\r\n marginTop: spacing40,\r\n marginBottom: spacing40\r\n },\r\n middle: {\r\n marginLeft: spacing40,\r\n marginRight: spacing40\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Divider` to group and separate content within lists and page layouts.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.11\r\n * @examples\r\n * FullBleedDividerExample\r\n * MiddleDividerExample\r\n */\r\nvar Divider = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n variant = props.variant,\r\n rest = _objectWithoutProperties(props, ['classes', 'variant']);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.middle, variant === 'middle'))\r\n };\r\n\r\n return React.createElement(MuiDivider, Object.assign({}, rest, { classes: classOverrides, ref: ref }));\r\n});\r\n\r\nDivider.muiName = 'Divider';\r\nDivider.displayName = 'Divider';\r\n\r\nDivider.propTypes = {\r\n absolute: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Specifies fullbleed or middle Divider styling. Default is fullbleed.\r\n */\r\n variant: PropTypes.oneOf(['fullbleed', 'middle'])\r\n};\r\n\r\nDivider.defaultProps = {\r\n variant: 'fullbleed'\r\n};\r\n\r\nexport default withStyles(styles)(Divider);","import * as React from 'react';\n/**\n * @ignore - internal component.\n * @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}\n */\n\nvar ExpansionPanelContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ExpansionPanelContext.displayName = 'ExpansionPanelContext';\n}\n\nexport default ExpansionPanelContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toArray from \"@babel/runtime/helpers/esm/toArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport Collapse from '../Collapse';\nimport Paper from '../Paper';\nimport withStyles from '../styles/withStyles';\nimport ExpansionPanelContext from './ExpansionPanelContext';\nimport useControlled from '../utils/useControlled';\nexport var styles = function styles(theme) {\n var transition = {\n duration: theme.transitions.duration.shortest\n };\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n transition: theme.transitions.create(['margin'], transition),\n '&:before': {\n position: 'absolute',\n left: 0,\n top: -1,\n right: 0,\n height: 1,\n content: '\"\"',\n opacity: 1,\n backgroundColor: theme.palette.divider,\n transition: theme.transitions.create(['opacity', 'background-color'], transition)\n },\n '&:first-child': {\n '&:before': {\n display: 'none'\n }\n },\n '&$expanded': {\n margin: '16px 0',\n '&:first-child': {\n marginTop: 0\n },\n '&:last-child': {\n marginBottom: 0\n },\n '&:before': {\n opacity: 0\n }\n },\n '&$expanded + &': {\n '&:before': {\n display: 'none'\n }\n },\n '&$disabled': {\n backgroundColor: theme.palette.action.disabledBackground\n }\n },\n\n /* Styles applied to the root element if `square={false}`. */\n rounded: {\n borderRadius: 0,\n '&:first-child': {\n borderTopLeftRadius: theme.shape.borderRadius,\n borderTopRightRadius: theme.shape.borderRadius\n },\n '&:last-child': {\n borderBottomLeftRadius: theme.shape.borderRadius,\n borderBottomRightRadius: theme.shape.borderRadius,\n // Fix a rendering issue on Edge\n '@supports (-ms-ime-align: auto)': {\n borderBottomLeftRadius: 0,\n borderBottomRightRadius: 0\n }\n }\n },\n\n /* Styles applied to the root element if `expanded={true}`. */\n expanded: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {}\n };\n};\nvar ExpansionPanel = React.forwardRef(function ExpansionPanel(props, ref) {\n var childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$defaultExpande = props.defaultExpanded,\n defaultExpanded = _props$defaultExpande === void 0 ? false : _props$defaultExpande,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n expandedProp = props.expanded,\n onChange = props.onChange,\n _props$square = props.square,\n square = _props$square === void 0 ? false : _props$square,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"defaultExpanded\", \"disabled\", \"expanded\", \"onChange\", \"square\", \"TransitionComponent\", \"TransitionProps\"]);\n\n var _useControlled = useControlled({\n controlled: expandedProp,\n default: defaultExpanded,\n name: 'ExpansionPanel',\n state: 'expanded'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n expanded = _useControlled2[0],\n setExpandedState = _useControlled2[1];\n\n var handleChange = React.useCallback(function (event) {\n setExpandedState(!expanded);\n\n if (onChange) {\n onChange(event, !expanded);\n }\n }, [expanded, onChange, setExpandedState]);\n\n var _React$Children$toArr = React.Children.toArray(childrenProp),\n _React$Children$toArr2 = _toArray(_React$Children$toArr),\n summary = _React$Children$toArr2[0],\n children = _React$Children$toArr2.slice(1);\n\n var contextValue = React.useMemo(function () {\n return {\n expanded: expanded,\n disabled: disabled,\n toggle: handleChange\n };\n }, [expanded, disabled, handleChange]);\n return /*#__PURE__*/React.createElement(Paper, _extends({\n className: clsx(classes.root, className, expanded && classes.expanded, disabled && classes.disabled, !square && classes.rounded),\n ref: ref,\n square: square\n }, other), /*#__PURE__*/React.createElement(ExpansionPanelContext.Provider, {\n value: contextValue\n }, summary), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: expanded,\n timeout: \"auto\"\n }, TransitionProps), /*#__PURE__*/React.createElement(\"div\", {\n \"aria-labelledby\": summary.props.id,\n id: summary.props['aria-controls'],\n role: \"region\"\n }, children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the expansion panel.\n */\n children: chainPropTypes(PropTypes.node.isRequired, function (props) {\n var summary = React.Children.toArray(props.children)[0];\n\n if (isFragment(summary)) {\n return new Error(\"Material-UI: The ExpansionPanel doesn't accept a Fragment as a child. \" + 'Consider providing an array instead.');\n }\n\n if (!React.isValidElement(summary)) {\n return new Error('Material-UI: Expected the first child of ExpansionPanel to be a valid element.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, expands the panel by default.\n */\n defaultExpanded: PropTypes.bool,\n\n /**\n * If `true`, the panel will be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, expands the panel, otherwise collapse it.\n * Setting this prop enables control over the panel.\n */\n expanded: PropTypes.bool,\n\n /**\n * Callback fired when the expand/collapse state is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {boolean} expanded The `expanded` state of the panel.\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, rounded corners are disabled.\n */\n square: PropTypes.bool,\n\n /**\n * The component used for the collapse effect.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanel'\n})(ExpansionPanel);","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _toArray(arr) {\n return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();\n}","import React from 'react';\r\n\r\n/**\r\n * React context for the ExpansionPanel family\r\n */\r\nexport default React.createContext({ disabled: false });","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanel } from '@material-ui/core/ExpansionPanel';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\nimport { getSpacingOptions, spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing40, spacing50 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _separated;\r\n\r\n return {\r\n root: {\r\n\r\n '&$expanded$nogap': {\r\n marginTop: 0,\r\n marginBottom: 0,\r\n '&:before': {\r\n opacity: 1\r\n }\r\n },\r\n\r\n '&$expanded$nogap + &': {\r\n '&:before': {\r\n display: 'block'\r\n }\r\n },\r\n\r\n '&$expanded&$separated': _defineProperty({\r\n margin: spacing40 + ' 0'\r\n }, theme.breakpoints.up('md'), {\r\n margin: spacing50 + ' 0'\r\n }),\r\n\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n\r\n card: {\r\n boxShadow: '\\n 0 2px 1px -1px rgba(0, 0, 0, 0.12),\\n 0 1px 1px 0 rgba(0, 0, 0, 0.14),\\n 0 1px 3px 0 rgba(0, 0, 0, 0.21)\\n '\r\n },\r\n\r\n default: {\r\n boxShadow: '\\n 0 19px 20px 0 rgba(0, 0, 0, 0.03),\\n 0 3px 8px 0 rgba(0, 0, 0, 0.06)\\n '\r\n },\r\n\r\n disabled: {},\r\n expanded: {},\r\n separated: (_separated = {\r\n\r\n margin: spacing40 + ' 0'\r\n }, _defineProperty(_separated, theme.breakpoints.up('md'), {\r\n margin: spacing50 + ' 0'\r\n }), _defineProperty(_separated, '& + &', {\r\n '&:before': {\r\n opacity: 0\r\n }\r\n }), _separated),\r\n nogap: {},\r\n none: {}\r\n };\r\n};\r\n\r\n/**\r\n * Use `ExpansionPanel` to organize content into expandable and collapsible sections.\r\n *\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.13\r\n * @examples\r\n * ExpansionPanelSimple\r\n * ExpansionPanelCard\r\n * ExpansionPanelControlledAccordion\r\n * ExpansionPanelLeftIcon\r\n * ExpansionPanelSecondary\r\n */\r\nvar ExpansionPanel = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n panelSpacingVariant = props.panelSpacingVariant,\r\n variant = props.variant,\r\n spacingOptions = props.spacingOptions,\r\n CollapseProps = props.CollapseProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'panelSpacingVariant', 'variant', 'spacingOptions', 'CollapseProps']);\r\n\r\n var spacingOptionsLocal = getSpacingOptions(spacingOptions);\r\n\r\n var classOverrides = {};\r\n classOverrides.root = classNames(classes.root, _defineProperty({}, classes.nogap, panelSpacingVariant !== 'separated'), _defineProperty({}, classes.separated, panelSpacingVariant === 'separated'), _defineProperty({}, classes.card, variant === 'card'), _defineProperty({}, classes.default, variant === 'default'), _defineProperty({}, classes.none, spacingOptionsLocal.spacing === spacingVariant.NONE));\r\n\r\n classOverrides.expanded = classes.expanded;\r\n\r\n return React.createElement(\r\n ExpansionPanelContext.Provider,\r\n { value: {\r\n disabled: props.disabled,\r\n spacingOptions: spacingOptionsLocal\r\n } },\r\n React.createElement(MuiExpansionPanel, Object.assign({\r\n TransitionProps: CollapseProps\r\n }, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }))\r\n );\r\n});\r\n\r\nExpansionPanel.muiName = 'ExpansionPanel';\r\nExpansionPanel.displayName = 'ExpansionPanel';\r\n\r\nExpansionPanel.propTypes = {\r\n /**\r\n * The content of the expansion panel.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Properties applied to the `Collapse` element.\r\n */\r\n CollapseProps: PropTypes.object,\r\n /**\r\n * If `true`, expands the panel by default.\r\n */\r\n defaultExpanded: PropTypes.bool,\r\n /**\r\n * If `true`, the panel will be displayed in a disabled state.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, expands the panel, otherwise collapse it.\r\n * Setting this prop enables control over the panel.\r\n */\r\n expanded: PropTypes.bool,\r\n\r\n /**\r\n * Determines the spacing between panels in a group of expansion panels.\r\n *\r\n * * none - No separation between panels (the default)\r\n * * separated - Each panel is separated from its siblings\r\n */\r\n panelSpacingVariant: PropTypes.oneOf(['none', 'separated']),\r\n\r\n /**\r\n * Callback fired when the expand/collapse state is changed.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {boolean} expanded The `expanded` state of the panel\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Styles the ExpansionPanel for the context it is on, either 'default' or 'card'.\r\n */\r\n variant: PropTypes.oneOf(['default', 'card']),\r\n /**\r\n * Override gloabal spacing options.\r\n * Available options are:\r\n * * `spacing: 'standard' | 'none'`\r\n * * Controls the padding around the `ExpansionPanel` as a whole, and between the elements of the expansion panel\r\n * * `responsive: true | false`\r\n * * Adjusts spacing automatically on desktop, tablet and mobile viewports\r\n * * `outerSpacing: true | false`\r\n * * Removes the padding around the `ExpansionPanel`\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.string,\r\n responsive: PropTypes.bool,\r\n outerSpacing: PropTypes.bool\r\n })\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nExpansionPanel.defaultProps = {\r\n variant: 'default',\r\n panelSpacingVariant: 'none',\r\n defaultExpanded: false,\r\n disabled: false\r\n};\r\n\r\nexport default withStyles(styles)(ExpansionPanel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8,\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar ExpansionPanelActions = React.forwardRef(function ExpansionPanelActions(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disableSpacing\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanelActions.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanelActions'\n})(ExpansionPanelActions);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanelActions } from '@material-ui/core/ExpansionPanelActions';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing40, spacing50 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n padding: spacing40 + ' ' + spacing40 + ' ' + spacing40\r\n }, theme.breakpoints.up('lg'), {\r\n padding: spacing50 + ' ' + spacing50 + ' ' + spacing50\r\n }),\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ExpansionPanelActions = React.forwardRef(function (props, ref) {\r\n var _useContext = useContext(ExpansionPanelContext),\r\n spacing = _useContext.spacingOptions.spacing;\r\n\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.none, spacing === spacingVariant.NONE))\r\n };\r\n\r\n return React.createElement(MuiExpansionPanelActions, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nExpansionPanelActions.muiName = 'ExpansionPanelActions';\r\nExpansionPanelActions.displayName = 'ExpansionPanelActions';\r\n\r\nExpansionPanelActions.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ExpansionPanelActions.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ExpansionPanelActions);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n padding: theme.spacing(1, 2, 2)\n }\n };\n};\nvar ExpansionPanelDetails = React.forwardRef(function ExpansionPanelDetails(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanelDetails.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the expansion panel details.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanelDetails'\n})(ExpansionPanelDetails);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport classNames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanelDetails } from '@material-ui/core/ExpansionPanelDetails';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing20, spacing30, spacing40, spacing50 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n padding: spacing20 + ' ' + spacing40 + ' ' + spacing40\r\n }, theme.breakpoints.up('lg'), {\r\n padding: spacing30 + ' ' + spacing50 + ' ' + spacing50\r\n }),\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ExpansionPanelDetails = React.forwardRef(function (props, ref) {\r\n var _useContext = useContext(ExpansionPanelContext),\r\n spacing = _useContext.spacingOptions.spacing;\r\n\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.none, spacing === spacingVariant.NONE))\r\n };\r\n\r\n return React.createElement(MuiExpansionPanelDetails, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nExpansionPanelDetails.muiName = 'ExpansionPanelDetails';\r\nExpansionPanelDetails.displayName = 'ExpansionPanelDetails';\r\n\r\nExpansionPanelDetails.propTypes = {\r\n /**\r\n * The content of the expansion panel details.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ExpansionPanelDetails.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ExpansionPanelDetails);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/aria-role */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ButtonBase from '../ButtonBase';\nimport IconButton from '../IconButton';\nimport withStyles from '../styles/withStyles';\nimport ExpansionPanelContext from '../ExpansionPanel/ExpansionPanelContext';\nexport var styles = function styles(theme) {\n var transition = {\n duration: theme.transitions.duration.shortest\n };\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n minHeight: 8 * 6,\n transition: theme.transitions.create(['min-height', 'background-color'], transition),\n padding: theme.spacing(0, 2),\n '&:hover:not($disabled)': {\n cursor: 'pointer'\n },\n '&$expanded': {\n minHeight: 64\n },\n '&$focused': {\n backgroundColor: theme.palette.action.focus\n },\n '&$disabled': {\n opacity: theme.palette.action.disabledOpacity\n }\n },\n\n /* Pseudo-class applied to the root element, children wrapper element and `IconButton` component if `expanded={true}`. */\n expanded: {},\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the children wrapper element. */\n content: {\n display: 'flex',\n flexGrow: 1,\n transition: theme.transitions.create(['margin'], transition),\n margin: '12px 0',\n '&$expanded': {\n margin: '20px 0'\n }\n },\n\n /* Styles applied to the `IconButton` component when `expandIcon` is supplied. */\n expandIcon: {\n transform: 'rotate(0deg)',\n transition: theme.transitions.create('transform', transition),\n '&:hover': {\n // Disable the hover effect for the IconButton,\n // because a hover effect should apply to the entire Expand button and\n // not only to the IconButton.\n backgroundColor: 'transparent'\n },\n '&$expanded': {\n transform: 'rotate(180deg)'\n }\n }\n };\n};\nvar ExpansionPanelSummary = React.forwardRef(function ExpansionPanelSummary(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n expandIcon = props.expandIcon,\n IconButtonProps = props.IconButtonProps,\n onBlur = props.onBlur,\n onClick = props.onClick,\n onFocusVisible = props.onFocusVisible,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"expandIcon\", \"IconButtonProps\", \"onBlur\", \"onClick\", \"onFocusVisible\"]);\n\n var _React$useState = React.useState(false),\n focusedState = _React$useState[0],\n setFocusedState = _React$useState[1];\n\n var handleFocusVisible = function handleFocusVisible(event) {\n setFocusedState(true);\n\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n setFocusedState(false);\n\n if (onBlur) {\n onBlur(event);\n }\n };\n\n var _React$useContext = React.useContext(ExpansionPanelContext),\n _React$useContext$dis = _React$useContext.disabled,\n disabled = _React$useContext$dis === void 0 ? false : _React$useContext$dis,\n expanded = _React$useContext.expanded,\n toggle = _React$useContext.toggle;\n\n var handleChange = function handleChange(event) {\n if (toggle) {\n toggle(event);\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: false,\n disableRipple: true,\n disabled: disabled,\n component: \"div\",\n \"aria-expanded\": expanded,\n className: clsx(classes.root, className, disabled && classes.disabled, expanded && classes.expanded, focusedState && classes.focused),\n onFocusVisible: handleFocusVisible,\n onBlur: handleBlur,\n onClick: handleChange,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.content, expanded && classes.expanded)\n }, children), expandIcon && /*#__PURE__*/React.createElement(IconButton, _extends({\n className: clsx(classes.expandIcon, expanded && classes.expanded),\n edge: \"end\",\n component: \"div\",\n tabIndex: null,\n role: null,\n \"aria-hidden\": true\n }, IconButtonProps), expandIcon));\n});\nprocess.env.NODE_ENV !== \"production\" ? ExpansionPanelSummary.propTypes = {\n /**\n * The content of the expansion panel summary.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The icon to display as the expand indicator.\n */\n expandIcon: PropTypes.node,\n\n /**\n * Props applied to the `IconButton` element wrapping the expand icon.\n */\n IconButtonProps: PropTypes.object,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocusVisible: PropTypes.func\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiExpansionPanelSummary'\n})(ExpansionPanelSummary);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiExpansionPanelSummary } from '@material-ui/core/ExpansionPanelSummary';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ExpansionPanelContext from './internal/ExpansionPanelContext';\r\n\r\nimport { spacingVariant } from './../globalSpacing';\r\n\r\nimport { spacing20, spacingInsetShort30, spacing40, colorBrandNeutral100, colorBrandNeutral400, colorBrandNeutral500, colorTextPrimary, fontSizeLarge, boxShadowFocusInset } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n padding: 0,\r\n color: colorTextPrimary,\r\n outline: 'none',\r\n minHeight: 'auto',\r\n '&$focused': {\r\n backgroundColor: 'transparent'\r\n },\r\n '&$disabled': {\r\n opacity: 1\r\n },\r\n '&$expanded': {\r\n minHeight: 'auto',\r\n margin: 0,\r\n '& $content': {\r\n margin: 0\r\n }\r\n }\r\n },\r\n expanded: {},\r\n disabled: {\r\n color: colorBrandNeutral400,\r\n backgroundColor: colorBrandNeutral100\r\n },\r\n focused: {\r\n boxShadow: boxShadowFocusInset,\r\n outline: 'none'\r\n },\r\n iconButtonRoot: {\r\n fontSize: fontSizeLarge,\r\n '&$disabled': {\r\n color: colorBrandNeutral400\r\n }\r\n },\r\n content: {\r\n margin: 0\r\n },\r\n leftIconDisplay: {\r\n flexDirection: 'row-reverse'\r\n },\r\n expandIcon: {\r\n marginRight: 'auto',\r\n marginLeft: '-0.75rem'\r\n },\r\n standard: _defineProperty({\r\n padding: spacing20 + ' ' + spacing40\r\n }, theme.breakpoints.up('lg'), {\r\n padding: spacingInsetShort30\r\n }),\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ExpansionPanelSummary = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n leftIconDisplay = props.leftIconDisplay,\r\n expandIconProps = props.expandIconProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'leftIconDisplay', 'expandIconProps']);\r\n\r\n var _useContext = useContext(ExpansionPanelContext),\r\n disabled = _useContext.disabled,\r\n spacingOptions = _useContext.spacingOptions;\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, _defineProperty({}, classes.leftIconDisplay, leftIconDisplay), _defineProperty({}, classes.standard, spacingOptions.spacing === spacingVariant.STANDARD), _defineProperty({}, classes.none, spacingOptions.spacing === spacingVariant.NONE)),\r\n disabled: classes.disabled,\r\n focused: classes.focused,\r\n content: classes.content,\r\n expanded: classes.expanded\r\n };\r\n\r\n if (leftIconDisplay) {\r\n classOverrides.expandIcon = classNames(classes.expandIcon, 'eds-expansion-panel-icon-left-position');\r\n }\r\n\r\n return React.createElement(MuiExpansionPanelSummary, Object.assign({\r\n expandIcon: React.createElement(ChevronDown, Object.assign({ fill: disabled ? colorBrandNeutral400 : colorBrandNeutral500\r\n }, expandIconProps)),\r\n IconButtonProps: { disabled: disabled, classes: { root: classes.iconButtonRoot } },\r\n classes: classOverrides,\r\n ref: ref\r\n }, rest));\r\n});\r\n\r\nExpansionPanelSummary.muiName = 'ExpansionPanelSummary';\r\nExpansionPanelSummary.displayName = 'ExpansionPanelSummary';\r\n\r\nExpansionPanelSummary.propTypes = {\r\n /**\r\n * The content of the expansion panel summary.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Properties applied to the icon element.\r\n */\r\n expandIconProps: PropTypes.object,\r\n /**\r\n * Displays the expandIcon on the left side of the ExpansionPanel.\r\n */\r\n leftIconDisplay: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func\r\n};\r\n\r\nExpansionPanelSummary.defaultProps = {\r\n leftIconDisplay: false\r\n};\r\n\r\nexport default withStyles(styles)(ExpansionPanelSummary);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar TableContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n TableContext.displayName = 'TableContext';\n}\n\nexport default TableContext;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport TableContext from './TableContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'table',\n width: '100%',\n borderCollapse: 'collapse',\n borderSpacing: 0,\n '& caption': _extends(_extends({}, theme.typography.body2), {}, {\n padding: theme.spacing(2),\n color: theme.palette.text.secondary,\n textAlign: 'left',\n captionSide: 'bottom'\n })\n },\n\n /* Styles applied to the root element if `stickyHeader={true}`. */\n stickyHeader: {\n borderCollapse: 'separate'\n }\n };\n};\nvar defaultComponent = 'table';\nvar Table = React.forwardRef(function Table(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n _props$padding = props.padding,\n padding = _props$padding === void 0 ? 'default' : _props$padding,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n _props$stickyHeader = props.stickyHeader,\n stickyHeader = _props$stickyHeader === void 0 ? false : _props$stickyHeader,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"padding\", \"size\", \"stickyHeader\"]);\n\n var table = React.useMemo(function () {\n return {\n padding: padding,\n size: size,\n stickyHeader: stickyHeader\n };\n }, [padding, size, stickyHeader]);\n return /*#__PURE__*/React.createElement(TableContext.Provider, {\n value: table\n }, /*#__PURE__*/React.createElement(Component, _extends({\n role: Component === defaultComponent ? null : 'table',\n ref: ref,\n className: clsx(classes.root, className, stickyHeader && classes.stickyHeader)\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? Table.propTypes = {\n /**\n * The content of the table, normally `TableHead` and `TableBody`.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Allows TableCells to inherit padding of the Table.\n */\n padding: PropTypes.oneOf(['default', 'checkbox', 'none']),\n\n /**\n * Allows TableCells to inherit size of the Table.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * Set the header sticky.\n *\n * ⚠️ It doesn't work with IE 11.\n */\n stickyHeader: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTable'\n})(Table);","var _expansionPanelStyles;\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTable } from '@material-ui/core/Table';\r\n\r\nimport { borderWidthThin, colorBrandNeutral300, colorBrandNeutral500, colorBrandNeutral600, fontSizeDefault, spacing30, spacing50, spacing80, spacing40, widthFluid } from '../styles/tokens';\r\n\r\nvar defaultResponsiveStyles = {\r\n border: 0,\r\n position: 'relative',\r\n '& thead': {\r\n // `display: 'none'` will not be read by screen readers\r\n // hence hiding it through visibility property.\r\n border: 'none',\r\n clip: 'rect(0 0 0 0)',\r\n height: borderWidthThin,\r\n margin: borderWidthThin,\r\n overflow: 'hidden',\r\n padding: 0,\r\n position: 'absolute',\r\n width: borderWidthThin\r\n },\r\n '& tbody tr': {\r\n display: 'flex',\r\n flexWrap: 'wrap',\r\n height: 'auto',\r\n marginBottom: spacing50,\r\n borderBottom: borderWidthThin + ' solid ' + colorBrandNeutral300,\r\n paddingBottom: spacing50,\r\n position: 'relative'\r\n },\r\n '& tbody td:before, & tbody th:before': {\r\n content: 'attr(data-label)',\r\n fontWeight: 'bold',\r\n whiteSpace: 'normal',\r\n wordBreak: 'break-word',\r\n left: 0,\r\n color: colorBrandNeutral600,\r\n float: 'left',\r\n width: '6rem',\r\n minWidth: '6rem',\r\n marginRight: spacing50\r\n },\r\n '& tbody td, & tbody th': {\r\n borderBottom: 'none',\r\n fontSize: fontSizeDefault,\r\n textAlign: 'left',\r\n width: widthFluid,\r\n padding: spacing30 + ' 0',\r\n color: colorBrandNeutral500,\r\n display: 'block'\r\n },\r\n '& tbody td > *, & tbody th > *': {\r\n display: 'flex'\r\n }\r\n};\r\n\r\nvar expansionPanelStyles = (_expansionPanelStyles = {\r\n '& tbody tr': {\r\n padding: spacing30 + ' !important',\r\n paddingRight: spacing80 + ' !important',\r\n marginBottom: '0 !important',\r\n borderColor: 'transparent'\r\n },\r\n '& tbody tr td, & tbody tr th': {\r\n wordBreak: 'break-all'\r\n }\r\n}, _defineProperty(_expansionPanelStyles, '& thead th:last-child,\\n & tbody td:last-child,\\n & tbody th:last-child', {\r\n // On mobile should be always visible\r\n display: 'inherit !important'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody td:not(:first-child), & tbody th:not(:first-child)', {\r\n display: 'none'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded td:not(:first-child),\\n & tbody tr.table-row-expanded th:not(:first-child),\\n & tbody td.no-expanded-row-content button,\\n & tbody th.no-expanded-row-content span', {\r\n display: 'inherit'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr td.expand-row-button', {\r\n position: 'absolute',\r\n width: 'auto',\r\n top: 0,\r\n right: 0,\r\n paddingRight: spacing40\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content', {\r\n paddingRight: spacing50\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content td,\\n & tbody tr.table-row-expanded-content th', {\r\n wordBreak: 'break-word',\r\n paddingRight: 0\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content td:before,\\n & tbody tr.table-row-expanded-content th:before', {\r\n display: 'none'\r\n}), _defineProperty(_expansionPanelStyles, '& tbody tr.table-row-expanded-content td > *,\\n & tbody tr.table-row-expanded-content th > *', {\r\n display: 'inline-block'\r\n}), _expansionPanelStyles);\r\n\r\nvar generateResponsiveBreakpoints = function generateResponsiveBreakpoints(breakpoints) {\r\n var styles = {};\r\n\r\n // Create responsive styles for each breakpoint\r\n // When responsive='xl', it will always show\r\n breakpoints.keys.forEach(function (breakpoint) {\r\n var _styles;\r\n\r\n styles['responsive_' + breakpoint] = (_styles = {\r\n width: 'calc(100% - 0.8rem)'\r\n }, _defineProperty(_styles, '& tbody td.no-expanded-row-content button,\\n & tbody th.no-expanded-row-content span', {\r\n display: 'none'\r\n }), _defineProperty(_styles, '&$responsive', _defineProperty({}, breakpoints.down(breakpoint), Object.assign({}, defaultResponsiveStyles))), _defineProperty(_styles, '&$expansionPanels', _defineProperty({}, breakpoints.down(breakpoint), Object.assign({}, expansionPanelStyles))), _styles);\r\n });\r\n\r\n return styles;\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return Object.assign({\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {},\r\n responsive: _defineProperty({\r\n width: 'calc(100% - 0.8rem)'\r\n }, '& tbody td.no-expanded-row-content button,\\n & tbody th.no-expanded-row-content span', {\r\n display: 'none'\r\n }),\r\n expansionPanels: {}\r\n }, generateResponsiveBreakpoints(theme.breakpoints));\r\n};\r\n\r\n/**\r\n * Use `Table` to display sets of data within a grid.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n TableExample\r\n TableWithPagination\r\n AnytimeEditableTableExample\r\n ResponsiveTableExample\r\n ResponsiveTableExpansionPanels\r\n ResponsiveTableExpansionAll\r\n */\r\nvar Table = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n onExpand = props.onExpand,\r\n onClick = props.onClick,\r\n layoutProp = props.layout,\r\n rest = _objectWithoutProperties(props, ['classes', 'onExpand', 'onClick', 'layout']);\r\n\r\n var layout = Object.assign({\r\n // declare default values to compare if consumer sent in a prop or not, but hide from prop API\r\n variant: '',\r\n breakpoint: ''\r\n }, layoutProp);\r\n\r\n var classOverrides = {\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.responsive, layoutProp), _defineProperty(_classNames, classes.responsive_xs, layout.breakpoint === 'xs'), _defineProperty(_classNames, classes.responsive_sm, layout.breakpoint === 'sm'), _defineProperty(_classNames, classes.responsive_md, layout.breakpoint === 'md'), _defineProperty(_classNames, classes.responsive_lg, layout.breakpoint === 'lg'), _defineProperty(_classNames, classes.responsive_xl, layout.variant !== '' && layout.breakpoint === ''), _defineProperty(_classNames, classes.expansionPanels, layout.variant === 'expansionPanels'), _classNames))\r\n };\r\n\r\n var callback = function callback(e) {\r\n var targetClassList = e.target.classList;\r\n var isTargetExpandButton = targetClassList ? targetClassList.contains('expand-icon-container') || targetClassList.contains('expand-icon') : false;\r\n\r\n if (isTargetExpandButton && onExpand) {\r\n var _target = e.currentTarget;\r\n\r\n // NOTE: The code coverage tool is not counting statements within `setTimeout()` for some reason.\r\n // Ignoring this for a while until we find a solution.\r\n // However, this block is always executed when expand all is clicked for which I have added UTs\r\n // TODO: Find how to get around `setTimeout()` for code coverage\r\n /* istanbul ignore next */\r\n // Break out of execution stack.\r\n setTimeout(function () {\r\n var rowsExpanded = _target.querySelectorAll('.table-row-expanded');\r\n var rowsNotExpanded = _target.querySelectorAll('.not-table-row-expanded');\r\n var rows = _target.querySelectorAll('.table-expandable-row');\r\n\r\n if (rowsExpanded.length === rows.length) {\r\n onExpand(e, true);\r\n } else if (rowsNotExpanded.length === rows.length) {\r\n onExpand(e, false);\r\n }\r\n });\r\n }\r\n\r\n onClick && onClick(e);\r\n };\r\n\r\n return React.createElement(MuiTable, Object.assign({}, rest, { onClick: callback, classes: classOverrides, ref: ref }));\r\n});\r\n\r\nTable.muiName = 'Table';\r\nTable.displayName = 'Table';\r\n\r\nTable.propTypes = {\r\n /**\r\n * The content of the table, normally `TableHeader` and `TableBody`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to be applied to the `Table` container.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Specify the cell size\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n /**\r\n * Set the responsive layout `variant` and the `breakpoint` to trigger the responsive layout of the table.\r\n *\r\n * The shape of this prop is `{ variant: ['card', 'expansionPanels'], breakpoint: ['xs', 'sm', 'md', 'lg'] }`.\r\n *\r\n * If you do not specify a `breakpoint`, then the table will always show the given responsive layout variant.\r\n *\r\n * e.g.\r\n *\r\n * - `{ variant: 'card', breakpoint: 'sm' }` will result in the table rendering in the default table layout for viewports\r\n * greater than or equal to `sm` (960px) and the 'card' responsive layout when the viewport is smaller than `sm`.\r\n * - `{ variant: 'expansionPanels' }` will result in the table always showing the responsive expansion panel layout\r\n */\r\n layout: PropTypes.shape({\r\n variant: PropTypes.string,\r\n breakpoint: PropTypes.oneOf(['xs', 'sm', 'md', 'lg'])\r\n }),\r\n /**\r\n * Callback to toggle the boolean value\r\n */\r\n onExpand: PropTypes.func,\r\n /**\r\n * Callback triggered when expand all is clicked.\r\n */\r\n onClick: PropTypes.func\r\n};\r\n\r\n// default props\r\nTable.defaultProps = {\r\n size: 'medium'\r\n};\r\n\r\nexport default withStyles(styles)(Table);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar Tablelvl2Context = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n Tablelvl2Context.displayName = 'Tablelvl2Context';\n}\n\nexport default Tablelvl2Context;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-header-group'\n }\n};\nvar tablelvl2 = {\n variant: 'head'\n};\nvar defaultComponent = 'thead';\nvar TableHead = React.forwardRef(function TableHead(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableHead.propTypes = {\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableHead'\n})(TableHead);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableHead } from '@material-ui/core/TableHead';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {\r\n lineHeight: 1.5,\r\n fontWeight: 400\r\n }\r\n};\r\n\r\n/**\r\n * Table header\r\n */\r\nvar TableHead = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableHead, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableHead.muiName = 'TableHead';\r\nTableHead.displayName = 'TableHead';\r\n\r\nTableHead.propTypes = {\r\n /**\r\n * The content of the table head, normally `TableRow`\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object])\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTableHead.defaultProps = {\r\n component: 'thead'\r\n};\r\n\r\nexport default withStyles(styles)(TableHead);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport { darken, fade, lighten } from '../styles/colorManipulator';\nimport TableContext from '../Table/TableContext';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body2), {}, {\n display: 'table-cell',\n verticalAlign: 'inherit',\n // Workaround for a rendering bug with spanned columns in Chrome 62.0.\n // Removes the alpha (sets it to 1), and lightens or darkens the theme color.\n borderBottom: \"1px solid\\n \".concat(theme.palette.type === 'light' ? lighten(fade(theme.palette.divider, 1), 0.88) : darken(fade(theme.palette.divider, 1), 0.68)),\n textAlign: 'left',\n padding: 16\n }),\n\n /* Styles applied to the root element if `variant=\"head\"` or `context.table.head`. */\n head: {\n color: theme.palette.text.primary,\n lineHeight: theme.typography.pxToRem(24),\n fontWeight: theme.typography.fontWeightMedium\n },\n\n /* Styles applied to the root element if `variant=\"body\"` or `context.table.body`. */\n body: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `variant=\"footer\"` or `context.table.footer`. */\n footer: {\n color: theme.palette.text.secondary,\n lineHeight: theme.typography.pxToRem(21),\n fontSize: theme.typography.pxToRem(12)\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: '6px 24px 6px 16px',\n '&:last-child': {\n paddingRight: 16\n },\n '&$paddingCheckbox': {\n width: 24,\n // prevent the checkbox column from growing\n padding: '0px 12px 0 16px',\n '&:last-child': {\n paddingLeft: 12,\n paddingRight: 16\n },\n '& > *': {\n padding: 0\n }\n }\n },\n\n /* Styles applied to the root element if `padding=\"checkbox\"`. */\n paddingCheckbox: {\n width: 48,\n // prevent the checkbox column from growing\n padding: '0 0 0 4px',\n '&:last-child': {\n paddingLeft: 0,\n paddingRight: 4\n }\n },\n\n /* Styles applied to the root element if `padding=\"none\"`. */\n paddingNone: {\n padding: 0,\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right',\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `context.table.stickyHeader={true}`. */\n stickyHeader: {\n position: 'sticky',\n top: 0,\n left: 0,\n zIndex: 2,\n backgroundColor: theme.palette.background.default\n }\n };\n};\n/**\n * The component renders a `` element when the parent context is a header\n * or otherwise a `` element.\n */\n\nvar TableCell = React.forwardRef(function TableCell(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n component = props.component,\n paddingProp = props.padding,\n scopeProp = props.scope,\n sizeProp = props.size,\n sortDirection = props.sortDirection,\n variantProp = props.variant,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"component\", \"padding\", \"scope\", \"size\", \"sortDirection\", \"variant\"]);\n\n var table = React.useContext(TableContext);\n var tablelvl2 = React.useContext(Tablelvl2Context);\n var isHeadCell = tablelvl2 && tablelvl2.variant === 'head';\n var role;\n var Component;\n\n if (component) {\n Component = component;\n role = isHeadCell ? 'columnheader' : 'cell';\n } else {\n Component = isHeadCell ? 'th' : 'td';\n }\n\n var scope = scopeProp;\n\n if (!scope && isHeadCell) {\n scope = 'col';\n }\n\n var padding = paddingProp || (table && table.padding ? table.padding : 'default');\n var size = sizeProp || (table && table.size ? table.size : 'medium');\n var variant = variantProp || tablelvl2 && tablelvl2.variant;\n var ariaSort = null;\n\n if (sortDirection) {\n ariaSort = sortDirection === 'asc' ? 'ascending' : 'descending';\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, classes[variant], className, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], padding !== 'default' && classes[\"padding\".concat(capitalize(padding))], size !== 'medium' && classes[\"size\".concat(capitalize(size))], variant === 'head' && table && table.stickyHeader && classes.stickyHeader),\n \"aria-sort\": ariaSort,\n role: role,\n scope: scope\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableCell.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the text-align on the table cell content.\n *\n * Monetary or generally number fields **should be right aligned** as that allows\n * you to add them up quickly in your head without having to worry about decimals.\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n\n /**\n * The table cell contents.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Sets the padding applied to the cell.\n * By default, the Table parent component set the value (`default`).\n */\n padding: PropTypes.oneOf(['checkbox', 'default', 'none']),\n\n /**\n * Set scope attribute.\n */\n scope: PropTypes.string,\n\n /**\n * Specify the size of the cell.\n * By default, the Table parent component set the value (`medium`).\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * Set aria-sort direction.\n */\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\n\n /**\n * Specify the cell type.\n * By default, the TableHead, TableBody or TableFooter parent component set the value.\n */\n variant: PropTypes.oneOf(['body', 'footer', 'head'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableCell'\n})(TableCell);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableCell } from '@material-ui/core/TableCell';\r\n\r\nimport { lineHeightHeader3 } from '../styles/tokens';\r\n\r\nimport { fontSizeSmall, spacing20 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n paddingTop: spacing20,\r\n paddingBottom: spacing20\r\n },\r\n head: {\r\n color: theme.palette.grey[500],\r\n fontSize: fontSizeSmall,\r\n fontWeight: 500,\r\n lineHeight: lineHeightHeader3\r\n },\r\n paddingCheckbox: {\r\n paddingRight: 0,\r\n paddingLeft: spacing20\r\n },\r\n body: {}\r\n };\r\n};\r\n\r\n/**\r\n * Table cell\r\n */\r\nvar TableCell = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n columnName = props.columnName,\r\n rest = _objectWithoutProperties(props, ['classes', 'columnName']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n head: classes.head,\r\n body: classes.body,\r\n paddingCheckbox: classes.paddingCheckbox\r\n };\r\n\r\n return React.createElement(MuiTableCell, Object.assign({}, rest, {\r\n 'data-label': columnName || '',\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableCell.muiName = 'TableCell';\r\nTableCell.displayName = 'TableCell';\r\n\r\nTableCell.propTypes = {\r\n /**\r\n * Set the text-align on the table cell content. Monetary or generally number fields should\r\n * be right aligned as that allows you to add them up quickly in your head without having\r\n * to worry about decimals.\r\n */\r\n align: PropTypes.oneOf(['inherit', 'left', 'right', 'center', 'justify']),\r\n /**\r\n * The table cell contents\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Sets the padding applied to the cell.\r\n */\r\n padding: PropTypes.oneOf(['default', 'checkbox', 'none']),\r\n /**\r\n * Specify the size of the cell. By default, inherits `size` from the parent `Table`.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n /**\r\n * Set scope attribute.\r\n */\r\n scope: PropTypes.string,\r\n /**\r\n * Set aria-sort direction.\r\n */\r\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\r\n /**\r\n * Specify the cell type. By default, the `TableHead`, `TableBody` or `TableFooter` parent component set the value.\r\n */\r\n variant: PropTypes.oneOf(['head', 'body', 'footer']),\r\n /**\r\n * Set this if you want to render a responsive Table\r\n */\r\n columnName: PropTypes.string\r\n};\r\n\r\n// default props\r\nTableCell.defaultProps = {\r\n align: 'inherit',\r\n padding: 'default'\r\n};\r\n\r\nexport default withStyles(styles)(TableCell);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nimport { fade } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: 'inherit',\n display: 'table-row',\n verticalAlign: 'middle',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n '&$hover:hover': {\n backgroundColor: theme.palette.action.hover\n },\n '&$selected, &$selected:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.selectedOpacity)\n }\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {},\n\n /* Pseudo-class applied to the root element if `hover={true}`. */\n hover: {},\n\n /* Styles applied to the root element if table variant=\"head\". */\n head: {},\n\n /* Styles applied to the root element if table variant=\"footer\". */\n footer: {}\n };\n};\nvar defaultComponent = 'tr';\n/**\n * Will automatically set dynamic row height\n * based on the material table element parent (head, body, etc).\n */\n\nvar TableRow = React.forwardRef(function TableRow(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n _props$hover = props.hover,\n hover = _props$hover === void 0 ? false : _props$hover,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"hover\", \"selected\"]);\n\n var tablelvl2 = React.useContext(Tablelvl2Context);\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: clsx(classes.root, className, tablelvl2 && {\n 'head': classes.head,\n 'footer': classes.footer\n }[tablelvl2.variant], hover && classes.hover, selected && classes.selected),\n role: Component === defaultComponent ? null : 'row'\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableRow.propTypes = {\n /**\n * Should be valid children such as `TableCell`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the table row will shade on hover.\n */\n hover: PropTypes.bool,\n\n /**\n * If `true`, the table row will have the selected shading.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableRow'\n})(TableRow);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport TableCell from '@material-ui/core/TableCell';\r\nimport TableRow from '@material-ui/core/TableRow';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport ChevronUp from '@ellucian/ds-icons/lib/ChevronUp';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport classnames from 'classnames';\r\nimport { spacing40, spacing50, spacing20, sizingSmall } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n height: '3rem'\r\n }, theme.breakpoints.down('sm'), {\r\n '&.table-row-expanded': {\r\n backgroundColor: theme.palette.grey[200]\r\n }\r\n }),\r\n tableRowExpandedBackground: {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n tableRowExpand: {\r\n padding: spacing40 + ' ' + spacing50\r\n },\r\n muiTableCellRoot: {\r\n '&:last-child': {\r\n paddingRight: spacing40,\r\n textAlign: 'right'\r\n }\r\n },\r\n iconSize: {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n },\r\n expandPadding: {\r\n paddingTop: spacing20,\r\n paddingBottom: spacing20\r\n }\r\n };\r\n};\r\n\r\nvar TableExpandableRow = function (_React$Component) {\r\n _inherits(TableExpandableRow, _React$Component);\r\n\r\n function TableExpandableRow(props) {\r\n _classCallCheck(this, TableExpandableRow);\r\n\r\n var _this = _possibleConstructorReturn(this, (TableExpandableRow.__proto__ || Object.getPrototypeOf(TableExpandableRow)).call(this, props));\r\n\r\n _this.toggleExpand = function (e) {\r\n if (e.type === 'keypress' && (e.key === 'Enter' || e.key === ' ')) {\r\n e.preventDefault();\r\n _this.updateState();\r\n } else if (e.type === 'click') {\r\n _this.updateState();\r\n }\r\n };\r\n\r\n _this.state = {\r\n expanded: false\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(TableExpandableRow, [{\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps, prevState) {\r\n var _this2 = this;\r\n\r\n if (this.props.expand !== prevProps.expand) {\r\n this.setState(function (state) {\r\n return { expanded: _this2.props.expand };\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'updateState',\r\n value: function updateState() {\r\n this.setState(function (state) {\r\n return {\r\n expanded: !state.expanded\r\n };\r\n });\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _classnames,\r\n _this3 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n children = _props.children,\r\n expandedRowClassName = _props.expandedRowClassName,\r\n expandedRowContent = _props.expandedRowContent,\r\n TableRowProps = _props.TableRowProps,\r\n ExpandedTableRowProps = _props.ExpandedTableRowProps,\r\n edsContext = _props.edsContext,\r\n expand = _props.expand,\r\n rest = _objectWithoutProperties(_props, ['classes', 'children', 'expandedRowClassName', 'expandedRowContent', 'TableRowProps', 'ExpandedTableRowProps', 'edsContext', 'expand']);\r\n\r\n var expanded = this.state.expanded;\r\n\r\n\r\n var expandLabel = expanded ? edsContext.formatMessage('component.Table.hide') : edsContext.formatMessage('component.Table.showMore');\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n TableRow,\r\n Object.assign({\r\n className: classnames(classes.root, (_classnames = {}, _defineProperty(_classnames, classes.tableRowExpandedBackground, expanded && expandedRowContent), _defineProperty(_classnames, 'table-row-expanded', expanded), _defineProperty(_classnames, 'not-table-row-expanded', !expanded && expandedRowContent), _defineProperty(_classnames, 'table-expandable-row', expandedRowContent), _classnames))\r\n }, TableRowProps, rest),\r\n children,\r\n React.createElement(\r\n TableCell,\r\n {\r\n className: classnames(classes.expandPadding, 'expand-row-button', { 'no-expanded-row-content': !expandedRowContent }),\r\n classes: { root: classes.muiTableCellRoot }\r\n },\r\n React.createElement(\r\n Tooltip,\r\n { title: expandLabel, placement: edsContext.dir === 'rtl' ? 'right' : 'left' },\r\n React.createElement(\r\n IconButton,\r\n {\r\n className: 'expand-icon-container',\r\n color: 'gray',\r\n 'aria-expanded': expanded,\r\n 'aria-label': expandLabel,\r\n onClick: function onClick(e) {\r\n return _this3.toggleExpand(e);\r\n },\r\n tabIndex: 0\r\n },\r\n expanded ? React.createElement(ChevronUp, { className: classnames(classes.iconSize, 'expand-icon') }) : React.createElement(ChevronDown, { className: classnames(classes.iconSize, 'expand-icon') })\r\n )\r\n )\r\n )\r\n ),\r\n expandedRowContent && expanded && React.createElement(\r\n TableRow,\r\n Object.assign({ className: classnames(classes.tableRowExpandedBackground, expandedRowClassName, 'table-row-expanded-content')\r\n }, ExpandedTableRowProps),\r\n React.createElement(\r\n TableCell,\r\n { className: classes.tableRowExpand, colSpan: children.length + 1 },\r\n expandedRowContent\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return TableExpandableRow;\r\n}(React.Component);\r\n\r\nTableExpandableRow.propTypes = {\r\n /**\r\n * Common children are the TableCells with information you want to show on the TableRow.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * This is the custom prop for developers to control the expand collapse.\r\n * Useful when you want to expand / collapse all section in one click.\r\n */\r\n expand: PropTypes.bool,\r\n /**\r\n * This is the actual content that should be shown when the TableExpandableRow is expanded.\r\n * When used for responsive table, you can choose not to supply any content.\r\n */\r\n expandedRowContent: PropTypes.node,\r\n /**\r\n * Custom string name to send to the TableRow that is shown when expanded.\r\n */\r\n expandedRowClassName: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Object of props to send to the TableRow with the toggle arrow.\r\n */\r\n TableRowProps: PropTypes.object,\r\n /**\r\n * Object of props to send to the TableRow that is shown when expanded.\r\n */\r\n ExpandedTableRowProps: PropTypes.object\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TableExpandableRow));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-footer-group'\n }\n};\nvar tablelvl2 = {\n variant: 'footer'\n};\nvar defaultComponent = 'tfoot';\nvar TableFooter = React.forwardRef(function TableFooter(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableFooter.propTypes = {\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableFooter'\n})(TableFooter);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableFooter } from '@material-ui/core/TableFooter';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * Table component for displaying table footers\r\n */\r\nvar TableFooter = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableFooter, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableFooter.muiName = 'TableFooter';\r\nTableFooter.displayName = 'TableFooter';\r\n\r\nTableFooter.propTypes = {\r\n /**\r\n * The content of the table head, normally `TableRow`\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object])\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTableFooter.defaultProps = {\r\n component: 'tfoot'\r\n};\r\n\r\nexport default withStyles(styles)(TableFooter);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableRow } from '@material-ui/core/TableRow';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {\r\n height: '3rem',\r\n '&$hover:hover': {\r\n backgroundColor: theme.palette.grey[250]\r\n }\r\n },\r\n hover: {}\r\n };\r\n};\r\n\r\n/**\r\n * Table component for displaying a row\r\n */\r\nvar TableRow = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root,\r\n hover: classes.hover\r\n };\r\n\r\n return React.createElement(MuiTableRow, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableRow.muiName = 'TableRow';\r\nTableRow.displayName = 'TableRow';\r\n\r\nTableRow.propTypes = {\r\n /**\r\n * Should be valid ``children such as `TableCell`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the table row will shade on hover.\r\n */\r\n hover: PropTypes.bool,\r\n /**\r\n * If `true`, the table row will have the selected shading.\r\n */\r\n selected: PropTypes.bool\r\n\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nTableRow.defaultProps = {\r\n component: 'tr',\r\n hover: false,\r\n selected: false\r\n};\r\n\r\nexport default withStyles(styles)(TableRow);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Tablelvl2Context from '../Table/Tablelvl2Context';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'table-row-group'\n }\n};\nvar tablelvl2 = {\n variant: 'body'\n};\nvar defaultComponent = 'tbody';\nvar TableBody = React.forwardRef(function TableBody(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? defaultComponent : _props$component,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\"]);\n\n return /*#__PURE__*/React.createElement(Tablelvl2Context.Provider, {\n value: tablelvl2\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref,\n role: Component === defaultComponent ? null : 'rowgroup'\n }, other)));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableBody.propTypes = {\n /**\n * The content of the component, normally `TableRow`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableBody'\n})(TableBody);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableBody } from '@material-ui/core/TableBody';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * The body of the table\r\n */\r\nvar TableBody = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableBody, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableBody.muiName = 'TableBody';\r\nTableBody.displayName = 'TableBody';\r\n\r\nTableBody.propTypes = {\r\n /**\r\n * The content of the component, normally `TableRow`.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object])\r\n\r\n};\r\n\r\n// default props\r\nTableBody.defaultProps = {\r\n component: 'tbody'\r\n};\r\n\r\nexport default withStyles(styles)(TableBody);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"\n}), 'ArrowDownward');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'flex-start',\n flexDirection: 'inherit',\n alignItems: 'center',\n '&:focus': {\n color: theme.palette.text.secondary\n },\n '&:hover': {\n color: theme.palette.text.secondary,\n '& $icon': {\n opacity: 0.5\n }\n },\n '&$active': {\n color: theme.palette.text.primary,\n // && instead of & is a workaround for https://github.com/cssinjs/jss/issues/1045\n '&& $icon': {\n opacity: 1,\n color: theme.palette.text.secondary\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Styles applied to the icon component. */\n icon: {\n fontSize: 18,\n marginRight: 4,\n marginLeft: 4,\n opacity: 0,\n transition: theme.transitions.create(['opacity', 'transform'], {\n duration: theme.transitions.duration.shorter\n }),\n userSelect: 'none'\n },\n\n /* Styles applied to the icon component if `direction=\"desc\"`. */\n iconDirectionDesc: {\n transform: 'rotate(0deg)'\n },\n\n /* Styles applied to the icon component if `direction=\"asc\"`. */\n iconDirectionAsc: {\n transform: 'rotate(180deg)'\n }\n };\n};\n/**\n * A button based label for placing inside `TableCell` for column sorting.\n */\n\nvar TableSortLabel = React.forwardRef(function TableSortLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'asc' : _props$direction,\n _props$hideSortIcon = props.hideSortIcon,\n hideSortIcon = _props$hideSortIcon === void 0 ? false : _props$hideSortIcon,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDownwardIcon : _props$IconComponent,\n other = _objectWithoutProperties(props, [\"active\", \"children\", \"classes\", \"className\", \"direction\", \"hideSortIcon\", \"IconComponent\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, active && classes.active),\n component: \"span\",\n disableRipple: true,\n ref: ref\n }, other), children, hideSortIcon && !active ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"iconDirection\".concat(capitalize(direction))])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableSortLabel.propTypes = {\n /**\n * If `true`, the label will have the active styling (should be true for the sorted column).\n */\n active: PropTypes.bool,\n\n /**\n * Label contents, the arrow will be appended automatically.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The current sort direction.\n */\n direction: PropTypes.oneOf(['asc', 'desc']),\n\n /**\n * Hide sort icon when active is false.\n */\n hideSortIcon: PropTypes.bool,\n\n /**\n * Sort icon to use.\n */\n IconComponent: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableSortLabel'\n})(TableSortLabel);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableSortLabel } from '@material-ui/core/TableSortLabel';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {}\r\n};\r\n\r\n/**\r\n * Table component for the label of a column sort\r\n */\r\nvar TableSortLabel = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiTableSortLabel, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nTableSortLabel.muiName = 'TableSortLabel';\r\n\r\nTableSortLabel.propTypes = {\r\n /**\r\n * If true, the table row will have the selected shading.\r\n */\r\n active: PropTypes.bool,\r\n /**\r\n * Label contents, the arrow will be appended automatically.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The current sort direction.\r\n */\r\n direction: PropTypes.oneOf(['asc', 'desc'])\r\n\r\n};\r\n\r\nTableSortLabel.displayName = 'TableSortLabel';\r\n\r\n// If default props are needed, they must be set here\r\nTableSortLabel.defaultProps = {\r\n active: false,\r\n direction: 'desc'\r\n};\r\n\r\nexport default withStyles(styles)(TableSortLabel);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport Toolbar from '@material-ui/core/Toolbar';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport ChevronUp from '@ellucian/ds-icons/lib/ChevronUp';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport Edit from '@ellucian/ds-icons/lib/Edit';\r\nimport { Typography } from '../';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport { colorTextNeutral500, spacing40, sizingSmall, widthFluid } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n padding: spacing40\r\n },\r\n flex: {\r\n flexGrow: 1,\r\n color: colorTextNeutral500\r\n },\r\n footer: {\r\n display: 'flex',\r\n justifyContent: 'flex-end',\r\n width: widthFluid,\r\n alignItems: 'center'\r\n },\r\n footerLeft: {\r\n justifyContent: 'flex-start'\r\n },\r\n iconSize: {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * TableToolbar\r\n */\r\nvar TableToolbar = React.forwardRef(function (props, ref) {\r\n var _classnames;\r\n\r\n var classes = props.classes,\r\n caption = props.caption,\r\n showExpandAllToggle = props.showExpandAllToggle,\r\n showEditToggle = props.showEditToggle,\r\n children = props.children,\r\n expanded = props.expanded,\r\n onExpand = props.onExpand,\r\n onEdit = props.onEdit,\r\n location = props.location,\r\n footerAlignItems = props.footerAlignItems,\r\n showFooterToolbarOnEdit = props.showFooterToolbarOnEdit,\r\n edsContext = props.edsContext,\r\n TypographyProps = props.TypographyProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'caption', 'showExpandAllToggle', 'showEditToggle', 'children', 'expanded', 'onExpand', 'onEdit', 'location', 'footerAlignItems', 'showFooterToolbarOnEdit', 'edsContext', 'TypographyProps']);\r\n\r\n var showToolbar = location === 'footer' && showFooterToolbarOnEdit || location === 'header';\r\n\r\n var toggleExpand = function toggleExpand(e) {\r\n if (e.type === 'keypress' && (e.key === 'Enter' || e.key === ' ')) {\r\n e.preventDefault();\r\n onExpand(e);\r\n } else if (e.type === 'click') {\r\n onExpand(e);\r\n }\r\n };\r\n\r\n var toggleEdit = function toggleEdit(e) {\r\n if (e.type === 'keypress' && (e.key === 'Enter' || e.key === ' ')) {\r\n e.preventDefault();\r\n onEdit(e);\r\n } else if (e.type === 'click') {\r\n onEdit(e);\r\n }\r\n };\r\n\r\n var expandLabel = expanded ? edsContext.formatMessage('component.Table.hideAll') : edsContext.formatMessage('component.Table.showAll');\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n showToolbar && React.createElement(\r\n Toolbar,\r\n Object.assign({ className: classes.root }, rest, { ref: ref }),\r\n caption && React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h2', className: classes.flex }, TypographyProps),\r\n caption\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: classnames((_classnames = {}, _defineProperty(_classnames, classes.footer, location === 'footer'), _defineProperty(_classnames, classes.footerLeft, footerAlignItems === 'left'), _classnames)) },\r\n children,\r\n showEditToggle && React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Table.edit') },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n 'aria-expanded': expanded,\r\n 'aria-label': edsContext.formatMessage('component.Table.edit'),\r\n onClick: function onClick(e) {\r\n return toggleEdit(e);\r\n },\r\n tabIndex: 0\r\n },\r\n React.createElement(Edit, { className: classes.iconSize })\r\n )\r\n ),\r\n showExpandAllToggle && React.createElement(\r\n Tooltip,\r\n { title: expandLabel },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n 'aria-expanded': expanded,\r\n 'aria-label': expandLabel,\r\n onClick: function onClick(e) {\r\n return toggleExpand(e);\r\n },\r\n tabIndex: 0\r\n },\r\n expanded ? React.createElement(ChevronUp, { className: classes.iconSize }) : React.createElement(ChevronDown, { className: classes.iconSize })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n});\r\n\r\nTableToolbar.muiName = 'TableToolbar';\r\nTableToolbar.displayName = 'TableToolbar';\r\n\r\nTableToolbar.propTypes = {\r\n /**\r\n * The content of the table, normally `TableHeader` and `TableBody`.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to be applied to the Alert container.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Table caption or table title\r\n */\r\n caption: PropTypes.string,\r\n /**\r\n * Show expand all or collapse all icon for expansion panels on mobile or expandable rows.\r\n */\r\n showExpandAllToggle: PropTypes.bool,\r\n /**\r\n * Prop to toggle expand all.\r\n */\r\n expanded: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Callback to toggle the boolean value\r\n */\r\n onExpand: PropTypes.func,\r\n /**\r\n * Show editable toggle button to switch between edit and read-only table mode.\r\n */\r\n showEditToggle: PropTypes.bool,\r\n /**\r\n * Callback when edit toggle button is clicked\r\n */\r\n onEdit: PropTypes.func,\r\n /**\r\n * Align items for footer actions.\r\n */\r\n footerAlignItems: PropTypes.oneOf(['left', 'right']),\r\n /**\r\n * If you need to use actions along with table caption,\r\n * use `header` location. For action with footer, use `footer` location.\r\n * NOTE: Captions actions are always right aligned.\r\n * For footer actions, you can choose left or right.\r\n */\r\n location: PropTypes.oneOf(['header', 'footer']),\r\n /**\r\n * For footer, show the footer actions only when table is in edit mode.\r\n */\r\n showFooterToolbarOnEdit: PropTypes.bool,\r\n /**\r\n * Props that will be applied to the `Typography (caption)` element.\r\n */\r\n TypographyProps: PropTypes.object\r\n};\r\n\r\nTableToolbar.defaultProps = {\r\n showExpandAllToggle: false,\r\n showEditToggle: false,\r\n expanded: false,\r\n location: 'header',\r\n footerAlignItems: 'right'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TableToolbar));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classnames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiTableCell } from '@material-ui/core/TableCell';\r\nimport { colorBackgroundAlertError, spacing20 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n paddingTop: spacing20,\r\n paddingBottom: spacing20\r\n },\r\n head: {},\r\n body: {},\r\n error: {\r\n backgroundColor: colorBackgroundAlertError\r\n }\r\n};\r\n\r\n/**\r\n * Table cell\r\n */\r\nvar TableEditableCell = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n columnName = props.columnName,\r\n edit = props.edit,\r\n content = props.content,\r\n editableComponent = props.editableComponent,\r\n error = props.error,\r\n rest = _objectWithoutProperties(props, ['classes', 'columnName', 'edit', 'content', 'editableComponent', 'error']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n head: classes.head,\r\n body: classes.body\r\n };\r\n\r\n return React.createElement(\r\n MuiTableCell,\r\n Object.assign({}, rest, {\r\n 'data-label': columnName || '',\r\n classes: classOverrides,\r\n className: classnames(_defineProperty({}, classes.error, error)),\r\n ref: ref\r\n }),\r\n edit ? editableComponent : content\r\n );\r\n});\r\n\r\nTableEditableCell.muiName = 'TableEditableCell';\r\nTableEditableCell.displayName = 'TableEditableCell';\r\n\r\nTableEditableCell.propTypes = {\r\n /**\r\n * Set the text-align on the table cell content. Monetary or generally number fields should\r\n * be right aligned as that allows you to add them up quickly in your head without having\r\n * to worry about decimals.\r\n */\r\n align: PropTypes.oneOf(['inherit', 'left', 'right', 'center', 'justify']),\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Sets the padding applied to the cell.\r\n */\r\n padding: PropTypes.oneOf(['default', 'checkbox', 'dense', 'none']),\r\n /**\r\n * Set scope attribute.\r\n */\r\n scope: PropTypes.string,\r\n /**\r\n * Set aria-sort direction.\r\n */\r\n sortDirection: PropTypes.oneOf(['asc', 'desc', false]),\r\n /**\r\n * Specify the cell type. By default, the `TableHead`, `TableBody` or `TableFooter` parent component set the value.\r\n */\r\n variant: PropTypes.oneOf(['head', 'body', 'footer']),\r\n /**\r\n * Set this if you want to render a responsive Table\r\n */\r\n columnName: PropTypes.string,\r\n /**\r\n * If true, the cells will turn to edit mode. Defaults to `true`\r\n */\r\n edit: PropTypes.bool,\r\n /**\r\n * Content to be shown when table is in read-only mode\r\n */\r\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node, PropTypes.object]),\r\n /**\r\n * This will be rendered when table is in editable mode.\r\n */\r\n editableComponent: PropTypes.node.isRequired,\r\n /**\r\n * If true, the cell will be displayed in an error state.\r\n */\r\n error: PropTypes.bool\r\n};\r\n\r\n// default props\r\nTableEditableCell.defaultProps = {\r\n align: 'inherit',\r\n padding: 'default',\r\n edit: true\r\n};\r\n\r\nexport default withStyles(styles)(TableEditableCell);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft';\nimport KeyboardArrowRight from '../internal/svg-icons/KeyboardArrowRight';\nimport useTheme from '../styles/useTheme';\nimport IconButton from '../IconButton';\n/**\n * @ignore - internal component.\n */\n\nvar _ref = /*#__PURE__*/React.createElement(KeyboardArrowRight, null);\n\nvar _ref2 = /*#__PURE__*/React.createElement(KeyboardArrowLeft, null);\n\nvar _ref3 = /*#__PURE__*/React.createElement(KeyboardArrowLeft, null);\n\nvar _ref4 = /*#__PURE__*/React.createElement(KeyboardArrowRight, null);\n\nvar TablePaginationActions = React.forwardRef(function TablePaginationActions(props, ref) {\n var backIconButtonProps = props.backIconButtonProps,\n count = props.count,\n nextIconButtonProps = props.nextIconButtonProps,\n onChangePage = props.onChangePage,\n page = props.page,\n rowsPerPage = props.rowsPerPage,\n other = _objectWithoutProperties(props, [\"backIconButtonProps\", \"count\", \"nextIconButtonProps\", \"onChangePage\", \"page\", \"rowsPerPage\"]);\n\n var theme = useTheme();\n\n var handleBackButtonClick = function handleBackButtonClick(event) {\n onChangePage(event, page - 1);\n };\n\n var handleNextButtonClick = function handleNextButtonClick(event) {\n onChangePage(event, page + 1);\n };\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: ref\n }, other), /*#__PURE__*/React.createElement(IconButton, _extends({\n onClick: handleBackButtonClick,\n disabled: page === 0,\n color: \"inherit\"\n }, backIconButtonProps), theme.direction === 'rtl' ? _ref : _ref2), /*#__PURE__*/React.createElement(IconButton, _extends({\n onClick: handleNextButtonClick,\n disabled: count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false,\n color: \"inherit\"\n }, nextIconButtonProps), theme.direction === 'rtl' ? _ref3 : _ref4));\n});\nprocess.env.NODE_ENV !== \"production\" ? TablePaginationActions.propTypes = {\n /**\n * Props applied to the back arrow [`IconButton`](/api/icon-button/) element.\n */\n backIconButtonProps: PropTypes.object,\n\n /**\n * The total number of rows.\n */\n count: PropTypes.number.isRequired,\n\n /**\n * Props applied to the next arrow [`IconButton`](/api/icon-button/) element.\n */\n nextIconButtonProps: PropTypes.object,\n\n /**\n * Callback fired when the page is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number} page The page selected.\n */\n onChangePage: PropTypes.func.isRequired,\n\n /**\n * The zero-based index of the current page.\n */\n page: PropTypes.number.isRequired,\n\n /**\n * The number of rows per page.\n */\n rowsPerPage: PropTypes.number.isRequired\n} : void 0;\nexport default TablePaginationActions;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes } from '@material-ui/utils';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport InputBase from '../InputBase';\nimport MenuItem from '../MenuItem';\nimport Select from '../Select';\nimport TableCell from '../TableCell';\nimport Toolbar from '../Toolbar';\nimport Typography from '../Typography';\nimport TablePaginationActions from './TablePaginationActions';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n color: theme.palette.text.primary,\n fontSize: theme.typography.pxToRem(14),\n overflow: 'auto',\n // Increase the specificity to override TableCell.\n '&:last-child': {\n padding: 0\n }\n },\n\n /* Styles applied to the Toolbar component. */\n toolbar: {\n minHeight: 52,\n paddingRight: 2\n },\n\n /* Styles applied to the spacer element. */\n spacer: {\n flex: '1 1 100%'\n },\n\n /* Styles applied to the caption Typography components if `variant=\"caption\"`. */\n caption: {\n flexShrink: 0\n },\n // TODO v5: `.selectRoot` should be merged with `.input`\n\n /* Styles applied to the Select component root element. */\n selectRoot: {\n marginRight: 32,\n marginLeft: 8\n },\n\n /* Styles applied to the Select component `select` class. */\n select: {\n paddingLeft: 8,\n paddingRight: 24,\n textAlign: 'right',\n textAlignLast: 'right' // Align on Chrome.\n\n },\n // TODO v5: remove\n\n /* Styles applied to the Select component `icon` class. */\n selectIcon: {},\n\n /* Styles applied to the `InputBase` component. */\n input: {\n color: 'inherit',\n fontSize: 'inherit',\n flexShrink: 0\n },\n\n /* Styles applied to the MenuItem component. */\n menuItem: {},\n\n /* Styles applied to the internal `TablePaginationActions` component. */\n actions: {\n flexShrink: 0,\n marginLeft: 20\n }\n };\n};\n\nvar defaultLabelDisplayedRows = function defaultLabelDisplayedRows(_ref) {\n var from = _ref.from,\n to = _ref.to,\n count = _ref.count;\n return \"\".concat(from, \"-\").concat(to === -1 ? count : to, \" of \").concat(count !== -1 ? count : \"more than \".concat(to));\n};\n\nvar defaultRowsPerPageOptions = [10, 25, 50, 100];\n/**\n * A `TableCell` based component for placing inside `TableFooter` for pagination.\n */\n\nvar TablePagination = React.forwardRef(function TablePagination(props, ref) {\n var _props$ActionsCompone = props.ActionsComponent,\n ActionsComponent = _props$ActionsCompone === void 0 ? TablePaginationActions : _props$ActionsCompone,\n backIconButtonProps = props.backIconButtonProps,\n _props$backIconButton = props.backIconButtonText,\n backIconButtonText = _props$backIconButton === void 0 ? 'Previous page' : _props$backIconButton,\n classes = props.classes,\n className = props.className,\n colSpanProp = props.colSpan,\n _props$component = props.component,\n Component = _props$component === void 0 ? TableCell : _props$component,\n count = props.count,\n _props$labelDisplayed = props.labelDisplayedRows,\n labelDisplayedRows = _props$labelDisplayed === void 0 ? defaultLabelDisplayedRows : _props$labelDisplayed,\n _props$labelRowsPerPa = props.labelRowsPerPage,\n labelRowsPerPage = _props$labelRowsPerPa === void 0 ? 'Rows per page:' : _props$labelRowsPerPa,\n nextIconButtonProps = props.nextIconButtonProps,\n _props$nextIconButton = props.nextIconButtonText,\n nextIconButtonText = _props$nextIconButton === void 0 ? 'Next page' : _props$nextIconButton,\n onChangePage = props.onChangePage,\n onChangeRowsPerPage = props.onChangeRowsPerPage,\n page = props.page,\n rowsPerPage = props.rowsPerPage,\n _props$rowsPerPageOpt = props.rowsPerPageOptions,\n rowsPerPageOptions = _props$rowsPerPageOpt === void 0 ? defaultRowsPerPageOptions : _props$rowsPerPageOpt,\n _props$SelectProps = props.SelectProps,\n SelectProps = _props$SelectProps === void 0 ? {} : _props$SelectProps,\n other = _objectWithoutProperties(props, [\"ActionsComponent\", \"backIconButtonProps\", \"backIconButtonText\", \"classes\", \"className\", \"colSpan\", \"component\", \"count\", \"labelDisplayedRows\", \"labelRowsPerPage\", \"nextIconButtonProps\", \"nextIconButtonText\", \"onChangePage\", \"onChangeRowsPerPage\", \"page\", \"rowsPerPage\", \"rowsPerPageOptions\", \"SelectProps\"]);\n\n var colSpan;\n\n if (Component === TableCell || Component === 'td') {\n colSpan = colSpanProp || 1000; // col-span over everything\n }\n\n var MenuItemComponent = SelectProps.native ? 'option' : MenuItem;\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n colSpan: colSpan,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(Toolbar, {\n className: classes.toolbar\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classes.spacer\n }), rowsPerPageOptions.length > 1 && /*#__PURE__*/React.createElement(Typography, {\n color: \"inherit\",\n variant: \"body2\",\n className: classes.caption\n }, labelRowsPerPage), rowsPerPageOptions.length > 1 && /*#__PURE__*/React.createElement(Select, _extends({\n classes: {\n select: classes.select,\n icon: classes.selectIcon\n },\n input: /*#__PURE__*/React.createElement(InputBase, {\n className: clsx(classes.input, classes.selectRoot)\n }),\n value: rowsPerPage,\n onChange: onChangeRowsPerPage,\n inputProps: {\n 'aria-label': labelRowsPerPage\n }\n }, SelectProps), rowsPerPageOptions.map(function (rowsPerPageOption) {\n return /*#__PURE__*/React.createElement(MenuItemComponent, {\n className: classes.menuItem,\n key: rowsPerPageOption.value ? rowsPerPageOption.value : rowsPerPageOption,\n value: rowsPerPageOption.value ? rowsPerPageOption.value : rowsPerPageOption\n }, rowsPerPageOption.label ? rowsPerPageOption.label : rowsPerPageOption);\n })), /*#__PURE__*/React.createElement(Typography, {\n color: \"inherit\",\n variant: \"body2\",\n className: classes.caption\n }, labelDisplayedRows({\n from: count === 0 ? 0 : page * rowsPerPage + 1,\n to: count !== -1 ? Math.min(count, (page + 1) * rowsPerPage) : (page + 1) * rowsPerPage,\n count: count,\n page: page\n })), /*#__PURE__*/React.createElement(ActionsComponent, {\n className: classes.actions,\n backIconButtonProps: _extends({\n title: backIconButtonText,\n 'aria-label': backIconButtonText\n }, backIconButtonProps),\n count: count,\n nextIconButtonProps: _extends({\n title: nextIconButtonText,\n 'aria-label': nextIconButtonText\n }, nextIconButtonProps),\n onChangePage: onChangePage,\n page: page,\n rowsPerPage: rowsPerPage\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? TablePagination.propTypes = {\n /**\n * The component used for displaying the actions.\n * Either a string to use a HTML element or a component.\n */\n ActionsComponent: PropTypes.elementType,\n\n /**\n * Props applied to the back arrow [`IconButton`](/api/icon-button/) component.\n */\n backIconButtonProps: PropTypes.object,\n\n /**\n * Text label for the back arrow icon button.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n backIconButtonText: PropTypes.string,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n colSpan: PropTypes.number,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The total number of rows.\n *\n * To enable server side pagination for an unknown number of items, provide -1.\n */\n count: PropTypes.number.isRequired,\n\n /**\n * Customize the displayed rows label. Invoked with a `{ from, to, count, page }`\n * object.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n labelDisplayedRows: PropTypes.func,\n\n /**\n * Customize the rows per page label.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n labelRowsPerPage: PropTypes.string,\n\n /**\n * Props applied to the next arrow [`IconButton`](/api/icon-button/) element.\n */\n nextIconButtonProps: PropTypes.object,\n\n /**\n * Text label for the next arrow icon button.\n *\n * For localization purposes, you can use the provided [translations](/guides/localization/).\n */\n nextIconButtonText: PropTypes.string,\n\n /**\n * Callback fired when the page is changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number} page The page selected.\n */\n onChangePage: PropTypes.func.isRequired,\n\n /**\n * Callback fired when the number of rows per page is changed.\n *\n * @param {object} event The event source of the callback.\n */\n onChangeRowsPerPage: PropTypes.func,\n\n /**\n * The zero-based index of the current page.\n */\n page: chainPropTypes(PropTypes.number.isRequired, function (props) {\n var count = props.count,\n page = props.page,\n rowsPerPage = props.rowsPerPage;\n\n if (count === -1) {\n return null;\n }\n\n var newLastPage = Math.max(0, Math.ceil(count / rowsPerPage) - 1);\n\n if (page < 0 || page > newLastPage) {\n return new Error('Material-UI: The page prop of a TablePagination is out of range ' + \"(0 to \".concat(newLastPage, \", but page is \").concat(page, \").\"));\n }\n\n return null;\n }),\n\n /**\n * The number of rows per page.\n */\n rowsPerPage: PropTypes.number.isRequired,\n\n /**\n * Customizes the options of the rows per page select field. If less than two options are\n * available, no select field will be displayed.\n */\n rowsPerPageOptions: PropTypes.array,\n\n /**\n * Props applied to the rows per page [`Select`](/api/select/) element.\n */\n SelectProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTablePagination'\n})(TablePagination);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport IconButton from '../IconButton';\r\nimport TextField from '../TextField';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport TablePagination from '@material-ui/core/TablePagination';\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ArrowEndLeftIcon from '@ellucian/ds-icons/lib/ArrowEndLeft';\r\nimport ArrowEndRightIcon from '@ellucian/ds-icons/lib/ArrowEndRight';\r\nimport ChevronRightIcon from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeftIcon from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport Typography from '../Typography';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { borderRadiusSmall, borderRadiusMedium, borderWidthThin, sizingSmall, sizingXLarge, spacing60, spacing50, spacing40, spacing30, spacing20, spacing80, fontSizeDefault, boxShadowFocusInset, widthFluid, colorGlobalBorderDefault } from '../styles/tokens';\r\n\r\n// PaginationAction Styles\r\nvar actionStyles = function actionStyles(theme) {\r\n var _root;\r\n\r\n return {\r\n root: (_root = {\r\n alignItems: 'center',\r\n display: 'flex',\r\n flex: 1,\r\n order: 2\r\n }, _defineProperty(_root, theme.breakpoints.down('md'), {\r\n flex: '1 1 100%',\r\n textAlign: 'center',\r\n paddingBottom: spacing30,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n marginBottom: spacing30,\r\n justifyContent: 'space-between'\r\n }), _defineProperty(_root, '& $paginationButtons', {\r\n // NOTE: Could create an 'icon' classes prop to handle this sizing\r\n '& svg': {\r\n width: sizingSmall,\r\n height: sizingSmall\r\n }\r\n }), _defineProperty(_root, '& $textField', {\r\n // NOTE: Remove when Textfield supports us overriding the classes prop\r\n width: sizingXLarge,\r\n marginLeft: spacing30,\r\n marginRight: spacing30,\r\n verticalAlign: 'baseline',\r\n '& input': {\r\n padding: '0.1rem',\r\n textAlign: 'center',\r\n fontSize: theme.typography.caption.fontSize\r\n }\r\n }), _root),\r\n typography: {\r\n display: 'flex',\r\n alignSelf: 'center'\r\n },\r\n // NOTE: This should be sent to the TextField classes.root\r\n // But our implementation doesn't allow this\r\n // textFieldRoot: {\r\n // width: 32,\r\n // marginLeft: 8,\r\n // marginRight: 8,\r\n // verticalAlign: 'baseline',\r\n // },\r\n // Remove if TextField can support classes override\r\n textField: {},\r\n // Remove after transparent IconButtons variant is created\r\n paginationButtons: {},\r\n pageNumberInput: _defineProperty({\r\n display: 'flex',\r\n margin: '0 ' + spacing80\r\n }, theme.breakpoints.down('md'), {\r\n margin: 0\r\n }),\r\n buttonSpacer: _defineProperty({\r\n marginRight: spacing50\r\n }, theme.breakpoints.down('md'), {\r\n marginRight: 0\r\n })\r\n };\r\n};\r\n\r\nvar PaginationActions = function (_React$Component) {\r\n _inherits(PaginationActions, _React$Component);\r\n\r\n function PaginationActions() {\r\n var _ref;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, PaginationActions);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = PaginationActions.__proto__ || Object.getPrototypeOf(PaginationActions)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\r\n pageNumberInput: _this.props.page + 1 || 1 // zero-based number\r\n }, _this.handleFirstPageButtonClick = function (event) {\r\n _this.setState({\r\n pageNumberInput: 1\r\n }, function () {\r\n return _this.props.onChangePage(event, 0);\r\n });\r\n }, _this.handleBackButtonClick = function (event) {\r\n var page = _this.props.page - 1;\r\n\r\n _this.setState({\r\n pageNumberInput: page + 1\r\n }, function () {\r\n return _this.props.onChangePage(event, page);\r\n });\r\n }, _this.handleNextButtonClick = function (event) {\r\n var page = _this.props.page + 1;\r\n _this.setState({\r\n pageNumberInput: page + 1\r\n }, function () {\r\n return _this.props.onChangePage(event, page);\r\n });\r\n }, _this.handleLastPageButtonClick = function (event) {\r\n // returns 0-based\r\n var page = Math.max(0, Math.ceil(_this.props.count / _this.props.rowsPerPage) - 1);\r\n\r\n // display value non-0 based\r\n _this.setState({\r\n pageNumberInput: page + 1\r\n }, function () {\r\n return _this.props.onChangePage(event, page);\r\n });\r\n }, _this.handleTextFieldOnChange = function (event) {\r\n var value = event.target.value;\r\n if (!isNaN(Number(value))) {\r\n _this.setState({\r\n pageNumberInput: value\r\n });\r\n }\r\n }, _this.handleTextFieldOnBlur = function (event) {\r\n event.preventDefault();\r\n if (_this.paginationPageTextField.value - 1 !== _this.props.page) {\r\n _this.handlePageChange(event);\r\n }\r\n }, _this.handleTextFieldFocus = function () {\r\n _this.paginationPageTextField.select();\r\n }, _this.handleEnterKeyPress = function (event) {\r\n if (event.key === 'Enter') {\r\n event.preventDefault();\r\n if (_this.paginationPageTextField.value - 1 !== _this.props.page) {\r\n _this.handlePageChange(event);\r\n }\r\n }\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n // Implementation Note: pageNumberInput is the value that appears in the \"page number\" text field.\r\n // It's distinguished from the incoming \"page\" prop because it needs to vary independently; on one\r\n // hand, it should update whenever the page changes, but it ALSO needs to change as the user types\r\n // in that field, without updating the page (until the field blurs)\r\n\r\n _createClass(PaginationActions, [{\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n var _this2 = this;\r\n\r\n if (prevProps.rowsPerPage !== this.props.rowsPerPage || prevProps.count !== this.props.count) {\r\n this.setState({\r\n pageNumberInput: 1\r\n }, function () {\r\n return _this2.props.onChangePage({}, 0);\r\n });\r\n }\r\n if (prevProps.page !== this.props.page && this.props.page !== this.state.pageNumberInput - 1) {\r\n this.setState({\r\n pageNumberInput: this.props.page + 1\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'handlePageChange',\r\n\r\n\r\n // Shared function to change page or alter state\r\n // Receives `value` from the TextField\r\n value: function handlePageChange(event) {\r\n var _this3 = this;\r\n\r\n // 1-based\r\n var value = this.paginationPageTextField.value;\r\n\r\n // 0-based\r\n var totalNumberOfPages = Math.max(0, Math.ceil(this.props.count / this.props.rowsPerPage) - 1);\r\n\r\n if (value <= 0) {\r\n // If value is zero or negative\r\n // Go to first page\r\n this.setState({ pageNumberInput: 1 }, function () {\r\n return _this3.props.onChangePage(event, 0);\r\n });\r\n } else if (value >= 1 && value <= totalNumberOfPages) {\r\n // If value is greater than 1\r\n // and value is less than or equal totalNumberOfPages\r\n this.setState({\r\n pageNumberInput: value\r\n }, this.props.onChangePage(event, Number(value) - 1));\r\n } else if (value >= totalNumberOfPages + 1) {\r\n // If value is greater than total number of pages\r\n // Go to last page\r\n this.setState({\r\n pageNumberInput: totalNumberOfPages + 1\r\n }, this.props.onChangePage(event, totalNumberOfPages));\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this4 = this;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n count = _props.count,\r\n page = _props.page,\r\n rowsPerPage = _props.rowsPerPage,\r\n theme = _props.theme,\r\n edsContext = _props.edsContext;\r\n var pageNumberInput = this.state.pageNumberInput;\r\n\r\n\r\n var totalNumberOfPages = Math.max(0, Math.ceil(count / rowsPerPage) - 1);\r\n var disablePreviousButtons = page === 0;\r\n var disableNextButtons = page >= Math.ceil(count / rowsPerPage) - 1;\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: '' + classes.root },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.firstPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleFirstPageButtonClick,\r\n disabled: disablePreviousButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.firstPage'),\r\n className: classes.paginationButtons + ' ' + classes.buttonSpacer\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ArrowEndRightIcon, null) : React.createElement(ArrowEndLeftIcon, null)\r\n )\r\n ),\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.previousPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleBackButtonClick,\r\n disabled: disablePreviousButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.previousPage'),\r\n className: classes.paginationButtons\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ChevronRightIcon, null) : React.createElement(ChevronLeftIcon, null)\r\n )\r\n ),\r\n React.createElement(\r\n 'span',\r\n { className: classes.pageNumberInput + ' page-input' },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', className: classes.typography },\r\n edsContext.formatMessage('component.Pagination.page')\r\n ),\r\n React.createElement(TextField, {\r\n className: classNames(classes.textField),\r\n inputRef: function inputRef(input) {\r\n return _this4.paginationPageTextField = input;\r\n },\r\n value: pageNumberInput,\r\n inputProps: { 'aria-label': '' + pageNumberInput },\r\n onChange: this.handleTextFieldOnChange,\r\n margin: 'normal',\r\n onKeyPress: this.handleEnterKeyPress,\r\n onFocus: this.handleTextFieldFocus,\r\n onBlur: this.handleTextFieldOnBlur,\r\n disabled: totalNumberOfPages === 0\r\n }),\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', className: classes.typography },\r\n edsContext.formatMessage('component.Pagination.ofTotalCount', { count: totalNumberOfPages + 1 })\r\n )\r\n ),\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.nextPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleNextButtonClick,\r\n disabled: disableNextButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.nextPage'),\r\n className: classes.paginationButtons + ' ' + classes.buttonSpacer\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ChevronLeftIcon, null) : React.createElement(ChevronRightIcon, null)\r\n )\r\n ),\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Pagination.lastPage'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n onClick: this.handleLastPageButtonClick,\r\n disabled: disableNextButtons,\r\n color: 'gray',\r\n 'aria-label': edsContext.formatMessage('component.Pagination.lastPage'),\r\n className: classes.paginationButtons\r\n },\r\n theme.direction === 'rtl' ? React.createElement(ArrowEndLeftIcon, null) : React.createElement(ArrowEndRightIcon, null)\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return PaginationActions;\r\n}(React.Component);\r\n\r\nPaginationActions.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n count: PropTypes.number.isRequired,\r\n onChangePage: PropTypes.func.isRequired,\r\n page: PropTypes.number.isRequired,\r\n rowsPerPage: PropTypes.number.isRequired,\r\n theme: PropTypes.object.isRequired,\r\n edsContext: PropTypes.object.isRequired\r\n};\r\n\r\nvar PaginationActionsWrapped = withEDSContext(withStyles(actionStyles, { withTheme: true })(PaginationActions));\r\n\r\n// Pagination Styles\r\nvar styles = function styles(theme) {\r\n return {\r\n root: _defineProperty({\r\n // Target the \"Total results...\" text\r\n '& $caption:nth-last-child(2)': _defineProperty({\r\n order: 4,\r\n marginRight: 0,\r\n marginLeft: 'auto'\r\n }, theme.breakpoints.down('md'), {\r\n marginRight: spacing30\r\n })\r\n }, theme.breakpoints.down('md'), {\r\n width: widthFluid,\r\n paddingTop: spacing30,\r\n paddingBottom: spacing60,\r\n\r\n '&:last-child': {\r\n paddingTop: spacing30,\r\n paddingBottom: spacing60\r\n\r\n // TODO: To be used if it needs to be attached to bottom or made configurable\r\n // bottom: \"0\",\r\n // zIndex: \"99\",\r\n // background: \"rgba(255, 255, 255, 1)\",\r\n // position: \"fixed\",\r\n // left: 0,\r\n // boxShadow: \"0px -3px 10px #ccc\",\r\n } }),\r\n toolbar: _defineProperty({\r\n padding: 0,\r\n margin: '0 ' + spacing40 + ' ' + spacing40 + ' ' + spacing30,\r\n minHeight: '3.5rem'\r\n }, theme.breakpoints.down('md'), {\r\n justifyContent: 'flex-start',\r\n flexWrap: 'wrap',\r\n margin: '0 ' + spacing30 + ' 0 ' + spacing30\r\n }),\r\n spacer: {\r\n flex: 'none',\r\n order: 1\r\n },\r\n caption: {\r\n fontSize: theme.typography.caption.fontSize,\r\n color: theme.palette.grey[500],\r\n order: 3,\r\n marginRight: spacing40,\r\n marginLeft: spacing30\r\n },\r\n selectRoot: _defineProperty({\r\n marginRight: spacing80,\r\n\r\n '& $select': {\r\n paddingRight: spacing60,\r\n minHeight: 'auto'\r\n }\r\n\r\n }, theme.breakpoints.down('md'), {\r\n marginRight: 0\r\n }),\r\n selectIcon: {\r\n top: '0.4rem',\r\n right: spacing20,\r\n fill: theme.palette.grey[500],\r\n height: sizingSmall\r\n },\r\n select: {\r\n fontSize: theme.typography.caption.fontSize,\r\n '&:focus': {\r\n borderRadius: borderRadiusSmall,\r\n boxShadow: boxShadowFocusInset,\r\n backgroundColor: 'transparent'\r\n }\r\n },\r\n input: {\r\n order: 4\r\n },\r\n menuList: {\r\n border: colorGlobalBorderDefault + ' ' + borderWidthThin + ' solid',\r\n borderRadius: borderRadiusMedium\r\n },\r\n menuListItem: {\r\n '& :first-child': {\r\n borderTopRightRadius: borderRadiusSmall,\r\n borderTopLeftRadius: borderRadiusSmall\r\n },\r\n '& :last-child': {\r\n borderBottomRightRadius: borderRadiusSmall,\r\n borderBottomLeftRadius: borderRadiusSmall\r\n }\r\n },\r\n menuItem: {\r\n padding: spacing30 + ' 0.75rem',\r\n borderBottom: borderWidthThin + ' solid ' + colorGlobalBorderDefault,\r\n // Had to use `!important` below to override styles as MUI Pagination is adding inline styles.\r\n minWidth: spacing60 + ' !important',\r\n '&:last-child': {\r\n borderBottom: 'transparent ' + borderWidthThin + ' solid'\r\n },\r\n fontSize: fontSizeDefault,\r\n '&:hover': {\r\n color: theme.palette.grey[600],\r\n backgroundColor: theme.palette.grey[250]\r\n },\r\n //Using aria-selected as a workaround as accessing the selected styles of menuItem was not possible\r\n '&[aria-selected=true]': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.active\r\n }\r\n }\r\n },\r\n\r\n menuPaper: {\r\n boxShadow: 'none'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Pagination` to allow users to navigate large data sets by breaking out the data into smaller, more consumable \"pages.\"\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * PaginationExamples\r\n * PaginationWithListExamples\r\n * PaginationWithTableExamples\r\n */\r\n\r\nvar Pagination = function (_React$Component2) {\r\n _inherits(Pagination, _React$Component2);\r\n\r\n function Pagination() {\r\n _classCallCheck(this, Pagination);\r\n\r\n return _possibleConstructorReturn(this, (Pagination.__proto__ || Object.getPrototypeOf(Pagination)).apply(this, arguments));\r\n }\r\n\r\n _createClass(Pagination, [{\r\n key: 'render',\r\n value: function render() {\r\n var _props2 = this.props,\r\n classes = _props2.classes,\r\n rowsPerPageOptions = _props2.rowsPerPageOptions,\r\n count = _props2.count,\r\n edsContext = _props2.edsContext,\r\n rowsPerPageShowAll = _props2.rowsPerPageShowAll,\r\n labelRowsPerPage = _props2.labelRowsPerPage,\r\n SelectProps = _props2.SelectProps,\r\n rest = _objectWithoutProperties(_props2, ['classes', 'rowsPerPageOptions', 'count', 'edsContext', 'rowsPerPageShowAll', 'labelRowsPerPage', 'SelectProps']);\r\n\r\n // Append `count` to the Select input\r\n\r\n\r\n var _rowsPerPageOption = rowsPerPageOptions;\r\n if (rowsPerPageShowAll) {\r\n _rowsPerPageOption = [].concat(_toConsumableArray(rowsPerPageOptions), [count]);\r\n }\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n toolbar: classes.toolbar,\r\n spacer: classes.spacer,\r\n caption: classes.caption,\r\n selectRoot: classes.selectRoot,\r\n select: classes.select,\r\n selectIcon: classes.selectIcon,\r\n input: classes.input,\r\n menuItem: classes.menuItem\r\n };\r\n\r\n var selectProps = Object.assign({\r\n IconComponent: ChevronDownIcon,\r\n MenuProps: {\r\n classes: {\r\n paper: classes.menuPaper\r\n },\r\n MenuListProps: {\r\n dir: edsContext.dir,\r\n className: classes.menuList,\r\n disablePadding: true,\r\n classes: {\r\n root: classes.menuListItem\r\n }\r\n }\r\n }\r\n }, SelectProps);\r\n\r\n return React.createElement(TablePagination, Object.assign({\r\n ActionsComponent: PaginationActionsWrapped,\r\n classes: classOverrides,\r\n count: count,\r\n rowsPerPageOptions: _rowsPerPageOption,\r\n labelRowsPerPage: labelRowsPerPage === Pagination.defaultProps.labelRowsPerPage ? // translate unless a label was provided\r\n edsContext.formatMessage('component.Pagination.perPage') : labelRowsPerPage,\r\n labelDisplayedRows: function labelDisplayedRows(rows) {\r\n return edsContext.formatMessage('component.Pagination.totalResults') + ' ' + rows.count;\r\n },\r\n SelectProps: selectProps\r\n }, rest));\r\n }\r\n }]);\r\n\r\n return Pagination;\r\n}(React.Component);\r\n\r\n;\r\n\r\nPagination.muiName = 'Pagination';\r\n\r\nPagination.propTypes = {\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n * EX: Use TableCell if used within Table\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The total number of rows.\r\n */\r\n count: PropTypes.number.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Customize the rows per page label. Invoked with a `{ from, to, count, page }`\r\n * object.\r\n */\r\n labelRowsPerPage: PropTypes.node,\r\n /**\r\n * Callback fired when the page is changed.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {number} page The page selected\r\n */\r\n onChangePage: PropTypes.func.isRequired,\r\n /**\r\n * Callback fired when the number of rows per page is changed.\r\n *\r\n * @param {object} event The event source of the callback\r\n */\r\n onChangeRowsPerPage: PropTypes.func,\r\n /**\r\n * The zero-based index of the current page.\r\n */\r\n page: PropTypes.number,\r\n /**\r\n * The number of rows per page.\r\n */\r\n rowsPerPage: PropTypes.number.isRequired,\r\n /**\r\n * Customizes the options of the rows per page select field. If less than two options are\r\n * available, no select field will be displayed.\r\n */\r\n rowsPerPageOptions: PropTypes.array,\r\n /**\r\n * Set to `true` to render a total count option in the `Select` in the last index.\r\n */\r\n rowsPerPageShowAll: PropTypes.bool,\r\n /**\r\n * Properties applied to the rows per page `Select` element.\r\n */\r\n SelectProps: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nPagination.defaultProps = {\r\n labelRowsPerPage: 'Per page:',\r\n component: 'div',\r\n rowsPerPageOptions: [10, 20],\r\n rowsPerPageShowAll: false\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Pagination));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { createContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiList } from '@material-ui/core/List';\r\nimport { widthFluid } from '../styles/tokens';\r\nimport { getSpacingOptions } from './../globalSpacing';\r\nimport { spacingVariant } from '../globalSpacing';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.common.white,\r\n width: widthFluid\r\n }\r\n };\r\n};\r\n\r\nvar ListContext = createContext();\r\n\r\n/**\r\n * Use `List` to display a continuous, vertical index of text and/or images.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.15\r\n * @examples\r\n * PrimaryTextExample\r\n * SecondaryTextExample\r\n * ControlsExample\r\n * ListItemWithButtonExample\r\n * IconsExample\r\n * ComplexListExample\r\n * MultilineExample\r\n * NestedOptionsExample\r\n */\r\nvar List = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n spacingOptionsLocal = props.spacingOptions,\r\n rest = _objectWithoutProperties(props, ['classes', 'spacingOptions']);\r\n\r\n var spacingOptions = getSpacingOptions(spacingOptionsLocal);\r\n\r\n var classOverrides = Object.assign({\r\n // Style overrides\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(\r\n ListContext.Provider,\r\n { value: { spacingOptions: spacingOptions } },\r\n React.createElement(MuiList, Object.assign({}, rest, { classes: classOverrides, ref: ref }))\r\n );\r\n});\r\n\r\nList.muiName = 'List';\r\nList.displayName = 'List';\r\n\r\nList.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\r\n /**\r\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used for\r\n * the list and list items. The property is available to descendant components as the\r\n * `dense` context.\r\n */\r\n dense: PropTypes.bool,\r\n /**\r\n * If `true`, vertical padding will be removed from the list.\r\n */\r\n disablePadding: PropTypes.bool,\r\n /**\r\n * The content of the subheader, normally `ListSubheader`.\r\n */\r\n subheader: PropTypes.node,\r\n /**\r\n * Override global spacing options.\r\n * Available options are:\r\n * * `spacing: 'standard' | 'none'`\r\n * * Controls the padding around the `ListItems`.\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.string\r\n })\r\n};\r\n\r\nList.defaultProps = {\r\n dense: false,\r\n disablePadding: true,\r\n spacingOptions: { spacing: spacingVariant.STANDARD }\r\n};\r\n\r\nexport { ListContext };\r\nexport default withStyles(styles)(List);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useContext } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItem } from '@material-ui/core/ListItem';\r\nimport { spacing30, spacing40 } from '../styles/tokens';\r\nimport { ListContext } from './List';\r\nimport classNames from 'classnames';\r\nimport { spacingVariant } from '../globalSpacing';\r\n\r\nvar FOCUS_VISIBLE_CLASSNAME = 'eds-list-item-focus-visible';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n paddingTop: spacing30,\r\n paddingBottom: spacing30\r\n },\r\n listButton: _defineProperty({\r\n cursor: 'pointer',\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey['250']\r\n }\r\n }, '&.' + FOCUS_VISIBLE_CLASSNAME, {\r\n backgroundColor: '' + theme.palette.grey['250']\r\n }),\r\n gutters: {\r\n // Reset MUI default padding\r\n paddingLeft: spacing40,\r\n paddingRight: spacing40\r\n },\r\n none: {\r\n padding: 0\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * An item in a list.\r\n */\r\nvar ListItem = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var _props$classes = props.classes,\r\n root = _props$classes.root,\r\n restOfClasses = _objectWithoutProperties(_props$classes, ['root']),\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var _useContext = useContext(ListContext),\r\n spacing = _useContext.spacingOptions.spacing;\r\n\r\n var classOverrides = {\r\n root: classNames(root, (_classNames = {}, _defineProperty(_classNames, restOfClasses.none, spacing === spacingVariant.NONE), _defineProperty(_classNames, restOfClasses.listButton, props.button === true), _classNames)),\r\n gutters: restOfClasses.gutters\r\n };\r\n\r\n return React.createElement(MuiListItem, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n focusVisibleClassName: FOCUS_VISIBLE_CLASSNAME,\r\n ref: ref\r\n }));\r\n});\r\n\r\nListItem.muiName = 'ListItem';\r\nListItem.displayName = 'ListItem';\r\n\r\nListItem.propTypes = {\r\n /**\r\n * If `true`, the list item will be a button (using `ButtonBase`).\r\n */\r\n button: PropTypes.bool,\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The container component used when a `ListItemSecondaryAction` is rendered.\r\n */\r\n ContainerComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Properties applied to the container element when the component\r\n * is used to display a `ListItemSecondaryAction`.\r\n */\r\n ContainerProps: PropTypes.object,\r\n /**\r\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\r\n */\r\n dense: PropTypes.bool,\r\n /**\r\n * If `true`, the list item will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the left and right padding is removed.\r\n */\r\n disableGutters: PropTypes.bool,\r\n /**\r\n * If `true`, a 1px light border is added to the bottom of the list item.\r\n */\r\n divider: PropTypes.bool\r\n};\r\n\r\nListItem.defaultProps = {\r\n button: false,\r\n ContainerComponent: 'li',\r\n dense: false,\r\n disabled: false,\r\n disableGutters: false,\r\n divider: false\r\n};\r\n\r\nexport default withStyles(styles)(ListItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from '../List/ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n minWidth: 56,\n flexShrink: 0\n },\n\n /* Styles applied to the root element when the parent `ListItem` uses `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n marginTop: 8\n }\n};\n/**\n * A simple wrapper to apply `List` styles to an `Avatar`.\n */\n\nvar ListItemAvatar = React.forwardRef(function ListItemAvatar(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n var context = React.useContext(ListContext);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, context.alignItems === 'flex-start' && classes.alignItemsFlexStart),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemAvatar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component – normally `Avatar`.\n */\n children: PropTypes.element.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemAvatar'\n})(ListItemAvatar);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemAvatar } from '@material-ui/core/ListItemAvatar';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A simple wrapper component to apply avavtar styles to ListItems.\r\n */\r\nvar ListItemAvatar = function ListItemAvatar(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemAvatar, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListItemAvatar.muiName = 'ListItemAvatar';\r\n\r\nListItemAvatar.propTypes = {\r\n /**\r\n * The content of the component – normally `Avatar`.\r\n */\r\n children: PropTypes.element.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ListItemAvatar.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ListItemAvatar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from '../List/ListContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n minWidth: 56,\n color: theme.palette.action.active,\n flexShrink: 0,\n display: 'inline-flex'\n },\n\n /* Styles applied to the root element when the parent `ListItem` uses `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n marginTop: 8\n }\n };\n};\n/**\n * A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.\n */\n\nvar ListItemIcon = React.forwardRef(function ListItemIcon(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n var context = React.useContext(ListContext);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, context.alignItems === 'flex-start' && classes.alignItemsFlexStart),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally `Icon`, `SvgIcon`,\n * or a `@material-ui/icons` SVG icon element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemIcon'\n})(ListItemIcon);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemIcon } from '@material-ui/core/ListItemIcon';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A simple wrapper component to apply icon styles to ListItems.\r\n */\r\nvar ListItemIcon = function ListItemIcon(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemIcon, Object.assign({}, rest, {\r\n classes: classOverrides }));\r\n};\r\n\r\nListItemIcon.muiName = 'ListItemIcon';\r\n\r\nListItemIcon.propTypes = {\r\n /**\r\n * The content of the component, normally an icon\r\n */\r\n children: PropTypes.element.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(ListItemIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n position: 'absolute',\n right: 16,\n top: '50%',\n transform: 'translateY(-50%)'\n }\n};\n/**\n * Must be used as the last child of ListItem to function properly.\n */\n\nvar ListItemSecondaryAction = React.forwardRef(function ListItemSecondaryAction(props, ref) {\n var classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"classes\", \"className\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemSecondaryAction.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component, normally an `IconButton` or selection control.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nListItemSecondaryAction.muiName = 'ListItemSecondaryAction';\nexport default withStyles(styles, {\n name: 'MuiListItemSecondaryAction'\n})(ListItemSecondaryAction);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemSecondaryAction } from '@material-ui/core/ListItemSecondaryAction';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A simple wrapper component to apply secondary action styles to ListItems.\r\n */\r\nvar ListItemSecondaryAction = function ListItemSecondaryAction(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemSecondaryAction, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListItemSecondaryAction.muiName = 'ListItemSecondaryAction';\r\n\r\nListItemSecondaryAction.propTypes = {\r\n /**\r\n * The content of the component, normally an `IconButton` or selection control.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// ListItemSecondaryAction.defaultProps = { };\r\n\r\nexport default withStyles(styles)(ListItemSecondaryAction);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport ListContext from '../List/ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto',\n minWidth: 0,\n marginTop: 4,\n marginBottom: 4\n },\n\n /* Styles applied to the `Typography` components if primary and secondary are set. */\n multiline: {\n marginTop: 6,\n marginBottom: 6\n },\n\n /* Styles applied to the `Typography` components if dense. */\n dense: {},\n\n /* Styles applied to the root element if `inset={true}`. */\n inset: {\n paddingLeft: 56\n },\n\n /* Styles applied to the primary `Typography` component. */\n primary: {},\n\n /* Styles applied to the secondary `Typography` component. */\n secondary: {}\n};\nvar ListItemText = React.forwardRef(function ListItemText(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n _props$inset = props.inset,\n inset = _props$inset === void 0 ? false : _props$inset,\n primaryProp = props.primary,\n primaryTypographyProps = props.primaryTypographyProps,\n secondaryProp = props.secondary,\n secondaryTypographyProps = props.secondaryTypographyProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"disableTypography\", \"inset\", \"primary\", \"primaryTypographyProps\", \"secondary\", \"secondaryTypographyProps\"]);\n\n var _React$useContext = React.useContext(ListContext),\n dense = _React$useContext.dense;\n\n var primary = primaryProp != null ? primaryProp : children;\n\n if (primary != null && primary.type !== Typography && !disableTypography) {\n primary = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: dense ? 'body2' : 'body1',\n className: classes.primary,\n component: \"span\",\n display: \"block\"\n }, primaryTypographyProps), primary);\n }\n\n var secondary = secondaryProp;\n\n if (secondary != null && secondary.type !== Typography && !disableTypography) {\n secondary = /*#__PURE__*/React.createElement(Typography, _extends({\n variant: \"body2\",\n className: classes.secondary,\n color: \"textSecondary\",\n display: \"block\"\n }, secondaryTypographyProps), secondary);\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, dense && classes.dense, inset && classes.inset, primary && secondary && classes.multiline),\n ref: ref\n }, other), primary, secondary);\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItemText.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Alias for the `primary` prop.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the children won't be wrapped by a Typography component.\n * This can be useful to render an alternative Typography variant by wrapping\n * the `children` (or `primary`) text, and optional `secondary` text\n * with the Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * If `true`, the children will be indented.\n * This should be used if there is no left avatar or left icon.\n */\n inset: PropTypes.bool,\n\n /**\n * The main content element.\n */\n primary: PropTypes.node,\n\n /**\n * These props will be forwarded to the primary typography component\n * (as long as disableTypography is not `true`).\n */\n primaryTypographyProps: PropTypes.object,\n\n /**\n * The secondary content element.\n */\n secondary: PropTypes.node,\n\n /**\n * These props will be forwarded to the secondary typography component\n * (as long as disableTypography is not `true`).\n */\n secondaryTypographyProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItemText'\n})(ListItemText);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListItemText } from '@material-ui/core/ListItemText';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n margin: 0\r\n },\r\n multiline: {\r\n margin: 0 // Reset MUI margin\r\n },\r\n // Note that these styles propagate out to components that use List, e.g. Dropdown\r\n primary: { // Primary typography components\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: theme.typography.body2.lineHeight\r\n },\r\n secondary: { // Secondary typography components\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.caption.fontSize,\r\n fontWeight: theme.typography.fontWeightRegular,\r\n lineHeight: theme.typography.caption.lineHeight\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that applies correct text styling to ListItems.\r\n */\r\nvar ListItemText = function ListItemText(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n root: classes.root,\r\n primary: classes.primary,\r\n secondary: classes.secondary\r\n }, classes);\r\n\r\n return React.createElement(MuiListItemText, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListItemText.muiName = 'ListItemText';\r\n\r\nListItemText.propTypes = {\r\n /**\r\n * Alias for the `primary` property.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the children won't be wrapped by a Typography component.\r\n * This can be useful to render an alternative Typography variant by wrapping\r\n * the `children` (or `primary`) text, and optional `secondary` text\r\n * with the Typography component.\r\n */\r\n disableTypography: PropTypes.bool,\r\n /**\r\n * If `true`, the children will be indented.\r\n * This should be used if there is no left avatar or left icon.\r\n */\r\n inset: PropTypes.bool,\r\n /**\r\n * The main content element.\r\n */\r\n primary: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the primary typography component\r\n * (as long as disableTypography is not `true`).\r\n */\r\n primaryTypographyProps: PropTypes.object,\r\n /**\r\n * The secondary content element.\r\n */\r\n secondary: PropTypes.node,\r\n /**\r\n * These props will be forwarded to the secondary typography component\r\n * (as long as disableTypography is not `true`).\r\n */\r\n secondaryTypographyProps: PropTypes.object\r\n};\r\n\r\nListItemText.defaultProps = {\r\n disableTypography: false,\r\n inset: false\r\n};\r\n\r\nexport default withStyles(styles)(ListItemText);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n boxSizing: 'border-box',\n lineHeight: '48px',\n listStyle: 'none',\n color: theme.palette.text.secondary,\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(14)\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the root element if `inset={true}`. */\n inset: {\n paddingLeft: 72\n },\n\n /* Styles applied to the root element if `disableSticky={false}`. */\n sticky: {\n position: 'sticky',\n top: 0,\n zIndex: 1,\n backgroundColor: 'inherit'\n }\n };\n};\nvar ListSubheader = React.forwardRef(function ListSubheader(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'li' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$disableSticky = props.disableSticky,\n disableSticky = _props$disableSticky === void 0 ? false : _props$disableSticky,\n _props$inset = props.inset,\n inset = _props$inset === void 0 ? false : _props$inset,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"component\", \"disableGutters\", \"disableSticky\", \"inset\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'default' && classes[\"color\".concat(capitalize(color))], inset && classes.inset, !disableSticky && classes.sticky, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListSubheader.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'inherit']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the List Subheader will not have gutters.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, the List Subheader will not stick to the top during scroll.\n */\n disableSticky: PropTypes.bool,\n\n /**\n * If `true`, the List Subheader will be indented.\n */\n inset: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListSubheader'\n})(ListSubheader);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiListSubheader } from '@material-ui/core/ListSubheader';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {}\r\n };\r\n};\r\n\r\n/**\r\n * A component that....\r\n */\r\nvar ListSubheader = function ListSubheader(props) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = Object.assign({\r\n // See Material UI documentation for available CSS classes can be passed through to override\r\n root: classes.root\r\n }, classes);\r\n\r\n return React.createElement(MuiListSubheader, Object.assign({}, rest, {\r\n classes: classOverrides\r\n }));\r\n};\r\n\r\nListSubheader.muiName = 'ListSubheader';\r\n\r\nListSubheader.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The color of the component. It supports those theme colors that make sense for this component.\r\n */\r\n color: PropTypes.oneOf(['default', 'primary', 'inherit']),\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the List Subheader will not stick to the top during scroll.\r\n */\r\n disableSticky: PropTypes.bool,\r\n /**\r\n * If `true`, the List Subheader will be indented.\r\n */\r\n inset: PropTypes.bool\r\n};\r\n\r\nListSubheader.defaultProps = {\r\n color: 'default',\r\n component: 'li',\r\n disableSticky: false,\r\n inset: false\r\n};\r\n\r\nexport default withStyles(styles)(ListSubheader);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto'\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n marginLeft: 12,\n // half icon\n padding: '0 0 8px'\n },\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n position: 'absolute',\n top: 8 + 4,\n left: 'calc(-50% + 20px)',\n right: 'calc(50% + 20px)'\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the line element. */\n line: {\n display: 'block',\n borderColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n lineHorizontal: {\n borderTopStyle: 'solid',\n borderTopWidth: 1\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n lineVertical: {\n borderLeftStyle: 'solid',\n borderLeftWidth: 1,\n minHeight: 24\n }\n };\n};\nvar StepConnector = React.forwardRef(function StepConnector(props, ref) {\n var active = props.active,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n disabled = props.disabled,\n index = props.index,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"classes\", \"className\", \"completed\", \"disabled\", \"index\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel, active && classes.active, completed && classes.completed, disabled && classes.disabled),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.line, {\n 'horizontal': classes.lineHorizontal,\n 'vertical': classes.lineVertical\n }[orientation])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepConnector.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepConnector'\n})(StepConnector);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport StepConnector from '../StepConnector';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n padding: 24\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {\n flexDirection: 'row',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n alignItems: 'flex-start'\n }\n};\nvar defaultConnector = /*#__PURE__*/React.createElement(StepConnector, null);\nvar Stepper = React.forwardRef(function Stepper(props, ref) {\n var _props$activeStep = props.activeStep,\n activeStep = _props$activeStep === void 0 ? 0 : _props$activeStep,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$connector = props.connector,\n connectorProp = _props$connector === void 0 ? defaultConnector : _props$connector,\n _props$nonLinear = props.nonLinear,\n nonLinear = _props$nonLinear === void 0 ? false : _props$nonLinear,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n other = _objectWithoutProperties(props, [\"activeStep\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"connector\", \"nonLinear\", \"orientation\"]);\n\n var connector = React.isValidElement(connectorProp) ? React.cloneElement(connectorProp, {\n orientation: orientation\n }) : null;\n var childrenArray = React.Children.toArray(children);\n var steps = childrenArray.map(function (step, index) {\n var controlProps = {\n alternativeLabel: alternativeLabel,\n connector: connectorProp,\n last: index + 1 === childrenArray.length,\n orientation: orientation\n };\n var state = {\n index: index,\n active: false,\n completed: false,\n disabled: false\n };\n\n if (activeStep === index) {\n state.active = true;\n } else if (!nonLinear && activeStep > index) {\n state.completed = true;\n } else if (!nonLinear && activeStep < index) {\n state.disabled = true;\n }\n\n return [!alternativeLabel && connector && index !== 0 && React.cloneElement(connector, _extends({\n key: index\n }, state)), React.cloneElement(step, _extends(_extends(_extends({}, controlProps), state), step.props))];\n });\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n elevation: 0,\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel),\n ref: ref\n }, other), steps);\n});\nprocess.env.NODE_ENV !== \"production\" ? Stepper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the active step (zero based index).\n * Set to -1 to disable all the steps.\n */\n activeStep: PropTypes.number,\n\n /**\n * If set to 'true' and orientation is horizontal,\n * then the step label will be positioned under the icon.\n */\n alternativeLabel: PropTypes.bool,\n\n /**\n * Two or more `` components.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * An element to be placed between each step.\n */\n connector: PropTypes.element,\n\n /**\n * If set the `Stepper` will not assist in controlling steps for linear flow.\n */\n nonLinear: PropTypes.bool,\n\n /**\n * The stepper orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepper'\n})(Stepper);","export var STEP_PROGRESS_STEP_CLASSNAME = 'eds-step-progress-step';\r\nexport var MOBILE_STEPPER_LABEL_CLASSNAME = 'eds-mobile-stepper-label';\r\nexport var STEP_LABEL_CONTAINER_CLASSNAME = 'eds-step-label-container';\r\nexport var STEP_LABEL_CLASSNAME = 'eds-step-label';\r\nexport var STEP_LABEL_ERROR_CLASSNAME = 'eds-step-label-error';\r\nexport var STEP_LABEL_HAS_ERROR_CLASSNAME = 'eds-step-label-has-error';\r\nexport var ACTIVE_STEP_SCREEN_READER_TEXT = 'eds-active-step-screen-reader-text';","import * as React from 'react';\r\nexport default React.createContext({});","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect, useState, useRef } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { withEDSContext } from './../EDSContext/EDSContext';\r\nimport { Stepper as MuiStepper, StepConnector } from '@material-ui/core';\r\nimport Typography from '../Typography';\r\nimport { STEP_LABEL_CONTAINER_CLASSNAME, STEP_LABEL_CLASSNAME, STEP_PROGRESS_STEP_CLASSNAME, STEP_LABEL_ERROR_CLASSNAME, STEP_LABEL_HAS_ERROR_CLASSNAME, ACTIVE_STEP_SCREEN_READER_TEXT } from './internal/constants.js';\r\n\r\nimport { spacing30, spacing50 } from '../styles/tokens';\r\n\r\nimport StepProgressContext from './internal/StepProgressContext';\r\n\r\nimport makeStyles from '../makeStyles';\r\nimport { isNil } from 'lodash';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n background: 'transparent'\r\n },\r\n expansionless: {\r\n '& > div:first-child': {\r\n paddingLeft: '0px'\r\n },\r\n '& > div:last-child': {\r\n paddingRight: '0px'\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n root: {\r\n padding: '0 0 ' + spacing30,\r\n marginLeft: '0.75rem',\r\n minHeight: spacing50\r\n }\r\n };\r\n});\r\n\r\nvar ExpansionConnector = function ExpansionConnector() {\r\n var classes = useStyles();\r\n\r\n return React.createElement('div', { className: classes.root });\r\n};\r\n\r\n/**\r\n * Use `StepProgress` to display a user's progress through numbered steps.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.14\r\n * @examples\r\n * LinearHorizontalExample\r\n * NonLinearExample\r\n * AlternativeLabelExample\r\n * VerticalExample\r\n * ErrorStateExample\r\n * MobileStepperExample\r\n * NonLinearDisabledExample\r\n * VerticalExpansionExample\r\n */\r\nvar StepProgress = React.forwardRef(function (props, ref) {\r\n var _useState = useState(''),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n stepLabel = _useState2[0],\r\n setStepLabel = _useState2[1];\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n hasStepError = _useState4[0],\r\n setHasStepError = _useState4[1];\r\n\r\n var _useState5 = useState(''),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n errorLabel = _useState6[0],\r\n setErrorLabel = _useState6[1];\r\n\r\n var localRef = ref || useRef();\r\n\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n connector = props.connector,\r\n orientation = props.orientation,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext', 'connector', 'orientation']);\r\n\r\n var classOverrides = {\r\n root: cn(classes.root, _defineProperty({}, classes.expansionless, orientation !== 'vertical-expansion'))\r\n };\r\n\r\n // This effect sets the `aria-label` to say `, / \r\n // by the screen reader by extracting all the step labels\r\n useEffect(function () {\r\n var stepLabels = localRef.current.querySelectorAll('.' + STEP_LABEL_CLASSNAME);\r\n\r\n stepLabels.forEach(function (localStepLabel, i) {\r\n localStepLabel.setAttribute('aria-label', edsContext.formatMessage('component.StepProgress.a11yLabel', {\r\n label: localStepLabel.textContent.replace(/^[0-9]/, ''),\r\n step: i + 1,\r\n totalSteps: stepLabels.length\r\n }));\r\n\r\n localStepLabel.setAttribute('data-step-number', edsContext.formatMessage('component.StepProgress.errorOnStepLabel', {\r\n number: i + 1\r\n }));\r\n });\r\n }, [localRef, edsContext]);\r\n\r\n // This effect sets the div with current step content with error message if there is one.\r\n useEffect(function () {\r\n try {\r\n var stepLabels = localRef.current.querySelectorAll('.' + STEP_LABEL_CLASSNAME);\r\n var activeStep = stepLabels[props.activeStep];\r\n var localStepLabel = localRef.current.querySelectorAll('.' + STEP_PROGRESS_STEP_CLASSNAME)[props.activeStep];\r\n var localErrorLabel = localStepLabel && localStepLabel.querySelector('.' + STEP_LABEL_ERROR_CLASSNAME);\r\n var secondaryLabel = localErrorLabel ? localErrorLabel.textContent : '';\r\n setHasStepError(activeStep ? activeStep.classList.contains(STEP_LABEL_HAS_ERROR_CLASSNAME) : '');\r\n setErrorLabel(secondaryLabel);\r\n setStepLabel(props.activeStep + 1 > stepLabels.length ? edsContext.formatMessage('component.MobileStepper.allStepsCompleted') : activeStep && activeStep.getAttribute('aria-label'));\r\n } catch (error) {\r\n console.log(error);\r\n }\r\n }, [props.activeStep, localRef, edsContext]);\r\n\r\n var contextValue = React.useMemo(function () {\r\n return { expansion: orientation === 'vertical-expansion' };\r\n }, [orientation]);\r\n\r\n // Error message for the active step\r\n var getStepErrorMessage = function getStepErrorMessage() {\r\n var errorMessage = edsContext.formatMessage('component.StepProgress.errorMessage', {\r\n errorMessage: errorLabel\r\n });\r\n var text = stepLabel;\r\n\r\n text += hasStepError ? ', ' + edsContext.formatMessage('component.StepProgress.errorMessageTitle') : '';\r\n text += errorLabel.length ? ', ' + errorMessage : '';\r\n\r\n return text;\r\n };\r\n\r\n // All error messages to convey when user moves from one step to another\r\n // This is only when current step is not in error state.\r\n // If current step is in error state then current step's error message will take precedence.\r\n var getErrorMessagesForAllSteps = function getErrorMessagesForAllSteps() {\r\n if (hasStepError) {\r\n return '';\r\n }\r\n\r\n var text = '';\r\n var errors = localRef.current && localRef.current.querySelectorAll('.' + STEP_LABEL_CONTAINER_CLASSNAME);\r\n\r\n if (errors && errors.length) {\r\n errors.forEach(function (error) {\r\n var label = error.querySelector('.' + STEP_LABEL_HAS_ERROR_CLASSNAME);\r\n var number = label && label.getAttribute('data-step-number');\r\n var errorMessage = error.querySelector('.' + STEP_LABEL_ERROR_CLASSNAME);\r\n\r\n if (label) {\r\n text += (number || '') + ',' + (' ' + (label.textContent || '') + ',') + (' ' + (errorMessage ? errorMessage.textContent : '') + '. ');\r\n }\r\n });\r\n }\r\n\r\n return text ? edsContext.formatMessage('component.StepProgress.errors') + ', ' + text : '';\r\n };\r\n\r\n var localConnector = void 0;\r\n\r\n if (isNil(connector)) {\r\n localConnector = props.orientation === 'vertical-expansion' ? React.createElement(ExpansionConnector, null) : React.createElement(StepConnector, null);\r\n }\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n StepProgressContext.Provider,\r\n { value: contextValue },\r\n React.createElement(MuiStepper, Object.assign({}, rest, {\r\n connector: localConnector,\r\n orientation: orientation === 'vertical-expansion' ? 'vertical' : orientation,\r\n classes: classOverrides,\r\n ref: localRef\r\n })),\r\n React.createElement(\r\n Typography,\r\n { variant: 'srOnly',\r\n 'aria-live': 'assertive',\r\n className: ACTIVE_STEP_SCREEN_READER_TEXT\r\n },\r\n getStepErrorMessage() + ' ' + getErrorMessagesForAllSteps()\r\n )\r\n )\r\n );\r\n});\r\n\r\nStepProgress.muiName = 'Stepper';\r\nStepProgress.displayName = 'StepProgress';\r\n\r\nStepProgress.propTypes = {\r\n /**\r\n * Set the active step (zero based index).\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * If set to 'true' and orientation is `horizontal`,\r\n * then the step label will be positioned under the icon.\r\n */\r\n alternativeLabel: PropTypes.bool,\r\n /**\r\n * Two or more `` components.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * A component to be placed between each step.\r\n */\r\n connector: PropTypes.element,\r\n /**\r\n * If set the `StepProgress` will not assist in controlling steps for linear flow.\r\n */\r\n nonLinear: PropTypes.bool,\r\n /**\r\n * The stepper orientation (layout flow direction).\r\n */\r\n orientation: PropTypes.oneOf(['horizontal', 'vertical', 'vertical-expansion'])\r\n};\r\n\r\nStepProgress.defaultProps = {\r\n activeStep: 0,\r\n alternativeLabel: false,\r\n nonLinear: false,\r\n orientation: 'horizontal'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(StepProgress));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nimport { darken, lighten } from '../styles/colorManipulator';\nimport useTheme from '../styles/useTheme';\nvar TRANSITION_DURATION = 4; // seconds\n\nexport var styles = function styles(theme) {\n var getColor = function getColor(color) {\n return theme.palette.type === 'light' ? lighten(color, 0.62) : darken(color, 0.5);\n };\n\n var backgroundPrimary = getColor(theme.palette.primary.main);\n var backgroundSecondary = getColor(theme.palette.secondary.main);\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n overflow: 'hidden',\n height: 4,\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root and bar2 element if `color=\"primary\"`; bar2 if `variant=\"buffer\"`. */\n colorPrimary: {\n backgroundColor: backgroundPrimary\n },\n\n /* Styles applied to the root and bar2 elements if `color=\"secondary\"`; bar2 if `variant=\"buffer\"`. */\n colorSecondary: {\n backgroundColor: backgroundSecondary\n },\n\n /* Styles applied to the root element if `variant=\"determinate\"`. */\n determinate: {},\n\n /* Styles applied to the root element if `variant=\"indeterminate\"`. */\n indeterminate: {},\n\n /* Styles applied to the root element if `variant=\"buffer\"`. */\n buffer: {\n backgroundColor: 'transparent'\n },\n\n /* Styles applied to the root element if `variant=\"query\"`. */\n query: {\n transform: 'rotate(180deg)'\n },\n\n /* Styles applied to the additional bar element if `variant=\"buffer\"`. */\n dashed: {\n position: 'absolute',\n marginTop: 0,\n height: '100%',\n width: '100%',\n animation: '$buffer 3s infinite linear'\n },\n\n /* Styles applied to the additional bar element if `variant=\"buffer\"` and `color=\"primary\"`. */\n dashedColorPrimary: {\n backgroundImage: \"radial-gradient(\".concat(backgroundPrimary, \" 0%, \").concat(backgroundPrimary, \" 16%, transparent 42%)\"),\n backgroundSize: '10px 10px',\n backgroundPosition: '0px -23px'\n },\n\n /* Styles applied to the additional bar element if `variant=\"buffer\"` and `color=\"secondary\"`. */\n dashedColorSecondary: {\n backgroundImage: \"radial-gradient(\".concat(backgroundSecondary, \" 0%, \").concat(backgroundSecondary, \" 16%, transparent 42%)\"),\n backgroundSize: '10px 10px',\n backgroundPosition: '0px -23px'\n },\n\n /* Styles applied to the layered bar1 and bar2 elements. */\n bar: {\n width: '100%',\n position: 'absolute',\n left: 0,\n bottom: 0,\n top: 0,\n transition: 'transform 0.2s linear',\n transformOrigin: 'left'\n },\n\n /* Styles applied to the bar elements if `color=\"primary\"`; bar2 if `variant` not \"buffer\". */\n barColorPrimary: {\n backgroundColor: theme.palette.primary.main\n },\n\n /* Styles applied to the bar elements if `color=\"secondary\"`; bar2 if `variant` not \"buffer\". */\n barColorSecondary: {\n backgroundColor: theme.palette.secondary.main\n },\n\n /* Styles applied to the bar1 element if `variant=\"indeterminate or query\"`. */\n bar1Indeterminate: {\n width: 'auto',\n animation: '$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite'\n },\n\n /* Styles applied to the bar1 element if `variant=\"determinate\"`. */\n bar1Determinate: {\n transition: \"transform .\".concat(TRANSITION_DURATION, \"s linear\")\n },\n\n /* Styles applied to the bar1 element if `variant=\"buffer\"`. */\n bar1Buffer: {\n zIndex: 1,\n transition: \"transform .\".concat(TRANSITION_DURATION, \"s linear\")\n },\n\n /* Styles applied to the bar2 element if `variant=\"indeterminate or query\"`. */\n bar2Indeterminate: {\n width: 'auto',\n animation: '$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite'\n },\n\n /* Styles applied to the bar2 element if `variant=\"buffer\"`. */\n bar2Buffer: {\n transition: \"transform .\".concat(TRANSITION_DURATION, \"s linear\")\n },\n // Legends:\n // || represents the viewport\n // - represents a light background\n // x represents a dark background\n '@keyframes indeterminate1': {\n // |-----|---x-||-----||-----|\n '0%': {\n left: '-35%',\n right: '100%'\n },\n // |-----|-----||-----||xxxx-|\n '60%': {\n left: '100%',\n right: '-90%'\n },\n '100%': {\n left: '100%',\n right: '-90%'\n }\n },\n '@keyframes indeterminate2': {\n // |xxxxx|xxxxx||-----||-----|\n '0%': {\n left: '-200%',\n right: '100%'\n },\n // |-----|-----||-----||-x----|\n '60%': {\n left: '107%',\n right: '-8%'\n },\n '100%': {\n left: '107%',\n right: '-8%'\n }\n },\n '@keyframes buffer': {\n '0%': {\n opacity: 1,\n backgroundPosition: '0px -23px'\n },\n '50%': {\n opacity: 0,\n backgroundPosition: '0px -23px'\n },\n '100%': {\n opacity: 1,\n backgroundPosition: '-200px -23px'\n }\n }\n };\n};\n/**\n * ## ARIA\n *\n * If the progress bar is describing the loading progress of a particular region of a page,\n * you should use `aria-describedby` to point to the progress bar, and set the `aria-busy`\n * attribute to `true` on that region until it has finished loading.\n */\n\nvar LinearProgress = React.forwardRef(function LinearProgress(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n value = props.value,\n valueBuffer = props.valueBuffer,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'indeterminate' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"value\", \"valueBuffer\", \"variant\"]);\n\n var theme = useTheme();\n var rootProps = {};\n var inlineStyles = {\n bar1: {},\n bar2: {}\n };\n\n if (variant === 'determinate' || variant === 'buffer') {\n if (value !== undefined) {\n rootProps['aria-valuenow'] = Math.round(value);\n var transform = value - 100;\n\n if (theme.direction === 'rtl') {\n transform = -transform;\n }\n\n inlineStyles.bar1.transform = \"translateX(\".concat(transform, \"%)\");\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: You need to provide a value prop ' + 'when using the determinate or buffer variant of LinearProgress .');\n }\n }\n\n if (variant === 'buffer') {\n if (valueBuffer !== undefined) {\n var _transform = (valueBuffer || 0) - 100;\n\n if (theme.direction === 'rtl') {\n _transform = -_transform;\n }\n\n inlineStyles.bar2.transform = \"translateX(\".concat(_transform, \"%)\");\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');\n }\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, {\n 'determinate': classes.determinate,\n 'indeterminate': classes.indeterminate,\n 'buffer': classes.buffer,\n 'query': classes.query\n }[variant]),\n role: \"progressbar\"\n }, rootProps, {\n ref: ref\n }, other), variant === 'buffer' ? /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.dashed, classes[\"dashedColor\".concat(capitalize(color))])\n }) : null, /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.bar, classes[\"barColor\".concat(capitalize(color))], (variant === 'indeterminate' || variant === 'query') && classes.bar1Indeterminate, {\n 'determinate': classes.bar1Determinate,\n 'buffer': classes.bar1Buffer\n }[variant]),\n style: inlineStyles.bar1\n }), variant === 'determinate' ? null : /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.bar, (variant === 'indeterminate' || variant === 'query') && classes.bar2Indeterminate, variant === 'buffer' ? [classes[\"color\".concat(capitalize(color))], classes.bar2Buffer] : classes[\"barColor\".concat(capitalize(color))]),\n style: inlineStyles.bar2\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? LinearProgress.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The value of the progress indicator for the determinate and buffer variants.\n * Value between 0 and 100.\n */\n value: PropTypes.number,\n\n /**\n * The value for the buffer variant.\n * Value between 0 and 100.\n */\n valueBuffer: PropTypes.number,\n\n /**\n * The variant to use.\n * Use indeterminate or query when there is no progress value.\n */\n variant: PropTypes.oneOf(['buffer', 'determinate', 'indeterminate', 'query'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiLinearProgress'\n})(LinearProgress);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport capitalize from '../utils/capitalize';\nimport LinearProgress from '../LinearProgress';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n background: theme.palette.background.default,\n padding: 8\n },\n\n /* Styles applied to the root element if `position=\"bottom\"`. */\n positionBottom: {\n position: 'fixed',\n bottom: 0,\n left: 0,\n right: 0,\n zIndex: theme.zIndex.mobileStepper\n },\n\n /* Styles applied to the root element if `position=\"top\"`. */\n positionTop: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n zIndex: theme.zIndex.mobileStepper\n },\n\n /* Styles applied to the root element if `position=\"static\"`. */\n positionStatic: {},\n\n /* Styles applied to the dots container if `variant=\"dots\"`. */\n dots: {\n display: 'flex',\n flexDirection: 'row'\n },\n\n /* Styles applied to each dot if `variant=\"dots\"`. */\n dot: {\n backgroundColor: theme.palette.action.disabled,\n borderRadius: '50%',\n width: 8,\n height: 8,\n margin: '0 2px'\n },\n\n /* Styles applied to a dot if `variant=\"dots\"` and this is the active step. */\n dotActive: {\n backgroundColor: theme.palette.primary.main\n },\n\n /* Styles applied to the Linear Progress component if `variant=\"progress\"`. */\n progress: {\n width: '50%'\n }\n };\n};\nvar MobileStepper = React.forwardRef(function MobileStepper(props, ref) {\n var _props$activeStep = props.activeStep,\n activeStep = _props$activeStep === void 0 ? 0 : _props$activeStep,\n backButton = props.backButton,\n classes = props.classes,\n className = props.className,\n LinearProgressProps = props.LinearProgressProps,\n nextButton = props.nextButton,\n _props$position = props.position,\n position = _props$position === void 0 ? 'bottom' : _props$position,\n steps = props.steps,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'dots' : _props$variant,\n other = _objectWithoutProperties(props, [\"activeStep\", \"backButton\", \"classes\", \"className\", \"LinearProgressProps\", \"nextButton\", \"position\", \"steps\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n elevation: 0,\n className: clsx(classes.root, classes[\"position\".concat(capitalize(position))], className),\n ref: ref\n }, other), backButton, variant === 'text' && /*#__PURE__*/React.createElement(React.Fragment, null, activeStep + 1, \" / \", steps), variant === 'dots' && /*#__PURE__*/React.createElement(\"div\", {\n className: classes.dots\n }, _toConsumableArray(new Array(steps)).map(function (_, index) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: index,\n className: clsx(classes.dot, index === activeStep && classes.dotActive)\n });\n })), variant === 'progress' && /*#__PURE__*/React.createElement(LinearProgress, _extends({\n className: classes.progress,\n variant: \"determinate\",\n value: Math.ceil(activeStep / (steps - 1) * 100)\n }, LinearProgressProps)), nextButton);\n});\nprocess.env.NODE_ENV !== \"production\" ? MobileStepper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Set the active step (zero based index).\n * Defines which dot is highlighted when the variant is 'dots'.\n */\n activeStep: PropTypes.number,\n\n /**\n * A back button element. For instance, it can be a `Button` or an `IconButton`.\n */\n backButton: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Props applied to the `LinearProgress` element.\n */\n LinearProgressProps: PropTypes.object,\n\n /**\n * A next button element. For instance, it can be a `Button` or an `IconButton`.\n */\n nextButton: PropTypes.node,\n\n /**\n * Set the positioning type.\n */\n position: PropTypes.oneOf(['bottom', 'static', 'top']),\n\n /**\n * The total steps.\n */\n steps: PropTypes.number.isRequired,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['dots', 'progress', 'text'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMobileStepper'\n})(MobileStepper);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Typography from '../Typography';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperCounter = React.forwardRef(function (props, ref) {\r\n var activeStep = props.activeStep,\r\n steps = props.steps,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['activeStep', 'steps', 'edsContext']);\r\n\r\n return React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'body2' }, rest, { ref: ref }),\r\n edsContext.formatMessage('component.MobileStepper.step', {\r\n step: activeStep + 1 >= steps ? steps : activeStep + 1,\r\n count: steps\r\n })\r\n );\r\n});\r\n\r\nMobileStepperCounter.propTypes = {\r\n /**\r\n * Set the active step (zero based index). This should be the same value that is being sent to the component.\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * The total steps. This should be the same value that is being sent to the component.\r\n */\r\n steps: PropTypes.number.isRequired,\r\n /**\r\n * Props will be passed into the rendered `` component.\r\n */\r\n props: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nMobileStepperCounter.displayName = 'MobileStepperCounter';\r\n\r\nexport default withEDSContext(MobileStepperCounter);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport capitalize from 'lodash/capitalize';\r\nimport { withEDSContext } from './../EDSContext/EDSContext';\r\nimport { default as withStyles } from '../styles';\r\nimport { MobileStepper as MuiMobileStepper } from '@material-ui/core';\r\nimport MobileStepperCounter from './MobileStepperCounter';\r\nimport { MOBILE_STEPPER_LABEL_CLASSNAME } from './internal/constants';\r\nimport { spacing30, spacing50, sizingXxLarge1 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey[200],\r\n height: sizingXxLarge1,\r\n padding: '0 ' + spacing50\r\n },\r\n // StepCounter styles when position is bottom\r\n stepCounterBottom: {\r\n position: 'fixed',\r\n transform: 'translate(-50%, -50%)',\r\n textAlign: 'center',\r\n left: '50%',\r\n bottom: spacing30,\r\n zIndex: theme.zIndex.mobileStepper + 1 // MUI defined z-index + 1 to show on top of the MuiMobileStepper\r\n },\r\n // StepCounter styles when position is static\r\n stepCounterStatic: {\r\n position: 'relative',\r\n textAlign: 'center',\r\n top: 40\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Mobile step progress\r\n */\r\nvar MobileStepper = React.forwardRef(function (props, ref) {\r\n var _useState = useState(''),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n label = _useState2[0],\r\n setLabel = _useState2[1];\r\n\r\n var localRef = ref || useRef();\r\n\r\n var classes = props.classes,\r\n activeStep = props.activeStep,\r\n steps = props.steps,\r\n StepCounterContent = props.StepCounterContent,\r\n position = props.position,\r\n children = props.children,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'activeStep', 'steps', 'StepCounterContent', 'position', 'children', 'edsContext']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n var mobileStepperCounterClassName = classNames(classes['stepCounter' + capitalize(position)]);\r\n\r\n // This effect sets the div with current step content with error message if there is one.\r\n useEffect(function () {\r\n var mobileStepLabel = localRef.current.querySelector('.' + MOBILE_STEPPER_LABEL_CLASSNAME);\r\n setLabel(props.activeStep + 1 > steps ? edsContext.formatMessage('component.MobileStepper.allStepsCompleted') : edsContext.formatMessage('component.MobileStepper.a11yLabel', {\r\n label: mobileStepLabel && mobileStepLabel.textContent\r\n }));\r\n }, [props.activeStep, steps, edsContext, localRef]);\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: localRef },\r\n children,\r\n StepCounterContent ? React.createElement(\r\n 'div',\r\n { className: mobileStepperCounterClassName },\r\n StepCounterContent\r\n ) : React.createElement(\r\n 'div',\r\n { className: mobileStepperCounterClassName,\r\n 'aria-atomic': 'false',\r\n 'aria-live': 'assertive',\r\n 'aria-label': label\r\n },\r\n React.createElement(MobileStepperCounter, { activeStep: activeStep, steps: steps, position: position })\r\n ),\r\n React.createElement(MuiMobileStepper, Object.assign({\r\n steps: steps,\r\n activeStep: activeStep,\r\n position: position,\r\n classes: classOverrides,\r\n variant: null\r\n }, rest))\r\n );\r\n});\r\n\r\nMobileStepper.muiName = 'MobileStepper';\r\nMobileStepper.displayName = 'MobileStepper';\r\n\r\nMobileStepper.propTypes = {\r\n /**\r\n * Set the active step (zero based index).\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * A back button element. For instance, it can be be a `Button` or a `IconButton`.\r\n */\r\n backButton: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The children will be rendered before the `` and the bottom control bar.\r\n */\r\n children: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object, PropTypes.node]),\r\n /**\r\n * A next button element. For instance, it can be be a `Button` or a `IconButton`.\r\n */\r\n nextButton: PropTypes.node,\r\n /**\r\n * Set the positioning type.\r\n */\r\n position: PropTypes.oneOf(['bottom', 'static']),\r\n /**\r\n * The total steps.\r\n */\r\n steps: PropTypes.number.isRequired,\r\n /**\r\n * Sent in a custom step counter.\r\n */\r\n StepCounterContent: PropTypes.node\r\n};\r\n\r\n// default property values\r\nMobileStepper.defaultProps = {\r\n activeStep: 0,\r\n position: 'bottom'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(MobileStepper));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport { spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n currentStepContainer: {\r\n alignContent: 'stretch',\r\n alignItems: 'center',\r\n display: 'flex',\r\n flexDirection: 'row',\r\n flexWrap: 'nowrap',\r\n justifyContent: 'flex-start',\r\n marginBottom: spacing50\r\n },\r\n currentStep: {\r\n\r\n alignSelf: 'auto',\r\n backgroundColor: theme.palette.ctaColor.base,\r\n borderRadius: '100%',\r\n flex: '0 1 auto',\r\n height: spacing60,\r\n order: 0,\r\n textAlign: 'center',\r\n width: spacing60\r\n },\r\n currentStepNumber: {\r\n color: theme.palette.grey[100],\r\n position: 'relative',\r\n top: '0.3rem'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperStep = React.forwardRef(function (props, ref) {\r\n var activeStep = props.activeStep,\r\n classes = props.classes;\r\n\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.currentStepContainer, ref: ref },\r\n React.createElement(\r\n 'div',\r\n { className: classes.currentStep },\r\n React.createElement(\r\n Typography,\r\n { className: classes.currentStepNumber },\r\n activeStep + 1\r\n )\r\n ),\r\n props.children && props.children\r\n );\r\n});\r\n\r\nMobileStepperStep.propTypes = {\r\n /**\r\n * Set the active step (zero based index). This should be the same value that is being sent to the component.\r\n */\r\n activeStep: PropTypes.number,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The step title component node.\r\n */\r\n children: PropTypes.node\r\n};\r\n\r\nMobileStepperStep.displayName = 'MobileStepperStep';\r\n\r\nexport default withStyles(styles)(MobileStepperStep);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport classnames from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport { spacing30 } from '../styles/tokens';\r\nimport { MOBILE_STEPPER_LABEL_CLASSNAME } from './internal/constants';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n currentStepTitle: {\r\n order: 0,\r\n marginLeft: spacing30,\r\n flex: '1 1 auto',\r\n alignSelf: 'auto'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperLabel = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n return (\r\n /* These marker class names will be used by its parent component MobileStepper */\r\n React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h3',\r\n className: classnames(classes.currentStepTitle, MOBILE_STEPPER_LABEL_CLASSNAME),\r\n component: 'span'\r\n }, rest, {\r\n ref: ref\r\n }),\r\n props.children\r\n )\r\n );\r\n});\r\n\r\nMobileStepperLabel.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The step title component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Props will be passed into the rendered `` component.\r\n */\r\n props: PropTypes.object\r\n};\r\n\r\nMobileStepperLabel.displayName = 'MobileStepperLabel';\r\n\r\nexport default withStyles(styles)(MobileStepperLabel);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport Divider from '../Divider';\r\nimport { spacing50 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n marginBottom: spacing50\r\n }\r\n};\r\n\r\n/**\r\n * A component that displays the current step of the total steps\r\n */\r\nvar MobileStepperTitle = React.forwardRef(function (props, ref) {\r\n var withDivider = props.withDivider,\r\n children = props.children,\r\n classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['withDivider', 'children', 'classes']);\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: classes.root, ref: ref },\r\n React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h2' }, rest),\r\n children\r\n ),\r\n withDivider && React.createElement(Divider, null)\r\n );\r\n});\r\n\r\nMobileStepperTitle.propTypes = {\r\n /**\r\n * The MobileStepper title value.\r\n */\r\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Props will be passed into the rendered `` component.\r\n */\r\n props: PropTypes.object,\r\n /**\r\n * Render the MobileStepperTitle with a divider. Set false to use without a Divider.\r\n */\r\n withDivider: PropTypes.bool\r\n};\r\n\r\nMobileStepperTitle.defaultProps = {\r\n withDivider: true\r\n};\r\n\r\nMobileStepperTitle.displayName = 'MobileStepperTitle';\r\n\r\nexport default withStyles(styles)(MobileStepperTitle);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {\n paddingLeft: 8,\n paddingRight: 8\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n flex: 1,\n position: 'relative'\n },\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {}\n};\nvar Step = React.forwardRef(function Step(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n connector = props.connector,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$expanded = props.expanded,\n expanded = _props$expanded === void 0 ? false : _props$expanded,\n index = props.index,\n last = props.last,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"connector\", \"disabled\", \"expanded\", \"index\", \"last\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel, completed && classes.completed),\n ref: ref\n }, other), connector && alternativeLabel && index !== 0 && React.cloneElement(connector, {\n orientation: orientation,\n alternativeLabel: alternativeLabel,\n index: index,\n active: active,\n completed: completed,\n disabled: disabled\n }), React.Children.map(children, function (child) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Step component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n return React.cloneElement(child, _extends({\n active: active,\n alternativeLabel: alternativeLabel,\n completed: completed,\n disabled: disabled,\n expanded: expanded,\n last: last,\n icon: index + 1,\n orientation: orientation\n }, child.props));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Step.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Sets the step as active. Is passed to child components.\n */\n active: PropTypes.bool,\n\n /**\n * Should be `Step` sub-components such as `StepLabel`, `StepContent`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Mark the step as completed. Is passed to child components.\n */\n completed: PropTypes.bool,\n\n /**\n * Mark the step as disabled, will also disable the button if\n * `StepButton` is a child of `Step`. Is passed to child components.\n */\n disabled: PropTypes.bool,\n\n /**\n * Expand the step.\n */\n expanded: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStep'\n})(Step);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { Step as MuiStep } from '@material-ui/core';\r\nimport StepProgressContext from './internal/StepProgressContext';\r\nimport { STEP_PROGRESS_STEP_CLASSNAME } from './internal/constants';\r\nimport cn from 'classnames';\r\n\r\nimport { borderRadiusMedium, spacing40 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n borderColor: theme.palette.ctaColor.base\r\n },\r\n expansion: {\r\n backgroundColor: '#FFFFFF',\r\n boxShadow: '\\n 0 19px 20px 0 rgba(0, 0, 0, 0.03),\\n 0 3px 8px 0 rgba(0, 0, 0, 0.06)\\n ',\r\n padding: spacing40,\r\n borderRadius: borderRadiusMedium\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A single step in a stepper\r\n */\r\nvar Step = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n var _React$useContext = React.useContext(StepProgressContext),\r\n expansion = _React$useContext.expansion;\r\n\r\n return (\r\n /* These marker class names will be used by its parent component StepProgress */\r\n React.createElement(MuiStep, Object.assign({}, rest, {\r\n className: cn(STEP_PROGRESS_STEP_CLASSNAME, _defineProperty({}, classes.expansion, expansion)),\r\n classes: classOverrides,\r\n ref: ref\r\n }))\r\n );\r\n});\r\n\r\nStep.muiName = 'Step';\r\nStep.displayName = 'Step';\r\n\r\nStep.propTypes = {\r\n /**\r\n * Sets the step as active. Is passed to child components.\r\n */\r\n active: PropTypes.bool,\r\n /**\r\n * Should be `Step` sub-components such as `StepLabel`, `StepContent`.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Mark the step as completed. Is passed to child components.\r\n */\r\n completed: PropTypes.bool,\r\n /**\r\n * Mark the step as disabled, will also disable the button if\r\n * `StepButton` is a child of `Step`. Is passed to child components.\r\n */\r\n disabled: PropTypes.bool\r\n};\r\n\r\n// NOTE: we are very intentionally NOT providing defaults for these props; if any\r\n// value is assigned to the active, completed, or disabled props, those values will\r\n// supercede the directives of the parent StepProgress; ie, if the stepper tries to\r\n// set a Step to active, any defaults we declare here will override those settings\r\n\r\nexport default withStyles(styles)(Step);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z\"\n}), 'CheckCircle');","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z\"\n}), 'Warning');","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport CheckCircle from '../internal/svg-icons/CheckCircle';\nimport Warning from '../internal/svg-icons/Warning';\nimport withStyles from '../styles/withStyles';\nimport SvgIcon from '../SvgIcon';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n color: theme.palette.text.disabled,\n '&$completed': {\n color: theme.palette.primary.main\n },\n '&$active': {\n color: theme.palette.primary.main\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Styles applied to the SVG text element. */\n text: {\n fill: theme.palette.primary.contrastText,\n fontSize: theme.typography.caption.fontSize,\n fontFamily: theme.typography.fontFamily\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {}\n };\n};\n\nvar _ref = /*#__PURE__*/React.createElement(\"circle\", {\n cx: \"12\",\n cy: \"12\",\n r: \"12\"\n});\n\nvar StepIcon = React.forwardRef(function StepIcon(props, ref) {\n var _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n icon = props.icon,\n _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n classes = props.classes;\n\n if (typeof icon === 'number' || typeof icon === 'string') {\n var className = clsx(classes.root, active && classes.active, error && classes.error, completed && classes.completed);\n\n if (error) {\n return /*#__PURE__*/React.createElement(Warning, {\n className: className,\n ref: ref\n });\n }\n\n if (completed) {\n return /*#__PURE__*/React.createElement(CheckCircle, {\n className: className,\n ref: ref\n });\n }\n\n return /*#__PURE__*/React.createElement(SvgIcon, {\n className: className,\n ref: ref\n }, _ref, /*#__PURE__*/React.createElement(\"text\", {\n className: classes.text,\n x: \"12\",\n y: \"16\",\n textAnchor: \"middle\"\n }, icon));\n }\n\n return icon;\n});\nprocess.env.NODE_ENV !== \"production\" ? StepIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Whether this step is active.\n */\n active: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * Mark the step as completed. Is passed to child components.\n */\n completed: PropTypes.bool,\n\n /**\n * Mark the step as failed.\n */\n error: PropTypes.bool,\n\n /**\n * The label displayed in the step icon.\n */\n icon: PropTypes.node\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepIcon'\n})(StepIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Typography from '../Typography';\nimport StepIcon from '../StepIcon';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n '&$alternativeLabel': {\n flexDirection: 'column'\n },\n '&$disabled': {\n cursor: 'default'\n }\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Styles applied to the `Typography` component which wraps `children`. */\n label: {\n color: theme.palette.text.secondary,\n '&$active': {\n color: theme.palette.text.primary,\n fontWeight: 500\n },\n '&$completed': {\n color: theme.palette.text.primary,\n fontWeight: 500\n },\n '&$alternativeLabel': {\n textAlign: 'center',\n marginTop: 16\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Pseudo-class applied to the `Typography` component if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the `Typography` component if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element and `Typography` component if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element and `Typography` component if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the `icon` container element. */\n iconContainer: {\n flexShrink: 0,\n // Fix IE 11 issue\n display: 'flex',\n paddingRight: 8,\n '&$alternativeLabel': {\n paddingRight: 0\n }\n },\n\n /* Pseudo-class applied to the root and icon container and `Typography` if `alternativeLabel={true}`. */\n alternativeLabel: {},\n\n /* Styles applied to the container element which wraps `Typography` and `optional`. */\n labelContainer: {\n width: '100%'\n }\n };\n};\nvar StepLabel = React.forwardRef(function StepLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n expanded = props.expanded,\n icon = props.icon,\n last = props.last,\n optional = props.optional,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n StepIconComponentProp = props.StepIconComponent,\n StepIconProps = props.StepIconProps,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"disabled\", \"error\", \"expanded\", \"icon\", \"last\", \"optional\", \"orientation\", \"StepIconComponent\", \"StepIconProps\"]);\n\n var StepIconComponent = StepIconComponentProp;\n\n if (icon && !StepIconComponent) {\n StepIconComponent = StepIcon;\n }\n\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, classes[orientation], className, disabled && classes.disabled, alternativeLabel && classes.alternativeLabel, error && classes.error),\n ref: ref\n }, other), icon || StepIconComponent ? /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.iconContainer, alternativeLabel && classes.alternativeLabel)\n }, /*#__PURE__*/React.createElement(StepIconComponent, _extends({\n completed: completed,\n active: active,\n error: error,\n icon: icon\n }, StepIconProps))) : null, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.labelContainer\n }, /*#__PURE__*/React.createElement(Typography, {\n variant: \"body2\",\n component: \"span\",\n className: clsx(classes.label, alternativeLabel && classes.alternativeLabel, completed && classes.completed, active && classes.active, error && classes.error),\n display: \"block\"\n }, children), optional));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepLabel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * In most cases will simply be a string containing a title for the label.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Mark the step as disabled, will also disable the button if\n * `StepLabelButton` is a child of `StepLabel`. Is passed to child components.\n */\n disabled: PropTypes.bool,\n\n /**\n * Mark the step as failed.\n */\n error: PropTypes.bool,\n\n /**\n * Override the default label of the step icon.\n */\n icon: PropTypes.node,\n\n /**\n * The optional node to display.\n */\n optional: PropTypes.node,\n\n /**\n * The component to render in place of the [`StepIcon`](/api/step-icon/).\n */\n StepIconComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`StepIcon`](/api/step-icon/) element.\n */\n StepIconProps: PropTypes.object\n} : void 0;\nStepLabel.muiName = 'StepLabel';\nexport default withStyles(styles, {\n name: 'MuiStepLabel'\n})(StepLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport StepLabel from '../StepLabel';\nimport isMuiElement from '../utils/isMuiElement';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: '100%',\n padding: '24px 16px',\n margin: '-24px -16px',\n boxSizing: 'content-box'\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n justifyContent: 'flex-start',\n padding: '8px',\n margin: '-8px'\n },\n\n /* Styles applied to the `ButtonBase` touch-ripple. */\n touchRipple: {\n color: 'rgba(0, 0, 0, 0.3)'\n }\n};\nvar StepButton = React.forwardRef(function StepButton(props, ref) {\n var active = props.active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n disabled = props.disabled,\n expanded = props.expanded,\n icon = props.icon,\n last = props.last,\n optional = props.optional,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"disabled\", \"expanded\", \"icon\", \"last\", \"optional\", \"orientation\"]);\n\n var childProps = {\n active: active,\n alternativeLabel: alternativeLabel,\n completed: completed,\n disabled: disabled,\n icon: icon,\n optional: optional,\n orientation: orientation\n };\n var child = isMuiElement(children, ['StepLabel']) ? React.cloneElement(children, childProps) : /*#__PURE__*/React.createElement(StepLabel, childProps, children);\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n disabled: disabled,\n TouchRippleProps: {\n className: classes.touchRipple\n },\n className: clsx(classes.root, classes[orientation], className),\n ref: ref\n }, other), child);\n});\nprocess.env.NODE_ENV !== \"production\" ? StepButton.propTypes = {\n /**\n * @ignore\n * Passed in via `Step` - passed through to `StepLabel`.\n */\n active: PropTypes.bool,\n\n /**\n * @ignore\n * Set internally by Stepper when it's supplied with the alternativeLabel property.\n */\n alternativeLabel: PropTypes.bool,\n\n /**\n * Can be a `StepLabel` or a node to place inside `StepLabel` as children.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n * Sets completed styling. Is passed to StepLabel.\n */\n completed: PropTypes.bool,\n\n /**\n * @ignore\n * Disables the button and sets disabled styling. Is passed to StepLabel.\n */\n disabled: PropTypes.bool,\n\n /**\n * @ignore\n * potentially passed from parent `Step`\n */\n expanded: PropTypes.bool,\n\n /**\n * The icon displayed by the step label.\n */\n icon: PropTypes.node,\n\n /**\n * @ignore\n */\n last: PropTypes.bool,\n\n /**\n * The optional node to display.\n */\n optional: PropTypes.node,\n\n /**\n * @ignore\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepButton'\n})(StepButton);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { StepButton as MuiStepButton } from '@material-ui/core';\r\nimport { borderWidthThick, colorBrandSecondary } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n outline: 'none',\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays progress through numbered steps.\r\n */\r\nvar StepButton = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root\r\n };\r\n\r\n return React.createElement(MuiStepButton, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nStepButton.muiName = 'StepButton';\r\nStepButton.displayName = 'StepButton';\r\n\r\nStepButton.propTypes = {\r\n /**\r\n * Can be a `StepLabel` or a node to place inside `StepLabel` as children.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The icon displayed by the step label.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The optional node to display.\r\n */\r\n optional: PropTypes.node\r\n};\r\n\r\nexport default withStyles(styles)(StepButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Collapse from '../Collapse';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n marginTop: 8,\n marginLeft: 12,\n // half icon\n paddingLeft: 8 + 12,\n // margin + half icon\n paddingRight: 8,\n borderLeft: \"1px solid \".concat(theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600])\n },\n\n /* Styles applied to the root element if `last={true}` (controlled by `Step`). */\n last: {\n borderLeft: 'none'\n },\n\n /* Styles applied to the Transition component. */\n transition: {}\n };\n};\nvar StepContent = React.forwardRef(function StepContent(props, ref) {\n var active = props.active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n expanded = props.expanded,\n last = props.last,\n optional = props.optional,\n orientation = props.orientation,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"expanded\", \"last\", \"optional\", \"orientation\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (orientation !== 'vertical') {\n console.error('Material-UI: is only designed for use with the vertical stepper.');\n }\n }\n\n var transitionDuration = transitionDurationProp;\n\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, last && classes.last),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: active || expanded,\n className: classes.transition,\n timeout: transitionDuration,\n unmountOnExit: true\n }, TransitionProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Step content.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Adjust the duration of the content expand transition.\n * Passed as a prop to the transition component.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepContent'\n})(StepContent);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { StepContent as MuiStepContent, Collapse } from '@material-ui/core';\r\nimport StepProgressContext from './internal/StepProgressContext';\r\nimport cn from 'classnames';\r\n\r\nvar styles = {\r\n root: {},\r\n expansion: {\r\n borderLeft: 'none',\r\n marginTop: '0px'\r\n }\r\n};\r\n\r\n/**\r\n * A component that displays progress through numbered steps.\r\n */\r\nvar StepContent = React.forwardRef(function (props, ref) {\r\n var _cn;\r\n\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var _React$useContext = React.useContext(StepProgressContext),\r\n expansion = _React$useContext.expansion;\r\n\r\n var classOverrides = {\r\n root: cn((_cn = {}, _defineProperty(_cn, classes.expansion, expansion), _defineProperty(_cn, classes.root, true), _cn))\r\n };\r\n\r\n return React.createElement(MuiStepContent, Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nStepContent.muiName = 'StepContent';\r\nStepContent.displayName = 'StepContent';\r\n\r\nStepContent.propTypes = {\r\n /**\r\n * Step content.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Collapse component.\r\n */\r\n TransitionComponent: PropTypes.elementType,\r\n /**\r\n * Adjust the duration of the content expand transition.\r\n * Passed as a property to the transition component.\r\n *\r\n * Set to 'auto' to automatically calculate transition time based on height.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number }), PropTypes.oneOf(['auto'])]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object\r\n};\r\n\r\nStepContent.defaultProps = {\r\n TransitionComponent: Collapse,\r\n transitionDuration: 'auto'\r\n};\r\n\r\nexport default withStyles(styles)(StepContent);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { StepLabel as MuiStepLabel } from '@material-ui/core';\r\nimport Warning from '@ellucian/ds-icons/lib/Warning';\r\nimport { sizingMedium, borderWidthThin } from '../styles/tokens';\r\nimport Typography from '../Typography';\r\nimport Tooltip from '../Tooltip';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { STEP_LABEL_ERROR_CLASSNAME, STEP_LABEL_HAS_ERROR_CLASSNAME, STEP_LABEL_CONTAINER_CLASSNAME, STEP_LABEL_CLASSNAME } from './internal/constants.js';\r\n\r\nimport StepProgressContext from './internal/StepProgressContext';\r\n\r\nimport { fontWeightNormal, fontWeightBold, fontSizeSmall, fontSizeHeader2 } from '../styles/tokens';\r\n\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ChevronUpIcon from '@ellucian/ds-icons/lib/ChevronUp';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n labelRoot: {\r\n fontFamily: theme.typography.body1.fontFamily,\r\n fontSize: theme.typography.body1.fontSize,\r\n fontWeight: theme.typography.body1.fontWeight,\r\n lineHeight: theme.typography.body1.lineHeight,\r\n color: theme.palette.grey[500],\r\n flexGrow: 4\r\n },\r\n root: {\r\n width: '100%'\r\n },\r\n labelContainer: {\r\n display: 'flex',\r\n justifyContent: 'space-between',\r\n alignItems: 'center'\r\n },\r\n labelError: {\r\n color: theme.palette.status.error.fill,\r\n flexGrow: 1\r\n },\r\n labelErrorActive: {\r\n fontWeight: fontWeightBold\r\n },\r\n stepIconRoot: {\r\n color: theme.palette.grey[100],\r\n borderRadius: '100%',\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[500],\r\n '& > text': {\r\n fontSize: fontSizeSmall,\r\n fontWeight: fontWeightBold,\r\n textAnchor: 'middle'\r\n },\r\n '&$stepIconActive': {\r\n border: 'none',\r\n color: theme.palette.ctaColor.base,\r\n '&> text': {\r\n color: theme.palette.grey[100],\r\n fill: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n stepIconText: {\r\n fill: theme.palette.grey[500]\r\n },\r\n stepIconActive: {\r\n color: theme.palette.ctaColor.base\r\n },\r\n stepIconEnable: {\r\n color: theme.palette.grey[500]\r\n },\r\n stepIconCustomRoot: {\r\n border: 'none',\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n verticalAlign: 'middle'\r\n },\r\n stepIconError: {\r\n color: theme.palette.status.error.fill,\r\n fill: theme.palette.status.error.fill\r\n },\r\n stepIconCompleted: {\r\n color: theme.palette.ctaColor.base,\r\n fill: theme.palette.ctaColor.base\r\n },\r\n stepIconDisabled: {\r\n '& span > svg': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n '&> text': {\r\n fill: theme.palette.grey[400]\r\n }\r\n },\r\n '& div > svg': {\r\n fill: theme.palette.grey[400]\r\n }\r\n },\r\n stepLabelDisabled: {\r\n color: theme.palette.grey[400],\r\n fontWeight: fontWeightNormal\r\n },\r\n stepLabelActiveOrCompleted: {\r\n color: theme.palette.grey[600],\r\n fontWeight: fontWeightBold\r\n },\r\n expansionIcon: {\r\n paddingLeft: '8px',\r\n display: 'flex',\r\n alignItems: 'center',\r\n fill: theme.palette.grey[500]\r\n },\r\n expansionIconOpen: {\r\n fill: theme.palette.grey[400]\r\n },\r\n expansionIconContainer: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n '& svg': {\r\n fontSize: fontSizeHeader2\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that displays progress through numbered steps.\r\n */\r\nvar StepLabel = React.forwardRef(function (props, ref) {\r\n var _classNames2;\r\n\r\n var className = props.className,\r\n classes = props.classes,\r\n children = props.children,\r\n error = props.error,\r\n completed = props.completed,\r\n optional = props.optional,\r\n disabled = props.disabled,\r\n StepIconProps = props.StepIconProps,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['className', 'classes', 'children', 'error', 'completed', 'optional', 'disabled', 'StepIconProps', 'edsContext']);\r\n\r\n var _React$useContext = React.useContext(StepProgressContext),\r\n expansion = _React$useContext.expansion;\r\n\r\n var defaultOverrides = {\r\n StepIconProps: Object.assign({\r\n classes: {\r\n root: classes.stepIconRoot,\r\n text: classes.stepIconText,\r\n active: classes.stepIconActive,\r\n completed: classes.stepIconActive,\r\n error: classes.stepIconError\r\n }\r\n }, StepIconProps)\r\n };\r\n\r\n var expansionIcon = function expansionIcon() {\r\n return React.createElement(\r\n 'span',\r\n { className: classes.expansionIcon },\r\n\r\n // eslint-disable-next-line react/prop-types\r\n props.active ? React.createElement(ChevronUpIcon, { className: classes.expansionIconOpen }) : React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.StepProgress.open'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(ChevronDownIcon, null)\r\n )\r\n );\r\n };\r\n\r\n defaultOverrides.optional = React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n Typography,\r\n {\r\n variant: 'body3',\r\n color: 'textSecondary',\r\n align: props.alternativeLabel ? 'center' : 'left',\r\n classes: {\r\n body3: !error && disabled && classes.stepLabelDisabled\r\n },\r\n className: expansion ? classes.expansionIconContainer : null\r\n },\r\n optional,\r\n !expansion ? null : expansionIcon()\r\n )\r\n );\r\n\r\n if (error) {\r\n // Assign new error icon\r\n defaultOverrides.StepIconProps.icon = React.createElement(Warning, { className: classNames(classes.stepIconError, classes.stepIconCustomRoot) });\r\n\r\n // if error is a string make the optional prop print the error message\r\n if (error.length > 0) {\r\n /* These marker class names will be used by its parent component StepProgress */\r\n defaultOverrides.optional = React.createElement(\r\n 'div',\r\n { className: classes.expansionIconContainer },\r\n React.createElement(\r\n Typography,\r\n {\r\n variant: 'body3',\r\n className: classNames(classes.labelError, STEP_LABEL_ERROR_CLASSNAME),\r\n align: props.alternativeLabel ? 'center' : 'left'\r\n },\r\n error\r\n ),\r\n !expansion ? null : expansionIcon()\r\n );\r\n }\r\n }\r\n\r\n var classOverrides = {\r\n disabled: !error && disabled && classes.stepIconDisabled\r\n };\r\n\r\n if (expansion) {\r\n classOverrides = Object.assign(classOverrides, {\r\n labelContainer: classes.labelContainer,\r\n root: classes.root\r\n });\r\n }\r\n\r\n return React.createElement(\r\n MuiStepLabel,\r\n Object.assign({}, defaultOverrides, {\r\n classes: classOverrides,\r\n disabled: disabled,\r\n completed: completed,\r\n className: classNames(className, STEP_LABEL_CONTAINER_CLASSNAME)\r\n }, rest, {\r\n ref: ref\r\n }),\r\n React.createElement(\r\n 'span',\r\n { className: classNames(_defineProperty({}, classes.stepLabelActiveOrCompleted, (props.active || completed) && !error), classes.labelRoot, '' + STEP_LABEL_CLASSNAME, (_classNames2 = {}, _defineProperty(_classNames2, classes.labelError, error), _defineProperty(_classNames2, classes.labelErrorActive, error && props.active), _defineProperty(_classNames2, STEP_LABEL_HAS_ERROR_CLASSNAME, error), _defineProperty(_classNames2, classes.stepLabelDisabled, disabled && !error), _classNames2)) },\r\n children\r\n )\r\n );\r\n});\r\n\r\nStepLabel.muiName = 'StepLabel';\r\nStepLabel.displayName = 'StepLabel';\r\n\r\nStepLabel.propTypes = {\r\n /**\r\n * @ignore\r\n * Sets the step as active. Is passed to child components.\r\n */\r\n active: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Set internally by Stepper when it's supplied with the alternativeLabel property.\r\n */\r\n alternativeLabel: PropTypes.bool,\r\n /**\r\n * In most cases will simply be a string containing a title for the label.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Mark the step as completed. Is passed to child components.\r\n */\r\n completed: PropTypes.bool,\r\n /**\r\n * Mark the step as disabled, will also disable the button if\r\n * `StepLabelButton` is a child of `StepLabel`. Is passed to child components.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Used to mark the step in an error state and provide an error message.\r\n */\r\n error: PropTypes.any,\r\n /**\r\n * Override the default text label of the step icon.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The optional text to display.\r\n */\r\n optional: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\r\n};\r\n\r\nStepLabel.defaultProps = {\r\n error: false\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(StepLabel));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\n\nvar styles = function styles(theme) {\n return {\n thumb: {\n '&$open': {\n '& $offset': {\n transform: 'scale(1) translateY(-10px)'\n }\n }\n },\n open: {},\n offset: _extends(_extends({\n zIndex: 1\n }, theme.typography.body2), {}, {\n fontSize: theme.typography.pxToRem(12),\n lineHeight: 1.2,\n transition: theme.transitions.create(['transform'], {\n duration: theme.transitions.duration.shortest\n }),\n top: -34,\n transformOrigin: 'bottom center',\n transform: 'scale(0)',\n position: 'absolute'\n }),\n circle: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 32,\n height: 32,\n borderRadius: '50% 50% 50% 0',\n backgroundColor: 'currentColor',\n transform: 'rotate(-45deg)'\n },\n label: {\n color: theme.palette.primary.contrastText,\n transform: 'rotate(45deg)'\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\n\nfunction ValueLabel(props) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n open = props.open,\n value = props.value,\n valueLabelDisplay = props.valueLabelDisplay;\n\n if (valueLabelDisplay === 'off') {\n return children;\n }\n\n return React.cloneElement(children, {\n className: clsx(children.props.className, (open || valueLabelDisplay === 'on') && classes.open, classes.thumb)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.offset, className)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.circle\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, value))));\n}\n\nexport default withStyles(styles, {\n name: 'PrivateValueLabel'\n})(ValueLabel);","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport { fade, lighten, darken } from '../styles/colorManipulator';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport ownerDocument from '../utils/ownerDocument';\nimport useEventCallback from '../utils/useEventCallback';\nimport useForkRef from '../utils/useForkRef';\nimport capitalize from '../utils/capitalize';\nimport useControlled from '../utils/useControlled';\nimport ValueLabel from './ValueLabel';\n\nfunction asc(a, b) {\n return a - b;\n}\n\nfunction clamp(value, min, max) {\n return Math.min(Math.max(min, value), max);\n}\n\nfunction findClosest(values, currentValue) {\n var _values$reduce = values.reduce(function (acc, value, index) {\n var distance = Math.abs(currentValue - value);\n\n if (acc === null || distance < acc.distance || distance === acc.distance) {\n return {\n distance: distance,\n index: index\n };\n }\n\n return acc;\n }, null),\n closestIndex = _values$reduce.index;\n\n return closestIndex;\n}\n\nfunction trackFinger(event, touchId) {\n if (touchId.current !== undefined && event.changedTouches) {\n for (var i = 0; i < event.changedTouches.length; i += 1) {\n var touch = event.changedTouches[i];\n\n if (touch.identifier === touchId.current) {\n return {\n x: touch.clientX,\n y: touch.clientY\n };\n }\n }\n\n return false;\n }\n\n return {\n x: event.clientX,\n y: event.clientY\n };\n}\n\nfunction valueToPercent(value, min, max) {\n return (value - min) * 100 / (max - min);\n}\n\nfunction percentToValue(percent, min, max) {\n return (max - min) * percent + min;\n}\n\nfunction getDecimalPrecision(num) {\n // This handles the case when num is very small (0.00000001), js will turn this into 1e-8.\n // When num is bigger than 1 or less than -1 it won't get converted to this notation so it's fine.\n if (Math.abs(num) < 1) {\n var parts = num.toExponential().split('e-');\n var matissaDecimalPart = parts[0].split('.')[1];\n return (matissaDecimalPart ? matissaDecimalPart.length : 0) + parseInt(parts[1], 10);\n }\n\n var decimalPart = num.toString().split('.')[1];\n return decimalPart ? decimalPart.length : 0;\n}\n\nfunction roundValueToStep(value, step, min) {\n var nearest = Math.round((value - min) / step) * step + min;\n return Number(nearest.toFixed(getDecimalPrecision(step)));\n}\n\nfunction setValueIndex(_ref) {\n var values = _ref.values,\n source = _ref.source,\n newValue = _ref.newValue,\n index = _ref.index;\n\n // Performance shortcut\n if (values[index] === newValue) {\n return source;\n }\n\n var output = _toConsumableArray(values);\n\n output[index] = newValue;\n return output;\n}\n\nfunction focusThumb(_ref2) {\n var sliderRef = _ref2.sliderRef,\n activeIndex = _ref2.activeIndex,\n setActive = _ref2.setActive;\n\n if (!sliderRef.current.contains(document.activeElement) || Number(document.activeElement.getAttribute('data-index')) !== activeIndex) {\n sliderRef.current.querySelector(\"[role=\\\"slider\\\"][data-index=\\\"\".concat(activeIndex, \"\\\"]\")).focus();\n }\n\n if (setActive) {\n setActive(activeIndex);\n }\n}\n\nvar axisProps = {\n horizontal: {\n offset: function offset(percent) {\n return {\n left: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n width: \"\".concat(percent, \"%\")\n };\n }\n },\n 'horizontal-reverse': {\n offset: function offset(percent) {\n return {\n right: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n width: \"\".concat(percent, \"%\")\n };\n }\n },\n vertical: {\n offset: function offset(percent) {\n return {\n bottom: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n height: \"\".concat(percent, \"%\")\n };\n }\n }\n};\n\nvar Identity = function Identity(x) {\n return x;\n};\n\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 2,\n width: '100%',\n boxSizing: 'content-box',\n padding: '13px 0',\n display: 'inline-block',\n position: 'relative',\n cursor: 'pointer',\n touchAction: 'none',\n color: theme.palette.primary.main,\n WebkitTapHighlightColor: 'transparent',\n '&$disabled': {\n pointerEvents: 'none',\n cursor: 'default',\n color: theme.palette.grey[400]\n },\n '&$vertical': {\n width: 2,\n height: '100%',\n padding: '0 13px'\n },\n // The primary input mechanism of the device includes a pointing device of limited accuracy.\n '@media (pointer: coarse)': {\n // Reach 42px touch target, about ~8mm on screen.\n padding: '20px 0',\n '&$vertical': {\n padding: '0 20px'\n }\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {// TODO v5: move the style here\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `marks` is provided with at least one label. */\n marked: {\n marginBottom: 20,\n '&$vertical': {\n marginBottom: 'auto',\n marginRight: 20\n }\n },\n\n /* Pseudo-class applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Pseudo-class applied to the root and thumb element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the rail element. */\n rail: {\n display: 'block',\n position: 'absolute',\n width: '100%',\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor',\n opacity: 0.38,\n '$vertical &': {\n height: '100%',\n width: 2\n }\n },\n\n /* Styles applied to the track element. */\n track: {\n display: 'block',\n position: 'absolute',\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor',\n '$vertical &': {\n width: 2\n }\n },\n\n /* Styles applied to the track element if `track={false}`. */\n trackFalse: {\n '& $track': {\n display: 'none'\n }\n },\n\n /* Styles applied to the track element if `track=\"inverted\"`. */\n trackInverted: {\n '& $track': {\n backgroundColor: // Same logic as the LinearProgress track color\n theme.palette.type === 'light' ? lighten(theme.palette.primary.main, 0.62) : darken(theme.palette.primary.main, 0.5)\n },\n '& $rail': {\n opacity: 1\n }\n },\n\n /* Styles applied to the thumb element. */\n thumb: {\n position: 'absolute',\n width: 12,\n height: 12,\n marginLeft: -6,\n marginTop: -5,\n boxSizing: 'border-box',\n borderRadius: '50%',\n outline: 0,\n backgroundColor: 'currentColor',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n transition: theme.transitions.create(['box-shadow'], {\n duration: theme.transitions.duration.shortest\n }),\n '&::after': {\n position: 'absolute',\n content: '\"\"',\n borderRadius: '50%',\n // reach 42px hit target (2 * 15 + thumb diameter)\n left: -15,\n top: -15,\n right: -15,\n bottom: -15\n },\n '&$focusVisible,&:hover': {\n boxShadow: \"0px 0px 0px 8px \".concat(fade(theme.palette.primary.main, 0.16)),\n '@media (hover: none)': {\n boxShadow: 'none'\n }\n },\n '&$active': {\n boxShadow: \"0px 0px 0px 14px \".concat(fade(theme.palette.primary.main, 0.16))\n },\n '&$disabled': {\n width: 8,\n height: 8,\n marginLeft: -4,\n marginTop: -3,\n '&:hover': {\n boxShadow: 'none'\n }\n },\n '$vertical &': {\n marginLeft: -5,\n marginBottom: -6\n },\n '$vertical &$disabled': {\n marginLeft: -3,\n marginBottom: -4\n }\n },\n\n /* Styles applied to the thumb element if `color=\"primary\"`. */\n thumbColorPrimary: {// TODO v5: move the style here\n },\n\n /* Styles applied to the thumb element if `color=\"secondary\"`. */\n thumbColorSecondary: {\n '&$focusVisible,&:hover': {\n boxShadow: \"0px 0px 0px 8px \".concat(fade(theme.palette.secondary.main, 0.16))\n },\n '&$active': {\n boxShadow: \"0px 0px 0px 14px \".concat(fade(theme.palette.secondary.main, 0.16))\n }\n },\n\n /* Pseudo-class applied to the thumb element if it's active. */\n active: {},\n\n /* Pseudo-class applied to the thumb element if keyboard focused. */\n focusVisible: {},\n\n /* Styles applied to the thumb label element. */\n valueLabel: {},\n\n /* Styles applied to the mark element. */\n mark: {\n position: 'absolute',\n width: 2,\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor'\n },\n\n /* Styles applied to the mark element if active (depending on the value). */\n markActive: {\n backgroundColor: theme.palette.background.paper,\n opacity: 0.8\n },\n\n /* Styles applied to the mark label element. */\n markLabel: _extends(_extends({}, theme.typography.body2), {}, {\n color: theme.palette.text.secondary,\n position: 'absolute',\n top: 26,\n transform: 'translateX(-50%)',\n whiteSpace: 'nowrap',\n '$vertical &': {\n top: 'auto',\n left: 26,\n transform: 'translateY(50%)'\n },\n '@media (pointer: coarse)': {\n top: 40,\n '$vertical &': {\n left: 31\n }\n }\n }),\n\n /* Styles applied to the mark label element if active (depending on the value). */\n markLabelActive: {\n color: theme.palette.text.primary\n }\n };\n};\nvar Slider = React.forwardRef(function Slider(props, ref) {\n var ariaLabel = props['aria-label'],\n ariaLabelledby = props['aria-labelledby'],\n ariaValuetext = props['aria-valuetext'],\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'span' : _props$component,\n defaultValue = props.defaultValue,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n getAriaLabel = props.getAriaLabel,\n getAriaValueText = props.getAriaValueText,\n _props$marks = props.marks,\n marksProp = _props$marks === void 0 ? false : _props$marks,\n _props$max = props.max,\n max = _props$max === void 0 ? 100 : _props$max,\n _props$min = props.min,\n min = _props$min === void 0 ? 0 : _props$min,\n name = props.name,\n onChange = props.onChange,\n onChangeCommitted = props.onChangeCommitted,\n onMouseDown = props.onMouseDown,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$scale = props.scale,\n scale = _props$scale === void 0 ? Identity : _props$scale,\n _props$step = props.step,\n step = _props$step === void 0 ? 1 : _props$step,\n _props$ThumbComponent = props.ThumbComponent,\n ThumbComponent = _props$ThumbComponent === void 0 ? 'span' : _props$ThumbComponent,\n _props$track = props.track,\n track = _props$track === void 0 ? 'normal' : _props$track,\n valueProp = props.value,\n _props$ValueLabelComp = props.ValueLabelComponent,\n ValueLabelComponent = _props$ValueLabelComp === void 0 ? ValueLabel : _props$ValueLabelComp,\n _props$valueLabelDisp = props.valueLabelDisplay,\n valueLabelDisplay = _props$valueLabelDisp === void 0 ? 'off' : _props$valueLabelDisp,\n _props$valueLabelForm = props.valueLabelFormat,\n valueLabelFormat = _props$valueLabelForm === void 0 ? Identity : _props$valueLabelForm,\n other = _objectWithoutProperties(props, [\"aria-label\", \"aria-labelledby\", \"aria-valuetext\", \"classes\", \"className\", \"color\", \"component\", \"defaultValue\", \"disabled\", \"getAriaLabel\", \"getAriaValueText\", \"marks\", \"max\", \"min\", \"name\", \"onChange\", \"onChangeCommitted\", \"onMouseDown\", \"orientation\", \"scale\", \"step\", \"ThumbComponent\", \"track\", \"value\", \"ValueLabelComponent\", \"valueLabelDisplay\", \"valueLabelFormat\"]);\n\n var theme = useTheme();\n var touchId = React.useRef(); // We can't use the :active browser pseudo-classes.\n // - The active state isn't triggered when clicking on the rail.\n // - The active state isn't transfered when inversing a range slider.\n\n var _React$useState = React.useState(-1),\n active = _React$useState[0],\n setActive = _React$useState[1];\n\n var _React$useState2 = React.useState(-1),\n open = _React$useState2[0],\n setOpen = _React$useState2[1];\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Slider'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n valueDerived = _useControlled2[0],\n setValueState = _useControlled2[1];\n\n var range = Array.isArray(valueDerived);\n var instanceRef = React.useRef();\n var values = range ? _toConsumableArray(valueDerived).sort(asc) : [valueDerived];\n values = values.map(function (value) {\n return clamp(value, min, max);\n });\n var marks = marksProp === true && step !== null ? _toConsumableArray(Array(Math.floor((max - min) / step) + 1)).map(function (_, index) {\n return {\n value: min + step * index\n };\n }) : marksProp || [];\n instanceRef.current = {\n source: valueDerived // Keep track of the input value to leverage immutable state comparison.\n\n };\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n var _React$useState3 = React.useState(-1),\n focusVisible = _React$useState3[0],\n setFocusVisible = _React$useState3[1];\n\n var sliderRef = React.useRef();\n var handleFocusRef = useForkRef(focusVisibleRef, sliderRef);\n var handleRef = useForkRef(ref, handleFocusRef);\n var handleFocus = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n\n if (isFocusVisible(event)) {\n setFocusVisible(index);\n }\n\n setOpen(index);\n });\n var handleBlur = useEventCallback(function () {\n if (focusVisible !== -1) {\n setFocusVisible(-1);\n onBlurVisible();\n }\n\n setOpen(-1);\n });\n var handleMouseOver = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n setOpen(index);\n });\n var handleMouseLeave = useEventCallback(function () {\n setOpen(-1);\n });\n var isRtl = theme.direction === 'rtl';\n var handleKeyDown = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n var value = values[index];\n var tenPercents = (max - min) / 10;\n var marksValues = marks.map(function (mark) {\n return mark.value;\n });\n var marksIndex = marksValues.indexOf(value);\n var newValue;\n var increaseKey = isRtl ? 'ArrowLeft' : 'ArrowRight';\n var decreaseKey = isRtl ? 'ArrowRight' : 'ArrowLeft';\n\n switch (event.key) {\n case 'Home':\n newValue = min;\n break;\n\n case 'End':\n newValue = max;\n break;\n\n case 'PageUp':\n if (step) {\n newValue = value + tenPercents;\n }\n\n break;\n\n case 'PageDown':\n if (step) {\n newValue = value - tenPercents;\n }\n\n break;\n\n case increaseKey:\n case 'ArrowUp':\n if (step) {\n newValue = value + step;\n } else {\n newValue = marksValues[marksIndex + 1] || marksValues[marksValues.length - 1];\n }\n\n break;\n\n case decreaseKey:\n case 'ArrowDown':\n if (step) {\n newValue = value - step;\n } else {\n newValue = marksValues[marksIndex - 1] || marksValues[0];\n }\n\n break;\n\n default:\n return;\n } // Prevent scroll of the page\n\n\n event.preventDefault();\n\n if (step) {\n newValue = roundValueToStep(newValue, step, min);\n }\n\n newValue = clamp(newValue, min, max);\n\n if (range) {\n var previousValue = newValue;\n newValue = setValueIndex({\n values: values,\n source: valueDerived,\n newValue: newValue,\n index: index\n }).sort(asc);\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: newValue.indexOf(previousValue)\n });\n }\n\n setValueState(newValue);\n setFocusVisible(index);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n if (onChangeCommitted) {\n onChangeCommitted(event, newValue);\n }\n });\n var previousIndex = React.useRef();\n var axis = orientation;\n\n if (isRtl && orientation !== \"vertical\") {\n axis += '-reverse';\n }\n\n var getFingerNewValue = function getFingerNewValue(_ref3) {\n var finger = _ref3.finger,\n _ref3$move = _ref3.move,\n move = _ref3$move === void 0 ? false : _ref3$move,\n values2 = _ref3.values,\n source = _ref3.source;\n var slider = sliderRef.current;\n\n var _slider$getBoundingCl = slider.getBoundingClientRect(),\n width = _slider$getBoundingCl.width,\n height = _slider$getBoundingCl.height,\n bottom = _slider$getBoundingCl.bottom,\n left = _slider$getBoundingCl.left;\n\n var percent;\n\n if (axis.indexOf('vertical') === 0) {\n percent = (bottom - finger.y) / height;\n } else {\n percent = (finger.x - left) / width;\n }\n\n if (axis.indexOf('-reverse') !== -1) {\n percent = 1 - percent;\n }\n\n var newValue;\n newValue = percentToValue(percent, min, max);\n\n if (step) {\n newValue = roundValueToStep(newValue, step, min);\n } else {\n var marksValues = marks.map(function (mark) {\n return mark.value;\n });\n var closestIndex = findClosest(marksValues, newValue);\n newValue = marksValues[closestIndex];\n }\n\n newValue = clamp(newValue, min, max);\n var activeIndex = 0;\n\n if (range) {\n if (!move) {\n activeIndex = findClosest(values2, newValue);\n } else {\n activeIndex = previousIndex.current;\n }\n\n var previousValue = newValue;\n newValue = setValueIndex({\n values: values2,\n source: source,\n newValue: newValue,\n index: activeIndex\n }).sort(asc);\n activeIndex = newValue.indexOf(previousValue);\n previousIndex.current = activeIndex;\n }\n\n return {\n newValue: newValue,\n activeIndex: activeIndex\n };\n };\n\n var handleTouchMove = useEventCallback(function (event) {\n var finger = trackFinger(event, touchId);\n\n if (!finger) {\n return;\n }\n\n var _getFingerNewValue = getFingerNewValue({\n finger: finger,\n move: true,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue.newValue,\n activeIndex = _getFingerNewValue.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n });\n var handleTouchEnd = useEventCallback(function (event) {\n var finger = trackFinger(event, touchId);\n\n if (!finger) {\n return;\n }\n\n var _getFingerNewValue2 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue2.newValue;\n\n setActive(-1);\n\n if (event.type === 'touchend') {\n setOpen(-1);\n }\n\n if (onChangeCommitted) {\n onChangeCommitted(event, newValue);\n }\n\n touchId.current = undefined;\n var doc = ownerDocument(sliderRef.current);\n doc.removeEventListener('mousemove', handleTouchMove);\n doc.removeEventListener('mouseup', handleTouchEnd);\n doc.removeEventListener('touchmove', handleTouchMove);\n doc.removeEventListener('touchend', handleTouchEnd);\n });\n var handleTouchStart = useEventCallback(function (event) {\n // Workaround as Safari has partial support for touchAction: 'none'.\n event.preventDefault();\n var touch = event.changedTouches[0];\n\n if (touch != null) {\n // A number that uniquely identifies the current finger in the touch session.\n touchId.current = touch.identifier;\n }\n\n var finger = trackFinger(event, touchId);\n\n var _getFingerNewValue3 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue3.newValue,\n activeIndex = _getFingerNewValue3.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n var doc = ownerDocument(sliderRef.current);\n doc.addEventListener('touchmove', handleTouchMove);\n doc.addEventListener('touchend', handleTouchEnd);\n });\n React.useEffect(function () {\n var slider = sliderRef.current;\n slider.addEventListener('touchstart', handleTouchStart);\n var doc = ownerDocument(slider);\n return function () {\n slider.removeEventListener('touchstart', handleTouchStart);\n doc.removeEventListener('mousemove', handleTouchMove);\n doc.removeEventListener('mouseup', handleTouchEnd);\n doc.removeEventListener('touchmove', handleTouchMove);\n doc.removeEventListener('touchend', handleTouchEnd);\n };\n }, [handleTouchEnd, handleTouchMove, handleTouchStart]);\n var handleMouseDown = useEventCallback(function (event) {\n if (onMouseDown) {\n onMouseDown(event);\n }\n\n event.preventDefault();\n var finger = trackFinger(event, touchId);\n\n var _getFingerNewValue4 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue4.newValue,\n activeIndex = _getFingerNewValue4.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n var doc = ownerDocument(sliderRef.current);\n doc.addEventListener('mousemove', handleTouchMove);\n doc.addEventListener('mouseup', handleTouchEnd);\n });\n var trackOffset = valueToPercent(range ? values[0] : min, min, max);\n var trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;\n\n var trackStyle = _extends(_extends({}, axisProps[axis].offset(trackOffset)), axisProps[axis].leap(trackLeap));\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef,\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function (mark) {\n return mark.label;\n }) && classes.marked, track === false && classes.trackFalse, orientation === 'vertical' && classes.vertical, track === 'inverted' && classes.trackInverted),\n onMouseDown: handleMouseDown\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.rail\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.track,\n style: trackStyle\n }), /*#__PURE__*/React.createElement(\"input\", {\n value: values.join(','),\n name: name,\n type: \"hidden\"\n }), marks.map(function (mark, index) {\n var percent = valueToPercent(mark.value, min, max);\n var style = axisProps[axis].offset(percent);\n var markActive;\n\n if (track === false) {\n markActive = values.indexOf(mark.value) !== -1;\n } else {\n markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: mark.value\n }, /*#__PURE__*/React.createElement(\"span\", {\n style: style,\n \"data-index\": index,\n className: clsx(classes.mark, markActive && classes.markActive)\n }), mark.label != null ? /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true,\n \"data-index\": index,\n style: style,\n className: clsx(classes.markLabel, markActive && classes.markLabelActive)\n }, mark.label) : null);\n }), values.map(function (value, index) {\n var percent = valueToPercent(value, min, max);\n var style = axisProps[axis].offset(percent);\n return /*#__PURE__*/React.createElement(ValueLabelComponent, {\n key: index,\n valueLabelFormat: valueLabelFormat,\n valueLabelDisplay: valueLabelDisplay,\n className: classes.valueLabel,\n value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,\n index: index,\n open: open === index || active === index || valueLabelDisplay === 'on',\n disabled: disabled\n }, /*#__PURE__*/React.createElement(ThumbComponent, {\n className: clsx(classes.thumb, classes[\"thumbColor\".concat(capitalize(color))], active === index && classes.active, disabled && classes.disabled, focusVisible === index && classes.focusVisible),\n tabIndex: disabled ? null : 0,\n role: \"slider\",\n style: style,\n \"data-index\": index,\n \"aria-label\": getAriaLabel ? getAriaLabel(index) : ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n \"aria-orientation\": orientation,\n \"aria-valuemax\": scale(max),\n \"aria-valuemin\": scale(min),\n \"aria-valuenow\": scale(value),\n \"aria-valuetext\": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,\n onKeyDown: handleKeyDown,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onMouseOver: handleMouseOver,\n onMouseLeave: handleMouseLeave\n }));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Slider.propTypes = {\n /**\n * The label of the slider.\n */\n 'aria-label': chainPropTypes(PropTypes.string, function (props) {\n var range = Array.isArray(props.value || props.defaultValue);\n\n if (range && props['aria-label'] != null) {\n return new Error('Material-UI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.');\n }\n\n return null;\n }),\n\n /**\n * The id of the element containing a label for the slider.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * A string value that provides a user-friendly name for the current value of the slider.\n */\n 'aria-valuetext': chainPropTypes(PropTypes.string, function (props) {\n var range = Array.isArray(props.value || props.defaultValue);\n\n if (range && props['aria-valuetext'] != null) {\n return new Error('Material-UI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),\n\n /**\n * If `true`, the slider will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.\n *\n * @param {number} index The thumb label's index to format.\n * @returns {string}\n */\n getAriaLabel: PropTypes.func,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.\n *\n * @param {number} value The thumb label's value to format.\n * @param {number} index The thumb label's index to format.\n * @returns {string}\n */\n getAriaValueText: PropTypes.func,\n\n /**\n * Marks indicate predetermined values to which the user can move the slider.\n * If `true` the marks will be spaced according the value of the `step` prop.\n * If an array, it should contain objects with `value` and an optional `label` keys.\n */\n marks: PropTypes.oneOfType([PropTypes.bool, PropTypes.array]),\n\n /**\n * The maximum allowed value of the slider.\n * Should not be equal to min.\n */\n max: PropTypes.number,\n\n /**\n * The minimum allowed value of the slider.\n * Should not be equal to max.\n */\n min: PropTypes.number,\n\n /**\n * Name attribute of the hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback function that is fired when the slider's value changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number | number[]} value The new value.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback function that is fired when the `mouseup` is triggered.\n *\n * @param {object} event The event source of the callback.\n * @param {number | number[]} value The new value.\n */\n onChangeCommitted: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * The slider orientation.\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * A transformation function, to change the scale of the slider.\n */\n scale: PropTypes.func,\n\n /**\n * The granularity with which the slider can step through values. (A \"discrete\" slider.)\n * The `min` prop serves as the origin for the valid values.\n * We recommend (max - min) to be evenly divisible by the step.\n *\n * When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.\n */\n step: PropTypes.number,\n\n /**\n * The component used to display the value label.\n */\n ThumbComponent: PropTypes.elementType,\n\n /**\n * The track presentation:\n *\n * - `normal` the track will render a bar representing the slider value.\n * - `inverted` the track will render a bar representing the remaining slider value.\n * - `false` the track will render without a bar.\n */\n track: PropTypes.oneOf(['normal', false, 'inverted']),\n\n /**\n * The value of the slider.\n * For ranged sliders, provide an array with two values.\n */\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),\n\n /**\n * The value label component.\n */\n ValueLabelComponent: PropTypes.elementType,\n\n /**\n * Controls when the value label is displayed:\n *\n * - `auto` the value label will display when the thumb is hovered or focused.\n * - `on` will display persistently.\n * - `off` will never display.\n */\n valueLabelDisplay: PropTypes.oneOf(['on', 'auto', 'off']),\n\n /**\n * The format function the value label's value.\n *\n * When a function is provided, it should have the following signature:\n *\n * - {number} value The value label's value to format\n * - {number} index The value label's index to format\n */\n valueLabelFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.func])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSlider'\n})(Slider);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiSlider } from '@material-ui/core/Slider';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport Circle from '@ellucian/ds-icons/lib/Circle';\r\n\r\n// Necessary design tokens are imported here\r\nimport { boxShadowFocus, colorTextNeutral500, fontSizeSmall } from '../styles/tokens';\r\n\r\nexport var styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: {\r\n color: theme.palette.ctaColor.base\r\n },\r\n\r\n disabled: {\r\n '& $thumb': {\r\n width: fontSizeSmall,\r\n height: fontSizeSmall,\r\n marginTop: '-5px',\r\n marginLeft: '-6px'\r\n },\r\n\r\n '&$vertical $thumb': {\r\n marginBottom: '-6px',\r\n marginLeft: '-5px'\r\n }\r\n\r\n },\r\n\r\n rail: {\r\n color: colorTextNeutral500\r\n },\r\n\r\n thumb: {\r\n '&:focus, &:hover': {\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n\r\n vertical: {}\r\n\r\n };\r\n};\r\n\r\n/**\r\n * A tool to select a value within a range.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * SliderExample\r\n */\r\nvar Slider = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext']);\r\n\r\n var classOverrides = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n root: classes.root,\r\n disabled: classes.disabled,\r\n rail: classes.rail,\r\n thumb: classes.thumb,\r\n vertical: classes.vertical\r\n\r\n };\r\n\r\n return React.createElement(MuiSlider, Object.assign({}, rest, {\r\n thumb: React.createElement(Circle, { 'aria-label': edsContext.formatMessage('component.Slider.thumb') }),\r\n classes: classOverrides,\r\n ref: ref\r\n }));\r\n});\r\n\r\nSlider.muiName = 'Slider';\r\nSlider.displayName = 'Slider';\r\n\r\nSlider.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * If `true`, the slider will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * The maximum allowed value of the slider.\r\n * Should not be equal to min.\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * The minimum allowed value of the slider.\r\n * Should not be equal to max.\r\n */\r\n min: PropTypes.number,\r\n /**\r\n * Callback function that is fired when the slider's value changed.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The granularity the slider can step through values.\r\n */\r\n step: PropTypes.number,\r\n /**\r\n * @ignore\r\n */\r\n theme: PropTypes.object,\r\n /**\r\n * The value of the slider.\r\n */\r\n value: PropTypes.number.isRequired,\r\n /**\r\n * The slider orientation.\r\n */\r\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\r\n};\r\n\r\n// If default props are needed, they must be set here\r\nSlider.defaultProps = {\r\n orientation: 'horizontal'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Slider));","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'Person');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Person from '../internal/svg-icons/Person';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none'\n },\n\n /* Styles applied to the root element if not `src` or `srcSet`. */\n colorDefault: {\n color: theme.palette.background.default,\n backgroundColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `variant=\"circle\"`. */\n circle: {},\n\n /* Styles applied to the root element if `variant=\"rounded\"`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"square\"`. */\n square: {\n borderRadius: 0\n },\n\n /* Styles applied to the img element if either `src` or `srcSet` is defined. */\n img: {\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE 11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n },\n\n /* Styles applied to the fallback icon */\n fallback: {\n width: '75%',\n height: '75%'\n }\n };\n};\n\nfunction useLoaded(_ref) {\n var src = _ref.src,\n srcSet = _ref.srcSet;\n\n var _React$useState = React.useState(false),\n loaded = _React$useState[0],\n setLoaded = _React$useState[1];\n\n React.useEffect(function () {\n if (!src && !srcSet) {\n return undefined;\n }\n\n setLoaded(false);\n var active = true;\n var image = new Image();\n image.src = src;\n image.srcSet = srcSet;\n\n image.onload = function () {\n if (!active) {\n return;\n }\n\n setLoaded('loaded');\n };\n\n image.onerror = function () {\n if (!active) {\n return;\n }\n\n setLoaded('error');\n };\n\n return function () {\n active = false;\n };\n }, [src, srcSet]);\n return loaded;\n}\n\nvar Avatar = React.forwardRef(function Avatar(props, ref) {\n var alt = props.alt,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n imgProps = props.imgProps,\n sizes = props.sizes,\n src = props.src,\n srcSet = props.srcSet,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'circle' : _props$variant,\n other = _objectWithoutProperties(props, [\"alt\", \"children\", \"classes\", \"className\", \"component\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"]);\n\n var children = null; // Use a hook instead of onError on the img element to support server-side rendering.\n\n var loaded = useLoaded({\n src: src,\n srcSet: srcSet\n });\n var hasImg = src || srcSet;\n var hasImgNotFailing = hasImg && loaded !== 'error';\n\n if (hasImgNotFailing) {\n children = /*#__PURE__*/React.createElement(\"img\", _extends({\n alt: alt,\n src: src,\n srcSet: srcSet,\n sizes: sizes,\n className: classes.img\n }, imgProps));\n } else if (childrenProp != null) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/React.createElement(Person, {\n className: classes.fallback\n });\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes.system, classes[variant], className, !hasImgNotFailing && classes.colorDefault),\n ref: ref\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes = {\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Attributes applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n */\n imgProps: PropTypes.object,\n\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n\n /**\n * The shape of the avatar.\n */\n variant: PropTypes.oneOf(['circle', 'rounded', 'square'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatar'\n})(Avatar);","import React from 'react';\r\n\r\nfunction AvatarUserIcon(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: \".75em\", height: \".75em\", xmlns: \"http://www.w3.org/2000/svg\", viewBox: \"0 0 448 512\" }, props),\r\n React.createElement(\"path\", { d: \"M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z\" })\r\n );\r\n}\r\n\r\nexport default AvatarUserIcon;","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiAvatar } from '@material-ui/core/Avatar';\r\nimport { borderWidthThick, colorBorderGlobalFocus, fontFamilyHeader } from '../styles/tokens';\r\nimport AvatarUserIcon from './internal/AvatarUserIcon';\r\n\r\nexport var AVATAR_VARIANT_DEFAULT = 'default';\r\nexport var AVATAR_VARIANT_INTERACTIVE = 'interactive';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: '1.125rem'\r\n },\r\n interactiveRoot: {\r\n transition: theme.transitions.create(['background-color', 'border', 'box-shadow'], {\r\n duration: theme.transitions.duration.shortest\r\n })\r\n },\r\n colorDefault: {\r\n color: theme.palette.grey['600'],\r\n backgroundColor: theme.palette.grey['300'],\r\n '&$interactiveRoot': {\r\n color: theme.palette.grey['600'],\r\n backgroundColor: theme.palette.grey['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['300'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey['250'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['250']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.grey['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['400']\r\n },\r\n '&:focus': {\r\n outline: 'solid ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n },\r\n '&$purple': {\r\n backgroundColor: theme.palette.tertiary.purple['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.purple['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.purple['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.purple['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.purple['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.purple['400']\r\n }\r\n },\r\n '&$iris': {\r\n backgroundColor: theme.palette.tertiary.iris['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.iris['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.iris['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.iris['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.iris['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.iris['400']\r\n }\r\n },\r\n '&$fountain': {\r\n backgroundColor: theme.palette.tertiary.fountain['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.fountain['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.fountain['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.fountain['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.fountain['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.fountain['400']\r\n }\r\n },\r\n '&$meadow': {\r\n backgroundColor: theme.palette.tertiary.meadow['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.meadow['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.meadow['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.meadow['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.meadow['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.meadow['400']\r\n }\r\n },\r\n '&$kiwi': {\r\n backgroundColor: theme.palette.tertiary.kiwi['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.kiwi['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.kiwi['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.kiwi['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.kiwi['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.kiwi['400']\r\n }\r\n },\r\n '&$saffron': {\r\n backgroundColor: theme.palette.tertiary.saffron['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.saffron['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.saffron['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.saffron['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.saffron['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.saffron['400']\r\n }\r\n },\r\n '&$tangerine': {\r\n backgroundColor: theme.palette.tertiary.tangerine['400'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.tangerine['400'],\r\n '&:hover': {\r\n backgroundColor: theme.palette.tertiary.tangerine['300'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.tangerine['300']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.tertiary.tangerine['200'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.tertiary.tangerine['400']\r\n }\r\n }\r\n\r\n }\r\n },\r\n purple: {},\r\n iris: {},\r\n fountain: {},\r\n meadow: {},\r\n kiwi: {},\r\n saffron: {},\r\n tangerine: {},\r\n image: {\r\n color: theme.palette.grey['600'],\r\n border: 'none',\r\n // Set transition to 0 for image Avatars to prevent weird UI visual\r\n transition: theme.transitions.create(['border'], { duration: 0 }),\r\n '&:hover': {\r\n border: 'none'\r\n },\r\n '&:active': {\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['400']\r\n },\r\n '&:focus': {\r\n outline: 'solid ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n }\r\n },\r\n img: {\r\n // Needed to fix images when HTML button element used\r\n width: 40,\r\n height: 40,\r\n '&:hover': {\r\n opacity: '0.32'\r\n },\r\n '&:active': {\r\n opacity: '0.4'\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar TERTIARY_COLORS_MAP = ['default', 'purple', 'iris', 'fountain', 'meadow', 'kiwi', 'saffron', 'tangerine'];\r\n\r\n/**\r\n * A component that creates a graphical representation of a user.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * AvatarIcon\r\n * AvatarImage\r\n * AvatarLetter\r\n * AvatarInteractive\r\n * AvatarGroup\r\n */\r\nvar Avatar = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n src = props.src,\r\n srcSet = props.srcSet,\r\n internalVariant = props.variant,\r\n color = props.color,\r\n rest = _objectWithoutProperties(props, ['classes', 'src', 'srcSet', 'variant', 'color']);\r\n\r\n var propOverrides = {\r\n component: 'div'\r\n };\r\n\r\n var hasImg = src || srcSet;\r\n var isInteractive = internalVariant === AVATAR_VARIANT_INTERACTIVE;\r\n\r\n // If no img is sent in, render tertiary background\r\n var shouldBeTertiary = !hasImg && isInteractive;\r\n\r\n if (isInteractive) {\r\n propOverrides.component = 'button';\r\n }\r\n\r\n var classOverrides = {\r\n colorDefault: classes.colorDefault,\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.interactiveRoot, isInteractive), _defineProperty(_classNames, classes[color], shouldBeTertiary), _defineProperty(_classNames, classes.image, hasImg && isInteractive), _classNames)),\r\n img: classes.img\r\n };\r\n\r\n return React.createElement(\r\n MuiAvatar,\r\n Object.assign({\r\n ref: ref,\r\n src: src,\r\n srcSet: srcSet,\r\n classes: classOverrides\r\n }, propOverrides, rest),\r\n props.children === undefined ? React.createElement(AvatarUserIcon, null) : props.children\r\n );\r\n});\r\n\r\nAvatar.muiName = 'Avatar';\r\n\r\nAvatar.propTypes = {\r\n /**\r\n * Used in combination with src or srcSet to provide an alt attribute for the rendered img element.\r\n */\r\n alt: PropTypes.string,\r\n /**\r\n * Used to render icon or text elements inside the Avatar. src and alt props will not be used and no img will be rendered by default.\r\n * This can be an element, or just a string.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The component used for the root node. Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.node,\r\n /**\r\n * The color of the Avatar if the variant is set to `interactive`.\r\n */\r\n color: PropTypes.oneOf(TERTIARY_COLORS_MAP),\r\n /**\r\n * Attributes applied to the img element when the component is used to display an image.\r\n */\r\n imgProps: PropTypes.object,\r\n /**\r\n * The sizes attribute for the img element.\r\n */\r\n sizes: PropTypes.string,\r\n /**\r\n * The src attribute for the img element.\r\n */\r\n src: PropTypes.string,\r\n /**\r\n * The srcSet attribute for the img element.\r\n */\r\n srcSet: PropTypes.string,\r\n /**\r\n * The variant of the `Avatar` to render.\r\n */\r\n variant: PropTypes.oneOf([AVATAR_VARIANT_DEFAULT, AVATAR_VARIANT_INTERACTIVE])\r\n};\r\n\r\nAvatar.displayName = 'Avatar';\r\n\r\nAvatar.defaultProps = {\r\n variant: AVATAR_VARIANT_DEFAULT\r\n};\r\n\r\nexport default withStyles(styles)(Avatar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport { withStyles } from '@material-ui/core/styles';\nimport Avatar from '@material-ui/core/Avatar';\nvar SPACINGS = {\n small: -16,\n medium: null\n};\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex'\n },\n\n /* Styles applied to the avatar elements. */\n avatar: {\n border: \"2px solid \".concat(theme.palette.background.default),\n marginLeft: -8\n }\n };\n};\nvar AvatarGroup = React.forwardRef(function AvatarGroup(props, ref) {\n var childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 'medium' : _props$spacing,\n _props$max = props.max,\n max = _props$max === void 0 ? 5 : _props$max,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"spacing\", \"max\"]);\n\n var children = React.Children.toArray(childrenProp).filter(function (child) {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: the AvatarGroup component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n return React.isValidElement(child);\n });\n var extraAvatars = children.length > max ? children.length - max : 0;\n return React.createElement(\"div\", _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), children.slice(0, children.length - extraAvatars).map(function (child, index) {\n return React.cloneElement(child, {\n className: clsx(child.props.className, classes.avatar),\n style: _extends({\n zIndex: children.length - index,\n marginLeft: spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing\n }, child.props.style)\n });\n }), extraAvatars ? React.createElement(Avatar, {\n className: classes.avatar,\n style: {\n zIndex: 0,\n marginLeft: spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing\n }\n }, \"+\", extraAvatars) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? AvatarGroup.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The avatars to stack.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Max avatars to show before +x.\n */\n max: PropTypes.number,\n\n /**\n * Spacing between avatars.\n */\n spacing: PropTypes.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.number])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatarGroup'\n})(AvatarGroup);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiAvatarGroup } from '@material-ui/lab/AvatarGroup';\r\nimport { borderWidthThick } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n avatar: {\r\n backgroundColor: theme.palette.grey['300'],\r\n fontSize: '1.125rem',\r\n color: theme.palette.grey['600'],\r\n border: 'solid ' + borderWidthThick + ' ' + theme.palette.grey['100'] + ' !important'\r\n }\r\n };\r\n};\r\n\r\nvar AvatarGroup = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n children = props.children,\r\n rest = _objectWithoutProperties(props, ['classes', 'children']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n avatar: classes.avatar\r\n };\r\n\r\n return React.createElement(\r\n MuiAvatarGroup,\r\n Object.assign({}, rest, {\r\n classes: classOverrides,\r\n ref: ref\r\n }),\r\n children\r\n );\r\n});\r\n\r\nAvatarGroup.muiName = 'AvatarGroup';\r\nAvatarGroup.displayName = 'AvatarGroup';\r\n\r\nAvatarGroup.propTypes = {\r\n /**\r\n * The avatars to stack.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Max avatars to show before +x.\r\n * * Value should be greater than or equal to two.\r\n */\r\n max: PropTypes.number,\r\n /**\r\n * Spacing between avatars.\r\n * * number:\r\n * * Positive number would decrease space between Avatars\r\n * * Negative number would increase space between Avatars\r\n */\r\n spacing: PropTypes.oneOf(['medium', 'small', 'number'])\r\n};\r\n\r\nAvatarGroup.defaultProps = {\r\n spacing: 'medium',\r\n max: '5'\r\n};\r\n\r\nexport default withStyles(styles)(AvatarGroup);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiInputAdornment } from '@material-ui/core/InputAdornment';\r\nimport { spacing30, fontFamilyDefault, fontSizeDefault, fontSizeLarge, colorTextNeutral500 } from '../styles/tokens';\r\n\r\nvar styles = {\r\n root: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeLarge,\r\n color: colorTextNeutral500\r\n },\r\n positionStart: {\r\n marginTop: '0.75rem',\r\n marginLeft: '.875rem',\r\n marginRight: 0,\r\n '&$smallTextField': {\r\n marginTop: 0,\r\n marginLeft: spacing30\r\n }\r\n },\r\n smallTextField: {\r\n fontSize: fontSizeDefault\r\n }\r\n};\r\n\r\n/**\r\n * Use `InputAdornment` to add a decoration to a `TextField`.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.13.0\r\n * @examples\r\n * InputAdornmentDemo\r\n */\r\nvar InputAdornment = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n rest = _objectWithoutProperties(props, ['classes']);\r\n\r\n var classOverrides = {\r\n root: classes.root,\r\n positionStart: classNames(classes.positionStart, _defineProperty({}, classes.smallTextField, props.size === 'small')),\r\n positionEnd: classNames(_defineProperty({}, classes.smallTextField, props.size === 'small'))\r\n };\r\n //disableTypography={true}\r\n return React.createElement(MuiInputAdornment, Object.assign({ ref: ref, classes: classOverrides }, rest));\r\n});\r\n\r\nInputAdornment.muiName = 'InputAdornment';\r\n\r\nInputAdornment.propTypes = {\r\n /**\r\n * The content of the component, normally an `Icon` or string.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a HTML element or a component.\r\n */\r\n component: PropTypes.elementType,\r\n /**\r\n * Disable pointer events on the root.\r\n * This allows for the content of the adornment to focus the input on click.\r\n */\r\n disablePointerEvents: PropTypes.bool,\r\n /**\r\n * If children is a string then disable wrapping in a Typography component.\r\n */\r\n disableTypography: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n muiFormControl: PropTypes.object,\r\n /**\r\n * The position this adornment should appear relative to the `Input`.\r\n */\r\n position: PropTypes.oneOf(['start', 'end']),\r\n /**\r\n * @ignore\r\n * The size of the parent `TextField` or `FormControl` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n /**\r\n * @ignore\r\n * The variant to use.\r\n * Note: If you are using the `TextField` component or the `FormControl` component\r\n * you do not have to set this manually.\r\n */\r\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\r\n};\r\n\r\nInputAdornment.displayName = 'InputAdornment';\r\n\r\nInputAdornment.defaultProps = {\r\n component: 'div',\r\n disablePointerEvents: false,\r\n disableTypography: true\r\n};\r\n\r\nexport default withStyles(styles)(InputAdornment);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { default as MuiPopover } from '@material-ui/core/Popover';\r\n// Necessary design tokens are imported here\r\n//import { } from '../styles/tokens';\r\n\r\nvar styles = {\r\n // Necessary style overrides are set here\r\n // See Material UI documentation for available CSS classes to override\r\n paperRoot: {}\r\n};\r\n\r\n/**\r\n * Use `Popover` to display additional content.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * PopoverExamples\r\n */\r\nvar Popover = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'edsContext']);\r\n\r\n // This component passes through to an internal paper element to style the pertinent area\r\n // By default it passes the paper class above, but that can be overridden by downstream\r\n // NOTE! There appears to be a problem preventing styling currently, see the expected behavior here: https://codesandbox.io/s/wq78039yol\r\n\r\n\r\n var PaperProps = {\r\n classes: {\r\n root: classes.paperRoot\r\n }\r\n };\r\n\r\n return React.createElement(MuiPopover, Object.assign({\r\n dir: edsContext.dir\r\n }, rest, {\r\n PaperProps: PaperProps,\r\n ref: ref\r\n }));\r\n});\r\n\r\nPopover.muiName = 'Popover';\r\nPopover.displayName = 'Popover';\r\n\r\nPopover.propTypes = {\r\n /**\r\n * This is callback property. It's called by the component on mount.\r\n * This is useful when you want to trigger an action programmatically.\r\n * It currently only supports updatePosition() action.\r\n *\r\n * @param {object} actions This object contains all posible actions\r\n * that can be triggered programmatically.\r\n */\r\n action: PropTypes.func,\r\n /**\r\n * This is the DOM element, or a function that returns the DOM element,\r\n * that may be used to set the position of the popover.\r\n */\r\n anchorEl: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * This is the point on the anchor where the popover's\r\n * `anchorEl` will attach to. This is not used when the\r\n * anchorReference is 'anchorPosition'.\r\n *\r\n * Options:\r\n * vertical: [top, center, bottom];\r\n * horizontal: [left, center, right].\r\n */\r\n anchorOrigin: PropTypes.shape({\r\n horizontal: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['left', 'center', 'right'])]),\r\n vertical: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['top', 'center', 'bottom'])])\r\n }),\r\n /**\r\n * This is the position that may be used\r\n * to set the position of the popover.\r\n * The coordinates are relative to\r\n * the application's client area.\r\n */\r\n anchorPosition: PropTypes.shape({\r\n top: PropTypes.number,\r\n left: PropTypes.number\r\n }),\r\n /**\r\n * This determines which anchor prop to refer to to set\r\n * the position of the popover.\r\n */\r\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\r\n /**\r\n * Supported props for the Backdrop of Popover:\r\n *\r\n * children: The content of the component.\r\n *\r\n * classes: Override or extend the styles applied to the component.\r\n *\r\n * invisible: If true, the backdrop is invisible.\r\n *\r\n * open: If true, the backdrop is open.\r\n *\r\n * transitionDuration: The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.\r\n *\r\n * See more detailed information here: https://material-ui.com/api/backdrop/\r\n */\r\n BackdropProps: PropTypes.object,\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * A node, component instance, or function that returns either.\r\n * The `container` will passed to the Modal component.\r\n * By default, it uses the body of the anchorEl's top-level document object,\r\n * so it's simply `document.body` most of the time.\r\n */\r\n container: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\r\n /**\r\n * The elevation of the popover.\r\n */\r\n elevation: PropTypes.number,\r\n /**\r\n * This function is called in order to retrieve the content anchor element.\r\n * It's the opposite of the `anchorEl` property.\r\n * The content anchor element should be an element inside the popover.\r\n * It's used to correctly scroll and set the position of the popover.\r\n * The positioning strategy tries to make the content anchor element just above the\r\n * anchor element.\r\n */\r\n getContentAnchorEl: PropTypes.func,\r\n /**\r\n * Specifies how close to the edge of the window the popover can appear.\r\n */\r\n marginThreshold: PropTypes.number,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired before the component is entering.\r\n */\r\n onEnter: PropTypes.func,\r\n /**\r\n * Callback fired when the component has entered.\r\n */\r\n onEntered: PropTypes.func,\r\n /**\r\n * Callback fired when the component is entering.\r\n */\r\n onEntering: PropTypes.func,\r\n /**\r\n * Callback fired before the component is exiting.\r\n */\r\n onExit: PropTypes.func,\r\n /**\r\n * Callback fired when the component has exited.\r\n */\r\n onExited: PropTypes.func,\r\n /**\r\n * Callback fired when the component is exiting.\r\n */\r\n onExiting: PropTypes.func,\r\n /**\r\n * If `true`, the popover is visible.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Properties applied to the `Paper` element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n role: PropTypes.string,\r\n /**\r\n * This is the point on the popover which\r\n * will attach to the anchor's origin.\r\n *\r\n * Options:\r\n * vertical: [top, center, bottom, x(px)];\r\n * horizontal: [left, center, right, x(px)].\r\n */\r\n transformOrigin: PropTypes.shape({\r\n horizontal: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['left', 'center', 'right'])]),\r\n vertical: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['top', 'center', 'bottom'])])\r\n }),\r\n /**\r\n * Transition component.\r\n */\r\n TransitionComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Set to 'auto' to automatically calculate transition time based on height.\r\n */\r\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number }), PropTypes.oneOf(['auto'])]),\r\n /**\r\n * Properties applied to the `Transition` element.\r\n */\r\n TransitionProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\n// If default props are needed, they must be set here\r\n// Popover.defaultProps = { };\r\n\r\nexport default withEDSContext(withStyles(styles)(Popover));","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\n}), 'Cancel');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport CancelIcon from '../internal/svg-icons/Cancel';\nimport withStyles from '../styles/withStyles';\nimport { emphasize, fade } from '../styles/colorManipulator';\nimport useForkRef from '../utils/useForkRef';\nimport unsupportedProp from '../utils/unsupportedProp';\nimport capitalize from '../utils/capitalize';\nimport ButtonBase from '../ButtonBase';\nexport var styles = function styles(theme) {\n var backgroundColor = theme.palette.type === 'light' ? theme.palette.grey[300] : theme.palette.grey[700];\n var deleteIconColor = fade(theme.palette.text.primary, 0.26);\n return {\n /* Styles applied to the root element. */\n root: {\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(13),\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 32,\n color: theme.palette.getContrastText(backgroundColor),\n backgroundColor: backgroundColor,\n borderRadius: 32 / 2,\n whiteSpace: 'nowrap',\n transition: theme.transitions.create(['background-color', 'box-shadow']),\n // label will inherit this from root, then `clickable` class overrides this for both\n cursor: 'default',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n textDecoration: 'none',\n border: 'none',\n // Remove `button` border\n padding: 0,\n // Remove `button` padding\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n '&$disabled': {\n opacity: 0.5,\n pointerEvents: 'none'\n },\n '& $avatar': {\n marginLeft: 5,\n marginRight: -6,\n width: 24,\n height: 24,\n color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],\n fontSize: theme.typography.pxToRem(12)\n },\n '& $avatarColorPrimary': {\n color: theme.palette.primary.contrastText,\n backgroundColor: theme.palette.primary.dark\n },\n '& $avatarColorSecondary': {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.dark\n },\n '& $avatarSmall': {\n marginLeft: 4,\n marginRight: -4,\n width: 18,\n height: 18,\n fontSize: theme.typography.pxToRem(10)\n }\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n height: 24\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `onClick` is defined or `clickable={true}`. */\n clickable: {\n userSelect: 'none',\n WebkitTapHighlightColor: 'transparent',\n cursor: 'pointer',\n '&:hover, &:focus': {\n backgroundColor: emphasize(backgroundColor, 0.08)\n },\n '&:active': {\n boxShadow: theme.shadows[1]\n }\n },\n\n /* Styles applied to the root element if `onClick` and `color=\"primary\"` is defined or `clickable={true}`. */\n clickableColorPrimary: {\n '&:hover, &:focus': {\n backgroundColor: emphasize(theme.palette.primary.main, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onClick` and `color=\"secondary\"` is defined or `clickable={true}`. */\n clickableColorSecondary: {\n '&:hover, &:focus': {\n backgroundColor: emphasize(theme.palette.secondary.main, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onDelete` is defined. */\n deletable: {\n '&:focus': {\n backgroundColor: emphasize(backgroundColor, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onDelete` and `color=\"primary\"` is defined. */\n deletableColorPrimary: {\n '&:focus': {\n backgroundColor: emphasize(theme.palette.primary.main, 0.2)\n }\n },\n\n /* Styles applied to the root element if `onDelete` and `color=\"secondary\"` is defined. */\n deletableColorSecondary: {\n '&:focus': {\n backgroundColor: emphasize(theme.palette.secondary.main, 0.2)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n backgroundColor: 'transparent',\n border: \"1px solid \".concat(theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.text.primary, theme.palette.action.hoverOpacity)\n },\n '& $avatar': {\n marginLeft: 4\n },\n '& $avatarSmall': {\n marginLeft: 2\n },\n '& $icon': {\n marginLeft: 4\n },\n '& $iconSmall': {\n marginLeft: 2\n },\n '& $deleteIcon': {\n marginRight: 5\n },\n '& $deleteIconSmall': {\n marginRight: 3\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"primary\"`. */\n outlinedPrimary: {\n color: theme.palette.primary.main,\n border: \"1px solid \".concat(theme.palette.primary.main),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"secondary\"`. */\n outlinedSecondary: {\n color: theme.palette.secondary.main,\n border: \"1px solid \".concat(theme.palette.secondary.main),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity)\n }\n },\n // TODO v5: remove\n\n /* Styles applied to the `avatar` element. */\n avatar: {},\n\n /* Styles applied to the `avatar` element if `size=\"small\"`. */\n avatarSmall: {},\n\n /* Styles applied to the `avatar` element if `color=\"primary\"`. */\n avatarColorPrimary: {},\n\n /* Styles applied to the `avatar` element if `color=\"secondary\"`. */\n avatarColorSecondary: {},\n\n /* Styles applied to the `icon` element. */\n icon: {\n color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],\n marginLeft: 5,\n marginRight: -6\n },\n\n /* Styles applied to the `icon` element if `size=\"small\"`. */\n iconSmall: {\n width: 18,\n height: 18,\n marginLeft: 4,\n marginRight: -4\n },\n\n /* Styles applied to the `icon` element if `color=\"primary\"`. */\n iconColorPrimary: {\n color: 'inherit'\n },\n\n /* Styles applied to the `icon` element if `color=\"secondary\"`. */\n iconColorSecondary: {\n color: 'inherit'\n },\n\n /* Styles applied to the label `span` element. */\n label: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n paddingLeft: 12,\n paddingRight: 12,\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the label `span` element if `size=\"small\"`. */\n labelSmall: {\n paddingLeft: 8,\n paddingRight: 8\n },\n\n /* Styles applied to the `deleteIcon` element. */\n deleteIcon: {\n WebkitTapHighlightColor: 'transparent',\n color: deleteIconColor,\n height: 22,\n width: 22,\n cursor: 'pointer',\n margin: '0 5px 0 -6px',\n '&:hover': {\n color: fade(deleteIconColor, 0.4)\n }\n },\n\n /* Styles applied to the `deleteIcon` element if `size=\"small\"`. */\n deleteIconSmall: {\n height: 16,\n width: 16,\n marginRight: 4,\n marginLeft: -4\n },\n\n /* Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"default\"`. */\n deleteIconColorPrimary: {\n color: fade(theme.palette.primary.contrastText, 0.7),\n '&:hover, &:active': {\n color: theme.palette.primary.contrastText\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"default\"`. */\n deleteIconColorSecondary: {\n color: fade(theme.palette.secondary.contrastText, 0.7),\n '&:hover, &:active': {\n color: theme.palette.secondary.contrastText\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"outlined\"`. */\n deleteIconOutlinedColorPrimary: {\n color: fade(theme.palette.primary.main, 0.7),\n '&:hover, &:active': {\n color: theme.palette.primary.main\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"outlined\"`. */\n deleteIconOutlinedColorSecondary: {\n color: fade(theme.palette.secondary.main, 0.7),\n '&:hover, &:active': {\n color: theme.palette.secondary.main\n }\n }\n };\n};\n\nfunction isDeleteKeyboardEvent(keyboardEvent) {\n return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';\n}\n/**\n * Chips represent complex entities in small blocks, such as a contact.\n */\n\n\nvar Chip = React.forwardRef(function Chip(props, ref) {\n var avatarProp = props.avatar,\n classes = props.classes,\n className = props.className,\n clickableProp = props.clickable,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n ComponentProp = props.component,\n deleteIconProp = props.deleteIcon,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n iconProp = props.icon,\n label = props.label,\n onClick = props.onClick,\n onDelete = props.onDelete,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'default' : _props$variant,\n other = _objectWithoutProperties(props, [\"avatar\", \"classes\", \"className\", \"clickable\", \"color\", \"component\", \"deleteIcon\", \"disabled\", \"icon\", \"label\", \"onClick\", \"onDelete\", \"onKeyDown\", \"onKeyUp\", \"size\", \"variant\"]);\n\n var chipRef = React.useRef(null);\n var handleRef = useForkRef(chipRef, ref);\n\n var handleDeleteIconClick = function handleDeleteIconClick(event) {\n // Stop the event from bubbling up to the `Chip`\n event.stopPropagation();\n\n if (onDelete) {\n onDelete(event);\n }\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {\n // will be handled in keyUp, otherwise some browsers\n // might init navigation\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleKeyUp = function handleKeyUp(event) {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target) {\n if (onDelete && isDeleteKeyboardEvent(event)) {\n onDelete(event);\n } else if (event.key === 'Escape' && chipRef.current) {\n chipRef.current.blur();\n }\n }\n\n if (onKeyUp) {\n onKeyUp(event);\n }\n };\n\n var clickable = clickableProp !== false && onClick ? true : clickableProp;\n var small = size === 'small';\n var Component = ComponentProp || (clickable ? ButtonBase : 'div');\n var moreProps = Component === ButtonBase ? {\n component: 'div'\n } : {};\n var deleteIcon = null;\n\n if (onDelete) {\n var customClasses = clsx(color !== 'default' && (variant === \"default\" ? classes[\"deleteIconColor\".concat(capitalize(color))] : classes[\"deleteIconOutlinedColor\".concat(capitalize(color))]), small && classes.deleteIconSmall);\n deleteIcon = deleteIconProp && React.isValidElement(deleteIconProp) ? React.cloneElement(deleteIconProp, {\n className: clsx(deleteIconProp.props.className, classes.deleteIcon, customClasses),\n onClick: handleDeleteIconClick\n }) : /*#__PURE__*/React.createElement(CancelIcon, {\n className: clsx(classes.deleteIcon, customClasses),\n onClick: handleDeleteIconClick\n });\n }\n\n var avatar = null;\n\n if (avatarProp && React.isValidElement(avatarProp)) {\n avatar = React.cloneElement(avatarProp, {\n className: clsx(classes.avatar, avatarProp.props.className, small && classes.avatarSmall, color !== 'default' && classes[\"avatarColor\".concat(capitalize(color))])\n });\n }\n\n var icon = null;\n\n if (iconProp && React.isValidElement(iconProp)) {\n icon = React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className, small && classes.iconSmall, color !== 'default' && classes[\"iconColor\".concat(capitalize(color))])\n });\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (avatar && icon) {\n console.error('Material-UI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');\n }\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n role: clickable || onDelete ? 'button' : undefined,\n className: clsx(classes.root, className, color !== 'default' && [classes[\"color\".concat(capitalize(color))], clickable && classes[\"clickableColor\".concat(capitalize(color))], onDelete && classes[\"deletableColor\".concat(capitalize(color))]], variant !== \"default\" && [classes.outlined, {\n 'primary': classes.outlinedPrimary,\n 'secondary': classes.outlinedSecondary\n }[color]], disabled && classes.disabled, small && classes.sizeSmall, clickable && classes.clickable, onDelete && classes.deletable),\n \"aria-disabled\": disabled ? true : undefined,\n tabIndex: clickable || onDelete ? 0 : undefined,\n onClick: onClick,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n ref: handleRef\n }, moreProps, other), avatar || icon, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.label, small && classes.labelSmall)\n }, label), deleteIcon);\n});\nprocess.env.NODE_ENV !== \"production\" ? Chip.propTypes = {\n /**\n * Avatar element.\n */\n avatar: PropTypes.element,\n\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the chip will appear clickable, and will raise when pressed,\n * even if the onClick prop is not defined.\n * If false, the chip will not be clickable, even if onClick prop is defined.\n * This can be used, for example,\n * along with the component prop to indicate an anchor Chip is clickable.\n */\n clickable: PropTypes.bool,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Override the default delete icon element. Shown only if `onDelete` is set.\n */\n deleteIcon: PropTypes.element,\n\n /**\n * If `true`, the chip should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * Icon element.\n */\n icon: PropTypes.element,\n\n /**\n * The content of the label.\n */\n label: PropTypes.node,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * Callback function fired when the delete icon is clicked.\n * If set, the delete icon will be shown.\n */\n onDelete: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The size of the chip.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['default', 'outlined'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiChip'\n})(Chip);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport cn from 'classnames';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as MuiChip } from '@material-ui/core/Chip';\r\nimport CloseIcon from '@ellucian/ds-icons/lib/Close';\r\n\r\nimport { borderWidthThick, borderWidthThin, colorBrandSecondary, fontSizeDefault, borderRadiusCircle, sizingSmall, spacing40, spacing30, spacing20 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n color: theme.palette.grey[500],\r\n fontSize: fontSizeDefault\r\n },\r\n activatedRoot: {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n border: borderWidthThin + ' solid ' + theme.palette.ctaColor.base,\r\n color: theme.palette.ctaColor.base,\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&:active': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }\r\n },\r\n label: {\r\n paddingLeft: spacing40,\r\n paddingRight: spacing40,\r\n paddingBottom: '0.125rem' // Push label up by 2px to perfectly center\r\n },\r\n labelWithIcon: {\r\n paddingRight: '0.75rem'\r\n },\r\n clickable: {\r\n WebkitTapHighlightColor: 'transparent', // Remove grey highlight\r\n cursor: 'pointer',\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[100],\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.grey[300],\r\n boxShadow: 'none'\r\n },\r\n '&:active:focus': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&$activatedRoot': {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n border: borderWidthThin + ' solid ' + theme.palette.ctaColor.base,\r\n color: theme.palette.ctaColor.base,\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n },\r\n '&:active': {\r\n boxShadow: 'none',\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }\r\n }\r\n },\r\n deletable: {\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[100],\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n },\r\n '&$activatedRoot': {\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBrandSecondary\r\n }\r\n }\r\n },\r\n deleteIcon: {\r\n boxSizing: 'initial', // required to fix stylistic differences between storybook and doc site\r\n margin: '0 0.3125rem 0 -' + spacing30,\r\n height: sizingSmall,\r\n width: sizingSmall,\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[500],\r\n borderRadius: borderRadiusCircle,\r\n padding: spacing20,\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey[300]\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.grey[400]\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Chip` to represent a selected item or filter.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.8\r\n * @examples\r\n * ChipExamples\r\n * ChipActions\r\n * ChipGroup\r\n * ListActivatedChips\r\n * SelectedContentWithChips\r\n */\r\nvar Chip = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n activated = props.activated,\r\n rest = _objectWithoutProperties(props, ['classes', 'activated']);\r\n\r\n return React.createElement(MuiChip, Object.assign({\r\n classes: {\r\n root: cn(classes.root, _defineProperty({}, classes.activatedRoot, activated)),\r\n label: cn(classes.label, _defineProperty({}, classes.labelWithIcon, props.onDelete)),\r\n clickable: classes.clickable,\r\n deletable: classes.deletable,\r\n deleteIcon: classes.deleteIcon\r\n },\r\n deleteIcon: React.createElement(CloseIcon, null)\r\n }, rest, {\r\n ref: ref\r\n }));\r\n});\r\n\r\nChip.muiName = 'Chip';\r\n\r\nChip.propTypes = {\r\n /**\r\n * Set the chip to active, using the theme CTA color.\r\n */\r\n activated: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If true, the chip will appear clickable, and will raise when pressed,\r\n * even if the onClick property is not defined. This can be used, for example,\r\n * along with the component property to indicate an anchor Chip is clickable.\r\n */\r\n clickable: PropTypes.bool,\r\n /**\r\n * The component used for the root node.\r\n * Either a string to use a DOM element or a component.\r\n */\r\n component: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * The content of the `Chip` label.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * Callback to fire when the `Chip` is clicked on or `space` or `enter` keys are pressed when the Chip has focus.\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * Callback function fired when the delete icon is clicked or `backspace` key is pressed when the `Chip` has focus.\r\n * If set, the delete icon will be shown.\r\n */\r\n onDelete: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string])\r\n};\r\n\r\nChip.displayName = 'Chip';\r\n\r\nexport default withStyles(styles)(Chip);","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\nimport { default as withStyles } from '../styles';\r\nimport Typography from '../Typography';\r\n\r\nimport { spacing20, spacing30, borderRadiusXSmall, borderWidthThin } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // Necessary style overrides are set here\r\n root: {\r\n display: 'inline-block',\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.body3.fontSize,\r\n padding: spacing20 + ' ' + spacing30,\r\n borderRadius: borderRadiusXSmall,\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n default: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.default.text,\r\n color: theme.palette.status.default.text\r\n },\r\n draft: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.warning.text,\r\n color: theme.palette.status.warning.text\r\n },\r\n error: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.error.text,\r\n color: theme.palette.status.error.text\r\n },\r\n pending: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.neutral.text,\r\n color: theme.palette.status.neutral.text\r\n },\r\n success: {\r\n border: borderWidthThin + ' solid ' + theme.palette.status.success.text,\r\n color: theme.palette.status.success.text\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use a `StatusLabel` to indicate the status or category of an item.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * StatusLabelExample\r\n * StatusLabelTableExample\r\n * StatusLabelText\r\n */\r\nvar StatusLabel = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n className = props.className,\r\n textProp = props.text,\r\n typeProp = props.type,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'text', 'type']);\r\n\r\n var text = textProp.toUpperCase();\r\n var type = typeProp.toLowerCase();\r\n\r\n var classOverrides = {\r\n //CSS classes to override from Material UI Typography CSS API\r\n root: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.default, type === 'default'), _defineProperty(_classNames, classes.draft, type === 'draft'), _defineProperty(_classNames, classes.error, type === 'error'), _defineProperty(_classNames, classes.pending, type === 'pending'), _defineProperty(_classNames, classes.success, type === 'success'), _classNames), className)\r\n };\r\n\r\n return React.createElement(\r\n Typography,\r\n Object.assign({ component: 'span',\r\n classes: classOverrides,\r\n ref: ref\r\n }, rest),\r\n text\r\n );\r\n});\r\n\r\nStatusLabel.muiName = 'StatusLabel';\r\n\r\nStatusLabel.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Text for the component to display\r\n */\r\n text: PropTypes.string.isRequired,\r\n /**\r\n * Type of status to indicate (default, draft, error, pending, success)\r\n */\r\n type: PropTypes.oneOf(['default', 'draft', 'error', 'pending', 'success'])\r\n};\r\n\r\nStatusLabel.displayName = 'StatusLabel';\r\n\r\nStatusLabel.defaultProps = {\r\n type: 'default'\r\n};\r\n\r\nexport default withStyles(styles)(StatusLabel);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport { Button, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from '../';\r\n\r\n/**\r\n * Use `ConfirmationDialog` to require user action before closing a dialog.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * ConfirmationDialogExample\r\n * FormDialogExample\r\n */\r\nvar ConfirmationDialog = React.forwardRef(function (props, ref) {\r\n var content = props.content,\r\n contentText = props.contentText,\r\n DialogProps = props.DialogProps,\r\n DialogActionsProps = props.DialogActionsProps,\r\n DialogContentProps = props.DialogContentProps,\r\n DialogContentTextProps = props.DialogContentTextProps,\r\n DialogTitleProps = props.DialogTitleProps,\r\n id = props.id,\r\n open = props.open,\r\n PaperPropsProp = props.PaperProps,\r\n primaryActionOnClick = props.primaryActionOnClick,\r\n primaryActionProps = props.primaryActionProps,\r\n primaryActionText = props.primaryActionText,\r\n secondaryActionOnClick = props.secondaryActionOnClick,\r\n secondaryActionProps = props.secondaryActionProps,\r\n secondaryActionText = props.secondaryActionText,\r\n title = props.title;\r\n\r\n\r\n var internalPaperProps = {\r\n 'role': 'alertdialog'\r\n };\r\n\r\n var PaperProps = Object.assign(internalPaperProps, PaperPropsProp);\r\n\r\n /**\r\n * Override `disableBackdropClick` and `disableEscapeKeyDown` to true\r\n * Pass `open` for convenience\r\n */\r\n DialogProps['disableBackdropClick'] = true;\r\n DialogProps['disableEscapeKeyDown'] = true;\r\n DialogProps['maxWidth'] = false;\r\n DialogProps['open'] = open;\r\n DialogProps['showTitleBarClose'] = false;\r\n\r\n // Override color for primary action\r\n primaryActionProps['color'] = 'primary';\r\n primaryActionProps['onClick'] = primaryActionOnClick;\r\n\r\n // Override color for secondary action\r\n secondaryActionProps['color'] = 'secondary';\r\n secondaryActionProps['onClick'] = secondaryActionOnClick;\r\n\r\n return React.createElement(\r\n Dialog,\r\n Object.assign({}, DialogProps, {\r\n ref: ref,\r\n id: id,\r\n PaperProps: PaperProps\r\n }),\r\n React.createElement(\r\n DialogTitle,\r\n DialogTitleProps,\r\n title\r\n ),\r\n React.createElement(\r\n DialogContent,\r\n DialogContentProps,\r\n React.createElement(\r\n DialogContentText,\r\n DialogContentTextProps,\r\n contentText\r\n ),\r\n content\r\n ),\r\n React.createElement(\r\n DialogActions,\r\n DialogActionsProps,\r\n React.createElement(\r\n Button,\r\n secondaryActionProps,\r\n secondaryActionText\r\n ),\r\n React.createElement(\r\n Button,\r\n primaryActionProps,\r\n primaryActionText\r\n )\r\n )\r\n );\r\n});\r\n\r\nConfirmationDialog.muiName = 'ConfirmationDialog';\r\nConfirmationDialog.displayName = 'ConfirmationDialog';\r\n\r\nConfirmationDialog.propTypes = {\r\n /**\r\n * Content displayed by the `DialogContent` element.\r\n */\r\n content: PropTypes.node,\r\n /**\r\n * Text displayed by the `DialogContentText` element.\r\n */\r\n contentText: PropTypes.string,\r\n /**\r\n * Props that will be applied to the `Dialog` element.\r\n */\r\n DialogProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogActions` element.\r\n */\r\n DialogActionsProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogContent` element.\r\n */\r\n DialogContentProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogContentText` element.\r\n */\r\n DialogContentTextProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogTitle` element.\r\n */\r\n DialogTitleProps: PropTypes.object,\r\n /**\r\n * If `true`, the Dialog is open.\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * Properties applied to the dialog's internal Paper element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * onClick applied to the primary action Button element.\r\n */\r\n primaryActionOnClick: PropTypes.func.isRequired,\r\n /**\r\n * Props applied to the primary action Button element.\r\n */\r\n primaryActionProps: PropTypes.object.isRequired,\r\n /**\r\n * Text applied to the primary action Button element.\r\n */\r\n primaryActionText: PropTypes.string.isRequired,\r\n /**\r\n * onClick applied to the secondary action Button element.\r\n */\r\n secondaryActionOnClick: PropTypes.func.isRequired,\r\n /**\r\n * Props applied to the secondary action Button element.\r\n */\r\n secondaryActionProps: PropTypes.object.isRequired,\r\n /**\r\n * Text applied to the secondary action Button element.\r\n */\r\n secondaryActionText: PropTypes.string.isRequired,\r\n /**\r\n * Title displayed by the DialogTitle element.\r\n */\r\n title: PropTypes.string.isRequired\r\n};\r\n\r\nConfirmationDialog.defaultProps = {\r\n DialogProps: {},\r\n DialogActionsProps: {},\r\n DialogContentProps: {},\r\n DialogContentTextProps: {},\r\n DialogTitleProps: {},\r\n primaryActionProps: {},\r\n secondaryActionProps: {}\r\n};\r\n\r\nexport default ConfirmationDialog;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\n/**\r\n * Safari on iOs don't respect the `overflow: hidden` style\r\n * and hence we can scroll the background with backdrop or dropdown etc.\r\n * This class is an attempt to prevent that scrolling.\r\n * TODO: Keep validating this against the latest Safari on iOs,\r\n * if the issue is fixed natively then get rid of this class\r\n * and associated code in other files.\r\n */\r\nvar IOSBodyScroll = function () {\r\n function IOSBodyScroll() {\r\n var _this = this;\r\n\r\n _classCallCheck(this, IOSBodyScroll);\r\n\r\n this.preventBodyScroll = function (e) {\r\n if (!e.target.closest(_this.selector)) {\r\n e.preventDefault();\r\n }\r\n };\r\n\r\n this.html = document.querySelector('html');\r\n this.body = document.body;\r\n this.selector = '';\r\n this.isIOS = /(iPhone|iPad|iPod)/.test(navigator.platform);\r\n }\r\n\r\n _createClass(IOSBodyScroll, [{\r\n key: 'lock',\r\n value: function lock(boundarySelector) {\r\n this.selector = boundarySelector;\r\n // Setting the passive option on your touch and wheel event listeners\r\n // can improve scrolling performance. if passive option is set to `true` then\r\n // `e.preventDefault()` will have no effect. Hence setting it to false.\r\n // For more details go here https://medium.com/@devlucky/about-passive-event-listeners-224ff620e68c\r\n this.isIOS && document.addEventListener('touchmove', this.preventBodyScroll, { passive: false });\r\n }\r\n }, {\r\n key: 'unlock',\r\n value: function unlock() {\r\n this.isIOS && document.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });\r\n }\r\n }]);\r\n\r\n return IOSBodyScroll;\r\n}();\r\n\r\nexport default new IOSBodyScroll();","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React, { cloneElement, Fragment } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport uuid from 'uuid/v4';\r\nimport get from 'lodash/get';\r\nimport flattenDeep from 'lodash/flattenDeep';\r\nimport filter from 'lodash/filter';\r\nimport reduce from 'lodash/reduce';\r\nimport isEqual from 'lodash/isEqual';\r\nimport isNil from 'lodash/isNil';\r\n\r\n// MUI imports\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport Select from '@material-ui/core/Select';\r\n\r\nimport Checkbox from '../Checkbox';\r\nimport { DropdownItem } from '../Dropdown';\r\nimport FormControl from '../FormControl';\r\nimport { FormHelperText } from '../FormControl';\r\n\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport IOSBodyScroll from './../IOSBodyScroll';\r\n\r\nimport withStyles from '../styles';\r\nimport { borderRadiusMedium, borderWidthThin, borderWidthThick, fontSizeLarge, fontSizeDefault, colorFillAlertError, boxShadowFocus, spacing30, spacing40, spacing50, widthInputFields } from '../styles/tokens';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\n\r\n// select all selection states\r\nvar ALL = 0;\r\nvar INDETERMINATE = 1;\r\nvar NONE = 2;\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n selectRoot: {\r\n // note -- putting this here instead of in the selectMenu class, so that it'll take precedence\r\n // over MUI's styles\r\n '&$select': {\r\n padding: spacing50 + ' 3.5rem ' + spacing30 + ' ' + spacing40,\r\n minHeight: 'auto'\r\n }\r\n },\r\n select: {\r\n backgroundColor: theme.palette.grey['100'],\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey['200'],\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey['100'],\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n selectIcon: {\r\n '&:hover': {\r\n '& $icon': {\r\n fill: theme.palette.ctaColor.active\r\n }\r\n }\r\n },\r\n paper: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)'\r\n },\r\n selectMenu: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey['400'],\r\n borderRadius: borderRadiusMedium,\r\n lineHeight: '1.3rem',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap'\r\n },\r\n nativeSelect: {\r\n backgroundColor: theme.palette.grey['100'],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey['400'],\r\n borderRadius: borderRadiusMedium,\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n width: 'calc(100% - 4.625rem)',\r\n height: 'auto',\r\n '&$disabled': {\r\n backgroundColor: theme.palette.grey['200'],\r\n cursor: 'not-allowed'\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey['100'],\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n icon: {\r\n right: spacing40,\r\n top: '1.1875rem',\r\n fill: theme.palette.grey['500']\r\n },\r\n inputLabelRoot: {\r\n fontSize: fontSizeLarge,\r\n color: theme.palette.grey['500'],\r\n left: '1.0625rem',\r\n top: '-0.375rem',\r\n zIndex: theme.zIndex.textFieldLabel,\r\n pointerEvents: 'none'\r\n },\r\n inputLabelShrink: {\r\n top: spacing30\r\n },\r\n disabled: {\r\n cursor: 'not-allowed'\r\n },\r\n zIndex: {\r\n zIndex: theme.zIndex.dropdown + 1\r\n },\r\n small: {\r\n fontSize: fontSizeDefault,\r\n '& $icon': {\r\n top: '0.75rem'\r\n },\r\n '& $inputLabelRoot': {\r\n top: '-0.75rem',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $selectMenu': {\r\n padding: '0.625rem 3.5rem 0.625rem 0.625rem',\r\n lineHeight: 'unset'\r\n },\r\n '& $nativeSelect': {\r\n padding: '0.625rem 3.5rem 0.625rem 0.625rem',\r\n lineHeight: 'unset'\r\n }\r\n },\r\n medium: {\r\n // we have to put the padding here (rather than with the nativeSelect class) because of an apparent bug in MUI's\r\n // dropdown; it lists its select class twice when applying padding (.MuiSelect-select-220.MuiSelect-select-220),\r\n // which appears to give it more specificity than our padding override\r\n '& $nativeSelect': {\r\n padding: spacing50 + ' 3.5rem ' + spacing30 + ' ' + spacing40\r\n }\r\n },\r\n inputLabelSmall: {\r\n top: '-0.75rem',\r\n left: '0.75rem',\r\n fontSize: fontSizeDefault,\r\n '&[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n },\r\n error: {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill,\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThin + ' ' + colorFillAlertError,\r\n '-webkit-box-shadow': '0 0 0 ' + borderWidthThin + ' ' + colorFillAlertError,\r\n '-moz-box-shadow:': '0 0 0 ' + borderWidthThin + ' ' + colorFillAlertError\r\n }\r\n },\r\n ffErrorTextAdjuster: {\r\n '-moz-transform': 'translateY(-' + spacing40 + ')'\r\n },\r\n formControlWidth: {\r\n maxWidth: widthInputFields\r\n }\r\n };\r\n};\r\n\r\nvar menuListClassName = 'menu-list';\r\n\r\n/**\r\n * Use `Dropdown` to make selections from a list.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.10\r\n * @examples\r\n * ControlledDropdownExample\r\n * ErrorDropdownExample\r\n * FullWidthDropdownExample\r\n * IconDropdownExample\r\n * LongTextDropdownExample\r\n * MultiSelectDropdownExample\r\n * SelectAllDropdownExample\r\n * PerformanceTestDropdownExample\r\n * NativeExample\r\n */\r\n\r\nvar Dropdown = function (_React$Component) {\r\n _inherits(Dropdown, _React$Component);\r\n\r\n function Dropdown(props) {\r\n _classCallCheck(this, Dropdown);\r\n\r\n // the internal value of the 'select all' item\r\n var _this = _possibleConstructorReturn(this, (Dropdown.__proto__ || Object.getPrototypeOf(Dropdown)).call(this, props));\r\n\r\n _this.onDropDownOpen = function (e) {\r\n var onOpen = _this.props.onOpen;\r\n\r\n\r\n IOSBodyScroll.lock('.' + menuListClassName);\r\n onOpen && onOpen(e);\r\n };\r\n\r\n _this.onDropDownClose = function (e) {\r\n var onClose = _this.props.onClose;\r\n\r\n\r\n IOSBodyScroll.unlock();\r\n onClose && onClose(e);\r\n };\r\n\r\n _this.selectAllValue = uuid();\r\n\r\n _this.state = {\r\n selectionState: NONE,\r\n allItems: {}\r\n };\r\n\r\n _this.onDropDownOpen = _this.onDropDownOpen.bind(_this);\r\n _this.onDropDownClose = _this.onDropDownClose.bind(_this);\r\n return _this;\r\n }\r\n\r\n /**\r\n * Called when the dropdown value changes\r\n *\r\n * @param {Event} event The event that spurred this callback\r\n * @param {object} child The react element that was selected\r\n */\r\n\r\n\r\n _createClass(Dropdown, [{\r\n key: 'handleChange',\r\n value: function handleChange(event, child) {\r\n var _this2 = this;\r\n\r\n // if the user click the 'select all' item in a multi-select dropdown\r\n if (this.props.multiple && event.target.value.indexOf(this.selectAllValue) > -1) {\r\n // if no items are selected, select everything; otherwise unselect everything\r\n var newState = this.state.selectionState === NONE ? ALL : NONE;\r\n\r\n // set the new select all state\r\n this.setState({ selectionState: newState }, function () {\r\n // either select or unselect everything (overriding the value in the\r\n // event with the results of doing so)\r\n if (_this2.state.selectionState === ALL) {\r\n event.target.value = Object.keys(_this2.state.allItems);\r\n } else {\r\n event.target.value = [];\r\n }\r\n\r\n // let the caller know\r\n _this2.props.onChange && _this2.props.onChange(event, child);\r\n });\r\n } else {\r\n this.props.onChange && this.props.onChange(event, child);\r\n }\r\n }\r\n\r\n /**\r\n * Grab the label/value of each item\r\n */\r\n\r\n }, {\r\n key: 'objectifyItems',\r\n value: function objectifyItems() {\r\n // grab all the dropdown items\r\n\r\n var filteredDropdownItems = filter(flattenDeep(this.props.children), function (item) {\r\n return get(item, 'type.muiName') === 'DropdownItem';\r\n });\r\n\r\n return reduce(filteredDropdownItems, function (mapping, item) {\r\n mapping[item.props.value] = item.props.label;\r\n return mapping;\r\n }, {});\r\n }\r\n\r\n /**\r\n * Render a single value.\r\n *\r\n * @param {*} val The value to render\r\n * @return The rendered value\r\n */\r\n\r\n }, {\r\n key: 'renderSingleValue',\r\n value: function renderSingleValue(val) {\r\n return this.state.allItems[val];\r\n }\r\n\r\n /**\r\n * Render multiple values.\r\n *\r\n * @param {Array.<*>} values The values to render\r\n * @return The rendered values\r\n */\r\n\r\n }, {\r\n key: 'renderMultipleValues',\r\n value: function renderMultipleValues(values) {\r\n var _this3 = this;\r\n\r\n return values.map(function (val) {\r\n return _this3.renderSingleValue(val);\r\n }).join(', ');\r\n }\r\n }, {\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n // retain a catalog of each dropdown item\r\n this.setState({\r\n allItems: this.objectifyItems()\r\n });\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n // if the list of items has changed, update our internal catalog\r\n var itemsHaveChanged = get(this.props, 'children.length', 0) !== get(prevProps, 'children.length', 0) || !isEqual(this.objectifyItems(), this.state.allItems);\r\n\r\n if (itemsHaveChanged) {\r\n this.setState({\r\n allItems: this.objectifyItems()\r\n });\r\n }\r\n\r\n // if the select-all item is visible, update it based on current selections\r\n if (this.props.multiple && this.props.showSelectAll) {\r\n var selectionState = NONE;\r\n\r\n if (this.props.value.length === Object.keys(this.state.allItems).length) {\r\n selectionState = ALL;\r\n } else if (this.props.value.length > 0) {\r\n selectionState = INDETERMINATE;\r\n }\r\n\r\n // if selection state changed, update it\r\n if (this.state.selectionState !== selectionState) {\r\n this.setState({\r\n selectionState: selectionState\r\n });\r\n }\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _classNames3, _classNames4;\r\n\r\n var _props = this.props,\r\n childrenProp = _props.children,\r\n classes = _props.classes,\r\n disabled = _props.disabled,\r\n error = _props.error,\r\n edsContext = _props.edsContext,\r\n helperText = _props.helperText,\r\n id = _props.id,\r\n inputProps = _props.inputProps,\r\n labelProp = _props.label,\r\n multiple = _props.multiple,\r\n required = _props.required,\r\n value = _props.value,\r\n size = _props.size,\r\n onChange = _props.onChange,\r\n showSelectAll = _props.showSelectAll,\r\n fullWidth = _props.fullWidth,\r\n FormControlProps = _props.FormControlProps,\r\n FormHelperTextProps = _props.FormHelperTextProps,\r\n rest = _objectWithoutProperties(_props, ['children', 'classes', 'disabled', 'error', 'edsContext', 'helperText', 'id', 'inputProps', 'label', 'multiple', 'required', 'value', 'size', 'onChange', 'showSelectAll', 'fullWidth', 'FormControlProps', 'FormHelperTextProps']);\r\n\r\n var cleanedId = id || uuid();\r\n var selectLabelId = cleanedId + '_label';\r\n var selectValueId = cleanedId + '_value';\r\n\r\n var newInputProps = Object.assign({}, inputProps, {\r\n id: cleanedId\r\n });\r\n\r\n var children = childrenProp;\r\n var label = labelProp;\r\n\r\n // we do this to handle a bug within MUI - if the initial value is nil, then the label does not correctly\r\n // shrink out of the way when an item is selected. so we set the initial value to empty string instead, which\r\n // appears to solve the issue\r\n var localValue = isNil(value) ? '' : value;\r\n\r\n if (multiple) {\r\n children = React.Children.map(childrenProp, function (child, index) {\r\n return cloneElement(child, { multiple: true });\r\n });\r\n\r\n // add the current selection count to the label\r\n if (localValue && this.state.allItems) {\r\n var countString = '(' + this.props.value.length + '/' + Object.keys(this.state.allItems).length + ')';\r\n label = labelProp + ' ' + countString;\r\n }\r\n }\r\n\r\n return React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: classNames(_defineProperty({}, classes.formControlWidth, !fullWidth))\r\n }, FormControlProps),\r\n React.createElement(\r\n Fragment,\r\n null,\r\n React.createElement(\r\n InputLabel,\r\n {\r\n id: selectLabelId,\r\n classes: {\r\n root: classes.inputLabelRoot,\r\n shrink: classes.inputLabelShrink,\r\n disabled: classNames(classes.disabled, classes.zIndex)\r\n },\r\n disabled: disabled,\r\n htmlFor: cleanedId,\r\n className: classNames(_defineProperty({}, classes.inputLabelSmall, size === 'small'))\r\n },\r\n required ? label + ' *' : label\r\n ),\r\n React.createElement(\r\n Select,\r\n Object.assign({\r\n className: classNames((_classNames3 = {}, _defineProperty(_classNames3, classes.small, size === 'small'), _defineProperty(_classNames3, classes.medium, size === 'medium'), _defineProperty(_classNames3, classes.selectIcon, !disabled), _classNames3)),\r\n classes: {\r\n root: classes.selectRoot,\r\n select: classNames((_classNames4 = {}, _defineProperty(_classNames4, classes.select, !this.props.native), _defineProperty(_classNames4, classes.nativeSelect, this.props.native), _defineProperty(_classNames4, classes.error, this.props.native && error), _classNames4)),\r\n selectMenu: classNames(classes.selectMenu, _defineProperty({}, classes.error, error)),\r\n icon: classes.icon,\r\n disabled: classes.disabled\r\n },\r\n onChange: this.handleChange.bind(this),\r\n disabled: disabled,\r\n disableUnderline: true,\r\n IconComponent: ChevronDown,\r\n inputProps: newInputProps,\r\n labelId: selectLabelId,\r\n id: selectValueId,\r\n MenuProps: {\r\n MenuListProps: {\r\n disablePadding: true,\r\n className: menuListClassName\r\n },\r\n classes: {\r\n paper: classes.paper\r\n }\r\n },\r\n multiple: multiple,\r\n renderValue: multiple ? this.renderMultipleValues.bind(this) : this.renderSingleValue.bind(this),\r\n value: localValue\r\n }, rest, {\r\n onOpen: this.onDropDownOpen,\r\n onClose: this.onDropDownClose\r\n }),\r\n showSelectAll && React.createElement(\r\n DropdownItem,\r\n {\r\n label: edsContext.formatMessage('component.Dropdown.selectAll'),\r\n selectAll: true,\r\n multiple: true,\r\n value: this.selectAllValue\r\n },\r\n React.createElement(Checkbox, {\r\n indeterminate: this.state.selectionState === INDETERMINATE,\r\n checked: this.state.selectionState !== NONE\r\n })\r\n ),\r\n children\r\n ),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n className: size === 'medium' && !this.props.native ? classes.ffErrorTextAdjuster : null,\r\n error: error,\r\n id: cleanedId + '_HelperText'\r\n }, FormHelperTextProps),\r\n helperText\r\n )\r\n )\r\n );\r\n }\r\n }, {\r\n key: 'componentWillUnmount',\r\n value: function componentWillUnmount() {\r\n // Just making sure to unlock the body scroll\r\n IOSBodyScroll.unlock();\r\n }\r\n }]);\r\n\r\n return Dropdown;\r\n}(React.Component);\r\n\r\n/**\r\n * The following should be used to enable Tooltip hover once bugs have been tested\r\n *\r\n \r\n \r\n \r\n */\r\n\r\nDropdown.muiName = 'Dropdown';\r\n\r\nDropdown.propTypes = {\r\n /**\r\n * If `true`, the width of the popover will automatically be set according to the items inside the\r\n * menu, otherwise it will be at least the width of the select input.\r\n */\r\n autoWidth: PropTypes.bool,\r\n /**\r\n * The elements to populate the select with.\r\n *\r\n * - If `native` it true, these must be `option` elements\r\n * - if `native` is false, these must be `DropdownItem` elements\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * If `true`, the dropdown will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, the selected item is displayed even if its value is empty.\r\n */\r\n displayEmpty: PropTypes.bool,\r\n /**\r\n * If `true`, the dropdown will display in an error state\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * Properties applied to the [`FormControl`](#/components/FormControl) element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * If `true`, the dropdown will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * Text to be displayed by the FormHelperText component\r\n */\r\n helperText: PropTypes.string,\r\n /**\r\n * The icon that displays the arrow.\r\n */\r\n IconComponent: PropTypes.oneOfType([PropTypes.string, PropTypes.func, PropTypes.object]),\r\n /**\r\n * Id assigned to the input element and referenced by label element\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * An `Input` element; does not have to be a material-ui specific `Input`.\r\n */\r\n input: PropTypes.element,\r\n /**\r\n * Attributes applied to the `input` element. When `native` is `true`,\r\n * the attributes are applied on the `select` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Label that is attached to the `Dropdown`\r\n */\r\n label: PropTypes.string.isRequired,\r\n /**\r\n * Properties applied to the [`Menu`](https://material-ui.com/api/menu/) element.\r\n */\r\n MenuProps: PropTypes.object,\r\n /**\r\n * If true, `value` must be an array and the menu will support multiple selections.\r\n * This feature will only work if `native` is `false`.\r\n */\r\n multiple: PropTypes.bool,\r\n /**\r\n * If `true`, the component will be using a native `select` element.\r\n * Be sure to use the `option` element to create dropdown items when\r\n * `native` is set to `true`, instead of our `DropdownItem` component.\r\n */\r\n native: PropTypes.bool,\r\n /**\r\n * Callback function fired when a menu item is selected.\r\n *\r\n * Signature:\r\n * ```\r\n * function(event: object, child?: object) => void\r\n * ```\r\n * _event_: The event source of the callback. You can pull out the new value by accessing `event.target.value`.\r\n *\r\n * _child_: The react element that was selected\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * Callback fired when the component requests to be closed.\r\n * Use in controlled mode (see open).\r\n *\r\n * Signature:\r\n * ```\r\n * function(event: object) => void\r\n * ```\r\n * _event_: The event source of the callback\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Callback fired when the component requests to be opened.\r\n * Use in controlled mode (see open).\r\n *\r\n * Signature:\r\n * ```\r\n * function(event: object) => void\r\n * ```\r\n *\r\n * _event_: The event source of the callback\r\n */\r\n onOpen: PropTypes.func,\r\n /**\r\n * Control `select` open state. You can only use it when the `native` property is `false` (default).\r\n *\r\n * If you use `onOpen` or `onClose` callbacks, you must always provide the `open` prop.\r\n */\r\n open: PropTypes.bool,\r\n /**\r\n * Render the selected value.\r\n *\r\n * Signature:\r\n * ```\r\n * function(value: any) => ReactElement\r\n * ```\r\n *\r\n * _value_: The `value` provided to the component.\r\n */\r\n renderValue: PropTypes.func,\r\n /**\r\n * Whether this dropdown is required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Properties applied to the clickable div element.\r\n */\r\n SelectDisplayProps: PropTypes.object,\r\n /**\r\n * Whether to provide a \"select all\" option for multi-select dropdowns\r\n */\r\n showSelectAll: PropTypes.bool,\r\n /**\r\n * The input value.\r\n */\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]))]),\r\n /**\r\n * The size of the Dropdown. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium'])\r\n};\r\n\r\nDropdown.defaultProps = {\r\n autoWidth: false,\r\n displayEmpty: false,\r\n fullWidth: false,\r\n multiple: false,\r\n required: false,\r\n showSelectAll: false,\r\n size: 'medium',\r\n value: ''\r\n};\r\nexport default withEDSContext(withStyles(styles)(Dropdown));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\n\r\n// MUI imports\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\n\r\n// Design System imports\r\nimport Checkbox from '../Checkbox';\r\nimport { ListItemText } from '../List';\r\nimport withStyles from '../styles';\r\nimport { borderWidthThin, lineHeightParagraphMedium, sizingMedium } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n backgroundColor: theme.palette.grey['100'],\r\n // note - can't use borderBottom for this because of an Edge bug that makes\r\n // bottom borders disappear: https://stackoverflow.com/questions/32313551/border-bottom-bug-in-microsoft-edge\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey['300'],\r\n color: theme.palette.grey['600'],\r\n display: 'flex',\r\n fontFamily: theme.typography.fontFamily,\r\n fontSize: theme.typography.fontSize,\r\n justifyContent: 'space-between',\r\n lineHeight: lineHeightParagraphMedium,\r\n minHeight: sizingMedium,\r\n whiteSpace: 'inherit',\r\n\r\n // updates to restore the MUI 3.x padding settings for dropdown items\r\n padding: '11px 16px',\r\n height: '24px',\r\n boxSizing: 'content-box',\r\n\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey['250'],\r\n color: theme.palette.grey['600']\r\n },\r\n '&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey['100'],\r\n '& > svg': {\r\n fill: theme.palette.grey['100']\r\n }\r\n },\r\n '& > svg': {\r\n fill: theme.palette.grey['500']\r\n }\r\n\r\n },\r\n singleSelected: {\r\n '&$selected': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey['100'],\r\n '&:hover, &:hover&:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey['100']\r\n },\r\n '&:active, &:hover&:active': {\r\n backgroundColor: theme.palette.ctaColor.active,\r\n color: theme.palette.grey['100']\r\n },\r\n '& > svg': {\r\n fill: theme.palette.grey['100']\r\n }\r\n }\r\n },\r\n multipleSelected: {\r\n '&$selected': {\r\n backgroundColor: theme.palette.grey['100'],\r\n color: theme.palette.grey['600'],\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey['250'],\r\n color: theme.palette.grey['600']\r\n }\r\n }\r\n },\r\n multipleActive: {\r\n '&:active': {\r\n backgroundColor: theme.palette.grey['250'],\r\n color: theme.palette.grey['600']\r\n }\r\n },\r\n textRoot: {\r\n paddingLeft: '16px',\r\n paddingRight: '16px',\r\n\r\n // only apply left/right padding if the menu text is *not* the first item in the menu\r\n // item; this will give us the correct padding when the item has icons at the\r\n // start/end\r\n '&:first-child': {\r\n paddingLeft: 0,\r\n paddingRight: 0\r\n }\r\n },\r\n textPrimary: {\r\n color: 'inherit',\r\n fontFamily: 'inherit',\r\n fontSize: 'inherit',\r\n '&:hover, &:active': {\r\n color: 'inherit'\r\n }\r\n },\r\n selected: {}\r\n };\r\n};\r\n\r\nvar DropdownItem = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var children = props.children,\r\n classes = props.classes,\r\n label = props.label,\r\n LeftIconComponent = props.LeftIconComponent,\r\n RightIconComponent = props.RightIconComponent,\r\n multiple = props.multiple,\r\n selectAll = props.selectAll,\r\n selected = props.selected,\r\n other = _objectWithoutProperties(props, ['children', 'classes', 'label', 'LeftIconComponent', 'RightIconComponent', 'multiple', 'selectAll', 'selected']);\r\n\r\n return React.createElement(\r\n MenuItem,\r\n Object.assign({\r\n className: classNames(classes.root, (_classNames = {}, _defineProperty(_classNames, classes.multipleActive, multiple), _defineProperty(_classNames, classes.singleSelected, !multiple && selected), _defineProperty(_classNames, classes.multipleSelected, multiple && selected), _classNames), classes.selected),\r\n disableRipple: true,\r\n disableTouchRipple: true,\r\n selected: selected,\r\n ref: ref\r\n }, other),\r\n LeftIconComponent,\r\n React.createElement(ListItemText, {\r\n classes: {\r\n root: classes.textRoot,\r\n primary: classes.textPrimary\r\n },\r\n primary: label\r\n }),\r\n children,\r\n multiple && !selectAll && React.createElement(Checkbox, { checked: selected }),\r\n RightIconComponent\r\n );\r\n});\r\n\r\nDropdownItem.muiName = 'DropdownItem';\r\n\r\n// necessary to add an explicit display name, since docgen can't seem to\r\n// extract one from a forwardRef'd component\r\nDropdownItem.displayName = 'DropdownItem';\r\n\r\nDropdownItem.propTypes = {\r\n /**\r\n * Menu item contents.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n * See Classes API below for more details.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * If `true`, the left and right padding is removed.\r\n */\r\n disableGutters: PropTypes.bool,\r\n /**\r\n * Label of the DropdownItem to be displayed\r\n */\r\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),\r\n /**\r\n * Icon to be displayed to the the left of the text\r\n */\r\n LeftIconComponent: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n multiple: PropTypes.bool,\r\n /**\r\n * Icon to be displayed to the the right of the text\r\n */\r\n RightIconComponent: PropTypes.node,\r\n /**\r\n * @ignore\r\n */\r\n role: PropTypes.string,\r\n /**\r\n * Renders a DropdownItem for toggling SelectAll status\r\n * @ignore\r\n */\r\n selectAll: PropTypes.bool,\r\n /**\r\n * @ignore\r\n */\r\n selected: PropTypes.bool\r\n};\r\n\r\nDropdownItem.defaultProps = {\r\n disableGutters: false,\r\n LeftIconComponent: null,\r\n RightIconComponent: null,\r\n role: 'menuitem',\r\n selectAll: false\r\n};\r\n\r\nexport default withStyles(styles, { name: 'DropdownItem' })(DropdownItem);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport { default as withStyles } from '../styles';\r\nimport { Button, Dialog, DialogTitle, DialogContent, DialogActions } from '../';\r\n\r\nimport { spacing40, widthFluid } from '../styles/tokens';\r\n\r\nvar overlayActionsMobileStyles = {\r\n flexFlow: 'column',\r\n '& button': {\r\n marginBottom: spacing40,\r\n marginRight: 0,\r\n textAlign: 'center',\r\n width: widthFluid,\r\n '&:last-child': {\r\n marginBottom: 0\r\n }\r\n }\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n actionRoot: _defineProperty({\r\n justifyContent: 'flex-start',\r\n '& button': {\r\n marginRight: spacing40,\r\n marginLeft: 0\r\n },\r\n '& :not(:first-child)': {\r\n marginLeft: 0\r\n }\r\n }, theme.breakpoints.down('sm'), overlayActionsMobileStyles),\r\n actionsRight: _defineProperty({\r\n justifyContent: 'flex-end',\r\n '& button': _defineProperty({\r\n marginLeft: spacing40,\r\n marginRight: 0\r\n }, theme.breakpoints.down('sm'), {\r\n marginLeft: 0\r\n }),\r\n '& :not(:first-child)': {\r\n marginLeft: spacing40\r\n }\r\n }, theme.breakpoints.down('sm'), {\r\n overlayActionsMobileStyles: overlayActionsMobileStyles,\r\n '& :not(:first-child)': {\r\n marginLeft: 0\r\n }\r\n })\r\n };\r\n};\r\n\r\n/**\r\n * Use `SimpleDialog` to create a dialog, without having to explicitly specify each individual aspect of it.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.13\r\n * @examples\r\n * SimpleDialogExample\r\n * SimpleDialogOverflowExample\r\n * SimpleDialogResponsiveExample\r\n */\r\n\r\nvar SimpleDialog = function (_React$Component) {\r\n _inherits(SimpleDialog, _React$Component);\r\n\r\n function SimpleDialog() {\r\n _classCallCheck(this, SimpleDialog);\r\n\r\n return _possibleConstructorReturn(this, (SimpleDialog.__proto__ || Object.getPrototypeOf(SimpleDialog)).apply(this, arguments));\r\n }\r\n\r\n _createClass(SimpleDialog, [{\r\n key: 'componentDidMount',\r\n value: function componentDidMount() {\r\n\r\n // complain if caller gave us more than 3 buttons\r\n if (this.props.buttonConfig.length > 3) {\r\n console.warn('Dialogs should not have more than three buttons');\r\n }\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n DialogProps = _props.DialogProps,\r\n DialogActionsProps = _props.DialogActionsProps,\r\n DialogContentProps = _props.DialogContentProps,\r\n DialogTitleProps = _props.DialogTitleProps,\r\n rightAlignButtons = _props.rightAlignButtons,\r\n classes = _props.classes,\r\n maxWidth = _props.maxWidth,\r\n title = _props.title,\r\n showTitleBarClose = _props.showTitleBarClose,\r\n closeOnClickOut = _props.closeOnClickOut,\r\n fullScreen = _props.fullScreen,\r\n fullWidth = _props.fullWidth,\r\n buttonConfig = _props.buttonConfig,\r\n PaperProps = _props.PaperProps,\r\n children = _props.children,\r\n id = _props.id;\r\n\r\n\r\n var actionClassOverrides = {\r\n root: classes.actionRoot\r\n };\r\n\r\n return React.createElement(\r\n Dialog,\r\n Object.assign({}, DialogProps, {\r\n open: this.props.open,\r\n onClose: this.props.onClose,\r\n disableBackdropClick: !closeOnClickOut,\r\n showTitleBarClose: showTitleBarClose,\r\n fullScreen: fullScreen,\r\n fullWidth: fullWidth,\r\n PaperProps: PaperProps,\r\n maxWidth: maxWidth,\r\n id: id\r\n }),\r\n title && React.createElement(\r\n DialogTitle,\r\n DialogTitleProps,\r\n title\r\n ),\r\n React.createElement(\r\n DialogContent,\r\n DialogContentProps,\r\n children\r\n ),\r\n React.createElement(\r\n DialogActions,\r\n Object.assign({}, DialogActionsProps, {\r\n classes: actionClassOverrides,\r\n 'data-id': 'hed-simpleDialog-dialogActions',\r\n className: classNames(_defineProperty({}, classes.actionsRight, rightAlignButtons)) }),\r\n buttonConfig.slice(0).reverse().map(function (config, index) {\r\n return React.createElement(\r\n Button,\r\n {\r\n color: index === buttonConfig.length - 1 ? 'primary' : 'secondary',\r\n key: config.id,\r\n 'data-key': config.id,\r\n onClick: function onClick() {\r\n return _this2.props.handleButtonClick(config.id);\r\n }\r\n },\r\n config.title\r\n );\r\n })\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return SimpleDialog;\r\n}(React.Component);\r\n\r\n;\r\n\r\nSimpleDialog.muiName = 'SimpleDialog';\r\n\r\nSimpleDialog.propTypes = {\r\n /**\r\n * The contents of the dialog.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * Props that will be applied to the `Dialog` element.\r\n */\r\n DialogProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogActions` element.\r\n */\r\n DialogActionsProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogContent` element.\r\n */\r\n DialogContentProps: PropTypes.object,\r\n /**\r\n * Props that will be applied to the `DialogTitle` element.\r\n */\r\n DialogTitleProps: PropTypes.object,\r\n /**\r\n * Whether the dialog is open\r\n */\r\n open: PropTypes.bool.isRequired,\r\n /**\r\n * The dialog title.\r\n */\r\n title: PropTypes.string,\r\n /**\r\n * The buttons to display in the action area. An array of objects with the following properties:\r\n *\r\n * * `id`: The button's unique identifier\r\n * * `title`: The button title\r\n *\r\n * Dialogs should have a maximum of three buttons.\r\n */\r\n buttonConfig: PropTypes.arrayOf(PropTypes.object),\r\n /**\r\n * If true, shows an 'x' in the title bar, which closes the dialog\r\n */\r\n showTitleBarClose: PropTypes.bool,\r\n /**\r\n * If true, clicking outside the dialog will close it\r\n */\r\n closeOnClickOut: PropTypes.bool,\r\n /**\r\n * Determine the max width of the dialog.\r\n *\r\n * The dialog width grows with the size of the screen, this property is useful\r\n * on the desktop where you might need some different widths across your\r\n * application.\r\n *\r\n * Valid values:\r\n *\r\n * * `xs`\r\n * * `sm`\r\n * * `md`\r\n * * `lg`\r\n * * `false` (disables max width)\r\n */\r\n maxWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', false]),\r\n /**\r\n * If `true`, the dialog stretches to `maxWidth`.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * If true, dialog will appear in full screen\r\n */\r\n fullScreen: PropTypes.bool,\r\n /**\r\n * If true, the action buttons will be aligned right\r\n */\r\n rightAlignButtons: PropTypes.bool,\r\n /**\r\n * Invoked when the dialog wants to close\r\n */\r\n onClose: PropTypes.func,\r\n /**\r\n * Properties applied to the dialog's internal Paper element.\r\n */\r\n PaperProps: PropTypes.object,\r\n /**\r\n * Invoked when the user clicks on one of the buttons. Is passed a single argument, the button id.\r\n */\r\n handleButtonClick: PropTypes.func,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n id: PropTypes.string\r\n};\r\n\r\n// default prop values\r\nSimpleDialog.defaultProps = {\r\n showTitleBarClose: true,\r\n closeOnClickOut: true,\r\n fullScreen: false,\r\n fullWidth: false,\r\n rightAlignButtons: true,\r\n maxWidth: false,\r\n buttonConfig: []\r\n};\r\n\r\nexport default withStyles(styles)(SimpleDialog);","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nfunction _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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { IconButton, Logo, Typography, List, ListItem, ListItemIcon, ListItemText } from '../';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport { default as withStyles } from '../styles';\r\nimport classNames from 'classnames';\r\nimport withWidth, { isWidthDown } from './../withWidth';\r\nimport Grid from './../Grid';\r\nimport find from 'lodash/find';\r\nimport uuid from 'uuid/v4';\r\n\r\nimport { colorBrandNeutral600, colorTextDisabled, borderWidthThick, borderWidthThin, fontFamilyHeader, fontWeightBold, sizingSmall, spacing30, spacing40, spacing50, spacing60 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _ref;\r\n\r\n return _ref = {\r\n\r\n megaMenu: {\r\n position: 'fixed',\r\n color: colorBrandNeutral600,\r\n bottom: 0,\r\n left: 0,\r\n right: 0,\r\n opacity: 1,\r\n willChange: 'opacity',\r\n backgroundColor: '#FFF',\r\n zIndex: theme.zIndex.megaMenu,\r\n overflowX: 'hidden',\r\n\r\n '&.useFluidTransition': {\r\n transition: 'all 0.15s ease-in-out',\r\n transformOrigin: '0 0'\r\n }\r\n\r\n },\r\n\r\n megaMenuHidden: {\r\n maxHeight: '0',\r\n overflowX: 'hidden'\r\n },\r\n\r\n wrapper: {\r\n padding: '6rem 5rem'\r\n }\r\n\r\n }, _defineProperty(_ref, theme.breakpoints.up('lg'), {\r\n wrapper: {\r\n padding: '6rem 10rem'\r\n }\r\n }), _defineProperty(_ref, 'staticAreaStart', {\r\n borderLeft: '1px solid black'\r\n }), _defineProperty(_ref, 'footerArea', {\r\n paddingTop: '5rem',\r\n justifyContent: 'center',\r\n display: 'flex'\r\n }), _defineProperty(_ref, 'listItemRoot', {\r\n backgroundColor: 'white',\r\n outline: '1px solid blue'\r\n }), _defineProperty(_ref, 'section', {\r\n\r\n // remove top padding to ensure that the top of the dividing line between static and dynamic area lines up correctly\r\n '&.first-row': {\r\n paddingTop: '0 !important'\r\n },\r\n\r\n '&.last-row': {\r\n paddingBottom: '0 !important'\r\n },\r\n\r\n '& .section-header': {\r\n color: theme.palette.grey[600],\r\n paddingBottom: spacing40\r\n },\r\n '& .section-link': {\r\n color: theme.palette.action.base,\r\n cursor: 'pointer',\r\n lineHeight: spacing50\r\n },\r\n '& .section-link:hover': {\r\n textDecoration: 'underline'\r\n },\r\n '& .section-link a': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n },\r\n '& .section-link.disabled': {\r\n color: colorTextDisabled,\r\n textDecoration: 'none',\r\n cursor: 'auto',\r\n pointerEvents: 'none'\r\n },\r\n '& .section-link.disabled a': {\r\n color: colorTextDisabled\r\n }\r\n }), _defineProperty(_ref, 'logo', {\r\n height: '0.875rem !important',\r\n marginTop: '0.3rem',\r\n minWidth: '0 !important',\r\n padding: '0 0 0 ' + spacing30 + ' !important',\r\n '& svg': {\r\n width: 'auto'\r\n }\r\n }), _defineProperty(_ref, 'topLevelMenuItem', {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_ref, 'smallListItemOverrides', {\r\n padding: '1rem 0 !important', // TODO this class always appears below native list item classes in precedence, so need the !important\r\n backgroundColor: 'transparent !important'\r\n }), _defineProperty(_ref, 'smallMenuTopLevelItemText', {\r\n fontFamily: fontFamilyHeader + ' !important'\r\n }), _defineProperty(_ref, 'smallMenu', {\r\n display: 'flex',\r\n flexDirection: 'column'\r\n }), _defineProperty(_ref, 'smallMenuHeader', {\r\n\r\n display: 'flex',\r\n borderBottom: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n padding: '0.5rem 0',\r\n minHeight: '3.375rem', // necessary to maintain consistent height in iOS Safari\r\n\r\n marginLeft: spacing50,\r\n marginRight: spacing50,\r\n\r\n '& > .back-nav': {\r\n marginLeft: '-1rem'\r\n },\r\n\r\n '& > .back-icon': {\r\n color: theme.palette.grey[600]\r\n },\r\n\r\n '& > .back-icon:hover': {\r\n cursor: 'pointer'\r\n },\r\n\r\n '& > .header-title': {\r\n margin: 'auto'\r\n }\r\n\r\n }), _defineProperty(_ref, 'smallMenuSubHeader', {\r\n borderBottom: borderWidthThick + ' solid ' + theme.palette.grey[400],\r\n padding: '1rem 0',\r\n marginLeft: spacing50,\r\n marginRight: spacing50,\r\n\r\n '& > .back-icon': {\r\n color: theme.palette.grey[600]\r\n },\r\n\r\n '& > .back-icon:hover': {\r\n cursor: 'pointer'\r\n },\r\n '& > .submenu-header-title': {\r\n margin: 'auto'\r\n },\r\n\r\n '& > .header-title': {\r\n paddingTop: '1.5rem'\r\n }\r\n\r\n }), _defineProperty(_ref, 'smallMenuIcon', {\r\n marginRight: 0,\r\n color: theme.palette.grey[600]\r\n }), _defineProperty(_ref, 'smallMenuList', {\r\n flexGrow: 1,\r\n margin: '0 ' + spacing50,\r\n width: 'auto !important'\r\n }), _defineProperty(_ref, 'smallMenuItem', {\r\n color: theme.palette.action.base,\r\n fontWeight: fontWeightBold,\r\n\r\n '& a': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n },\r\n '& a:visited': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n },\r\n '& a:hover': {\r\n color: theme.palette.action.base,\r\n textDecoration: 'none'\r\n }\r\n }), _defineProperty(_ref, 'smallMenuItemContents', {\r\n display: 'flex',\r\n '&> div': {\r\n paddingRight: spacing40\r\n }\r\n }), _defineProperty(_ref, 'smallMenuItemDisabled', {\r\n color: theme.palette.grey[400],\r\n cursor: 'default'\r\n }), _defineProperty(_ref, 'menuFooter', {\r\n display: 'flex',\r\n margin: 'auto',\r\n padding: spacing60 + ' 0',\r\n\r\n '&.smallMenuFooter': {\r\n paddingBottom: '5rem'\r\n }\r\n }), _defineProperty(_ref, 'iconRoot', {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n }), _ref;\r\n};\r\n\r\n// detects when we've switched size classes that necessitate a change in the megamenu's form\r\nvar withMobileMegaMenu = function withMobileMegaMenu() {\r\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n return function (Component) {\r\n var _options$breakpoint = options.breakpoint,\r\n breakpoint = _options$breakpoint === undefined ? 'sm' : _options$breakpoint;\r\n\r\n\r\n function WithMobileMegaMenu(props) {\r\n return React.createElement(Component, Object.assign({ variant: isWidthDown(breakpoint, props.width) ? 'small' : 'large' }, props));\r\n }\r\n\r\n WithMobileMegaMenu.propTypes = {\r\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']).isRequired\r\n };\r\n\r\n return withWidth()(WithMobileMegaMenu);\r\n };\r\n};\r\n\r\n/**\r\n * Use `MegaMenu` to display all menu and utility options.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.0.15\r\n*/\r\n\r\nvar MegaMenu = function (_React$Component) {\r\n _inherits(MegaMenu, _React$Component);\r\n\r\n function MegaMenu() {\r\n var _ref2;\r\n\r\n var _temp, _this, _ret;\r\n\r\n _classCallCheck(this, MegaMenu);\r\n\r\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\r\n args[_key] = arguments[_key];\r\n }\r\n\r\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref2 = MegaMenu.__proto__ || Object.getPrototypeOf(MegaMenu)).call.apply(_ref2, [this].concat(args))), _this), _this.state = {\r\n selectedItemKey: null,\r\n previousBodyScroll: 'auto'\r\n\r\n /**\r\n * Calculates dynamic styles for the menu (based on its size, and it's positioning)\r\n *\r\n * @returns {object} Dynamic menu styles\r\n */\r\n }, _this.previousSelected = function (event) {\r\n if (event.type !== 'keydown' || event.key === 'Enter') {\r\n _this.setState({\r\n selectedItemKey: null\r\n });\r\n }\r\n }, _temp), _possibleConstructorReturn(_this, _ret);\r\n }\r\n\r\n _createClass(MegaMenu, [{\r\n key: 'getMenuStyles',\r\n value: function getMenuStyles() {\r\n var _props = this.props,\r\n classes = _props.classes,\r\n parentElementRef = _props.parentElementRef,\r\n open = _props.open,\r\n topOffset = _props.topOffset,\r\n variant = _props.variant;\r\n\r\n // figure out the height of the megamenu\r\n\r\n var height = 'calc(100vh - ' + topOffset + 'px';\r\n\r\n var menuStyles = {\r\n display: variant === 'small' ? 'flex' : 'block',\r\n top: topOffset + 'px'\r\n };\r\n\r\n // if we're provided with a parent element, place the menu within that element\r\n if (parentElementRef && parentElementRef.current) {\r\n\r\n var el = parentElementRef.current;\r\n var rect = el.getBoundingClientRect();\r\n\r\n height = rect.height + 'px';\r\n\r\n // position the menu within the element\r\n menuStyles = Object.assign(menuStyles, {\r\n position: 'absolute',\r\n top: topOffset + 'px',\r\n left: 0,\r\n width: rect.width - classes.megaMenu.top + 'px'\r\n });\r\n }\r\n\r\n var menuHeight = open ? height : 0;\r\n\r\n // set the height of the megamenu\r\n Object.assign(menuStyles, {\r\n maxHeight: menuHeight, // need to specify max height as well, because transitions don't work with just height\r\n height: menuHeight\r\n });\r\n\r\n return menuStyles;\r\n }\r\n\r\n /**\r\n * Handle item selection.\r\n *\r\n * @param {object} item The selected item\r\n */\r\n\r\n }, {\r\n key: 'selectItem',\r\n value: function selectItem(event, item) {\r\n\r\n // if this element contains an href somewhere in its hierarchy, invoke it\r\n var anchor = event.target && event.target.querySelector('a');\r\n\r\n if (anchor) {\r\n anchor.click();\r\n } else {\r\n\r\n // do whatever our caller tells us to do\r\n if (this.props.onItemSelected) {\r\n this.props.onItemSelected(item);\r\n }\r\n\r\n // tell our caller that we're ready to close\r\n this.props.onClose();\r\n }\r\n }\r\n\r\n /**\r\n * Whether the item event should be handled.\r\n *\r\n * @param {Event} event Selection event\r\n * @param {object} item Selected item\r\n * @return {boolean} True if event should be handled\r\n */\r\n\r\n }, {\r\n key: 'shouldHandleSelection',\r\n value: function shouldHandleSelection(event, item) {\r\n return !item.disabled && ((event.type === 'keydown' || event.type === 'keypress') && event.key === 'Enter' || event.type === 'click');\r\n }\r\n\r\n /**\r\n * Handle larege menu item selection.\r\n *\r\n * @param {Event} event Selection event\r\n * @param {object} sectionItem The selected item\r\n */\r\n\r\n }, {\r\n key: 'largeMenuItemSelected',\r\n value: function largeMenuItemSelected(event, sectionItem) {\r\n\r\n // check if the event is a keypress event, then check for the key pressed\r\n if (this.shouldHandleSelection(event, sectionItem)) {\r\n this.selectItem(event, sectionItem);\r\n }\r\n }\r\n\r\n /**\r\n * Handle small menu item selection.\r\n *\r\n * @param {Event} event Selection event\r\n * @param {object} item Selected item\r\n */\r\n\r\n }, {\r\n key: 'smallMenuItemSelected',\r\n value: function smallMenuItemSelected(event, item) {\r\n\r\n if (this.shouldHandleSelection(event, item)) {\r\n\r\n // item has submenus, navigate to them\r\n if (item.items) {\r\n this.setState({\r\n selectedItemKey: item.key\r\n });\r\n\r\n // leaf node, engage selection apparatus\r\n } else {\r\n this.selectItem(event, item);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * We were asked to go up a level\r\n */\r\n\r\n }, {\r\n key: 'getSelectedItem',\r\n\r\n\r\n /**\r\n * Returns the item corresponding to the given key\r\n *\r\n * @param {string} key Item key\r\n * @return {object} Corresponding item\r\n */\r\n value: function getSelectedItem(key) {\r\n return find(this.props.menuDefinition.concat(this.props.utilityDefinition), function (item) {\r\n return item.key === key;\r\n });\r\n }\r\n\r\n /**\r\n * Renders a single small megamenu items\r\n *\r\n * @param {object} item Item to render\r\n * @return {Element} The rendered element\r\n */\r\n\r\n }, {\r\n key: 'renderSmallItem',\r\n value: function renderSmallItem(item) {\r\n var _this2 = this;\r\n\r\n var _props2 = this.props,\r\n classes = _props2.classes,\r\n edsContext = _props2.edsContext;\r\n\r\n // apply special header styling to text if we're at the top level of the menu\r\n\r\n var listItemClasses = this.state.selectedItemKey ? null : {\r\n primary: classes.smallMenuTopLevelItemText\r\n };\r\n\r\n return React.createElement(\r\n 'div',\r\n { key: item.key },\r\n React.createElement(\r\n ListItem,\r\n {\r\n classes: {\r\n root: classes.smallListItemOverrides\r\n },\r\n button: true,\r\n focusVisibleClassName: classes.listItemRoot,\r\n onClick: function onClick(event) {\r\n return _this2.smallMenuItemSelected(event, item);\r\n },\r\n onKeyPress: function onKeyPress(event) {\r\n return _this2.smallMenuItemSelected(event, item);\r\n },\r\n className: this.state.selectedItemKey ? null : classes.topLevelMenuItem,\r\n disabled: item.disabled,\r\n tabIndex: this.props.open ? 0 : -1\r\n },\r\n React.createElement(\r\n ListItemText,\r\n {\r\n classes: listItemClasses,\r\n className: item.disabled ? 'disabled' : null,\r\n primaryTypographyProps: this.getSmallListItemTypographyClass(item)\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: this.props.classes.smallMenuItemContents },\r\n React.createElement(\r\n 'div',\r\n null,\r\n item.megaMenuContent || item.content\r\n ),\r\n item.label && React.createElement(\r\n 'div',\r\n null,\r\n item.label\r\n )\r\n )\r\n ),\r\n item.items && React.createElement(\r\n ListItemIcon,\r\n { className: classes.smallMenuIcon },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronLeft, { className: classes.iconRoot }) : React.createElement(ChevronRight, { className: classes.iconRoot })\r\n )\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * Renders the small version of the menu\r\n *\r\n * @param {Array.} staticItems Static menu items\r\n * @param {Array.} dynamicItems Dynamic menu items\r\n *\r\n * @return {object} Rendered small menu\r\n */\r\n\r\n }, {\r\n key: 'renderSmallMenu',\r\n value: function renderSmallMenu(staticItems, dynamicItems, utilityItems) {\r\n var _this3 = this;\r\n\r\n var _props3 = this.props,\r\n classes = _props3.classes,\r\n edsContext = _props3.edsContext;\r\n\r\n\r\n var listItems = void 0;\r\n\r\n // we're displaying a submenu\r\n if (this.state.selectedItemKey) {\r\n listItems = this.getSelectedItem(this.state.selectedItemKey).items;\r\n\r\n // we're displaying the top-level menu\r\n } else {\r\n listItems = staticItems.concat(dynamicItems);\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n {\r\n className: classNames(classes.megaMenu, classes.smallMenu, this.props.useFluidTransition ? 'useFluidTransition' : null, !this.props.open ? classes.megaMenuHidden : null),\r\n 'data-megamenu-type': 'small',\r\n style: this.getMenuStyles(),\r\n 'aria-hidden': !this.props.open\r\n },\r\n !this.state.selectedItemKey && utilityItems.length > 0 && React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(\r\n 'div',\r\n { className: classes.smallMenuSubHeader },\r\n React.createElement(\r\n Typography,\r\n { variant: 'h3', className: 'header-title' },\r\n edsContext.formatMessage('component.MegaMenu.utilities')\r\n )\r\n ),\r\n React.createElement(\r\n List,\r\n { className: classNames('megamenu-menu-list', classes.smallMenuList), component: 'div' },\r\n utilityItems.filter(function (item) {\r\n return !item.hidden;\r\n }).map(function (item) {\r\n return _this3.renderSmallItem(item);\r\n })\r\n )\r\n ),\r\n this.state.selectedItemKey && React.createElement(\r\n 'div',\r\n { className: classes.smallMenuHeader },\r\n React.createElement(\r\n IconButton,\r\n { color: 'gray', onClick: this.previousSelected, onKeyPress: this.previousSelected, className: 'back-nav' },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronRight, { className: 'back-icon' }) : React.createElement(ChevronLeft, { className: 'back-icon' })\r\n ),\r\n React.createElement(\r\n Typography,\r\n { className: 'header-title' },\r\n this.getSelectedItem(this.state.selectedItemKey).label ? this.getSelectedItem(this.state.selectedItemKey).label : this.getSelectedItem(this.state.selectedItemKey).content\r\n )\r\n ),\r\n !this.state.selectedItemKey && React.createElement(\r\n 'div',\r\n { className: classes.smallMenuSubHeader },\r\n React.createElement(\r\n Typography,\r\n { variant: 'h3', className: 'header-title' },\r\n this.props.menuItemsHeader\r\n )\r\n ),\r\n React.createElement(\r\n List,\r\n { className: classNames('megamenu-menu-list', classes.smallMenuList), component: 'div' },\r\n listItems.filter(function (item) {\r\n return !item.hidden;\r\n }).map(function (item) {\r\n return _this3.renderSmallItem(item);\r\n })\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: classNames('megamenu-footer', classes.menuFooter, 'smallMenuFooter') },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', color: 'textSecondary' },\r\n edsContext.formatMessage('component.MegaMenu.poweredBy')\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(Logo, { logo: 'alternative', className: classes.logo })\r\n )\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * Construct list item typography override for small menu\r\n *\r\n * @param {object} item The menu item\r\n */\r\n\r\n }, {\r\n key: 'getSmallListItemTypographyClass',\r\n value: function getSmallListItemTypographyClass(item) {\r\n\r\n var classes = this.props.classes;\r\n\r\n var itemClasses = [];\r\n\r\n // grey out disabled items\r\n item.disabled && itemClasses.push(classes.smallMenuItemDisabled);\r\n\r\n // special formatting for items on the second level\r\n if (this.state.selectedItemKey) {\r\n itemClasses.push(classes.smallMenuItem);\r\n }\r\n\r\n return {\r\n classes: {\r\n root: itemClasses.join(' ')\r\n }\r\n };\r\n }\r\n }, {\r\n key: 'buildSectionData',\r\n value: function buildSectionData(sectionData) {\r\n var _this4 = this;\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: 'megamenu-section' },\r\n React.createElement(\r\n Typography,\r\n { className: 'section-header', variant: 'h3' },\r\n sectionData.content\r\n ),\r\n sectionData.items.filter(function (sectionItem) {\r\n return !sectionItem.hidden;\r\n }).map(function (sectionItem) {\r\n\r\n return React.createElement(\r\n Typography,\r\n {\r\n className: classNames('section-link', { 'disabled': sectionItem.disabled }),\r\n key: sectionItem.key,\r\n variant: 'body2',\r\n onClick: function onClick(event) {\r\n _this4.largeMenuItemSelected(event, sectionItem);\r\n },\r\n onKeyPress: function onKeyPress(event) {\r\n _this4.largeMenuItemSelected(event, sectionItem);\r\n },\r\n tabIndex: !_this4.props.open || sectionItem.disabled ? -1 : 0\r\n },\r\n sectionItem.content\r\n );\r\n })\r\n );\r\n }\r\n\r\n /**\r\n * Build a single section in the mega menu. A section consists of a header and a series of child links.\r\n *\r\n * @param {object} sectionData The section data\r\n * @param {boolean} isFirstRow Whether this section appears on the first row\r\n * @param {boolean} isLastRow Whether this section appears on the last row\r\n * @param {boolean} isStaticAreaStart Whether this represents the first column of a static area\r\n * @param {number} sectionsPerRow The number of sections to display in a single row\r\n *\r\n * @return {object} Rendered large menu\r\n */\r\n\r\n }, {\r\n key: 'buildSection',\r\n value: function buildSection(sectionData, isFirstRow, isLastRow, isStaticAreaStart, sectionsPerRow) {\r\n\r\n return React.createElement(\r\n Grid,\r\n {\r\n item: true,\r\n xs: 12 / sectionsPerRow,\r\n key: sectionData && sectionData.key || uuid(),\r\n className: classNames(this.props.classes.section, isFirstRow ? 'first-row' : null, isLastRow ? 'last-row' : null, isStaticAreaStart ? this.props.classes.staticAreaStart : null, sectionData ? sectionData.dynamic ? 'megamenu-dynamic-section' : 'megamenu-static-section' : null)\r\n },\r\n sectionData ? this.buildSectionData(sectionData) : null\r\n );\r\n }\r\n }, {\r\n key: 'renderLargeMenu',\r\n\r\n\r\n /**\r\n * Renders the large version of the menu\r\n *\r\n * @param {Array.} staticItems Static menu items\r\n * @param {Array.} dynamicItems Dynamic menu items\r\n */\r\n value: function renderLargeMenu(staticItems, dynamicItems) {\r\n var _props4 = this.props,\r\n classes = _props4.classes,\r\n edsContext = _props4.edsContext;\r\n\r\n\r\n var hasDynamicItems = dynamicItems.length > 0;\r\n var sectionsPerRow = hasDynamicItems ? 4 : 3;\r\n\r\n // figure out how many rows we're displahing on the megamnu (which will be the max of the number of static and\r\n // dynamic rows)\r\n var numStaticRows = Math.ceil(staticItems.length / 3);\r\n var numRows = Math.max(numStaticRows, dynamicItems.length);\r\n\r\n var allItems = [];\r\n\r\n // loop through all the items, building section for each and putting them in the right place\r\n for (var rowIndex = 0; rowIndex < numRows; rowIndex++) {\r\n\r\n var isFirstRow = rowIndex === 0;\r\n var isLastRow = rowIndex === numRows - 1;\r\n\r\n // first item in the row is always\r\n if (hasDynamicItems) {\r\n // const dynamicItem = dynamicItems[rowIndex];\r\n allItems.push(this.buildSection(dynamicItems[rowIndex], isFirstRow, isLastRow, false, sectionsPerRow));\r\n }\r\n\r\n for (var colIndex = 0; colIndex < 3; colIndex++) {\r\n var staticItemsIndex = rowIndex * 3 + colIndex;\r\n allItems.push(this.buildSection(staticItems[staticItemsIndex], isFirstRow, isLastRow, hasDynamicItems && colIndex === 0, sectionsPerRow));\r\n }\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n {\r\n className: classNames(classes.megaMenu, !this.props.open ? classes.megaMenuHidden : null, this.props.useFluidTransition ? 'useFluidTransition' : null),\r\n 'data-megamenu-type': 'large',\r\n style: this.getMenuStyles(),\r\n 'aria-hidden': !this.props.open\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: classes.wrapper },\r\n React.createElement(\r\n Grid,\r\n { container: true, spacing: 4 },\r\n allItems.map(function (item) {\r\n return item;\r\n }),\r\n React.createElement(\r\n Grid,\r\n { item: true, xs: 12 },\r\n React.createElement(\r\n 'div',\r\n { className: classNames('megamenu-footer', classes.footerArea) },\r\n React.createElement(\r\n 'div',\r\n { className: classes.menuFooter },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2', color: 'textSecondary' },\r\n edsContext.formatMessage('component.MegaMenu.poweredBy')\r\n ),\r\n React.createElement(\r\n 'div',\r\n null,\r\n React.createElement(Logo, { logo: 'alternative', className: classes.logo })\r\n )\r\n )\r\n )\r\n )\r\n )\r\n )\r\n );\r\n }\r\n\r\n /**\r\n * Toggle scrolling in the document \r\n *\r\n * @param {boolean} enable Whether to enable body scrolling\r\n */\r\n\r\n }, {\r\n key: 'toggleBodyScroll',\r\n value: function toggleBodyScroll(enable) {\r\n document.body.style.overflow = enable ? this.state.previousBodyScroll : 'hidden';\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n\r\n if (this.props.open !== prevProps.open) {\r\n\r\n // remember current body overflow value when opening\r\n if (this.props.open) {\r\n this.setState({\r\n previousBodyScroll: document.body.style.overflow\r\n });\r\n }\r\n\r\n // clear selected item when the menu closes\r\n else {\r\n this.setState({\r\n selectedItemKey: null\r\n });\r\n }\r\n\r\n // enable/disable body scrolling\r\n this.toggleBodyScroll(!this.props.open);\r\n }\r\n }\r\n }, {\r\n key: 'componentWillUnmount',\r\n value: function componentWillUnmount() {\r\n // make sure body scroll is re-enabled\r\n this.toggleBodyScroll(true);\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _props5 = this.props,\r\n menuDefinition = _props5.menuDefinition,\r\n utilityDefinition = _props5.utilityDefinition,\r\n variant = _props5.variant;\r\n // separate dynamic-area from static-area items\r\n\r\n var dynamicItems = menuDefinition.filter(function (def) {\r\n return def.dynamic;\r\n });\r\n var staticItems = menuDefinition.filter(function (def) {\r\n return !def.dynamic;\r\n });\r\n\r\n if (variant === 'small') {\r\n return this.renderSmallMenu(staticItems, dynamicItems, utilityDefinition);\r\n } else {\r\n return this.renderLargeMenu(staticItems, dynamicItems);\r\n }\r\n }\r\n }]);\r\n\r\n return MegaMenu;\r\n}(React.Component);\r\n\r\n;\r\n\r\nMegaMenu.propTypes = {\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * Whether the menu is open\r\n */\r\n open: PropTypes.bool.isRequired,\r\n\r\n /**\r\n * The offset from the top at which the menu should be positioned (in pixels)\r\n */\r\n topOffset: PropTypes.number,\r\n\r\n /**\r\n * If the megamenu should appear within a DOM element (and be constrained within its borders), you must\r\n * provide a [ref](https://reactjs.org/docs/refs-and-the-dom.html) representing the containing element.\r\n */\r\n parentElementRef: PropTypes.object,\r\n\r\n /**\r\n * The menu items. An array of objects with the following format:\r\n *\r\n * - `key*`: A unique key, identifying the item\r\n * - `content`: Accepts straight text, or a component with some sort of visual representation - *Icon*, *NavLink*, etc.\r\n * - `dynamic`: Whether the item should appear in the dynamic area of the mega menu\r\n * - `items`: If the object has child items (eg, a menu), it can specify them in an array of objects\r\n *\r\n * The *items* objects take the following form:\r\n *\r\n * - `key`: A unique key\r\n * - `content`: Accepts straight text, or a component with some sort of visual representation - *Icon*, *NavLink*, etc.\r\n * - `disabled`: A boolean indicating whether the item is disabled\r\n * - `hidden`: A boolean indicating whether the item is hidden\r\n */\r\n menuDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * The utility items definition (design TBD)\r\n */\r\n utilityDefinition: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Invoked when an item is selected. The function is passed the key of the selected item.\r\n */\r\n onItemSelected: PropTypes.func,\r\n\r\n /**\r\n * Invoked when the menu wants to close\r\n */\r\n onClose: PropTypes.func.isRequired,\r\n\r\n /**\r\n * Whether the megamenu should use a fluid transition when opening/closing\r\n */\r\n useFluidTransition: PropTypes.bool,\r\n\r\n /**\r\n * The header that appears above the menu items portion of the small menu header\r\n */\r\n menuItemsHeader: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Determines the layout of the mega menu's contents\r\n */\r\n variant: PropTypes.oneOf(['small', 'large'])\r\n\r\n};\r\n\r\n// default properties\r\nMegaMenu.defaultProps = {\r\n menuDefinition: [],\r\n utilityDefinition: [],\r\n topOffset: 64,\r\n useFluidTransition: false,\r\n variant: 'large'\r\n};\r\n\r\nexport default withEDSContext(withMobileMegaMenu()(withStyles(styles)(MegaMenu)));","export var SEARCH_WIDTH_WITH_CATEGORY_MENU = '25.6rem';","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; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport List from './../../List';\r\nimport ListItem from './../../List/ListItem';\r\nimport ListItemText from './../../List/ListItemText';\r\nimport { withEDSContext } from '../../EDSContext/EDSContext';\r\nimport ListItemIcon from './../../List/ListItemIcon';\r\nimport Icon from '@ellucian/ds-icons/lib/Icon';\r\nimport { default as withStyles } from '../../styles';\r\nimport { SEARCH_WIDTH_WITH_CATEGORY_MENU } from './constants';\r\nimport { borderRadiusMedium, widthInputFields, borderWidthThin, colorTextNeutral500, spacing70 } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n height: 'auto',\r\n '&$listWidth': {\r\n width: '' + widthInputFields\r\n },\r\n '&$listWidthWithCategory': {\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU\r\n },\r\n '&$listRootFullWidth': {\r\n width: '100%'\r\n },\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)',\r\n marginTop: '.25rem',\r\n position: 'absolute',\r\n zIndex: theme.zIndex.dropdown\r\n },\r\n listItemHover: {\r\n '&:hover': {\r\n backgroundColor: 'initial !important',\r\n cursor: 'unset'\r\n },\r\n color: colorTextNeutral500\r\n },\r\n listRootFullWidth: {},\r\n listWidth: {},\r\n listIcon: {\r\n minWidth: spacing70\r\n },\r\n listWidthWithCategory: {}\r\n };\r\n};\r\n\r\nvar SearchStatus = React.forwardRef(function (props, ref) {\r\n var _classNames;\r\n\r\n var classes = props.classes,\r\n loading = props.loading,\r\n noData = props.noData,\r\n showCategoryMenu = props.showCategoryMenu,\r\n edsContext = props.edsContext;\r\n\r\n return React.createElement(\r\n List,\r\n {\r\n 'aria-busy': loading,\r\n 'aria-label': edsContext.formatMessage('component.Search.noresult'),\r\n className: classNames(classes.listWidth, (_classNames = {}, _defineProperty(_classNames, classes.listRootFullWidth, props.fullWidth), _defineProperty(_classNames, classes.listWidthWithCategory, showCategoryMenu), _classNames)),\r\n classes: {\r\n root: classes.root\r\n }\r\n },\r\n React.createElement(\r\n ListItem,\r\n { classes: {\r\n root: classes.listItemHover\r\n } },\r\n noData && React.createElement(ListItemText, { primary: edsContext.formatMessage('component.Search.noresult') }),\r\n loading && React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n ListItemIcon,\r\n { classes: {\r\n root: classes.listIcon\r\n } },\r\n React.createElement(Icon, {\r\n name: 'spinner',\r\n large: true,\r\n spin: true\r\n })\r\n ),\r\n React.createElement(ListItemText, { primary: edsContext.formatMessage('component.Search.loading') })\r\n )\r\n )\r\n );\r\n});\r\n\r\nSearchStatus.propTypes = {\r\n // To display loader.\r\n loading: PropTypes.bool,\r\n\r\n // To display no result found message.\r\n noData: PropTypes.bool,\r\n\r\n //the List will take up the full width of its container if value is true.\r\n fullWidth: PropTypes.bool\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(SearchStatus));","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport uuid from 'uuid';\r\nimport { default as withStyles } from '../styles';\r\nimport List from '@material-ui/core/List';\r\nimport ListItem from '@material-ui/core/ListItem';\r\nimport ListItemText from '@material-ui/core/ListItemText';\r\nimport Menu from '@material-ui/core/Menu';\r\nimport NativeSelect from '@material-ui/core/NativeSelect';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport { spacing30, boxShadowFocus, borderRadiusMedium, borderWidthThin, spacing50, spacing20, sizingLarge } from '../styles/tokens';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport isNil from 'lodash/isNil';\r\n\r\nvar ITEM_HEIGHT = 44;\r\nvar DEFAULT_SELECTED_INDEX = 0;\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n // SelectionMenu\r\n root: {\r\n display: 'inline-flex'\r\n },\r\n icon: {\r\n fill: theme.palette.grey[500]\r\n },\r\n listPadding: {\r\n paddingTop: '0.125rem',\r\n paddingBottom: '0.125rem'\r\n },\r\n\r\n listItemRoot: {\r\n paddingTop: '0.125rem',\r\n paddingBottom: '0.125rem',\r\n paddingLeft: spacing30,\r\n paddingRight: spacing30,\r\n\r\n '&:hover $icon': {\r\n fill: theme.palette.ctaColor.hover,\r\n color: theme.palette.ctaColor.hover\r\n },\r\n\r\n '&$listItemDisabled': {\r\n opacity: '1',\r\n '&:hover $icon': {\r\n fill: theme.palette.grey[400]\r\n }\r\n }\r\n },\r\n listItemDisabled: {},\r\n\r\n listItemButton: {\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid transparent',\r\n height: sizingLarge,\r\n '&:hover': {\r\n backgroundColor: 'transparent'\r\n },\r\n '&:focus': {\r\n backgroundColor: 'transparent',\r\n borderColor: theme.palette.grey[300],\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n\r\n disabled: {\r\n color: theme.palette.grey[500],\r\n fill: theme.palette.grey[400]\r\n },\r\n listItemTextRoot: {\r\n paddingRight: spacing30\r\n },\r\n menuRoot: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)'\r\n },\r\n\r\n // Native styles\r\n nativeSelectRoot: {\r\n marginRight: spacing20,\r\n height: sizingLarge,\r\n '&:hover $nativeIcon': {\r\n fill: theme.palette.ctaColor.hover\r\n },\r\n '&:hover $nativeIconDisabled': {\r\n fill: theme.palette.grey[400]\r\n }\r\n },\r\n nativeSelect: {\r\n height: 'auto',\r\n borderRadius: borderRadiusMedium,\r\n border: borderWidthThin + ' solid transparent',\r\n width: 'calc(100% - ' + spacing50 + ')',\r\n paddingLeft: spacing30,\r\n paddingRight: spacing50,\r\n '&:focus': {\r\n backgroundColor: 'transparent',\r\n borderColor: theme.palette.grey[300],\r\n boxShadow: boxShadowFocus,\r\n borderRadius: borderRadiusMedium\r\n },\r\n '&:disabled': {\r\n color: theme.palette.grey[400]\r\n }\r\n },\r\n nativeIcon: {\r\n top: 'calc(50% - .5rem)',\r\n fill: theme.palette.grey[500]\r\n },\r\n nativeIconDisabled: {\r\n fill: theme.palette.grey[400]\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use this smaller dropdown when space is limited and the dropdown does not need to be prominent.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v2.6.0\r\n * @examples\r\n * SelectionMenuExample\r\n * SelectionMenuDisabled\r\n * SelectionMenuControlled\r\n * CardSelectionMenu\r\n * CustomizedSelectionMenu\r\n * SelectionMenuNative\r\n */\r\n\r\nvar SelectionMenu = function (_React$Component) {\r\n _inherits(SelectionMenu, _React$Component);\r\n\r\n function SelectionMenu(props) {\r\n _classCallCheck(this, SelectionMenu);\r\n\r\n var _this = _possibleConstructorReturn(this, (SelectionMenu.__proto__ || Object.getPrototypeOf(SelectionMenu)).call(this, props));\r\n\r\n _initialiseProps.call(_this);\r\n\r\n _this.state = {\r\n anchorEl: null,\r\n selectedIndex: _this.props.selectedIndex || DEFAULT_SELECTED_INDEX\r\n };\r\n return _this;\r\n }\r\n\r\n _createClass(SelectionMenu, [{\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this;\r\n\r\n var _props = this.props,\r\n idProp = _props.id,\r\n classes = _props.classes,\r\n disabled = _props.disabled,\r\n childrenProp = _props.children,\r\n ContainerProps = _props.ContainerProps,\r\n edsContext = _props.edsContext,\r\n ListProps = _props.ListProps,\r\n ListItemProps = _props.ListItemProps,\r\n ListItemTextProps = _props.ListItemTextProps,\r\n MenuProps = _props.MenuProps,\r\n native = _props.native,\r\n selectedIndexProp = _props.selectedIndex,\r\n rest = _objectWithoutProperties(_props, ['id', 'classes', 'disabled', 'children', 'ContainerProps', 'edsContext', 'ListProps', 'ListItemProps', 'ListItemTextProps', 'MenuProps', 'native', 'selectedIndex']);\r\n\r\n var _state = this.state,\r\n anchorEl = _state.anchorEl,\r\n selectedIndex = _state.selectedIndex;\r\n\r\n var id = idProp || uuid();\r\n\r\n var _ref = ListItemTextProps || {},\r\n listItemTextPropClasses = _ref.classes,\r\n ListItemTextPropsRest = _objectWithoutProperties(_ref, ['classes']);\r\n\r\n var _ref2 = listItemTextPropClasses || {},\r\n listItemTextPropClassesRoot = _ref2.root,\r\n restOfClasses = _objectWithoutProperties(_ref2, ['root']);\r\n\r\n var overrideClasses = Object.assign({\r\n root: cn(classes.listItemTextRoot, listItemTextPropClassesRoot)\r\n }, restOfClasses);\r\n\r\n var children = childrenProp;\r\n\r\n if (!native) {\r\n children = React.Children.map(childrenProp, function (child, index) {\r\n return React.cloneElement(child, {\r\n onClick: function onClick(event) {\r\n _this2.handleMenuItemClick(event, index);\r\n if (child.props.onClick) {\r\n child.props.onClick(event);\r\n }\r\n },\r\n selected: index === selectedIndex\r\n });\r\n });\r\n }\r\n\r\n // Assume Array is sent in, else show empty label\r\n var selectedIndexLabel = Array.isArray(children) && children[selectedIndex].props.children || '';\r\n var ariaControlProp = Boolean(anchorEl) ? { 'aria-controls': id } : {};\r\n\r\n return native ? React.createElement(\r\n NativeSelect,\r\n Object.assign({\r\n id: id,\r\n disabled: disabled,\r\n IconComponent: ChevronDown,\r\n classes: {\r\n root: classes.nativeSelectRoot,\r\n select: classes.nativeSelect,\r\n icon: cn(classes.nativeIcon, _defineProperty({}, classes.nativeIconDisabled, disabled))\r\n },\r\n disableUnderline: true\r\n }, rest),\r\n children\r\n ) : React.createElement(\r\n 'div',\r\n Object.assign({ className: classes.root }, ContainerProps),\r\n React.createElement(\r\n List,\r\n Object.assign({\r\n id: id + '-container',\r\n component: 'nav',\r\n disablePadding: true\r\n }, ListProps),\r\n React.createElement(\r\n ListItem,\r\n Object.assign({\r\n button: true,\r\n disabled: disabled,\r\n disableGutters: true,\r\n 'aria-haspopup': 'true',\r\n onClick: this.handleOpenMenu,\r\n classes: {\r\n root: classes.listItemRoot,\r\n button: classes.listItemButton,\r\n disabled: classes.listItemDisabled\r\n }\r\n }, ariaControlProp, ListItemProps),\r\n React.createElement(ListItemText, Object.assign({\r\n primary: selectedIndexLabel,\r\n classes: overrideClasses,\r\n primaryTypographyProps: {\r\n className: cn(_defineProperty({}, classes.disabled, disabled))\r\n }\r\n }, ListItemTextPropsRest)),\r\n React.createElement(ChevronDown, {\r\n className: cn(classes.icon, _defineProperty({}, classes.disabled, disabled))\r\n })\r\n )\r\n ),\r\n React.createElement(\r\n Menu,\r\n Object.assign({\r\n id: id,\r\n anchorEl: anchorEl,\r\n open: Boolean(anchorEl),\r\n onClose: this.handleClose,\r\n MenuListProps: {\r\n disablePadding: true\r\n },\r\n classes: {\r\n paper: classes.menuRoot\r\n },\r\n PaperProps: {\r\n dir: edsContext.dir,\r\n style: {\r\n maxHeight: ITEM_HEIGHT * 7\r\n }\r\n }\r\n }, MenuProps),\r\n children\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return SelectionMenu;\r\n}(React.Component);\r\n\r\nSelectionMenu.getDerivedStateFromProps = function (props, state) {\r\n var index = null;\r\n\r\n if (!isNil(props.selectedIndex)) {\r\n if (props.selectedIndex < 0 || props.selectedIndex > props.children.length - 1 || typeof props.selectedIndex !== 'number') {\r\n console.warn('The value ' + props.selectedIndex + ' passed to selectedIndex is invalid. Resetting selectedIndex to 0.');\r\n index = DEFAULT_SELECTED_INDEX;\r\n props.onChange(index);\r\n return {\r\n anchorEl: state.anchorEl,\r\n selectedIndex: index\r\n };\r\n } else {\r\n return {\r\n anchorEl: state.anchorEl,\r\n selectedIndex: props.selectedIndex\r\n };\r\n }\r\n }\r\n\r\n return null; // Indicates no change to the state\r\n};\r\n\r\nvar _initialiseProps = function _initialiseProps() {\r\n var _this3 = this;\r\n\r\n this.handleOpenMenu = function (event) {\r\n _this3.setState({ anchorEl: event.currentTarget });\r\n };\r\n\r\n this.handleMenuItemClick = function (event, index) {\r\n !isNil(_this3.props.selectedIndex) ? _this3.setState({ anchorEl: null }, _this3.props.onChange(index)) : _this3.setState({ selectedIndex: index, anchorEl: null });\r\n };\r\n\r\n this.handleClose = function () {\r\n _this3.setState({ anchorEl: null });\r\n };\r\n};\r\n\r\nSelectionMenu.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The unique HTML `id`. This is internally used to assist with accessibility of the nodes rendered.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * The items to select from, most commonly `SelectionMenuItem`.\r\n *\r\n * If `native` is `true`, `children` should be the HTML `option` element.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * If `true`, the `SelectionMenu` will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Properties applied to the wrapping `div` component. This prop should not be used if `native` is `true`.\r\n */\r\n ContainerProps: PropTypes.object,\r\n /**\r\n * Properties applied to the `Menu` component. Any other properties supplied\r\n * will be spread to the root element `Popover`. This prop should not be used if `native` is `true`.\r\n */\r\n MenuProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`List`](#/components/List) component. This prop should not be used if `native` is `true`.\r\n */\r\n ListProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`ListItem`](#/components/List) component. This prop should not be used if `native` is `true`.\r\n */\r\n ListItemProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`ListItemText`](#/components/List) component. This prop should not be used if `native` is `true`.\r\n */\r\n ListItemTextProps: PropTypes.object,\r\n /**\r\n * The (0-based) index of the child that will be marked as selected.\r\n *\r\n * Specifying this prop makes the `SelectionMenu` a controlled component.\r\n */\r\n selectedIndex: PropTypes.number,\r\n /**\r\n * If `true`, render a native HTML `select` element.\r\n */\r\n native: PropTypes.bool,\r\n /**\r\n * Properties applied to the HTML `input` element, if `native` is `true`.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Callback function fired when a menu item is selected if `native` or `selectedIndex` is provided\r\n *\r\n * `onChange` for `selectedIndex` menus:\r\n *\r\n * * Signature: `function(index) => void`\r\n *\r\n *\r\n * `onChange` for `native` menus:\r\n *\r\n * * Signature: `function(event: object) => void`\r\n *\r\n * * `event`: The event source of the callback. You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The value of the HTML `input` element, if `native` is `true`.\r\n */\r\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.bool]),\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object\r\n};\r\n\r\nSelectionMenu.defaultProps = {};\r\n\r\nexport default withEDSContext(withStyles(styles)(SelectionMenu));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\nimport MenuItem from '@material-ui/core/MenuItem';\r\nimport { borderWidthThin, fontSizeDefault, lineHeightHeader3, sizingXxLarge } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n menuRoot: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n },\r\n menuItemRoot: {\r\n fontSize: fontSizeDefault,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n paddingTop: '.75rem',\r\n paddingBottom: '.75rem',\r\n '&:focus, &:hover': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.grey[600]\r\n },\r\n '&:last-child': {\r\n borderBottom: 'none'\r\n },\r\n '&$menuItemSelected': {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n },\r\n minHeight: sizingXxLarge,\r\n lineHeight: lineHeightHeader3\r\n },\r\n menuItemSelected: {\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n '&:focus:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n },\r\n '&:hover': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n }\r\n };\r\n};\r\n\r\nvar SelectionMenuItem = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n children = props.children,\r\n disabled = props.disabled,\r\n rest = _objectWithoutProperties(props, ['classes', 'children', 'disabled']);\r\n\r\n return React.createElement(\r\n MenuItem,\r\n Object.assign({\r\n classes: {\r\n root: classes.menuItemRoot,\r\n selected: classes.menuItemSelected\r\n },\r\n disabled: disabled,\r\n 'aria-disabled': disabled ? true : false,\r\n ref: ref\r\n }, rest),\r\n children\r\n );\r\n});\r\n\r\n// necessary to add an explicit display name, since docgen can't seem to\r\n// extract one from a forwardRef'd component\r\nSelectionMenuItem.displayName = 'SelectionMenuItem';\r\n\r\nSelectionMenuItem.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The text of the item.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * If `true`, the item will be disabled.\r\n */\r\n disabled: PropTypes.bool\r\n};\r\n\r\nexport default withStyles(styles, { name: 'SelectionMenuItem' })(SelectionMenuItem);","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nfunction _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; }\r\n\r\nimport React, { useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport _debounce from 'lodash/debounce';\r\nimport _isEmpty from 'lodash/isEmpty';\r\nimport _isNil from 'lodash/isNil';\r\nimport classNames from 'classnames';\r\nimport uuid from 'uuid/v4';\r\nimport SearchStatus from './internal/SearchStatus';\r\nimport List from '../List/List';\r\nimport TextField from '../TextField/TextField';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport Tooltip from '../Tooltip/Tooltip';\r\nimport IconButton from '../IconButton/IconButton';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport SelectionMenu from '../SelectionMenu/SelectionMenu';\r\nimport SelectionMenuItem from '../SelectionMenu/SelectionMenuItem';\r\nimport useWidth from '../useWidth';\r\nimport { SEARCH_WIDTH_WITH_CATEGORY_MENU } from './internal/constants';\r\n\r\nimport { borderRadiusMedium, borderWidthThick, borderWidthThin, boxShadowError, colorBorderAlertError, colorTextNeutral100, heightInputFields, sizingSmall, sizingXLarge, spacing60, spacing40, spacing30, spacing20, widthFluid, widthInputFields } from '../styles/tokens';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport { default as MuiTextField } from '@material-ui/core/TextField';\r\nimport SearchIcon from '@ellucian/ds-icons/lib/Search';\r\nimport CloseIcon from '@ellucian/ds-icons/lib/Close';\r\n\r\nexport var VARIANTS = {\r\n STANDALONE: 'standalone',\r\n STANDARD: 'standard'\r\n};\r\n\r\nexport var COLORS = {\r\n LIGHT: 'light',\r\n DARK: 'dark'\r\n};\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n var _searchInput;\r\n\r\n return {\r\n listRoot: {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n height: 'auto',\r\n '&$listWidth': {\r\n width: '' + widthInputFields\r\n },\r\n '&$listRootFullWidth': {\r\n width: '100%'\r\n },\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '0 0.125rem 0.0625rem -0.0625rem rgba(0, 0, 0, 0.12), 0 0.0625rem 0.0625rem 0 rgba(0, 0, 0, 0.14), 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.21)',\r\n marginTop: spacing20,\r\n maxHeight: '20rem',\r\n overflow: 'auto',\r\n position: 'absolute',\r\n zIndex: theme.zIndex.dropdown,\r\n '&$resultListWidthWithCategoryMenu': {\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU\r\n }\r\n },\r\n resultListWidthWithCategoryMenu: {},\r\n listWidth: {},\r\n inputBackground: {\r\n // with label\r\n position: 'absolute',\r\n top: '0',\r\n left: '0',\r\n borderColor: 'transparent',\r\n boxShadow: 'none',\r\n color: theme.palette.grey[500],\r\n borderRadius: borderRadiusMedium,\r\n height: heightInputFields,\r\n width: widthInputFields,\r\n outline: '0',\r\n paddingTop: '0.8125rem', // 13px\r\n paddingLeft: '0.9375rem', // 15px\r\n fontSize: theme.typography.body1.fontSize,\r\n fontFamily: theme.typography.fontFamily,\r\n backgroundColor: theme.palette.grey[100],\r\n '&$error': {\r\n // standard with label\r\n paddingTop: '0.875rem', // 14px\r\n paddingLeft: spacing40 // 16px\r\n },\r\n '&$standaloneInput': {\r\n backgroundColor: 'transparent',\r\n paddingLeft: '2.375rem', // 38px\r\n top: '-' + spacing30,\r\n width: 0,\r\n '&$error$inputBackgroundWithoutLabel': {\r\n paddingTop: 1\r\n }\r\n },\r\n '&$standaloneInputExpanded': {\r\n paddingLeft: '1.84375rem', // 29.5px\r\n paddingTop: '0.125rem' // 2px\r\n },\r\n '&$standaloneInputOpen': {\r\n width: widthInputFields\r\n },\r\n '&$standaloneInputOpenFluid': {\r\n width: widthFluid,\r\n paddingLeft: '2.375rem !important' // 38px\r\n },\r\n '&$error$inputBackgroundWithoutLabel': {\r\n paddingTop: spacing20 // 4px\r\n }\r\n },\r\n inputBackgroundCategoryMenu: {\r\n // with label\r\n position: 'absolute',\r\n borderColor: 'transparent',\r\n boxShadow: 'none',\r\n opacity: 1,\r\n border: 0,\r\n color: theme.palette.grey[500],\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0',\r\n height: '100%',\r\n width: 'auto',\r\n outline: '0',\r\n margin: 0,\r\n paddingTop: '0.875rem', // 14px\r\n paddingLeft: '1.0625rem', // 17px\r\n fontSize: theme.typography.body1.fontSize,\r\n fontFamily: theme.typography.fontFamily,\r\n '&$inputBackgroundWithoutLabel': {\r\n paddingTop: '0.0625rem', // 1px\r\n paddingLeft: '1.0625rem' // 17px\r\n }\r\n },\r\n\r\n standaloneInput: {},\r\n standaloneInputExpanded: {},\r\n standaloneInputOpen: {\r\n width: widthInputFields\r\n },\r\n standaloneInputOpenFluid: {\r\n width: '100%'\r\n },\r\n\r\n searchInputWrapper: {\r\n position: 'relative'\r\n },\r\n\r\n searchInputWrapperCategoryMenu: {\r\n position: 'relative',\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU,\r\n display: 'flex',\r\n height: heightInputFields,\r\n '&.eds-full-width': {\r\n width: '100%'\r\n }\r\n },\r\n\r\n // ensures that the typeahead text is visible through the main textfield\r\n searchBackground: {\r\n '& label + div': {\r\n background: 'transparent'\r\n },\r\n '& > div': {\r\n background: 'transparent'\r\n },\r\n '& div input': {\r\n textOverflow: 'ellipsis'\r\n },\r\n '& > input + div': {\r\n textOverflow: 'ellipsis',\r\n backgroundColor: colorTextNeutral100\r\n }\r\n },\r\n inputBackgroundWithoutLabel: {\r\n paddingTop: '0.125rem', // 2px\r\n paddingLeft: '0.9375rem' // 15px\r\n },\r\n iOSAlignmentWithLabel: {\r\n paddingLeft: spacing40, // 16px\r\n paddingTop: spacing40, // 16px\r\n '&$error': {\r\n paddingLeft: '1.0625rem', // 17px\r\n paddingTop: '1.125rem' // 18px\r\n }\r\n },\r\n iOSAlignmentWithoutLabel: {\r\n paddingLeft: '.99rem',\r\n paddingTop: '.3rem',\r\n '&$error': {\r\n paddingLeft: '1.0625rem', // 17px\r\n paddingTop: spacing30 // 8px\r\n },\r\n '&$standaloneInput': {\r\n paddingTop: '0.375rem', // 6px\r\n paddingLeft: '2.4375rem' // 39px\r\n },\r\n '&$standaloneInputExpanded': {\r\n paddingLeft: '2.4375rem' // 39px\r\n },\r\n '&$standaloneInputOpen': {\r\n paddingLeft: '2.4375rem' // 39px\r\n },\r\n '&$standaloneInputOpenFluid': {\r\n paddingLeft: '2.4375rem !important', // 39px\r\n paddingTop: '0.3125rem' // 5px\r\n }\r\n },\r\n searchContainer: {\r\n minWidth: '2.625rem', // IconButton width plus focus box shadow width\r\n position: 'relative',\r\n '&.eds-inline-search-category-menu': {\r\n width: SEARCH_WIDTH_WITH_CATEGORY_MENU\r\n },\r\n '&.eds-inline-search': {\r\n width: widthInputFields\r\n }\r\n },\r\n searchContainerFullWidth: {\r\n position: 'relative',\r\n width: '100%'\r\n },\r\n searchContainerFullWidthClosed: {\r\n width: '2.625rem' // IconButton width plus focus box shadow width\r\n },\r\n\r\n searchContainerFullWidthClosedHelperText: {\r\n width: 'auto'\r\n },\r\n\r\n inputBackgroundFullWidth: {\r\n width: '100%',\r\n '&$standaloneInputExpanded': {\r\n paddingLeft: '2.1875rem' // 35px\r\n }\r\n },\r\n listRootFullWidth: {},\r\n\r\n inputError: {},\r\n\r\n // standalone search\r\n standaloneFormControl: {\r\n width: 0,\r\n borderBottom: 'solid ' + borderWidthThick + ' transparent',\r\n transition: theme.transitions.create(['border', 'width'], {\r\n duration: theme.transitions.duration.standard,\r\n easing: theme.transitions.easing.easeInOut\r\n })\r\n },\r\n standaloneFormControlOpen: {\r\n borderBottom: 'solid ' + borderWidthThick + ' ' + theme.palette.grey[500],\r\n width: widthInputFields,\r\n '&$disabled': {\r\n borderColor: theme.palette.disabled.background\r\n },\r\n '&$inputError': {\r\n borderColor: colorBorderAlertError\r\n },\r\n '&$standaloneLight': {\r\n borderBottom: 'solid ' + borderWidthThick + ' ' + theme.palette.grey[100],\r\n '&$disabled': {\r\n borderColor: theme.palette.disabled.background\r\n }\r\n }\r\n },\r\n standaloneFormControlOpenFullWidth: {\r\n width: widthFluid\r\n },\r\n searchInput: (_searchInput = {\r\n width: 0,\r\n opacity: 0,\r\n WebkitTransition: theme.transitions.create(['border', 'width', 'opacity'], {\r\n duration: theme.transitions.duration.standard,\r\n easing: theme.transitions.easing.easeInOut\r\n }),\r\n transition: theme.transitions.create(['border', 'width', 'opacity'], {\r\n duration: theme.transitions.duration.standard,\r\n easing: theme.transitions.easing.easeInOut\r\n })\r\n }, _defineProperty(_searchInput, '&[type=\"search\"]::-webkit-search-decoration,\\n &[type=\"search\"]::-webkit-search-cancel-button,\\n &[type=\"search\"]::-webkit-search-results-button,\\n &[type=\"search\"]::-webkit-search-results-decoration', {\r\n display: 'none'\r\n }), _defineProperty(_searchInput, '&[type=\"search\"]', {\r\n '-webkit-appearance': 'none'\r\n }), _defineProperty(_searchInput, '&[type=search]::-ms-clear', {\r\n display: 'none',\r\n width: 0,\r\n height: 0\r\n }), _searchInput),\r\n standaloneLight: {},\r\n standaloneInputLight: {\r\n color: theme.palette.grey[100]\r\n },\r\n standaloneSearchIconExpanded: {\r\n width: sizingXLarge,\r\n height: sizingXLarge,\r\n display: 'flex',\r\n justifyContent: 'center',\r\n alignItems: 'center'\r\n },\r\n searchIcon: {\r\n width: sizingSmall,\r\n height: sizingSmall\r\n },\r\n searchIconExpanded: {\r\n fill: theme.palette.grey[500],\r\n '&$light': {\r\n fill: theme.palette.grey[100]\r\n },\r\n '&$disabled': {\r\n color: theme.palette.disabled.background,\r\n fill: theme.palette.disabled.background\r\n }\r\n },\r\n light: {},\r\n disabled: {},\r\n searchInputOpen: {\r\n opacity: 1,\r\n width: widthFluid\r\n },\r\n\r\n categoryMenuRoot: {\r\n backgroundColor: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRight: 'none',\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium,\r\n display: 'inline-block',\r\n maxWidth: '30%',\r\n '&.eds-category-search-inline': {\r\n maxWidth: '40%'\r\n },\r\n '& svg': {\r\n position: 'absolute',\r\n right: spacing40\r\n },\r\n '& $categoryListButton': {\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium,\r\n height: '100%',\r\n padding: '.6rem ' + spacing40,\r\n paddingRight: spacing60,\r\n '&:focus': {\r\n 'zIndex': 2 // ensures that the focus ring appears *over* the adjacent search field\r\n }\r\n },\r\n '&$error': {\r\n border: 'none'\r\n }\r\n },\r\n\r\n error: {},\r\n\r\n categoryListButton: {\r\n '&$error': {\r\n border: borderWidthThick + ' solid ' + colorBorderAlertError,\r\n borderRight: 'none',\r\n boxSizing: 'border-box',\r\n height: heightInputFields,\r\n '&:focus': {\r\n boxShadow: boxShadowError,\r\n borderRightColor: colorBorderAlertError\r\n }\r\n }\r\n },\r\n\r\n categoryMenuRootDisabled: {\r\n backgroundColor: theme.palette.grey[200],\r\n cursor: 'not-allowed'\r\n },\r\n\r\n // truncates category list menu text\r\n categoryListText: {\r\n '& > span': {\r\n whiteSpace: 'nowrap',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis'\r\n }\r\n },\r\n\r\n searchFieldRoot: {\r\n // border overrides when category sidecar is present\r\n '& $searchWithCategory': {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0',\r\n '& $error;': {\r\n borderLeftColor: colorBorderAlertError\r\n }\r\n },\r\n // allows the textfield to span the full width of the search container, so that the typeahead\r\n // menu does as well\r\n '&$searchWithCategoryWidthOverride': {\r\n width: '100%'\r\n }\r\n },\r\n\r\n searchWithCategory: {\r\n height: heightInputFields,\r\n '&$error': {\r\n borderLeftColor: colorBorderAlertError\r\n }\r\n },\r\n searchWithCategoryWidthOverride: {},\r\n\r\n searchFieldContainer: {\r\n flexGrow: 1, // search field takes all available excess space\r\n width: '7rem',\r\n backgroundColor: theme.palette.grey[100],\r\n borderRadius: borderRadiusMedium\r\n },\r\n\r\n searchResultsList: {\r\n top: '3.375rem',\r\n position: 'absolute',\r\n width: '100%',\r\n '&$searchResultsListStandalone': {\r\n top: '2.5rem'\r\n }\r\n },\r\n searchResultsListStandalone: {}\r\n };\r\n}, { index: 2 });\r\n\r\nvar DEFAULT_PLACEHOLDER = 'Search';\r\n\r\n// figure out context\r\nvar isIOS = /(iPhone|iPad|iPod)/.test(navigator.platform);\r\n\r\n/**\r\n * A search field that can appear as both a full-fledged textfield, and a collapsible search control. It supports\r\n * typehead searching in both variants.\r\n *\r\n * @done true\r\n * @updated true\r\n * @versionAdded v3.6.0\r\n * @examples\r\n * SearchCountryNameMockExample\r\n * SearchCountryNameAPIExample\r\n * DefaultSearchStandalone\r\n * OpenSearchExample\r\n * SearchStandaloneTypeahead\r\n * CategorySearchExample\r\n * ErrorHelperTextExample\r\n */\r\nvar Search = React.forwardRef(function (props, ref) {\r\n var _classNames6, _classNames8, _classNames9, _classNames10, _classNames11;\r\n\r\n var childrenProp = props.children,\r\n value = props.value,\r\n onSearchInvokedProp = props.onSearchInvoked,\r\n expanded = props.expanded,\r\n color = props.color,\r\n fullWidth = props.fullWidth,\r\n variant = props.variant,\r\n label = props.label,\r\n ariaLabel = props['aria-label'],\r\n typeaheadOptions = props.typeaheadOptions,\r\n edsContext = props.edsContext,\r\n searchCategories = props.searchCategories,\r\n placeholderProp = props.placeholder,\r\n error = props.error,\r\n helperText = props.helperText,\r\n FormHelperTextProps = props.FormHelperTextProps,\r\n inputProps = props.inputProps,\r\n hideCategoryAllOption = props.hideCategoryAllOption,\r\n hideCategoryMenuXs = props.hideCategoryMenuXs;\r\n var loading = typeaheadOptions.loading,\r\n _typeaheadOptions$sea = typeaheadOptions.searchDelay,\r\n searchDelay = _typeaheadOptions$sea === undefined ? 500 : _typeaheadOptions$sea,\r\n onFilterProp = typeaheadOptions.onFilter,\r\n onItemSelectProp = typeaheadOptions.onItemSelect;\r\n\r\n\r\n var cleanedId = props.id || uuid();\r\n\r\n // show the category menu if (a) the caller passed in categories; (b) we're not in an xs viewport, unless hideCategoryMenuXs is false\r\n var showCategoryMenu = searchCategories && (!hideCategoryMenuXs ? true : useWidth() !== 'xs');\r\n\r\n var typeahead = !_isEmpty(typeaheadOptions);\r\n var classes = useStyles();\r\n\r\n var _useState = useState(false),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n resultListOpen = _useState2[0],\r\n setResultListOpen = _useState2[1]; // handles visibility of search results list\r\n\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n standaloneInputOpen = _useState4[0],\r\n setStandaloneInputOpen = _useState4[1]; // handles standalone expanded state\r\n\r\n\r\n var placeholder = placeholderProp === DEFAULT_PLACEHOLDER ? edsContext.formatMessage('component.Search.placeholder') : placeholderProp;\r\n\r\n // the selected index of the category search\r\n\r\n var _useState5 = useState(-1),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n currentCategoryIndex = _useState6[0],\r\n setCurrentCategoryIndex = _useState6[1];\r\n\r\n // disable the standalone search close behavior on blur; used to keep the search open when the user clicks\r\n // on a menu item\r\n\r\n\r\n var suppressSearchClose = false;\r\n\r\n var _useState7 = useState(-1),\r\n _useState8 = _slicedToArray(_useState7, 2),\r\n activeItemIndex = _useState8[0],\r\n setActiveItemIndex = _useState8[1];\r\n\r\n var _useState9 = useState(''),\r\n _useState10 = _slicedToArray(_useState9, 2),\r\n tooltipText = _useState10[0],\r\n setTooltipText = _useState10[1];\r\n\r\n var inputRef = React.useRef(null);\r\n var searchIconButtonRef = React.createRef();\r\n var standaloneRef = React.createRef();\r\n\r\n var children = childrenProp;\r\n\r\n React.useImperativeHandle(ref, function () {\r\n return {\r\n focus: function focus() {\r\n inputRef.current.focus();\r\n }\r\n };\r\n });\r\n\r\n // warn if the caller is trying to use search categories with a standalone search\r\n React.useEffect(function () {\r\n if (searchCategories && variant === VARIANTS.STANDALONE) {\r\n console.warn('Search categories cannot be used with standalone variants of search');\r\n }\r\n }, [variant, searchCategories]);\r\n\r\n // Event triggers when user selects a list item.\r\n var onItemSelect = function onItemSelect(event, index, option) {\r\n setResultListOpen(false);\r\n if (inputRef && inputRef.current) {\r\n inputRef.current.focus();\r\n }\r\n setActiveItemIndex(-1);\r\n if (onItemSelectProp) {\r\n onItemSelectProp(event, index, option);\r\n }\r\n };\r\n\r\n // Event triggers when user enters data into textfield for search.\r\n var onChange = function onChange(event) {\r\n setActiveItemIndex(-1);\r\n if (tooltipText.length > 0) {\r\n setTooltipText('');\r\n }\r\n\r\n if (props.onChange) {\r\n props.onChange(event);\r\n }\r\n\r\n // if there's a delay before invoking the onFilter fuction, call the debounced version\r\n if (searchDelay > 0) {\r\n memoizedOnFilter(event);\r\n\r\n // no delay, call it directly\r\n } else {\r\n onFilter(event);\r\n }\r\n\r\n // Execute the persist method of event object to pass SyntheticEvent in callback methods.\r\n // https://reactjs.org/docs/events.html#event-pooling\r\n event.persist();\r\n };\r\n\r\n // opens up the typeahead list, then calls the passed-in onFilter function\r\n var onFilter = function onFilter(event) {\r\n if (event.target.value.length) {\r\n setResultListOpen(true);\r\n } else {\r\n setResultListOpen(false);\r\n }\r\n if (onFilterProp) {\r\n onFilterProp(event.target.value, _isNil(currentCategoryIndex) ? null : currentCategoryIndex, event);\r\n }\r\n };\r\n\r\n // the debounced version of onFilter\r\n //\r\n // it's memoized by useCallback, so that it's only defined once, no many how many times Search is rendered;\r\n // if any of its dependent values change, it'll be redefined, etc.\r\n var memoizedOnFilter = React.useCallback(_debounce(onFilter, searchDelay), [props.onFilter, currentCategoryIndex, searchDelay]);\r\n\r\n // Refer following link for more details about escaping regex characters\r\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\r\n var escapeRegExp = function escapeRegExp(string) {\r\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\r\n };\r\n\r\n // Method to check whether the first item in the result list starts with the search string.\r\n // This will help us to display ghost/suggestion text in the background.\r\n var getFirstItemFromResult = function getFirstItemFromResult(exactResult) {\r\n var firstItem = '';\r\n try {\r\n if (resultListOpen && !loading && children && children.length > 0 && value.length > 0) {\r\n firstItem = children[0].props.children;\r\n var firstItemRegex = new RegExp('^' + escapeRegExp(value), 'i');\r\n if (!children[0].props.disabled && firstItemRegex.test(firstItem)) {\r\n // unless we've been asked for an exact result, retain the case of the\r\n // typed-in portion of the match\r\n if (!exactResult) {\r\n firstItem = firstItem.replace(firstItemRegex, value);\r\n }\r\n\r\n // Hide suggested text if content is more than the TextField width.\r\n if (inputRef.current && inputRef.current.clientWidth < inputRef.current.scrollWidth) {\r\n firstItem = '';\r\n }\r\n } else {\r\n firstItem = '';\r\n }\r\n }\r\n } catch (err) {\r\n console.error('Error while fetching first item from the list', err);\r\n }\r\n return firstItem;\r\n };\r\n\r\n // Triggers when the search text needs to be cleared\r\n var onClear = function onClear(event) {\r\n setResultListOpen(false);\r\n if (props.onClear) {\r\n props.onClear(event);\r\n }\r\n\r\n // stop the event that led to the clear from propagating up\r\n // to the search field (we don't want this to invoke any search events)\r\n event.preventDefault();\r\n event.stopPropagation();\r\n\r\n // refocus search field\r\n inputRef.current.focus();\r\n };\r\n\r\n var onClickOutside = function onClickOutside(event) {\r\n if (variant === VARIANTS.STANDALONE) {\r\n setStandaloneInputOpen(false);\r\n }\r\n setResultListOpen(false);\r\n };\r\n\r\n var onSearchInvoked = function onSearchInvoked(searchValue, event) {\r\n if (onSearchInvokedProp) {\r\n onSearchInvokedProp(searchValue, _isNil(currentCategoryIndex) ? null : currentCategoryIndex, event);\r\n }\r\n };\r\n\r\n if (children && children.length) {\r\n children = React.Children.map(childrenProp, function (child, index) {\r\n return React.cloneElement(child, {\r\n onClick: function onClick(event) {\r\n onItemSelect(event, index, child.props.option);\r\n },\r\n onMouseDown: function onMouseDown() {\r\n // we don't want the loss of focus resulting from clicking this item to close\r\n // the standalone search; use this flag to temporarily suppress the blur handler's\r\n // desire to close it\r\n suppressSearchClose = true;\r\n },\r\n onKeyDown: function onKeyDown(event) {\r\n onKeyDownHandler(event);\r\n },\r\n isActive: activeItemIndex === index,\r\n searchString: value\r\n });\r\n });\r\n }\r\n\r\n // Down arrow: increment the index\r\n var handleDownArrow = function handleDownArrow(event) {\r\n if (activeItemIndex < children.length - 1) {\r\n setActiveItemIndex(activeItemIndex + 1);\r\n }\r\n // prevents page from excecuting excess scrolling in list, prevents arrow keys from leaving list\r\n event.preventDefault();\r\n };\r\n\r\n // Up arrow: Decrement the index.\r\n var handleUpArrow = function handleUpArrow(event) {\r\n if (activeItemIndex > 0) {\r\n setActiveItemIndex(activeItemIndex - 1);\r\n } else {\r\n setActiveItemIndex(-1);\r\n inputRef.current.focus();\r\n }\r\n event.preventDefault();\r\n };\r\n\r\n // Enter: if focus is on list item.\r\n var handleOnEnter = function handleOnEnter(event) {\r\n if (typeahead && activeItemIndex >= 0) {\r\n event.preventDefault();\r\n setActiveItemIndex(-1);\r\n onItemSelect(event, activeItemIndex, children[activeItemIndex].props.option);\r\n\r\n // get the text of the selected item\r\n onSearchInvoked(children[activeItemIndex].props.children, event);\r\n } else {\r\n // get the search text\r\n onSearchInvoked(event.target.value, event);\r\n }\r\n\r\n // Close result list\r\n setResultListOpen(false);\r\n };\r\n\r\n // Tab: Selects suggested ghost content.\r\n var handleTab = function handleTab(event) {\r\n // grab the completed value (exactly as it appears in the result list)\r\n var selectedValue = getFirstItemFromResult(true);\r\n\r\n if (selectedValue.length > 0) {\r\n event.preventDefault();\r\n setActiveItemIndex(-1);\r\n onItemSelect(event, 0, children[0].props.option);\r\n onSearchInvoked(selectedValue, event);\r\n } else {\r\n setResultListOpen(false);\r\n }\r\n };\r\n\r\n // Right arrow: Selects first item if it starts with search string\r\n var handleRightArrow = function handleRightArrow(event) {\r\n if (getFirstItemFromResult().length > 0) {\r\n event.preventDefault();\r\n setActiveItemIndex(-1);\r\n onItemSelect(event, 0, children[0].props.option);\r\n }\r\n };\r\n\r\n // Esc button: Closes search results list and standalone input\r\n var handleEscape = function handleEscape(event) {\r\n event.preventDefault();\r\n setResultListOpen(false);\r\n if (variant === VARIANTS.STANDALONE) {\r\n setStandaloneInputOpen(false);\r\n searchIconButtonRef.current.focus(); // focus icon button after input closes\r\n }\r\n };\r\n\r\n // Standalone blur: close standalone input\r\n var onStandaloneBlurHandler = function onStandaloneBlurHandler(event) {\r\n // determine if the focus has left the component entirely\r\n var departed = !standaloneRef.current.contains(event.relatedTarget);\r\n\r\n // if it has close the input; but first make sure the result list isn't open; we don't want blurs\r\n // that occur as a result of selecting an item from the list to close the search\r\n if (departed && !suppressSearchClose) {\r\n setStandaloneInputOpen(false);\r\n setResultListOpen(false);\r\n suppressSearchClose = false;\r\n }\r\n };\r\n\r\n var onKeyDownHandler = function onKeyDownHandler(event) {\r\n // Executes appropriate event handler if list is open.\r\n if (resultListOpen || standaloneInputOpen) {\r\n switch (event.keyCode) {\r\n case 9:\r\n if (!event.shiftKey) {\r\n handleTab(event);\r\n }\r\n break;\r\n case 13:\r\n handleOnEnter(event);\r\n break;\r\n case 27:\r\n handleEscape(event);\r\n break;\r\n case 38:\r\n handleUpArrow(event);\r\n break;\r\n case 39:\r\n handleRightArrow(event);\r\n break;\r\n case 40:\r\n handleDownArrow(event);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n if (props.onKeyDown) {\r\n props.onKeyDown(event);\r\n }\r\n };\r\n\r\n // Logic to update tooltip content.\r\n React.useEffect(function () {\r\n if (inputRef.current && inputRef.current.clientWidth < inputRef.current.scrollWidth) {\r\n setTooltipText(value);\r\n }\r\n }, [value]);\r\n\r\n // Get Icon color\r\n var getIconColor = function getIconColor() {\r\n return color === COLORS.LIGHT ? 'white' : 'gray';\r\n };\r\n\r\n // Get element to recreate search result text 'within' search input field\r\n var getFakeInput = function getFakeInput(hasCategoryMenu) {\r\n var _classNames;\r\n\r\n return React.createElement('input', {\r\n 'aria-hidden': 'true',\r\n autoComplete: 'off',\r\n className: classNames((_classNames = {}, _defineProperty(_classNames, classes.inputBackground, !hasCategoryMenu), _defineProperty(_classNames, classes.inputBackgroundCategoryMenu, hasCategoryMenu), _defineProperty(_classNames, classes.inputBackgroundFullWidth, fullWidth && !hasCategoryMenu), _defineProperty(_classNames, classes.inputBackgroundWithoutLabel, !label && !isIOS), _defineProperty(_classNames, classes.iOSAlignmentWithLabel, label && isIOS), _defineProperty(_classNames, classes.iOSAlignmentWithoutLabel, !label && isIOS), _defineProperty(_classNames, classes.standaloneInput, variant === VARIANTS.STANDALONE), _defineProperty(_classNames, classes.standaloneInputExpanded, expanded), _defineProperty(_classNames, classes.standaloneInputOpen, standaloneInputOpen), _defineProperty(_classNames, classes.standaloneInputOpenFluid, standaloneInputOpen && fullWidth), _defineProperty(_classNames, classes.error, error), _classNames)),\r\n readOnly: true,\r\n spellCheck: 'false',\r\n value: getFirstItemFromResult(),\r\n tabIndex: '-1'\r\n\r\n // this is here to mollify overzealous accessibility checkers that demand all inputs have a label (even, apparently, hidden ones)\r\n , 'aria-label': 'hidden-search-input'\r\n\r\n });\r\n };\r\n\r\n // Shared utility function that gets result list for search query\r\n var getResultsList = function getResultsList() {\r\n var widthClass = classNames(_defineProperty({}, classes.resultListWidthWithCategoryMenu, !fullWidth && showCategoryMenu));\r\n\r\n return (\r\n // See if we can componentize this\r\n React.createElement(\r\n 'div',\r\n { className: classNames(classes.searchResultsList, _defineProperty({}, classes.searchResultsListStandalone, variant === VARIANTS.STANDALONE)) },\r\n resultListOpen && loading && React.createElement(SearchStatus, { loading: true, showCategoryMenu: showCategoryMenu, fullWidth: fullWidth }),\r\n resultListOpen && (!children || children.length <= 0) && !loading && React.createElement(SearchStatus, { noData: true, showCategoryMenu: showCategoryMenu, fullWidth: fullWidth }),\r\n resultListOpen && children && children.length > 0 && !loading && React.createElement(\r\n List,\r\n {\r\n className: classNames(classes.listWidth, _defineProperty({}, classes.listRootFullWidth, fullWidth)),\r\n classes: {\r\n root: classes.listRoot + ' ' + widthClass\r\n }\r\n },\r\n children\r\n )\r\n )\r\n );\r\n };\r\n\r\n // Toggle visibility of the standalone input\r\n var toggleStandaloneInput = function toggleStandaloneInput() {\r\n\r\n setStandaloneInputOpen(function (prev) {\r\n // Set focus on input if previous state was closed\r\n if (!prev) {\r\n inputRef.current.focus();\r\n }\r\n return !prev;\r\n });\r\n };\r\n\r\n // Helper function to return start input adornment for the standalone search\r\n var getStartInputAdornment = function getStartInputAdornment() {\r\n var _classNames5;\r\n\r\n return expanded ? React.createElement(\r\n 'span',\r\n { className: classes.standaloneSearchIconExpanded },\r\n React.createElement(SearchIcon, {\r\n className: classNames(classes.searchIcon, (_classNames5 = {}, _defineProperty(_classNames5, classes.searchIconExpanded, expanded), _defineProperty(_classNames5, classes.light, color === COLORS.LIGHT), _defineProperty(_classNames5, classes.disabled, props.disabled), _classNames5)),\r\n disabled: props.disabled,\r\n onBlur: onStandaloneBlurHandler\r\n })\r\n ) : React.createElement(\r\n Tooltip,\r\n {\r\n title: standaloneInputOpen ? edsContext.formatMessage('component.Search.close') : edsContext.formatMessage('component.Search.open'),\r\n placement: edsContext.dir === 'rtl' ? 'bottom-start' : 'bottom-end',\r\n disableFocusListener: true,\r\n disableTouchListener: true,\r\n disableHoverListener: props.disabled\r\n },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: getIconColor(),\r\n disabled: props.disabled,\r\n onClick: toggleStandaloneInput,\r\n onBlur: onStandaloneBlurHandler,\r\n 'aria-label': standaloneInputOpen ? edsContext.formatMessage('component.Search.close') : edsContext.formatMessage('component.Search.open'),\r\n ref: searchIconButtonRef,\r\n tabIndex: 0,\r\n component: 'div',\r\n role: 'search'\r\n },\r\n React.createElement(SearchIcon, { className: classes.searchIcon })\r\n )\r\n );\r\n };\r\n\r\n // Helper function to return end input adornment for the standalone search\r\n var getEndInputAdornment = function getEndInputAdornment() {\r\n if ((standaloneInputOpen || expanded) && value.length !== 0 && props.onClear && !props.disabled) {\r\n return React.createElement(\r\n Tooltip,\r\n {\r\n title: edsContext.formatMessage('component.Search.clear')\r\n },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: getIconColor(),\r\n onClick: onClear,\r\n onBlur: onStandaloneBlurHandler,\r\n 'aria-label': edsContext.formatMessage('component.Search.clear')\r\n },\r\n React.createElement(CloseIcon, { className: classes.searchIcon })\r\n )\r\n );\r\n }\r\n };\r\n\r\n var categorySearchList = void 0;\r\n\r\n // build the list of category search options, if any were requested\r\n if (searchCategories) {\r\n categorySearchList = [].concat(_toConsumableArray(searchCategories));\r\n if (!hideCategoryAllOption) {\r\n categorySearchList.unshift(edsContext.formatMessage('component.Search.categorySearch.All'));\r\n }\r\n }\r\n\r\n // create the category menu, if necessary\r\n\r\n // note: we create this here, outside the confines of the search control, because it always\r\n // has to be built -- even it doesn't appear (ie, for xs viewports). we can't *conditionally* create\r\n // the menu without running afoul of hook restrictions that require hook invocations to be\r\n // consistent across renders: if we only sometimes create the search category menu, React\r\n // will throw exceptions, becauses the hooks defined in SelectionMenu could change as the viewport\r\n // changes, leading to differences in hook invocation\r\n var categoryMenu = !searchCategories ? null : React.createElement(\r\n SelectionMenu,\r\n {\r\n disabled: props.disabled,\r\n classes: {\r\n root: classNames(classes.categoryMenuRoot, (_classNames6 = {}, _defineProperty(_classNames6, classes.categoryMenuRootDisabled, props.disabled), _defineProperty(_classNames6, 'eds-category-search-inline', !fullWidth && showCategoryMenu), _defineProperty(_classNames6, classes.error, error), _classNames6)),\r\n listItemButton: classNames(classes.categoryListButton, _defineProperty({}, classes.error, error)),\r\n listItemDisabled: classes.categoryListRootDisabled,\r\n listItemTextRoot: classes.categoryListText\r\n }\r\n },\r\n categorySearchList.map(function (category, index) {\r\n return React.createElement(\r\n SelectionMenuItem,\r\n {\r\n key: index,\r\n onClick: function onClick(event) {\r\n\r\n // because we want to report a zero-index category value, relative to the category list\r\n // passed in, subtract one\r\n setCurrentCategoryIndex(index - 1);\r\n\r\n // clear any extant search results\r\n onClear(event);\r\n }\r\n },\r\n category\r\n );\r\n })\r\n );\r\n\r\n var tooltipProps = {\r\n title: tooltipText,\r\n placement: edsContext.dir === 'rtl' ? 'bottom-start' : 'bottom-end',\r\n disableFocusListener: true,\r\n disableTouchListener: true,\r\n disableHoverListener: props.disabled\r\n };\r\n\r\n return variant === VARIANTS.STANDALONE ? React.createElement(\r\n 'div',\r\n {\r\n className: classNames((_classNames8 = {}, _defineProperty(_classNames8, classes.searchContainer, !fullWidth), _defineProperty(_classNames8, classes.searchContainerFullWidth, fullWidth && (standaloneInputOpen || expanded)), _defineProperty(_classNames8, classes.searchContainerFullWidthClosed, fullWidth && !standaloneInputOpen & !expanded), _defineProperty(_classNames8, classes.searchContainerFullWidthClosedHelperText, fullWidth && !standaloneInputOpen & !expanded && helperText), _classNames8)),\r\n ref: standaloneRef\r\n },\r\n React.createElement(\r\n 'div',\r\n { className: classes.searchInputWrapper },\r\n getFakeInput(),\r\n React.createElement(\r\n Tooltip,\r\n tooltipProps,\r\n React.createElement(MuiTextField, {\r\n id: cleanedId,\r\n className: props.className,\r\n disabled: props.disabled,\r\n fullWidth: fullWidth,\r\n InputProps: {\r\n classes: {\r\n root: classNames(classes.standaloneFormControl, (_classNames9 = {}, _defineProperty(_classNames9, classes.standaloneFormControlOpen, standaloneInputOpen || expanded), _defineProperty(_classNames9, classes.standaloneFormControlOpenFullWidth, fullWidth && (standaloneInputOpen || expanded)), _defineProperty(_classNames9, classes.standaloneLight, color === COLORS.LIGHT), _defineProperty(_classNames9, classes.disabled, props.disabled), _classNames9)),\r\n input: classNames(classes.searchInput, (_classNames10 = {}, _defineProperty(_classNames10, classes.searchInputOpen, standaloneInputOpen || expanded), _defineProperty(_classNames10, classes.standaloneInputLight, color === COLORS.LIGHT), _classNames10)),\r\n error: classes.inputError\r\n },\r\n disableUnderline: true,\r\n startAdornment: getStartInputAdornment(),\r\n endAdornment: getEndInputAdornment()\r\n },\r\n inputProps: Object.assign({\r\n tabIndex: standaloneInputOpen || expanded ? 0 : -1,\r\n 'aria-label': ariaLabel || edsContext.formatMessage('component.Search.placeholder')\r\n }, inputProps),\r\n inputRef: inputRef,\r\n label: '' // don't want consumers to use labels with standalone\r\n , name: props.name,\r\n onBlur: onStandaloneBlurHandler,\r\n onChange: onChange,\r\n onKeyDown: onKeyDownHandler,\r\n placeholder: placeholder,\r\n type: 'search',\r\n value: value,\r\n error: error,\r\n helperText: helperText,\r\n FormHelperTextProps: FormHelperTextProps\r\n })\r\n )\r\n ),\r\n typeahead && getResultsList()\r\n ) : React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: onClickOutside },\r\n React.createElement(\r\n 'div',\r\n { className: classNames(classes.searchContainer, { 'eds-inline-search': !fullWidth && !showCategoryMenu }, { 'eds-inline-search-category-menu': !fullWidth && showCategoryMenu }) },\r\n React.createElement(\r\n 'div',\r\n { className: classNames((_classNames11 = {}, _defineProperty(_classNames11, classes.searchInputWrapper, !showCategoryMenu), _defineProperty(_classNames11, classes.searchInputWrapperCategoryMenu, showCategoryMenu), _defineProperty(_classNames11, 'eds-full-width', showCategoryMenu && fullWidth), _classNames11)) },\r\n showCategoryMenu && categoryMenu,\r\n React.createElement(\r\n 'div',\r\n { className: showCategoryMenu ? classes.searchFieldContainer : undefined },\r\n getFakeInput(showCategoryMenu),\r\n React.createElement(\r\n Tooltip,\r\n tooltipProps,\r\n React.createElement(TextField, {\r\n autoComplete: 'off',\r\n classes: showCategoryMenu ? {\r\n root: classes.searchFieldRoot,\r\n inputRoot: classNames(classes.searchWithCategory, _defineProperty({}, classes.error, error)),\r\n // allows the textfield to span the full width of the search container, so that the typeahead\r\n // menu does as well\r\n constrainedWidth: classes.searchWithCategoryWidthOverride\r\n } : undefined,\r\n className: classNames(props.className, classes.searchBackground),\r\n disabled: props.disabled,\r\n fullWidth: fullWidth,\r\n id: cleanedId,\r\n inputRef: inputRef,\r\n inputProps: Object.assign({\r\n 'aria-label': ariaLabel,\r\n 'aria-describedby': showCategoryMenu && cleanedId + '-helper-text'\r\n }, inputProps),\r\n label: label,\r\n name: props.name,\r\n onChange: onChange,\r\n onClearClick: onClear,\r\n onEnterPress: function onEnterPress(event) {\r\n onSearchInvoked(event.target.value, event);\r\n },\r\n onKeyDown: onKeyDownHandler,\r\n placeholder: placeholder,\r\n type: 'search',\r\n value: value,\r\n error: error,\r\n helperText: !showCategoryMenu ? helperText : undefined,\r\n FormHelperTextProps: !showCategoryMenu ? FormHelperTextProps : undefined\r\n })\r\n )\r\n )\r\n ),\r\n showCategoryMenu && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n id: cleanedId + '-helper-text',\r\n error: error\r\n }, FormHelperTextProps),\r\n helperText\r\n ),\r\n typeahead && getResultsList()\r\n )\r\n );\r\n});\r\n\r\nSearch.displayName = 'Search';\r\n\r\nSearch.propTypes = {\r\n /**\r\n * Use this object to enable the typeahead feature of the `Search` component.\r\n *\r\n * The object accepts the following properties:\r\n *\r\n * * `loading` (boolean): If `true`, the component is in a loading state.\r\n * * `searchDelay` (number): Specifies the amount of time to wait (in milliseconds) before triggering a typeahead search (via the `onFilter` function).\r\n * * `onFilter` (func): Callback fired to prompt the retrieval of search results. It is triggered when the user enters text, after an optional interval specified by the `searchDelay` prop.\r\n * * `onItemSelect` (func) Callback fired when an item is selected from the typeahead search result list. Use this to set the `value` of the search.\r\n *\r\n * Signature of `onFilter`:\r\n *\r\n * ```\r\n * function(searchValue: string, categoryIndex: number, event: object )\r\n * ```\r\n * `@param {string} searchValue` The current search value \r\n * `@param {number} categoryIndex` Index of the selected category; -1 if no category selected \r\n * `@param {SyntheticEvent} event` The event source of the callback. \r\n *\r\n * Signature of `onItemSelect`:\r\n * ```\r\n * function(event: React.SyntheticEvent, index: number, option?: object) => void\r\n * ```\r\n * `@param {SyntheticEvent} event` The event source of the callback. \r\n * `@param {number} index` Index of the selected item from the list. \r\n * `@param {option} option` Prop value assigned while construction `SearchItem` array.\r\n */\r\n typeaheadOptions: PropTypes.shape({\r\n loading: PropTypes.bool,\r\n onFilter: PropTypes.func,\r\n onItemSelect: PropTypes.func,\r\n searchDelay: PropTypes.number\r\n }),\r\n /**\r\n * The color of the standalone `Search` to be rendered.\r\n *\r\n * **Only valid when `variant=VARIANT.STANDALONE`.**\r\n */\r\n color: PropTypes.oneOf([COLORS.LIGHT, COLORS.DARK]),\r\n /**\r\n * If `true`, the input will be always expanded.\r\n *\r\n * **Only valid when `variant=VARIANT.STANDALONE`.**\r\n */\r\n expanded: PropTypes.bool,\r\n /**\r\n * The variant of the input to be rendered.\r\n */\r\n variant: PropTypes.oneOf([VARIANTS.STANDALONE, VARIANTS.STANDARD]),\r\n /**\r\n * The elements to populate typeahead search results. These must be an array of `SearchItem` elements.\r\n *\r\n * **Only valid when typeahead is enabled.**\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * If `true`, the input will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * This function fetches resource string translations. It comes from the withEDSContext HOC.\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * If `true`, the input will render with an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If `true`, the input will take up the full width of its container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.string,\r\n /**\r\n * Hides the 'All' option of the category search.\r\n */\r\n hideCategoryAllOption: PropTypes.bool,\r\n /**\r\n * If false, the category sidecar will not show up in xs viewports\r\n */\r\n hideCategoryMenuXs: PropTypes.bool,\r\n /**\r\n * The id of the `input` element.\r\n * Use that property to make `label` accessible for screen readers.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * Properties applied to the native `input` element.\r\n */\r\n inputProps: PropTypes.object,\r\n /**\r\n * Props applied to the `FormHelperText` element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * The label content.\r\n *\r\n * **Only valid when `variant=VARIANT.STANDALONE`.**\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * The aria-label used for accessibility of the input.\r\n */\r\n 'aria-label': PropTypes.node,\r\n /**\r\n * The placeholder content. A placeholder should be provided when `variant=VARIANT.STANDALONE`.\r\n */\r\n placeholder: PropTypes.string,\r\n /**\r\n * Name attribute of the `input` element.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Callback fired when the value is changed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * You can pull out the new value by accessing `event.target.value`.\r\n */\r\n onChange: PropTypes.func.isRequired,\r\n /**\r\n * Callback fired when the clear icon is clicked. If nothing is passed to this prop,\r\n * no clear icon will be displayed when text is entered into the input.\r\n */\r\n onClear: PropTypes.func,\r\n /**\r\n * Callback fired when a key is pressed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n *\r\n * Use `event.key` to get the current search value.\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * Callback fired when a search is invoked. A search is invoked in a couple of ways:\r\n *\r\n * 1. Entering text and pressing the enter key\r\n * 2. Typeahead suggestions are accepted by pressing the tab key (typeahead only)\r\n * 3. An Item is selected from the typeahead result list (typeahead only)\r\n *\r\n * ```\r\n * function(searchValue: string, categoryIndex: number, event: React.SyntheticEvent) => void\r\n * ```\r\n *\r\n * `@param {string} searchValue` The value to search on \r\n * `@param {number} categoryIndex` The index of the selected category; -1 if no category selected \r\n * `@param {SyntheticEvent} event` The event source of the callback \r\n *\r\n */\r\n onSearchInvoked: PropTypes.func,\r\n /**\r\n * A list of search categories, which can be used as an additional filter for searches.\r\n *\r\n * If a list is provided, a category sidecar will appear beside the search field. The first option\r\n * of the category list will be \"All\", following by the categories provided in this prop.\r\n *\r\n * When the user selects a category, it is provided to the caller via the following callbacks:\r\n *\r\n * * onSearchInvoked: Called when a search is performed\r\n * * typeaheadOptions.onFilter: (for typeahead searches) Called to request a list of matches for the typeahead list\r\n *\r\n * In both cases, the selected category index is provided as an argument, if present. The value is zero-indexed,\r\n * relative to the given list of categories. A value of -1 indicates that no category was selected.\r\n *\r\n * Selecting a category will clear any current selections (by invoking the *onClear* callback).\r\n *\r\n * **Only valid when `variant=VARIANT.STANDARD`.**\r\n */\r\n searchCategories: PropTypes.array,\r\n /**\r\n * The value of the `Input` element.\r\n */\r\n value: PropTypes.string.isRequired\r\n};\r\n\r\nSearch.defaultProps = {\r\n color: COLORS.DARK,\r\n expanded: false,\r\n hideCategoryMenuXs: true,\r\n hideCategoryAllOption: false,\r\n value: '',\r\n variant: VARIANTS.STANDARD,\r\n placeholder: DEFAULT_PLACEHOLDER,\r\n typeaheadOptions: {}\r\n};\r\n\r\nexport default withEDSContext(Search);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as withStyles } from '../styles';\r\n\r\nimport Divider from '../Divider/Divider';\r\nimport ListItem from '../List/ListItem';\r\nimport ListItemText from '../List/ListItemText';\r\nimport classNames from 'classnames';\r\n\r\nimport { colorTextNeutral500 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n item: {\r\n outline: 'none'\r\n },\r\n divider: {\r\n margin: '0 !important'\r\n },\r\n mark: {\r\n color: colorTextNeutral500,\r\n backgroundColor: 'initial'\r\n },\r\n disabled: {\r\n cursor: 'unset'\r\n },\r\n itemHover: {\r\n backgroundColor: theme.palette.grey['200']\r\n }\r\n };\r\n};\r\n\r\nvar SearchItem = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n childrenProp = props.children,\r\n disabled = props.disabled,\r\n searchString = props.searchString,\r\n divider = props.divider,\r\n onClick = props.onClick,\r\n isActive = props.isActive,\r\n rest = _objectWithoutProperties(props, ['classes', 'children', 'disabled', 'searchString', 'divider', 'onClick', 'isActive']);\r\n\r\n var children = childrenProp;\r\n var label = children;\r\n var itemRef = React.createRef();\r\n\r\n // disabling warning for missing dpendency of itemRef\r\n // refer to the following link for more details on why this is the best option for this case\r\n // https://stackoverflow.com/questions/55840294/how-to-fix-missing-dependency-warning-when-using-useeffect-react-hook\r\n useEffect(function () {\r\n if (isActive) {\r\n itemRef.current.focus();\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [isActive]);\r\n\r\n // Refer following link for more details about escaping regex characters\r\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions\r\n var escapeRegExp = function escapeRegExp(string) {\r\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&'); // $& means the whole matched string\r\n };\r\n\r\n if (children && searchString) {\r\n var regex = new RegExp(escapeRegExp(searchString), 'gi');\r\n children = children.replace(regex, function (val) {\r\n return '' + val + '';\r\n });\r\n }\r\n\r\n return React.createElement(\r\n React.Fragment,\r\n null,\r\n React.createElement(\r\n ListItem,\r\n Object.assign({\r\n classes: {\r\n root: disabled ? classes.disabled : isActive ? classes.itemHover : ''\r\n },\r\n className: classNames(classes.item, props.className),\r\n disabled: disabled,\r\n 'aria-disabled': disabled ? true : false,\r\n 'aria-label': label,\r\n ref: itemRef,\r\n onClick: disabled ? null : onClick\r\n }, rest, {\r\n tabIndex: 0,\r\n role: 'button'\r\n }),\r\n React.createElement(\r\n ListItemText,\r\n null,\r\n React.createElement('span', { dangerouslySetInnerHTML: { __html: children } })\r\n )\r\n ),\r\n divider && React.createElement(Divider, { classes: { root: classes.divider }, component: 'li' })\r\n );\r\n});\r\n\r\nSearchItem.displayName = 'SearchItem';\r\n\r\nSearchItem.propTypes = {\r\n /**\r\n * The text of the item.\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * If `true`, the item will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * If `true`, a 1px light border is added to the bottom of the list item.\r\n */\r\n divider: PropTypes.bool,\r\n /**\r\n * Value of this prop would be returned when user clicks on list item.\r\n */\r\n option: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles, { name: 'SearchItem' })(SearchItem);","import invariant from 'invariant';\n\nvar noop = function noop() {};\n\nfunction readOnlyPropType(handler, name) {\n return function (props, propName) {\n if (props[propName] !== undefined) {\n if (!props[handler]) {\n return new Error(\"You have provided a `\" + propName + \"` prop to `\" + name + \"` \" + (\"without an `\" + handler + \"` handler prop. This will render a read-only field. \") + (\"If the field should be mutable use `\" + defaultKey(propName) + \"`. \") + (\"Otherwise, set `\" + handler + \"`.\"));\n }\n }\n };\n}\n\nexport function uncontrolledPropTypes(controlledValues, displayName) {\n var propTypes = {};\n Object.keys(controlledValues).forEach(function (prop) {\n // add default propTypes for folks that use runtime checks\n propTypes[defaultKey(prop)] = noop;\n\n if (process.env.NODE_ENV !== 'production') {\n var handler = controlledValues[prop];\n !(typeof handler === 'string' && handler.trim().length) ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Uncontrollable - [%s]: the prop `%s` needs a valid handler key name in order to make it uncontrollable', displayName, prop) : invariant(false) : void 0;\n propTypes[prop] = readOnlyPropType(handler, displayName);\n }\n });\n return propTypes;\n}\nexport function isProp(props, prop) {\n return props[prop] !== undefined;\n}\nexport function defaultKey(key) {\n return 'default' + key.charAt(0).toUpperCase() + key.substr(1);\n}\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n */\n\nexport function canAcceptRef(component) {\n return !!component && (typeof component !== 'function' || component.prototype && component.prototype.isReactComponent);\n}","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nfunction componentWillMount() {\n // Call this.constructor.gDSFP to support sub-classes.\n var state = this.constructor.getDerivedStateFromProps(this.props, this.state);\n if (state !== null && state !== undefined) {\n this.setState(state);\n }\n}\n\nfunction componentWillReceiveProps(nextProps) {\n // Call this.constructor.gDSFP to support sub-classes.\n // Use the setState() updater to ensure state isn't stale in certain edge cases.\n function updater(prevState) {\n var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);\n return state !== null && state !== undefined ? state : null;\n }\n // Binding \"this\" is important for shallow renderer support.\n this.setState(updater.bind(this));\n}\n\nfunction componentWillUpdate(nextProps, nextState) {\n try {\n var prevProps = this.props;\n var prevState = this.state;\n this.props = nextProps;\n this.state = nextState;\n this.__reactInternalSnapshotFlag = true;\n this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(\n prevProps,\n prevState\n );\n } finally {\n this.props = prevProps;\n this.state = prevState;\n }\n}\n\n// React may warn about cWM/cWRP/cWU methods being deprecated.\n// Add a flag to suppress these warnings for this special case.\ncomponentWillMount.__suppressDeprecationWarning = true;\ncomponentWillReceiveProps.__suppressDeprecationWarning = true;\ncomponentWillUpdate.__suppressDeprecationWarning = true;\n\nfunction polyfill(Component) {\n var prototype = Component.prototype;\n\n if (!prototype || !prototype.isReactComponent) {\n throw new Error('Can only polyfill class components');\n }\n\n if (\n typeof Component.getDerivedStateFromProps !== 'function' &&\n typeof prototype.getSnapshotBeforeUpdate !== 'function'\n ) {\n return Component;\n }\n\n // If new component APIs are defined, \"unsafe\" lifecycles won't be called.\n // Error if any of these lifecycles are present,\n // Because they would work differently between older and newer (16.3+) versions of React.\n var foundWillMountName = null;\n var foundWillReceivePropsName = null;\n var foundWillUpdateName = null;\n if (typeof prototype.componentWillMount === 'function') {\n foundWillMountName = 'componentWillMount';\n } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {\n foundWillMountName = 'UNSAFE_componentWillMount';\n }\n if (typeof prototype.componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'componentWillReceiveProps';\n } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';\n }\n if (typeof prototype.componentWillUpdate === 'function') {\n foundWillUpdateName = 'componentWillUpdate';\n } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {\n foundWillUpdateName = 'UNSAFE_componentWillUpdate';\n }\n if (\n foundWillMountName !== null ||\n foundWillReceivePropsName !== null ||\n foundWillUpdateName !== null\n ) {\n var componentName = Component.displayName || Component.name;\n var newApiName =\n typeof Component.getDerivedStateFromProps === 'function'\n ? 'getDerivedStateFromProps()'\n : 'getSnapshotBeforeUpdate()';\n\n throw Error(\n 'Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n' +\n componentName +\n ' uses ' +\n newApiName +\n ' but also contains the following legacy lifecycles:' +\n (foundWillMountName !== null ? '\\n ' + foundWillMountName : '') +\n (foundWillReceivePropsName !== null\n ? '\\n ' + foundWillReceivePropsName\n : '') +\n (foundWillUpdateName !== null ? '\\n ' + foundWillUpdateName : '') +\n '\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\n' +\n 'https://fb.me/react-async-component-lifecycle-hooks'\n );\n }\n\n // React <= 16.2 does not support static getDerivedStateFromProps.\n // As a workaround, use cWM and cWRP to invoke the new static lifecycle.\n // Newer versions of React will ignore these lifecycles if gDSFP exists.\n if (typeof Component.getDerivedStateFromProps === 'function') {\n prototype.componentWillMount = componentWillMount;\n prototype.componentWillReceiveProps = componentWillReceiveProps;\n }\n\n // React <= 16.2 does not support getSnapshotBeforeUpdate.\n // As a workaround, use cWU to invoke the new lifecycle.\n // Newer versions of React will ignore that lifecycle if gSBU exists.\n if (typeof prototype.getSnapshotBeforeUpdate === 'function') {\n if (typeof prototype.componentDidUpdate !== 'function') {\n throw new Error(\n 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'\n );\n }\n\n prototype.componentWillUpdate = componentWillUpdate;\n\n var componentDidUpdate = prototype.componentDidUpdate;\n\n prototype.componentDidUpdate = function componentDidUpdatePolyfill(\n prevProps,\n prevState,\n maybeSnapshot\n ) {\n // 16.3+ will not execute our will-update method;\n // It will pass a snapshot value to did-update though.\n // Older versions will require our polyfilled will-update value.\n // We need to handle both cases, but can't just check for the presence of \"maybeSnapshot\",\n // Because for <= 15.x versions this might be a \"prevContext\" object.\n // We also can't just check \"__reactInternalSnapshot\",\n // Because get-snapshot might return a falsy value.\n // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.\n var snapshot = this.__reactInternalSnapshotFlag\n ? this.__reactInternalSnapshot\n : maybeSnapshot;\n\n componentDidUpdate.call(this, prevProps, prevState, snapshot);\n };\n }\n\n return Component;\n}\n\nexport { polyfill };\n","var MILI = 'milliseconds'\n , SECONDS = 'seconds'\n , MINUTES = 'minutes'\n , HOURS = 'hours'\n , DAY = 'day'\n , WEEK = 'week'\n , MONTH = 'month'\n , YEAR = 'year'\n , DECADE = 'decade'\n , CENTURY = 'century';\n\nvar multiplierMilli = {\n 'milliseconds': 1,\n 'seconds': 1000,\n 'minutes': 60 * 1000,\n 'hours': 60 * 60 * 1000,\n 'day': 24 * 60 * 60 * 1000,\n 'week': 7 * 24 * 60 * 60 * 1000 \n}\n\nvar multiplierMonth = {\n 'month': 1,\n 'year': 12,\n 'decade': 10 * 12,\n 'century': 100 * 12\n}\n\nfunction daysOf(year) {\n return [31, daysInFeb(year), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]\n}\n\nfunction daysInFeb(year) {\n return (\n year % 4 === 0 \n && year % 100 !== 0\n ) || year % 400 === 0\n ? 29\n : 28\n}\n\nexport function add(d, num, unit) {\n d = new Date(d)\n\n switch (unit){\n case MILI:\n case SECONDS:\n case MINUTES:\n case HOURS:\n case DAY:\n case WEEK:\n return addMillis(d, num * multiplierMilli[unit])\n case MONTH:\n case YEAR:\n case DECADE:\n case CENTURY:\n return addMonths(d, num * multiplierMonth[unit])\n }\n\n throw new TypeError('Invalid units: \"' + unit + '\"')\n}\n\nfunction addMillis(d, num) {\n var nextDate = new Date(+(d) + num)\n\n return solveDST(d, nextDate)\n}\n\nfunction addMonths(d, num) {\n var year = d.getFullYear()\n , month = d.getMonth()\n , day = d.getDate()\n , totalMonths = year * 12 + month + num\n , nextYear = Math.trunc(totalMonths / 12)\n , nextMonth = totalMonths % 12\n , nextDay = Math.min(day, daysOf(nextYear)[nextMonth])\n\n var nextDate = new Date(d)\n nextDate.setFullYear(nextYear)\n\n // To avoid a bug when sets the Feb month\n // with a date > 28 or date > 29 (leap year)\n nextDate.setDate(1)\n\n nextDate.setMonth(nextMonth)\n nextDate.setDate(nextDay)\n\n return nextDate\n}\n\nfunction solveDST(currentDate, nextDate) {\n var currentOffset = currentDate.getTimezoneOffset()\n , nextOffset = nextDate.getTimezoneOffset()\n\n // if is DST, add the difference in minutes\n // else the difference is zero\n var diffMinutes = (nextOffset - currentOffset)\n\n return new Date(+(nextDate) + diffMinutes * multiplierMilli['minutes'])\n}\n\nexport function subtract(d, num, unit) {\n return add(d, -num, unit)\n}\n\nexport function startOf(d, unit, firstOfWeek) {\n d = new Date(d)\n\n switch (unit) {\n case CENTURY:\n case DECADE:\n case YEAR:\n d = month(d, 0);\n case MONTH:\n d = date(d, 1);\n case WEEK:\n case DAY:\n d = hours(d, 0);\n case HOURS:\n d = minutes(d, 0);\n case MINUTES:\n d = seconds(d, 0);\n case SECONDS:\n d = milliseconds(d, 0);\n }\n\n if (unit === DECADE)\n d = subtract(d, year(d) % 10, 'year')\n\n if (unit === CENTURY)\n d = subtract(d, year(d) % 100, 'year')\n\n if (unit === WEEK)\n d = weekday(d, 0, firstOfWeek);\n\n return d\n}\n\nexport function endOf(d, unit, firstOfWeek){\n d = new Date(d)\n d = startOf(d, unit, firstOfWeek)\n switch (unit) {\n case CENTURY:\n case DECADE:\n case YEAR:\n case MONTH:\n case WEEK:\n d = add(d, 1, unit)\n d = subtract(d, 1, DAY)\n d.setHours(23, 59, 59, 999)\n break;\n case DAY:\n d.setHours(23, 59, 59, 999)\n break;\n case HOURS:\n case MINUTES:\n case SECONDS:\n d = add(d, 1, unit)\n d = subtract(d, 1, MILI)\n }\n return d\n}\n\nexport var eq = createComparer(function(a, b){ return a === b })\nexport var neq = createComparer(function(a, b){ return a !== b })\nexport var gt = createComparer(function(a, b){ return a > b })\nexport var gte = createComparer(function(a, b){ return a >= b })\nexport var lt = createComparer(function(a, b){ return a < b })\nexport var lte = createComparer(function(a, b){ return a <= b })\n\nexport function min(){\n return new Date(Math.min.apply(Math, arguments))\n}\n\nexport function max(){\n return new Date(Math.max.apply(Math, arguments))\n}\n\nexport function inRange(day, min, max, unit){\n unit = unit || 'day'\n\n return (!min || gte(day, min, unit))\n && (!max || lte(day, max, unit))\n}\n\nexport var milliseconds = createAccessor('Milliseconds')\nexport var seconds = createAccessor('Seconds')\nexport var minutes = createAccessor('Minutes')\nexport var hours = createAccessor('Hours')\nexport var day = createAccessor('Day')\nexport var date = createAccessor('Date')\nexport var month = createAccessor('Month')\nexport var year = createAccessor('FullYear')\n\nexport function decade(d, val) {\n return val === undefined\n ? year(startOf(d, DECADE))\n : add(d, val + 10, YEAR);\n}\n\nexport function century(d, val) {\n return val === undefined\n ? year(startOf(d, CENTURY))\n : add(d, val + 100, YEAR);\n}\n\nexport function weekday(d, val, firstDay) {\n var w = (day(d) + 7 - (firstDay || 0) ) % 7;\n\n return val === undefined\n ? w\n : add(d, val - w, DAY);\n}\n\nexport function diff(date1, date2, unit, asFloat) {\n var dividend, divisor, result;\n\n switch (unit) {\n case MILI:\n case SECONDS:\n case MINUTES:\n case HOURS:\n case DAY:\n case WEEK:\n dividend = date2.getTime() - date1.getTime(); break;\n case MONTH:\n case YEAR:\n case DECADE:\n case CENTURY:\n dividend = (year(date2) - year(date1)) * 12 + month(date2) - month(date1); break;\n default:\n throw new TypeError('Invalid units: \"' + unit + '\"');\n }\n\n switch (unit) {\n case MILI:\n divisor = 1; break;\n case SECONDS:\n divisor = 1000; break;\n case MINUTES:\n divisor = 1000 * 60; break;\n case HOURS:\n divisor = 1000 * 60 * 60; break;\n case DAY:\n divisor = 1000 * 60 * 60 * 24; break;\n case WEEK:\n divisor = 1000 * 60 * 60 * 24 * 7; break;\n case MONTH:\n divisor = 1; break;\n case YEAR:\n divisor = 12; break;\n case DECADE:\n divisor = 120; break;\n case CENTURY:\n divisor = 1200; break;\n default:\n throw new TypeError('Invalid units: \"' + unit + '\"');\n }\n\n result = dividend / divisor;\n\n return asFloat ? result : Math.round(result);\n}\n\nfunction createAccessor(method){\n var hourLength = (function(method) { \n switch(method) {\n case 'Milliseconds':\n return 3600000;\n case 'Seconds':\n return 3600;\n case 'Minutes':\n return 60;\n case 'Hours':\n return 1;\n default:\n return null;\n }\n })(method);\n \n return function(d, val){\n if (val === undefined)\n return d['get' + method]()\n\n var dateOut = new Date(d)\n dateOut['set' + method](val)\n \n if(hourLength && dateOut['get'+method]() != val && (method === 'Hours' || val >=hourLength && (dateOut.getHours()-d.getHours() length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nexport default baseSlice;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nexport default eq;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nexport default freeGlobal;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nexport default root;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nexport default Symbol;\n","import Symbol from './_Symbol.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nexport default getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nexport default objectToString;\n","import Symbol from './_Symbol.js';\nimport getRawTag from './_getRawTag.js';\nimport objectToString from './_objectToString.js';\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nexport default baseGetTag;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport default isObject;\n","import baseGetTag from './_baseGetTag.js';\nimport isObject from './isObject.js';\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nexport default isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nexport default isLength;\n","import isFunction from './isFunction.js';\nimport isLength from './isLength.js';\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nexport default isArrayLike;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nexport default isIndex;\n","import eq from './eq.js';\nimport isArrayLike from './isArrayLike.js';\nimport isIndex from './_isIndex.js';\nimport isObject from './isObject.js';\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nexport default isIterateeCall;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nexport default isObjectLike;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import toNumber from './toNumber.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nexport default toFinite;\n","import toFinite from './toFinite.js';\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nexport default toInteger;\n","import baseSlice from './_baseSlice.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\nfunction chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n}\n\nexport default chunk;\n","/**\n * Returns the owner document of a given element.\n * \n * @param node the element\n */\nexport default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","var rUpper = /([A-Z])/g;\nexport default function hyphenate(string) {\n return string.replace(rUpper, '-$1').toLowerCase();\n}","/**\n * Copyright 2013-2014, Facebook, Inc.\n * All rights reserved.\n * https://github.com/facebook/react/blob/2aeb8a2a6beb00617a4217f7f8284924fa2ad819/src/vendor/core/hyphenateStyleName.js\n */\nimport hyphenate from './hyphenate';\nvar msPattern = /^ms-/;\nexport default function hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}","var supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;\nexport default function isTransform(value) {\n return !!(value && supportedTransforms.test(value));\n}","import getComputedStyle from './getComputedStyle';\nimport hyphenate from './hyphenateStyle';\nimport isTransform from './isTransform';\n\nfunction style(node, property) {\n var css = '';\n var transforms = '';\n\n if (typeof property === 'string') {\n return node.style.getPropertyValue(hyphenate(property)) || getComputedStyle(node).getPropertyValue(hyphenate(property));\n }\n\n Object.keys(property).forEach(function (key) {\n var value = property[key];\n\n if (!value && value !== 0) {\n node.style.removeProperty(hyphenate(key));\n } else if (isTransform(key)) {\n transforms += key + \"(\" + value + \") \";\n } else {\n css += hyphenate(key) + \": \" + value + \";\";\n }\n });\n\n if (transforms) {\n css += \"transform: \" + transforms + \";\";\n }\n\n node.style.cssText += \";\" + css;\n}\n\nexport default style;","import ownerWindow from './ownerWindow';\n/**\n * Returns one or all computed style properties of an element.\n * \n * @param node the element\n * @param psuedoElement the style property\n */\n\nexport default function getComputedStyle(node, psuedoElement) {\n return ownerWindow(node).getComputedStyle(node, psuedoElement);\n}","import ownerDocument from './ownerDocument';\n/**\n * Returns the owner window of a given element.\n * \n * @param node the element\n */\n\nexport default function ownerWindow(node) {\n var doc = ownerDocument(node);\n return doc && doc.defaultView || window;\n}","/* eslint-disable no-bitwise, no-cond-assign */\n\n/**\n * Checks if an element contains another given element.\n * \n * @param context the context element\n * @param node the element to check\n */\nexport default function contains(context, node) {\n // HTML DOM and SVG DOM may have different support levels,\n // so we need to check on context instead of a document root element.\n if (context.contains) return context.contains(node);\n if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);\n}","import isDocument from './isDocument';\nexport default function isWindow(node) {\n if ('window' in node && node.window === node) return node;\n if (isDocument(node)) return node.defaultView || false;\n return false;\n}","export default function isDocument(element) {\n return 'nodeType' in element && element.nodeType === document.DOCUMENT_NODE;\n}","import isWindow from './isWindow';\nexport default function getscrollAccessor(offset) {\n var prop = offset === 'pageXOffset' ? 'scrollLeft' : 'scrollTop';\n\n function scrollAccessor(node, val) {\n var win = isWindow(node);\n\n if (val === undefined) {\n return win ? win[offset] : node[prop];\n }\n\n if (win) {\n win.scrollTo(win[offset], val);\n } else {\n node[prop] = val;\n }\n }\n\n return scrollAccessor;\n}","import getScrollAccessor from './getScrollAccessor';\n/**\n * Gets or sets the scroll left position of a given element.\n * \n * @param node the element\n * @param val the position to set\n */\n\nexport default getScrollAccessor('pageXOffset');","import getScrollAccessor from './getScrollAccessor';\n/**\n * Gets or sets the scroll top position of a given element.\n * \n * @param node the element\n * @param val the position to set\n */\n\nexport default getScrollAccessor('pageYOffset');","import contains from './contains';\nimport ownerDocument from './ownerDocument';\nimport scrollLeft from './scrollLeft';\nimport scrollTop from './scrollTop';\n/**\n * Returns the offset of a given element, including top and left positions, width and height.\n * \n * @param node the element\n */\n\nexport default function offset(node) {\n var doc = ownerDocument(node);\n var box = {\n top: 0,\n left: 0,\n height: 0,\n width: 0\n };\n var docElem = doc && doc.documentElement; // Make sure it's not a disconnected DOM node\n\n if (!docElem || !contains(docElem, node)) return box;\n if (node.getBoundingClientRect !== undefined) box = node.getBoundingClientRect();\n box = {\n top: box.top + scrollTop(docElem) - (docElem.clientTop || 0),\n left: box.left + scrollLeft(docElem) - (docElem.clientLeft || 0),\n width: box.width,\n height: box.height\n };\n return box;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport css from './css';\nimport getOffset from './offset';\nimport getOffsetParent from './offsetParent';\nimport scrollLeft from './scrollLeft';\nimport scrollTop from './scrollTop';\n\nvar nodeName = function nodeName(node) {\n return node.nodeName && node.nodeName.toLowerCase();\n};\n/**\n * Returns the relative position of a given element.\n * \n * @param node the element\n * @param offsetParent the offset parent\n */\n\n\nexport default function position(node, offsetParent) {\n var parentOffset = {\n top: 0,\n left: 0\n };\n var offset; // Fixed elements are offset from window (parentOffset = {top:0, left: 0},\n // because it is its only offset parent\n\n if (css(node, 'position') === 'fixed') {\n offset = node.getBoundingClientRect();\n } else {\n var parent = offsetParent || getOffsetParent(node);\n offset = getOffset(node);\n if (nodeName(parent) !== 'html') parentOffset = getOffset(parent);\n var borderTop = String(css(parent, 'borderTopWidth') || 0);\n parentOffset.top += parseInt(borderTop, 10) - scrollTop(parent) || 0;\n var borderLeft = String(css(parent, 'borderLeftWidth') || 0);\n parentOffset.left += parseInt(borderLeft, 10) - scrollLeft(parent) || 0;\n }\n\n var marginTop = String(css(node, 'marginTop') || 0);\n var marginLeft = String(css(node, 'marginLeft') || 0); // Subtract parent offsets and node margins\n\n return _extends({}, offset, {\n top: offset.top - parentOffset.top - (parseInt(marginTop, 10) || 0),\n left: offset.left - parentOffset.left - (parseInt(marginLeft, 10) || 0)\n });\n}","import css from './css';\nimport ownerDocument from './ownerDocument';\n\nvar isHTMLElement = function isHTMLElement(e) {\n return !!e && 'offsetParent' in e;\n};\n\nexport default function offsetParent(node) {\n var doc = ownerDocument(node);\n var parent = node && node.offsetParent;\n\n while (isHTMLElement(parent) && parent.nodeName !== 'HTML' && css(parent, 'position') === 'static') {\n parent = parent.offsetParent;\n }\n\n return parent || doc.documentElement;\n}","export default !!(typeof window !== 'undefined' && window.document && window.document.createElement);","import canUseDOM from './canUseDOM';\n\n/* https://github.com/component/raf */\nvar prev = new Date().getTime();\n\nfunction fallback(fn) {\n var curr = new Date().getTime();\n var ms = Math.max(0, 16 - (curr - prev));\n var handle = setTimeout(fn, ms);\n prev = curr;\n return handle;\n}\n\nvar vendors = ['', 'webkit', 'moz', 'o', 'ms'];\nvar cancelMethod = 'clearTimeout';\nvar rafImpl = fallback; // eslint-disable-next-line import/no-mutable-exports\n\nvar getKey = function getKey(vendor, k) {\n return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + \"AnimationFrame\";\n};\n\nif (canUseDOM) {\n vendors.some(function (vendor) {\n var rafMethod = getKey(vendor, 'request');\n\n if (rafMethod in window) {\n cancelMethod = getKey(vendor, 'cancel'); // @ts-ignore\n\n rafImpl = function rafImpl(cb) {\n return window[rafMethod](cb);\n };\n }\n\n return !!rafImpl;\n });\n}\n\nexport var cancel = function cancel(id) {\n // @ts-ignore\n if (typeof window[cancelMethod] === 'function') window[cancelMethod](id);\n};\nexport var request = rafImpl;","import { useState } from 'react';\n/**\n * A convenience hook around `useState` designed to be paired with\n * the component [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) api.\n * Callback refs are useful over `useRef()` when you need to respond to the ref being set\n * instead of lazily accessing it in an effect.\n *\n * ```ts\n * const [element, attachRef] = useCallbackRef()\n *\n * useEffect(() => {\n * if (!element) return\n *\n * const calendar = new FullCalendar.Calendar(element)\n *\n * return () => {\n * calendar.destroy()\n * }\n * }, [element])\n *\n * return \n * ```\n *\n * @category refs\n */\n\nexport default function useCallbackRef() {\n return useState(null);\n}","import { useMemo } from 'react';\n\nvar toFnRef = function toFnRef(ref) {\n return !ref || typeof ref === 'function' ? ref : function (value) {\n ref.current = value;\n };\n};\n\nexport function mergeRefs(refA, refB) {\n var a = toFnRef(refA);\n var b = toFnRef(refB);\n return function (value) {\n if (a) a(value);\n if (b) b(value);\n };\n}\n/**\n * Create and returns a single callback ref composed from two other Refs.\n *\n * ```tsx\n * const Button = React.forwardRef((props, ref) => {\n * const [element, attachRef] = useCallbackRef();\n * const mergedRef = useMergedRefs(ref, attachRef);\n *\n * return \n * })\n * ```\n *\n * @param refA A Callback or mutable Ref\n * @param refB A Callback or mutable Ref\n * @category refs\n */\n\nfunction useMergedRefs(refA, refB) {\n return useMemo(function () {\n return mergeRefs(refA, refB);\n }, [refA, refB]);\n}\n\nexport default useMergedRefs;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PopperJS from 'popper.js';\nimport { useCallback, useEffect, useRef, useState } from 'react';\nvar initialPopperStyles = {\n position: 'absolute',\n top: '0',\n left: '0',\n opacity: '0',\n pointerEvents: 'none'\n};\nvar initialArrowStyles = {};\n/**\n * Position an element relative some reference element using Popper.js\n *\n * @param {HTMLElement} referenceElement The element\n * @param {HTMLElement} popperElement\n * @param {Object} options\n * @param {Object} options.modifiers Popper.js modifiers\n * @param {Boolean} options.enabled toggle the popper functionality on/off\n * @param {String} options.placement The popper element placement relative to the reference element\n * @param {Boolean} options.positionFixed use fixed positioning\n * @param {Boolean} options.eventsEnabled have Popper listen on window resize events to reposition the element\n */\n\nexport default function usePopper(referenceElement, popperElement, _temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n _ref$enabled = _ref.enabled,\n enabled = _ref$enabled === void 0 ? true : _ref$enabled,\n _ref$placement = _ref.placement,\n placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,\n _ref$positionFixed = _ref.positionFixed,\n positionFixed = _ref$positionFixed === void 0 ? false : _ref$positionFixed,\n _ref$eventsEnabled = _ref.eventsEnabled,\n eventsEnabled = _ref$eventsEnabled === void 0 ? true : _ref$eventsEnabled,\n _ref$modifiers = _ref.modifiers,\n modifiers = _ref$modifiers === void 0 ? {} : _ref$modifiers;\n\n var popperInstanceRef = useRef();\n var hasArrow = !!(modifiers.arrow && modifiers.arrow.element);\n var scheduleUpdate = useCallback(function () {\n if (popperInstanceRef.current) {\n popperInstanceRef.current.scheduleUpdate();\n }\n }, []);\n\n var _useState = useState({\n placement: placement,\n scheduleUpdate: scheduleUpdate,\n outOfBoundaries: false,\n styles: initialPopperStyles,\n arrowStyles: initialArrowStyles\n }),\n state = _useState[0],\n setState = _useState[1]; // A placement difference in state means popper determined a new placement\n // apart from the props value. By the time the popper element is rendered with\n // the new position Popper has already measured it, if the place change triggers\n // a size change it will result in a misaligned popper. So we schedule an update to be sure.\n\n\n useEffect(function () {\n scheduleUpdate();\n }, [state.placement, scheduleUpdate]);\n /** Toggle Events */\n\n useEffect(function () {\n if (popperInstanceRef.current) {\n // eslint-disable-next-line no-unused-expressions\n eventsEnabled ? popperInstanceRef.current.enableEventListeners() : popperInstanceRef.current.disableEventListeners();\n }\n }, [eventsEnabled]);\n useEffect(function () {\n if (!enabled || referenceElement == null || popperElement == null) {\n return undefined;\n }\n\n var arrow = modifiers.arrow && _extends({}, modifiers.arrow, {\n element: modifiers.arrow.element\n });\n\n popperInstanceRef.current = new PopperJS(referenceElement, popperElement, {\n placement: placement,\n positionFixed: positionFixed,\n modifiers: _extends({}, modifiers, {\n arrow: arrow,\n applyStyle: {\n enabled: false\n },\n updateStateModifier: {\n enabled: true,\n order: 900,\n fn: function fn(data) {\n setState({\n scheduleUpdate: scheduleUpdate,\n styles: _extends({\n position: data.offsets.popper.position\n }, data.styles),\n arrowStyles: data.arrowStyles,\n outOfBoundaries: data.hide,\n placement: data.placement\n });\n }\n }\n })\n });\n return function () {\n if (popperInstanceRef.current !== null) {\n popperInstanceRef.current.destroy();\n popperInstanceRef.current = null;\n }\n }; // intentionally NOT re-running on new modifiers\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [enabled, placement, positionFixed, referenceElement, popperElement, hasArrow]);\n return state;\n}","/* eslint-disable no-return-assign */\nimport canUseDOM from './canUseDOM';\nexport var optionsSupported = false;\nexport var onceSupported = false;\n\ntry {\n var options = {\n get passive() {\n return optionsSupported = true;\n },\n\n get once() {\n // eslint-disable-next-line no-multi-assign\n return onceSupported = optionsSupported = true;\n }\n\n };\n\n if (canUseDOM) {\n window.addEventListener('test', options, options);\n window.removeEventListener('test', options, true);\n }\n} catch (e) {\n /* */\n}\n\n/**\n * An `addEventListener` ponyfill, supports the `once` option\n * \n * @param node the element\n * @param eventName the event name\n * @param handle the handler\n * @param options event options\n */\nfunction addEventListener(node, eventName, handler, options) {\n if (options && typeof options !== 'boolean' && !onceSupported) {\n var once = options.once,\n capture = options.capture;\n var wrappedHandler = handler;\n\n if (!onceSupported && once) {\n wrappedHandler = handler.__once || function onceHandler(event) {\n this.removeEventListener(eventName, onceHandler, capture);\n handler.call(this, event);\n };\n\n handler.__once = wrappedHandler;\n }\n\n node.addEventListener(eventName, wrappedHandler, optionsSupported ? options : capture);\n }\n\n node.addEventListener(eventName, handler, options);\n}\n\nexport default addEventListener;","import addEventListener from './addEventListener';\nimport removeEventListener from './removeEventListener';\n\nfunction listen(node, eventName, handler, options) {\n addEventListener(node, eventName, handler, options);\n return function () {\n removeEventListener(node, eventName, handler, options);\n };\n}\n\nexport default listen;","/**\n * A `removeEventListener` ponyfill\n * \n * @param node the element\n * @param eventName the event name\n * @param handle the handler\n * @param options event options\n */\nfunction removeEventListener(node, eventName, handler, options) {\n var capture = options && typeof options !== 'boolean' ? options.capture : options;\n node.removeEventListener(eventName, handler, capture);\n\n if (handler.__once) {\n node.removeEventListener(eventName, handler.__once, capture);\n }\n}\n\nexport default removeEventListener;","import { useCallback } from 'react';\nimport useCommittedRef from './useCommittedRef';\nexport default function useEventCallback(fn) {\n var ref = useCommittedRef(fn);\n return useCallback(function () {\n return ref.current && ref.current.apply(ref, arguments);\n }, [ref]);\n}","import { useEffect, useRef } from 'react';\n/**\n * Creates a `Ref` whose value is updated in an effect, ensuring the most recent\n * value is the one rendered with. Generally only required for Concurrent mode usage\n * where previous work in `render()` may be discarded befor being used.\n *\n * This is safe to access in an event handler.\n *\n * @param value The `Ref` value\n */\n\nfunction useCommittedRef(value) {\n var ref = useRef(value);\n useEffect(function () {\n ref.current = value;\n }, [value]);\n return ref;\n}\n\nexport default useCommittedRef;","import contains from 'dom-helpers/contains';\nimport listen from 'dom-helpers/listen';\nimport { useCallback, useEffect, useRef } from 'react';\nimport useEventCallback from '@restart/hooks/useEventCallback';\nimport warning from 'warning';\nimport ownerDocument from './utils/ownerDocument';\nvar escapeKeyCode = 27;\n\nvar noop = function noop() {};\n\nfunction isLeftClickEvent(event) {\n return event.button === 0;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n/**\n * The `useRootClose` hook registers your callback on the document\n * when rendered. Powers the `` component. This is used achieve modal\n * style behavior where your callback is triggered when the user tries to\n * interact with the rest of the document or hits the `esc` key.\n *\n * @param {Ref|HTMLElement} ref The element boundary\n * @param {function} onRootClose\n * @param {object} options\n * @param {boolean} options.disabled\n * @param {string} options.clickTrigger The DOM event name (click, mousedown, etc) to attach listeners on\n */\n\n\nfunction useRootClose(ref, onRootClose, _temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n disabled = _ref.disabled,\n _ref$clickTrigger = _ref.clickTrigger,\n clickTrigger = _ref$clickTrigger === void 0 ? 'click' : _ref$clickTrigger;\n\n var preventMouseRootCloseRef = useRef(false);\n var onClose = onRootClose || noop;\n var handleMouseCapture = useCallback(function (e) {\n var currentTarget = ref && ('current' in ref ? ref.current : ref);\n warning(!!currentTarget, 'RootClose captured a close event but does not have a ref to compare it to. ' + 'useRootClose(), should be passed a ref that resolves to a DOM node');\n preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || contains(currentTarget, e.target);\n }, [ref]);\n var handleMouse = useEventCallback(function (e) {\n if (!preventMouseRootCloseRef.current) {\n onClose(e);\n }\n });\n var handleKeyUp = useEventCallback(function (e) {\n if (e.keyCode === escapeKeyCode) {\n onClose(e);\n }\n });\n useEffect(function () {\n if (disabled || ref == null) return undefined;\n var doc = ownerDocument(ref.current); // Use capture for this listener so it fires before React's listener, to\n // avoid false positives in the contains() check below if the target DOM\n // element is removed in the React mouse callback.\n\n var removeMouseCaptureListener = listen(doc, clickTrigger, handleMouseCapture, true);\n var removeMouseListener = listen(doc, clickTrigger, handleMouse);\n var removeKeyupListener = listen(doc, 'keyup', handleKeyUp);\n var mobileSafariHackListeners = [];\n\n if ('ontouchstart' in doc.documentElement) {\n mobileSafariHackListeners = [].slice.call(doc.body.children).map(function (el) {\n return listen(el, 'mousemove', noop);\n });\n }\n\n return function () {\n removeMouseCaptureListener();\n removeMouseListener();\n removeKeyupListener();\n mobileSafariHackListeners.forEach(function (remove) {\n return remove();\n });\n };\n }, [ref, disabled, clickTrigger, handleMouseCapture, handleMouse, handleKeyUp]);\n}\n\nexport default useRootClose;","import ownerDocument from 'dom-helpers/ownerDocument';\nimport { useState, useEffect } from 'react';\n\nvar resolveRef = function resolveRef(ref) {\n if (typeof document === 'undefined') return undefined;\n if (ref == null) return ownerDocument().body;\n if (typeof ref === 'function') ref = ref();\n if (ref && ref.current) ref = ref.current;\n if (ref && ref.nodeType) return ref;\n return null;\n};\n\nexport default function useWaitForDOMRef(ref, onResolved) {\n var _useState = useState(function () {\n return resolveRef(ref);\n }),\n resolvedRef = _useState[0],\n setRef = _useState[1];\n\n if (!resolvedRef) {\n var earlyRef = resolveRef(ref);\n if (earlyRef) setRef(earlyRef);\n }\n\n useEffect(function () {\n if (onResolved && resolvedRef) {\n onResolved(resolvedRef);\n }\n }, [onResolved, resolvedRef]);\n useEffect(function () {\n var nextRef = resolveRef(ref);\n\n if (nextRef !== resolvedRef) {\n setRef(nextRef);\n }\n }, [ref, resolvedRef]);\n return resolvedRef;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport PopperJS from 'popper.js';\nimport PropTypes from 'prop-types';\nimport React, { useState } from 'react';\nimport ReactDOM from 'react-dom';\nimport useCallbackRef from '@restart/hooks/useCallbackRef';\nimport useMergedRefs from '@restart/hooks/useMergedRefs';\nimport usePopper from './usePopper';\nimport useRootClose from './useRootClose';\nimport useWaitForDOMRef from './utils/useWaitForDOMRef';\n/**\n * Built on top of `Popper.js`, the overlay component is\n * great for custom tooltip overlays.\n */\n\nvar Overlay = React.forwardRef(function (props, outerRef) {\n var flip = props.flip,\n placement = props.placement,\n containerPadding = props.containerPadding,\n _props$popperConfig = props.popperConfig,\n popperConfig = _props$popperConfig === void 0 ? {} : _props$popperConfig,\n Transition = props.transition;\n\n var _useCallbackRef = useCallbackRef(),\n rootElement = _useCallbackRef[0],\n attachRef = _useCallbackRef[1];\n\n var _useCallbackRef2 = useCallbackRef(),\n arrowElement = _useCallbackRef2[0],\n attachArrowRef = _useCallbackRef2[1];\n\n var mergedRef = useMergedRefs(attachRef, outerRef);\n var container = useWaitForDOMRef(props.container);\n var target = useWaitForDOMRef(props.target);\n\n var _useState = useState(!props.show),\n exited = _useState[0],\n setExited = _useState[1];\n\n var _popperConfig$modifie = popperConfig.modifiers,\n modifiers = _popperConfig$modifie === void 0 ? {} : _popperConfig$modifie;\n\n var _usePopper = usePopper(target, rootElement, _extends({}, popperConfig, {\n placement: placement || 'bottom',\n enableEvents: props.show,\n modifiers: _extends({}, modifiers, {\n preventOverflow: _extends({\n padding: containerPadding || 5\n }, modifiers.preventOverflow),\n arrow: _extends({}, modifiers.arrow, {\n enabled: !!arrowElement,\n element: arrowElement\n }),\n flip: _extends({\n enabled: !!flip\n }, modifiers.preventOverflow)\n })\n })),\n styles = _usePopper.styles,\n arrowStyles = _usePopper.arrowStyles,\n popper = _objectWithoutPropertiesLoose(_usePopper, [\"styles\", \"arrowStyles\"]);\n\n if (props.show) {\n if (exited) setExited(false);\n } else if (!props.transition && !exited) {\n setExited(true);\n }\n\n var handleHidden = function handleHidden() {\n setExited(true);\n\n if (props.onExited) {\n props.onExited.apply(props, arguments);\n }\n }; // Don't un-render the overlay while it's transitioning out.\n\n\n var mountOverlay = props.show || Transition && !exited;\n useRootClose(rootElement, props.onHide, {\n disabled: !props.rootClose || props.rootCloseDisabled,\n clickTrigger: props.rootCloseEvent\n });\n\n if (!mountOverlay) {\n // Don't bother showing anything if we don't have to.\n return null;\n }\n\n var child = props.children(_extends({}, popper, {\n show: props.show,\n props: {\n style: styles,\n ref: mergedRef\n },\n arrowProps: {\n style: arrowStyles,\n ref: attachArrowRef\n }\n }));\n\n if (Transition) {\n var onExit = props.onExit,\n onExiting = props.onExiting,\n onEnter = props.onEnter,\n onEntering = props.onEntering,\n onEntered = props.onEntered;\n child = React.createElement(Transition, {\n \"in\": props.show,\n appear: true,\n onExit: onExit,\n onExiting: onExiting,\n onExited: handleHidden,\n onEnter: onEnter,\n onEntering: onEntering,\n onEntered: onEntered\n }, child);\n }\n\n return container ? ReactDOM.createPortal(child, container) : null;\n});\nOverlay.displayName = 'Overlay';\nOverlay.propTypes = {\n /**\n * Set the visibility of the Overlay\n */\n show: PropTypes.bool,\n\n /** Specify where the overlay element is positioned in relation to the target element */\n placement: PropTypes.oneOf(PopperJS.placements),\n\n /**\n * A DOM Element, Ref to an element, or function that returns either. The `target` element is where\n * the overlay is positioned relative to.\n */\n target: PropTypes.any,\n\n /**\n * A DOM Element, Ref to an element, or function that returns either. The `container` will have the Portal children\n * appended to it.\n */\n container: PropTypes.any,\n\n /**\n * Enables the Popper.js `flip` modifier, allowing the Overlay to\n * automatically adjust it's placement in case of overlap with the viewport or toggle.\n * Refer to the [flip docs](https://popper.js.org/popper-documentation.html#modifiers..flip.enabled) for more info\n */\n flip: PropTypes.bool,\n\n /**\n * A render prop that returns an element to overlay and position. See\n * the [react-popper documentation](https://github.com/FezVrasta/react-popper#children) for more info.\n *\n * @type {Function ({\n * show: boolean,\n * placement: Placement,\n * outOfBoundaries: ?boolean,\n * scheduleUpdate: () => void,\n * props: {\n * ref: (?HTMLElement) => void,\n * style: { [string]: string | number },\n * aria-labelledby: ?string\n * },\n * arrowProps: {\n * ref: (?HTMLElement) => void,\n * style: { [string]: string | number },\n * },\n * }) => React.Element}\n */\n children: PropTypes.func.isRequired,\n\n /**\n * Control how much space there is between the edge of the boundary element and overlay.\n * A convenience shortcut to setting `popperConfig.modfiers.preventOverflow.padding`\n */\n containerPadding: PropTypes.number,\n\n /**\n * A set of popper options and props passed directly to react-popper's Popper component.\n */\n popperConfig: PropTypes.object,\n\n /**\n * Specify whether the overlay should trigger `onHide` when the user clicks outside the overlay\n */\n rootClose: PropTypes.bool,\n\n /**\n * Specify event for toggling overlay\n */\n rootCloseEvent: PropTypes.oneOf(['click', 'mousedown']),\n\n /**\n * Specify disabled for disable RootCloseWrapper\n */\n rootCloseDisabled: PropTypes.bool,\n\n /**\n * A Callback fired by the Overlay when it wishes to be hidden.\n *\n * __required__ when `rootClose` is `true`.\n *\n * @type func\n */\n onHide: function onHide(props) {\n var propType = PropTypes.func;\n\n if (props.rootClose) {\n propType = propType.isRequired;\n }\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return propType.apply(void 0, [props].concat(args));\n },\n\n /**\n * A `react-transition-group@2.0.0` `` component\n * used to animate the overlay as it changes visibility.\n */\n transition: PropTypes.elementType,\n\n /**\n * Callback fired before the Overlay transitions in\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired as the Overlay begins to transition in\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the Overlay finishes transitioning in\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired right before the Overlay transitions out\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired as the Overlay begins to transition out\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the Overlay finishes transitioning out\n */\n onExited: PropTypes.func\n};\nOverlay.defaultProps = {\n containerPadding: 5\n};\nexport default Overlay;","import ReactDOM from 'react-dom';\nimport ownerDocument from 'dom-helpers/ownerDocument';\nexport default function (componentOrElement) {\n return ownerDocument(ReactDOM.findDOMNode(componentOrElement));\n}","import getWindow from './isWindow';\nimport offset from './offset';\n/**\n * Returns the height of a given element.\n * \n * @param node the element\n * @param client whether to use `clientHeight` if possible\n */\n\nexport default function height(node, client) {\n var win = getWindow(node);\n return win ? win.innerHeight : client ? node.clientHeight : offset(node).height;\n}","var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);\n/**\n * Runs `querySelectorAll` on a given element.\n * \n * @param element the element\n * @param selector the selector\n */\n\nexport default function qsa(element, selector) {\n return toArray(element.querySelectorAll(selector));\n}","var matchesImpl;\n/**\n * Checks if a given element matches a selector.\n * \n * @param node the element\n * @param selector the selector\n */\n\nexport default function matches(node, selector) {\n if (!matchesImpl) {\n var body = document.body;\n var nativeMatch = body.matches || body.matchesSelector || body.webkitMatchesSelector || body.mozMatchesSelector || body.msMatchesSelector;\n\n matchesImpl = function matchesImpl(n, s) {\n return nativeMatch.call(n, s);\n };\n }\n\n return matchesImpl(node, selector);\n}","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nexport default baseFindIndex;\n","import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nexport default listCacheDelete;\n","import listCacheClear from './_listCacheClear.js';\nimport listCacheDelete from './_listCacheDelete.js';\nimport listCacheGet from './_listCacheGet.js';\nimport listCacheHas from './_listCacheHas.js';\nimport listCacheSet from './_listCacheSet.js';\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nexport default ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nexport default listCacheClear;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nexport default listCacheGet;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nexport default listCacheHas;\n","import assocIndexOf from './_assocIndexOf.js';\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nexport default listCacheSet;\n","import root from './_root.js';\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nexport default coreJsData;\n","import coreJsData from './_coreJsData.js';\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nexport default isMasked;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n","import isFunction from './isFunction.js';\nimport isMasked from './_isMasked.js';\nimport isObject from './isObject.js';\nimport toSource from './_toSource.js';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nexport default baseIsNative;\n","import baseIsNative from './_baseIsNative.js';\nimport getValue from './_getValue.js';\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nexport default getNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nexport default getValue;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nexport default Map;\n","import getNative from './_getNative.js';\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nexport default nativeCreate;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nexport default hashGet;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nexport default hashHas;\n","import hashClear from './_hashClear.js';\nimport hashDelete from './_hashDelete.js';\nimport hashGet from './_hashGet.js';\nimport hashHas from './_hashHas.js';\nimport hashSet from './_hashSet.js';\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nexport default Hash;\n","import nativeCreate from './_nativeCreate.js';\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nexport default hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default hashDelete;\n","import nativeCreate from './_nativeCreate.js';\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nexport default hashSet;\n","import isKeyable from './_isKeyable.js';\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nexport default getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nexport default isKeyable;\n","import mapCacheClear from './_mapCacheClear.js';\nimport mapCacheDelete from './_mapCacheDelete.js';\nimport mapCacheGet from './_mapCacheGet.js';\nimport mapCacheHas from './_mapCacheHas.js';\nimport mapCacheSet from './_mapCacheSet.js';\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nexport default MapCache;\n","import Hash from './_Hash.js';\nimport ListCache from './_ListCache.js';\nimport Map from './_Map.js';\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nexport default mapCacheClear;\n","import getMapData from './_getMapData.js';\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nexport default mapCacheDelete;\n","import getMapData from './_getMapData.js';\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nexport default mapCacheGet;\n","import getMapData from './_getMapData.js';\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nexport default mapCacheHas;\n","import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n","import ListCache from './_ListCache.js';\nimport stackClear from './_stackClear.js';\nimport stackDelete from './_stackDelete.js';\nimport stackGet from './_stackGet.js';\nimport stackHas from './_stackHas.js';\nimport stackSet from './_stackSet.js';\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nexport default Stack;\n","import ListCache from './_ListCache.js';\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nexport default stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nexport default stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nexport default stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nexport default stackHas;\n","import ListCache from './_ListCache.js';\nimport Map from './_Map.js';\nimport MapCache from './_MapCache.js';\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nexport default stackSet;\n","import MapCache from './_MapCache.js';\nimport setCacheAdd from './_setCacheAdd.js';\nimport setCacheHas from './_setCacheHas.js';\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nexport default SetCache;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nexport default setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nexport default setCacheHas;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nexport default arraySome;\n","import SetCache from './_SetCache.js';\nimport arraySome from './_arraySome.js';\nimport cacheHas from './_cacheHas.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nexport default equalArrays;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nexport default cacheHas;\n","import root from './_root.js';\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nexport default Uint8Array;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nexport default mapToArray;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nexport default setToArray;\n","import Symbol from './_Symbol.js';\nimport Uint8Array from './_Uint8Array.js';\nimport eq from './eq.js';\nimport equalArrays from './_equalArrays.js';\nimport mapToArray from './_mapToArray.js';\nimport setToArray from './_setToArray.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nexport default equalByTag;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nexport default arrayPush;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nexport default isArray;\n","import arrayPush from './_arrayPush.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nexport default baseGetAllKeys;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nexport default stubArray;\n","import arrayFilter from './_arrayFilter.js';\nimport stubArray from './stubArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nexport default getSymbols;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nexport default arrayFilter;\n","import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nexport default baseIsArguments;\n","import baseIsArguments from './_baseIsArguments.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nexport default isArguments;\n","import root from './_root.js';\nimport stubFalse from './stubFalse.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nexport default isBuffer;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nexport default stubFalse;\n","import baseGetTag from './_baseGetTag.js';\nimport isLength from './isLength.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nexport default baseIsTypedArray;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nexport default baseUnary;\n","import freeGlobal from './_freeGlobal.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nexport default nodeUtil;\n","import baseIsTypedArray from './_baseIsTypedArray.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nexport default isTypedArray;\n","import baseTimes from './_baseTimes.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isIndex from './_isIndex.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default arrayLikeKeys;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nexport default baseTimes;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nexport default overArg;\n","import overArg from './_overArg.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nexport default nativeKeys;\n","import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeys from './_baseKeys.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nexport default keys;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbols from './_getSymbols.js';\nimport keys from './keys.js';\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nexport default getAllKeys;\n","import getAllKeys from './_getAllKeys.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nexport default equalObjects;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nexport default DataView;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nexport default Promise;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nexport default Set;\n","import getNative from './_getNative.js';\nimport root from './_root.js';\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nexport default WeakMap;\n","import DataView from './_DataView.js';\nimport Map from './_Map.js';\nimport Promise from './_Promise.js';\nimport Set from './_Set.js';\nimport WeakMap from './_WeakMap.js';\nimport baseGetTag from './_baseGetTag.js';\nimport toSource from './_toSource.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nexport default getTag;\n","import Stack from './_Stack.js';\nimport equalArrays from './_equalArrays.js';\nimport equalByTag from './_equalByTag.js';\nimport equalObjects from './_equalObjects.js';\nimport getTag from './_getTag.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isTypedArray from './isTypedArray.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nexport default baseIsEqualDeep;\n","import baseIsEqualDeep from './_baseIsEqualDeep.js';\nimport isObjectLike from './isObjectLike.js';\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nexport default baseIsEqual;\n","import isObject from './isObject.js';\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nexport default isStrictComparable;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nexport default matchesStrictComparable;\n","import baseIsMatch from './_baseIsMatch.js';\nimport getMatchData from './_getMatchData.js';\nimport matchesStrictComparable from './_matchesStrictComparable.js';\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nexport default baseMatches;\n","import isStrictComparable from './_isStrictComparable.js';\nimport keys from './keys.js';\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nexport default getMatchData;\n","import Stack from './_Stack.js';\nimport baseIsEqual from './_baseIsEqual.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nexport default baseIsMatch;\n","import isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nexport default isKey;\n","import MapCache from './_MapCache.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nexport default memoize;\n","import memoizeCapped from './_memoizeCapped.js';\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nexport default stringToPath;\n","import memoize from './memoize.js';\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nexport default memoizeCapped;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nexport default arrayMap;\n","import Symbol from './_Symbol.js';\nimport arrayMap from './_arrayMap.js';\nimport isArray from './isArray.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default baseToString;\n","import baseToString from './_baseToString.js';\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nexport default toString;\n","import isArray from './isArray.js';\nimport isKey from './_isKey.js';\nimport stringToPath from './_stringToPath.js';\nimport toString from './toString.js';\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nexport default castPath;\n","import isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nexport default toKey;\n","import castPath from './_castPath.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nexport default baseGet;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nexport default baseHasIn;\n","import baseHasIn from './_baseHasIn.js';\nimport hasPath from './_hasPath.js';\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nexport default hasIn;\n","import castPath from './_castPath.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\nimport isIndex from './_isIndex.js';\nimport isLength from './isLength.js';\nimport toKey from './_toKey.js';\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nexport default hasPath;\n","import baseIsEqual from './_baseIsEqual.js';\nimport get from './get.js';\nimport hasIn from './hasIn.js';\nimport isKey from './_isKey.js';\nimport isStrictComparable from './_isStrictComparable.js';\nimport matchesStrictComparable from './_matchesStrictComparable.js';\nimport toKey from './_toKey.js';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nexport default baseMatchesProperty;\n","import baseGet from './_baseGet.js';\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nexport default get;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nexport default identity;\n","import baseProperty from './_baseProperty.js';\nimport basePropertyDeep from './_basePropertyDeep.js';\nimport isKey from './_isKey.js';\nimport toKey from './_toKey.js';\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nexport default property;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nexport default baseProperty;\n","import baseGet from './_baseGet.js';\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nexport default basePropertyDeep;\n","import baseMatches from './_baseMatches.js';\nimport baseMatchesProperty from './_baseMatchesProperty.js';\nimport identity from './identity.js';\nimport isArray from './isArray.js';\nimport property from './property.js';\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nexport default baseIteratee;\n","import baseFindIndex from './_baseFindIndex.js';\nimport baseIteratee from './_baseIteratee.js';\nimport toInteger from './toInteger.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nexport default findIndex;\n","/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nexport default baseRange;\n","import createRange from './_createRange.js';\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nexport default range;\n","import baseRange from './_baseRange.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport toFinite from './toFinite.js';\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nexport default createRange;\n","var safeIsNaN = Number.isNaN ||\n function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n };\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n return false;\n}\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nexport default memoizeOne;\n","import Symbol from './_Symbol.js';\nimport isArguments from './isArguments.js';\nimport isArray from './isArray.js';\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nexport default isFlattenable;\n","import arrayPush from './_arrayPush.js';\nimport isFlattenable from './_isFlattenable.js';\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nexport default baseFlatten;\n","import createBaseFor from './_createBaseFor.js';\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nexport default baseFor;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nexport default createBaseFor;\n","import baseFor from './_baseFor.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nexport default baseForOwn;\n","import baseForOwn from './_baseForOwn.js';\nimport createBaseEach from './_createBaseEach.js';\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nexport default baseEach;\n","import isArrayLike from './isArrayLike.js';\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nexport default createBaseEach;\n","import baseEach from './_baseEach.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nexport default baseMap;\n","import isSymbol from './isSymbol.js';\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nexport default compareAscending;\n","import arrayMap from './_arrayMap.js';\nimport baseGet from './_baseGet.js';\nimport baseIteratee from './_baseIteratee.js';\nimport baseMap from './_baseMap.js';\nimport baseSortBy from './_baseSortBy.js';\nimport baseUnary from './_baseUnary.js';\nimport compareMultiple from './_compareMultiple.js';\nimport identity from './identity.js';\nimport isArray from './isArray.js';\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nexport default baseOrderBy;\n","/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nexport default baseSortBy;\n","import compareAscending from './_compareAscending.js';\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nexport default compareMultiple;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nexport default apply;\n","import apply from './_apply.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nexport default overRest;\n","import getNative from './_getNative.js';\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nexport default defineProperty;\n","import constant from './constant.js';\nimport defineProperty from './_defineProperty.js';\nimport identity from './identity.js';\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nexport default baseSetToString;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nexport default constant;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nexport default shortOut;\n","import baseSetToString from './_baseSetToString.js';\nimport shortOut from './_shortOut.js';\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nexport default setToString;\n","import identity from './identity.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nexport default baseRest;\n","import baseFlatten from './_baseFlatten.js';\nimport baseOrderBy from './_baseOrderBy.js';\nimport baseRest from './_baseRest.js';\nimport isIterateeCall from './_isIterateeCall.js';\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nexport default sortBy;\n","import getWindow from './isWindow';\nimport offset from './offset';\n/**\n * Returns the width of a given element.\n * \n * @param node the element\n * @param client whether to use `clientWidth` if possible\n */\n\nexport default function getWidth(node, client) {\n var win = getWindow(node);\n return win ? win.innerWidth : client ? node.clientWidth : offset(node).width;\n}","import canUseDOM from './canUseDOM';\nvar size;\nexport default function scrollbarSize(recalc) {\n if (!size && size !== 0 || recalc) {\n if (canUseDOM) {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n }\n }\n\n return size;\n}","function replaceClassName(origClass, classToRemove) {\n return origClass.replace(new RegExp(\"(^|\\\\s)\" + classToRemove + \"(?:\\\\s|$)\", 'g'), '$1').replace(/\\s+/g, ' ').replace(/^\\s*|\\s*$/g, '');\n}\n/**\n * Removes a CSS class from a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\n\nexport default function removeClass(element, className) {\n if (element.classList) {\n element.classList.remove(className);\n } else if (typeof element.className === 'string') {\n element.className = replaceClassName(element.className, className);\n } else {\n element.setAttribute('class', replaceClassName(element.className && element.className.baseVal || '', className));\n }\n}","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nexport default arrayEach;\n","import defineProperty from './_defineProperty.js';\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nexport default baseAssignValue;\n","import baseAssignValue from './_baseAssignValue.js';\nimport eq from './eq.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nexport default assignValue;\n","import assignValue from './_assignValue.js';\nimport baseAssignValue from './_baseAssignValue.js';\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nexport default copyObject;\n","import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default nativeKeysIn;\n","import arrayLikeKeys from './_arrayLikeKeys.js';\nimport baseKeysIn from './_baseKeysIn.js';\nimport isArrayLike from './isArrayLike.js';\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nexport default keysIn;\n","import root from './_root.js';\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nexport default cloneBuffer;\n","import overArg from './_overArg.js';\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nexport default getPrototype;\n","import arrayPush from './_arrayPush.js';\nimport getPrototype from './_getPrototype.js';\nimport getSymbols from './_getSymbols.js';\nimport stubArray from './stubArray.js';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nexport default getSymbolsIn;\n","import baseGetAllKeys from './_baseGetAllKeys.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\nimport keysIn from './keysIn.js';\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nexport default getAllKeysIn;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nexport default initCloneArray;\n","import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nexport default cloneRegExp;\n","import Symbol from './_Symbol.js';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nexport default cloneSymbol;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\nimport cloneDataView from './_cloneDataView.js';\nimport cloneRegExp from './_cloneRegExp.js';\nimport cloneSymbol from './_cloneSymbol.js';\nimport cloneTypedArray from './_cloneTypedArray.js';\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nexport default initCloneByTag;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nexport default cloneDataView;\n","import cloneArrayBuffer from './_cloneArrayBuffer.js';\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nexport default cloneTypedArray;\n","import isObject from './isObject.js';\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nexport default baseCreate;\n","import baseIsMap from './_baseIsMap.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nexport default isMap;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nexport default baseIsMap;\n","import baseIsSet from './_baseIsSet.js';\nimport baseUnary from './_baseUnary.js';\nimport nodeUtil from './_nodeUtil.js';\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nexport default isSet;\n","import getTag from './_getTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nexport default baseIsSet;\n","import Stack from './_Stack.js';\nimport arrayEach from './_arrayEach.js';\nimport assignValue from './_assignValue.js';\nimport baseAssign from './_baseAssign.js';\nimport baseAssignIn from './_baseAssignIn.js';\nimport cloneBuffer from './_cloneBuffer.js';\nimport copyArray from './_copyArray.js';\nimport copySymbols from './_copySymbols.js';\nimport copySymbolsIn from './_copySymbolsIn.js';\nimport getAllKeys from './_getAllKeys.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\nimport getTag from './_getTag.js';\nimport initCloneArray from './_initCloneArray.js';\nimport initCloneByTag from './_initCloneByTag.js';\nimport initCloneObject from './_initCloneObject.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isMap from './isMap.js';\nimport isObject from './isObject.js';\nimport isSet from './isSet.js';\nimport keys from './keys.js';\nimport keysIn from './keysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nexport default baseClone;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nexport default copyArray;\n","import baseCreate from './_baseCreate.js';\nimport getPrototype from './_getPrototype.js';\nimport isPrototype from './_isPrototype.js';\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nexport default initCloneObject;\n","import copyObject from './_copyObject.js';\nimport getSymbolsIn from './_getSymbolsIn.js';\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nexport default copySymbolsIn;\n","import copyObject from './_copyObject.js';\nimport keysIn from './keysIn.js';\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nexport default baseAssignIn;\n","import copyObject from './_copyObject.js';\nimport getSymbols from './_getSymbols.js';\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nexport default copySymbols;\n","import copyObject from './_copyObject.js';\nimport keys from './keys.js';\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nexport default baseAssign;\n","import castPath from './_castPath.js';\nimport last from './last.js';\nimport parent from './_parent.js';\nimport toKey from './_toKey.js';\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nexport default baseUnset;\n","import baseGet from './_baseGet.js';\nimport baseSlice from './_baseSlice.js';\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nexport default parent;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nexport default last;\n","import baseGetTag from './_baseGetTag.js';\nimport getPrototype from './_getPrototype.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nexport default isPlainObject;\n","import isPlainObject from './isPlainObject.js';\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nexport default customOmitClone;\n","import baseFlatten from './_baseFlatten.js';\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nexport default flatten;\n","import arrayMap from './_arrayMap.js';\nimport baseClone from './_baseClone.js';\nimport baseUnset from './_baseUnset.js';\nimport castPath from './_castPath.js';\nimport copyObject from './_copyObject.js';\nimport customOmitClone from './_customOmitClone.js';\nimport flatRest from './_flatRest.js';\nimport getAllKeysIn from './_getAllKeysIn.js';\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\nvar omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n});\n\nexport default omit;\n","import flatten from './flatten.js';\nimport overRest from './_overRest.js';\nimport setToString from './_setToString.js';\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nexport default flatRest;\n","import baseRest from './_baseRest.js';\nimport eq from './eq.js';\nimport isIterateeCall from './_isIterateeCall.js';\nimport keysIn from './keysIn.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nexport default defaults;\n","import arrayEach from './_arrayEach.js';\nimport baseCreate from './_baseCreate.js';\nimport baseForOwn from './_baseForOwn.js';\nimport baseIteratee from './_baseIteratee.js';\nimport getPrototype from './_getPrototype.js';\nimport isArray from './isArray.js';\nimport isBuffer from './isBuffer.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isTypedArray from './isTypedArray.js';\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = baseIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n}\n\nexport default transform;\n","import baseAssignValue from './_baseAssignValue.js';\nimport baseForOwn from './_baseForOwn.js';\nimport baseIteratee from './_baseIteratee.js';\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\n\nexport default mapValues;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport PropTypes from 'prop-types';\nimport React, { Component } from 'react';\nimport { uncontrollable } from 'uncontrollable';\nimport clsx from 'clsx';\nimport invariant from 'invariant';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport { findDOMNode } from 'react-dom';\nimport { eq, add, startOf, endOf, lte, hours, minutes, seconds, milliseconds, lt, gte, month, max, min, gt, inRange as inRange$1 } from 'date-arithmetic';\nimport chunk from 'lodash-es/chunk';\nimport getPosition from 'dom-helpers/position';\nimport { request, cancel } from 'dom-helpers/animationFrame';\nimport getOffset from 'dom-helpers/offset';\nimport getScrollTop from 'dom-helpers/scrollTop';\nimport getScrollLeft from 'dom-helpers/scrollLeft';\nimport Overlay from 'react-overlays/Overlay';\nimport getHeight from 'dom-helpers/height';\nimport qsa from 'dom-helpers/querySelectorAll';\nimport contains from 'dom-helpers/contains';\nimport closest from 'dom-helpers/closest';\nimport listen from 'dom-helpers/listen';\nimport findIndex from 'lodash-es/findIndex';\nimport range$1 from 'lodash-es/range';\nimport memoize from 'memoize-one';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport sortBy from 'lodash-es/sortBy';\nimport getWidth from 'dom-helpers/width';\nimport scrollbarSize from 'dom-helpers/scrollbarSize';\nimport addClass from 'dom-helpers/addClass';\nimport removeClass from 'dom-helpers/removeClass';\nimport omit from 'lodash-es/omit';\nimport defaults from 'lodash-es/defaults';\nimport transform from 'lodash-es/transform';\nimport mapValues from 'lodash-es/mapValues';\n\nfunction NoopWrapper(props) {\n return props.children;\n}\n\nvar navigate = {\n PREVIOUS: 'PREV',\n NEXT: 'NEXT',\n TODAY: 'TODAY',\n DATE: 'DATE'\n};\nvar views = {\n MONTH: 'month',\n WEEK: 'week',\n WORK_WEEK: 'work_week',\n DAY: 'day',\n AGENDA: 'agenda'\n};\n\nvar viewNames = Object.keys(views).map(function (k) {\n return views[k];\n});\nvar accessor = PropTypes.oneOfType([PropTypes.string, PropTypes.func]);\nvar dateFormat = PropTypes.any;\nvar dateRangeFormat = PropTypes.func;\n/**\n * accepts either an array of builtin view names:\n *\n * ```\n * views={['month', 'day', 'agenda']}\n * ```\n *\n * or an object hash of the view name and the component (or boolean for builtin)\n *\n * ```\n * views={{\n * month: true,\n * week: false,\n * workweek: WorkWeekViewComponent,\n * }}\n * ```\n */\n\nvar views$1 = PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOf(viewNames)), PropTypes.objectOf(function (prop, key) {\n var isBuiltinView = viewNames.indexOf(key) !== -1 && typeof prop[key] === 'boolean';\n\n if (isBuiltinView) {\n return null;\n } else {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n return PropTypes.elementType.apply(PropTypes, [prop, key].concat(args));\n }\n})]);\nvar DayLayoutAlgorithmPropType = PropTypes.oneOfType([PropTypes.oneOf(['overlap', 'no-overlap']), PropTypes.func]);\n\nfunction notify(handler, args) {\n handler && handler.apply(null, [].concat(args));\n}\n\nvar localePropType = PropTypes.oneOfType([PropTypes.string, PropTypes.func]);\n\nfunction _format(localizer, formatter, value, format, culture) {\n var result = typeof format === 'function' ? format(value, culture, localizer) : formatter.call(localizer, value, format, culture);\n !(result == null || typeof result === 'string') ? process.env.NODE_ENV !== \"production\" ? invariant(false, '`localizer format(..)` must return a string, null, or undefined') : invariant(false) : void 0;\n return result;\n}\n\nvar DateLocalizer = function DateLocalizer(spec) {\n var _this = this;\n\n !(typeof spec.format === 'function') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'date localizer `format(..)` must be a function') : invariant(false) : void 0;\n !(typeof spec.firstOfWeek === 'function') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'date localizer `firstOfWeek(..)` must be a function') : invariant(false) : void 0;\n this.propType = spec.propType || localePropType;\n this.startOfWeek = spec.firstOfWeek;\n this.formats = spec.formats;\n\n this.format = function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _format.apply(void 0, [_this, spec.format].concat(args));\n };\n};\nfunction mergeWithDefaults(localizer, culture, formatOverrides, messages) {\n var formats = _extends({}, localizer.formats, formatOverrides);\n\n return _extends({}, localizer, {\n messages: messages,\n startOfWeek: function startOfWeek() {\n return localizer.startOfWeek(culture);\n },\n format: function format(value, _format2) {\n return localizer.format(value, formats[_format2] || _format2, culture);\n }\n });\n}\n\nvar defaultMessages = {\n date: 'Date',\n time: 'Time',\n event: 'Event',\n allDay: 'All Day',\n week: 'Week',\n work_week: 'Work Week',\n day: 'Day',\n month: 'Month',\n previous: 'Back',\n next: 'Next',\n yesterday: 'Yesterday',\n tomorrow: 'Tomorrow',\n today: 'Today',\n agenda: 'Agenda',\n noEventsInRange: 'There are no events in this range.',\n showMore: function showMore(total) {\n return \"+\" + total + \" more\";\n }\n};\nfunction messages(msgs) {\n return _extends({}, defaultMessages, msgs);\n}\n\n/* eslint no-fallthrough: off */\nvar MILLI = {\n seconds: 1000,\n minutes: 1000 * 60,\n hours: 1000 * 60 * 60,\n day: 1000 * 60 * 60 * 24\n};\nfunction firstVisibleDay(date, localizer) {\n var firstOfMonth = startOf(date, 'month');\n return startOf(firstOfMonth, 'week', localizer.startOfWeek());\n}\nfunction lastVisibleDay(date, localizer) {\n var endOfMonth = endOf(date, 'month');\n return endOf(endOfMonth, 'week', localizer.startOfWeek());\n}\nfunction visibleDays(date, localizer) {\n var current = firstVisibleDay(date, localizer),\n last = lastVisibleDay(date, localizer),\n days = [];\n\n while (lte(current, last, 'day')) {\n days.push(current);\n current = add(current, 1, 'day');\n }\n\n return days;\n}\nfunction ceil(date, unit) {\n var floor = startOf(date, unit);\n return eq(floor, date) ? floor : add(floor, 1, unit);\n}\nfunction range(start, end, unit) {\n if (unit === void 0) {\n unit = 'day';\n }\n\n var current = start,\n days = [];\n\n while (lte(current, end, unit)) {\n days.push(current);\n current = add(current, 1, unit);\n }\n\n return days;\n}\nfunction merge(date, time) {\n if (time == null && date == null) return null;\n if (time == null) time = new Date();\n if (date == null) date = new Date();\n date = startOf(date, 'day');\n date = hours(date, hours(time));\n date = minutes(date, minutes(time));\n date = seconds(date, seconds(time));\n return milliseconds(date, milliseconds(time));\n}\nfunction isJustDate(date) {\n return hours(date) === 0 && minutes(date) === 0 && seconds(date) === 0 && milliseconds(date) === 0;\n}\nfunction diff(dateA, dateB, unit) {\n if (!unit || unit === 'milliseconds') return Math.abs(+dateA - +dateB); // the .round() handles an edge case\n // with DST where the total won't be exact\n // since one day in the range may be shorter/longer by an hour\n\n return Math.round(Math.abs(+startOf(dateA, unit) / MILLI[unit] - +startOf(dateB, unit) / MILLI[unit]));\n}\n\nvar EventCell =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(EventCell, _React$Component);\n\n function EventCell() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = EventCell.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n style = _this$props.style,\n className = _this$props.className,\n event = _this$props.event,\n selected = _this$props.selected,\n isAllDay = _this$props.isAllDay,\n onSelect = _this$props.onSelect,\n _onDoubleClick = _this$props.onDoubleClick,\n localizer = _this$props.localizer,\n continuesPrior = _this$props.continuesPrior,\n continuesAfter = _this$props.continuesAfter,\n accessors = _this$props.accessors,\n getters = _this$props.getters,\n children = _this$props.children,\n _this$props$component = _this$props.components,\n Event = _this$props$component.event,\n EventWrapper = _this$props$component.eventWrapper,\n slotStart = _this$props.slotStart,\n slotEnd = _this$props.slotEnd,\n props = _objectWithoutPropertiesLoose(_this$props, [\"style\", \"className\", \"event\", \"selected\", \"isAllDay\", \"onSelect\", \"onDoubleClick\", \"localizer\", \"continuesPrior\", \"continuesAfter\", \"accessors\", \"getters\", \"children\", \"components\", \"slotStart\", \"slotEnd\"]);\n\n var title = accessors.title(event);\n var tooltip = accessors.tooltip(event);\n var end = accessors.end(event);\n var start = accessors.start(event);\n var allDay = accessors.allDay(event);\n var showAsAllDay = isAllDay || allDay || diff(start, ceil(end, 'day'), 'day') > 1;\n var userProps = getters.eventProp(event, start, end, selected);\n var content = React.createElement(\"div\", {\n className: \"rbc-event-content\",\n title: tooltip || undefined\n }, Event ? React.createElement(Event, {\n event: event,\n continuesPrior: continuesPrior,\n continuesAfter: continuesAfter,\n title: title,\n isAllDay: allDay,\n localizer: localizer,\n slotStart: slotStart,\n slotEnd: slotEnd\n }) : title);\n return React.createElement(EventWrapper, _extends({}, this.props, {\n type: \"date\"\n }), React.createElement(\"div\", _extends({}, props, {\n tabIndex: 0,\n style: _extends({}, userProps.style, style),\n className: clsx('rbc-event', className, userProps.className, {\n 'rbc-selected': selected,\n 'rbc-event-allday': showAsAllDay,\n 'rbc-event-continues-prior': continuesPrior,\n 'rbc-event-continues-after': continuesAfter\n }),\n onClick: function onClick(e) {\n return onSelect && onSelect(event, e);\n },\n onDoubleClick: function onDoubleClick(e) {\n return _onDoubleClick && _onDoubleClick(event, e);\n }\n }), typeof children === 'function' ? children(content) : content));\n };\n\n return EventCell;\n}(React.Component);\n\nEventCell.propTypes = process.env.NODE_ENV !== \"production\" ? {\n event: PropTypes.object.isRequired,\n slotStart: PropTypes.instanceOf(Date),\n slotEnd: PropTypes.instanceOf(Date),\n selected: PropTypes.bool,\n isAllDay: PropTypes.bool,\n continuesPrior: PropTypes.bool,\n continuesAfter: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object,\n onSelect: PropTypes.func,\n onDoubleClick: PropTypes.func\n} : {};\n\nfunction isSelected(event, selected) {\n if (!event || selected == null) return false;\n return [].concat(selected).indexOf(event) !== -1;\n}\nfunction slotWidth(rowBox, slots) {\n var rowWidth = rowBox.right - rowBox.left;\n var cellWidth = rowWidth / slots;\n return cellWidth;\n}\nfunction getSlotAtX(rowBox, x, rtl, slots) {\n var cellWidth = slotWidth(rowBox, slots);\n return rtl ? slots - 1 - Math.floor((x - rowBox.left) / cellWidth) : Math.floor((x - rowBox.left) / cellWidth);\n}\nfunction pointInBox(box, _ref) {\n var x = _ref.x,\n y = _ref.y;\n return y >= box.top && y <= box.bottom && x >= box.left && x <= box.right;\n}\nfunction dateCellSelection(start, rowBox, box, slots, rtl) {\n var startIdx = -1;\n var endIdx = -1;\n var lastSlotIdx = slots - 1;\n var cellWidth = slotWidth(rowBox, slots); // cell under the mouse\n\n var currentSlot = getSlotAtX(rowBox, box.x, rtl, slots); // Identify row as either the initial row\n // or the row under the current mouse point\n\n var isCurrentRow = rowBox.top < box.y && rowBox.bottom > box.y;\n var isStartRow = rowBox.top < start.y && rowBox.bottom > start.y; // this row's position relative to the start point\n\n var isAboveStart = start.y > rowBox.bottom;\n var isBelowStart = rowBox.top > start.y;\n var isBetween = box.top < rowBox.top && box.bottom > rowBox.bottom; // this row is between the current and start rows, so entirely selected\n\n if (isBetween) {\n startIdx = 0;\n endIdx = lastSlotIdx;\n }\n\n if (isCurrentRow) {\n if (isBelowStart) {\n startIdx = 0;\n endIdx = currentSlot;\n } else if (isAboveStart) {\n startIdx = currentSlot;\n endIdx = lastSlotIdx;\n }\n }\n\n if (isStartRow) {\n // select the cell under the initial point\n startIdx = endIdx = rtl ? lastSlotIdx - Math.floor((start.x - rowBox.left) / cellWidth) : Math.floor((start.x - rowBox.left) / cellWidth);\n\n if (isCurrentRow) {\n if (currentSlot < startIdx) startIdx = currentSlot;else endIdx = currentSlot; //select current range\n } else if (start.y < box.y) {\n // the current row is below start row\n // select cells to the right of the start cell\n endIdx = lastSlotIdx;\n } else {\n // select cells to the left of the start cell\n startIdx = 0;\n }\n }\n\n return {\n startIdx: startIdx,\n endIdx: endIdx\n };\n}\n\nvar Popup =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Popup, _React$Component);\n\n function Popup() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Popup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n var _this$props = this.props,\n _this$props$popupOffs = _this$props.popupOffset,\n popupOffset = _this$props$popupOffs === void 0 ? 5 : _this$props$popupOffs,\n popperRef = _this$props.popperRef,\n _getOffset = getOffset(popperRef.current),\n top = _getOffset.top,\n left = _getOffset.left,\n width = _getOffset.width,\n height = _getOffset.height,\n viewBottom = window.innerHeight + getScrollTop(window),\n viewRight = window.innerWidth + getScrollLeft(window),\n bottom = top + height,\n right = left + width;\n\n if (bottom > viewBottom || right > viewRight) {\n var topOffset, leftOffset;\n if (bottom > viewBottom) topOffset = bottom - viewBottom + (popupOffset.y || +popupOffset || 0);\n if (right > viewRight) leftOffset = right - viewRight + (popupOffset.x || +popupOffset || 0);\n this.setState({\n topOffset: topOffset,\n leftOffset: leftOffset\n }); //eslint-disable-line\n }\n };\n\n _proto.render = function render() {\n var _this$props2 = this.props,\n events = _this$props2.events,\n selected = _this$props2.selected,\n getters = _this$props2.getters,\n accessors = _this$props2.accessors,\n components = _this$props2.components,\n onSelect = _this$props2.onSelect,\n onDoubleClick = _this$props2.onDoubleClick,\n slotStart = _this$props2.slotStart,\n slotEnd = _this$props2.slotEnd,\n localizer = _this$props2.localizer,\n popperRef = _this$props2.popperRef;\n var width = this.props.position.width,\n topOffset = (this.state || {}).topOffset || 0,\n leftOffset = (this.state || {}).leftOffset || 0;\n var style = {\n top: -topOffset,\n left: -leftOffset,\n minWidth: width + width / 2\n };\n return React.createElement(\"div\", {\n style: _extends({}, this.props.style, style),\n className: \"rbc-overlay\",\n ref: popperRef\n }, React.createElement(\"div\", {\n className: \"rbc-overlay-header\"\n }, localizer.format(slotStart, 'dayHeaderFormat')), events.map(function (event, idx) {\n return React.createElement(EventCell, {\n key: idx,\n type: \"popup\",\n event: event,\n getters: getters,\n onSelect: onSelect,\n accessors: accessors,\n components: components,\n onDoubleClick: onDoubleClick,\n continuesPrior: lt(accessors.end(event), slotStart, 'day'),\n continuesAfter: gte(accessors.start(event), slotEnd, 'day'),\n slotStart: slotStart,\n slotEnd: slotEnd,\n selected: isSelected(event, selected)\n });\n }));\n };\n\n return Popup;\n}(React.Component);\n\nPopup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n position: PropTypes.object,\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number\n })]),\n events: PropTypes.array,\n selected: PropTypes.object,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n onSelect: PropTypes.func,\n onDoubleClick: PropTypes.func,\n slotStart: PropTypes.instanceOf(Date),\n slotEnd: PropTypes.number,\n popperRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({\n current: PropTypes.Element\n })])\n /**\n * The Overlay component, of react-overlays, creates a ref that is passed to the Popup, and\n * requires proper ref forwarding to be used without error\n */\n\n} : {};\nvar Popup$1 = React.forwardRef(function (props, ref) {\n return React.createElement(Popup, _extends({\n popperRef: ref\n }, props));\n});\n\nfunction addEventListener(type, handler, target) {\n if (target === void 0) {\n target = document;\n }\n\n return listen(target, type, handler, {\n passive: false\n });\n}\n\nfunction isOverContainer(container, x, y) {\n return !container || contains(container, document.elementFromPoint(x, y));\n}\n\nfunction getEventNodeFromPoint(node, _ref) {\n var clientX = _ref.clientX,\n clientY = _ref.clientY;\n var target = document.elementFromPoint(clientX, clientY);\n return closest(target, '.rbc-event', node);\n}\nfunction isEvent(node, bounds) {\n return !!getEventNodeFromPoint(node, bounds);\n}\n\nfunction getEventCoordinates(e) {\n var target = e;\n\n if (e.touches && e.touches.length) {\n target = e.touches[0];\n }\n\n return {\n clientX: target.clientX,\n clientY: target.clientY,\n pageX: target.pageX,\n pageY: target.pageY\n };\n}\n\nvar clickTolerance = 5;\nvar clickInterval = 250;\n\nvar Selection =\n/*#__PURE__*/\nfunction () {\n function Selection(node, _temp) {\n var _ref2 = _temp === void 0 ? {} : _temp,\n _ref2$global = _ref2.global,\n global = _ref2$global === void 0 ? false : _ref2$global,\n _ref2$longPressThresh = _ref2.longPressThreshold,\n longPressThreshold = _ref2$longPressThresh === void 0 ? 250 : _ref2$longPressThresh;\n\n this.isDetached = false;\n this.container = node;\n this.globalMouse = !node || global;\n this.longPressThreshold = longPressThreshold;\n this._listeners = Object.create(null);\n this._handleInitialEvent = this._handleInitialEvent.bind(this);\n this._handleMoveEvent = this._handleMoveEvent.bind(this);\n this._handleTerminatingEvent = this._handleTerminatingEvent.bind(this);\n this._keyListener = this._keyListener.bind(this);\n this._dropFromOutsideListener = this._dropFromOutsideListener.bind(this);\n this._dragOverFromOutsideListener = this._dragOverFromOutsideListener.bind(this); // Fixes an iOS 10 bug where scrolling could not be prevented on the window.\n // https://github.com/metafizzy/flickity/issues/457#issuecomment-254501356\n\n this._removeTouchMoveWindowListener = addEventListener('touchmove', function () {}, window);\n this._removeKeyDownListener = addEventListener('keydown', this._keyListener);\n this._removeKeyUpListener = addEventListener('keyup', this._keyListener);\n this._removeDropFromOutsideListener = addEventListener('drop', this._dropFromOutsideListener);\n this._onDragOverfromOutisde = addEventListener('dragover', this._dragOverFromOutsideListener);\n\n this._addInitialEventListener();\n }\n\n var _proto = Selection.prototype;\n\n _proto.on = function on(type, handler) {\n var handlers = this._listeners[type] || (this._listeners[type] = []);\n handlers.push(handler);\n return {\n remove: function remove() {\n var idx = handlers.indexOf(handler);\n if (idx !== -1) handlers.splice(idx, 1);\n }\n };\n };\n\n _proto.emit = function emit(type) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var result;\n var handlers = this._listeners[type] || [];\n handlers.forEach(function (fn) {\n if (result === undefined) result = fn.apply(void 0, args);\n });\n return result;\n };\n\n _proto.teardown = function teardown() {\n this.isDetached = true;\n this.listeners = Object.create(null);\n this._removeTouchMoveWindowListener && this._removeTouchMoveWindowListener();\n this._removeInitialEventListener && this._removeInitialEventListener();\n this._removeEndListener && this._removeEndListener();\n this._onEscListener && this._onEscListener();\n this._removeMoveListener && this._removeMoveListener();\n this._removeKeyUpListener && this._removeKeyUpListener();\n this._removeKeyDownListener && this._removeKeyDownListener();\n this._removeDropFromOutsideListener && this._removeDropFromOutsideListener();\n };\n\n _proto.isSelected = function isSelected(node) {\n var box = this._selectRect;\n if (!box || !this.selecting) return false;\n return objectsCollide(box, getBoundsForNode(node));\n };\n\n _proto.filter = function filter(items) {\n var box = this._selectRect; //not selecting\n\n if (!box || !this.selecting) return [];\n return items.filter(this.isSelected, this);\n } // Adds a listener that will call the handler only after the user has pressed on the screen\n // without moving their finger for 250ms.\n ;\n\n _proto._addLongPressListener = function _addLongPressListener(handler, initialEvent) {\n var _this = this;\n\n var timer = null;\n var removeTouchMoveListener = null;\n var removeTouchEndListener = null;\n\n var handleTouchStart = function handleTouchStart(initialEvent) {\n timer = setTimeout(function () {\n cleanup();\n handler(initialEvent);\n }, _this.longPressThreshold);\n removeTouchMoveListener = addEventListener('touchmove', function () {\n return cleanup();\n });\n removeTouchEndListener = addEventListener('touchend', function () {\n return cleanup();\n });\n };\n\n var removeTouchStartListener = addEventListener('touchstart', handleTouchStart);\n\n var cleanup = function cleanup() {\n if (timer) {\n clearTimeout(timer);\n }\n\n if (removeTouchMoveListener) {\n removeTouchMoveListener();\n }\n\n if (removeTouchEndListener) {\n removeTouchEndListener();\n }\n\n timer = null;\n removeTouchMoveListener = null;\n removeTouchEndListener = null;\n };\n\n if (initialEvent) {\n handleTouchStart(initialEvent);\n }\n\n return function () {\n cleanup();\n removeTouchStartListener();\n };\n } // Listen for mousedown and touchstart events. When one is received, disable the other and setup\n // future event handling based on the type of event.\n ;\n\n _proto._addInitialEventListener = function _addInitialEventListener() {\n var _this2 = this;\n\n var removeMouseDownListener = addEventListener('mousedown', function (e) {\n _this2._removeInitialEventListener();\n\n _this2._handleInitialEvent(e);\n\n _this2._removeInitialEventListener = addEventListener('mousedown', _this2._handleInitialEvent);\n });\n var removeTouchStartListener = addEventListener('touchstart', function (e) {\n _this2._removeInitialEventListener();\n\n _this2._removeInitialEventListener = _this2._addLongPressListener(_this2._handleInitialEvent, e);\n });\n\n this._removeInitialEventListener = function () {\n removeMouseDownListener();\n removeTouchStartListener();\n };\n };\n\n _proto._dropFromOutsideListener = function _dropFromOutsideListener(e) {\n var _getEventCoordinates = getEventCoordinates(e),\n pageX = _getEventCoordinates.pageX,\n pageY = _getEventCoordinates.pageY,\n clientX = _getEventCoordinates.clientX,\n clientY = _getEventCoordinates.clientY;\n\n this.emit('dropFromOutside', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n e.preventDefault();\n };\n\n _proto._dragOverFromOutsideListener = function _dragOverFromOutsideListener(e) {\n var _getEventCoordinates2 = getEventCoordinates(e),\n pageX = _getEventCoordinates2.pageX,\n pageY = _getEventCoordinates2.pageY,\n clientX = _getEventCoordinates2.clientX,\n clientY = _getEventCoordinates2.clientY;\n\n this.emit('dragOverFromOutside', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n e.preventDefault();\n };\n\n _proto._handleInitialEvent = function _handleInitialEvent(e) {\n if (this.isDetached) {\n return;\n }\n\n var _getEventCoordinates3 = getEventCoordinates(e),\n clientX = _getEventCoordinates3.clientX,\n clientY = _getEventCoordinates3.clientY,\n pageX = _getEventCoordinates3.pageX,\n pageY = _getEventCoordinates3.pageY;\n\n var node = this.container(),\n collides,\n offsetData; // Right clicks\n\n if (e.which === 3 || e.button === 2 || !isOverContainer(node, clientX, clientY)) return;\n\n if (!this.globalMouse && node && !contains(node, e.target)) {\n var _normalizeDistance = normalizeDistance(0),\n top = _normalizeDistance.top,\n left = _normalizeDistance.left,\n bottom = _normalizeDistance.bottom,\n right = _normalizeDistance.right;\n\n offsetData = getBoundsForNode(node);\n collides = objectsCollide({\n top: offsetData.top - top,\n left: offsetData.left - left,\n bottom: offsetData.bottom + bottom,\n right: offsetData.right + right\n }, {\n top: pageY,\n left: pageX\n });\n if (!collides) return;\n }\n\n var result = this.emit('beforeSelect', this._initialEventData = {\n isTouch: /^touch/.test(e.type),\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n if (result === false) return;\n\n switch (e.type) {\n case 'mousedown':\n this._removeEndListener = addEventListener('mouseup', this._handleTerminatingEvent);\n this._onEscListener = addEventListener('keydown', this._handleTerminatingEvent);\n this._removeMoveListener = addEventListener('mousemove', this._handleMoveEvent);\n break;\n\n case 'touchstart':\n this._handleMoveEvent(e);\n\n this._removeEndListener = addEventListener('touchend', this._handleTerminatingEvent);\n this._removeMoveListener = addEventListener('touchmove', this._handleMoveEvent);\n break;\n\n default:\n break;\n }\n };\n\n _proto._handleTerminatingEvent = function _handleTerminatingEvent(e) {\n var _getEventCoordinates4 = getEventCoordinates(e),\n pageX = _getEventCoordinates4.pageX,\n pageY = _getEventCoordinates4.pageY;\n\n this.selecting = false;\n this._removeEndListener && this._removeEndListener();\n this._removeMoveListener && this._removeMoveListener();\n if (!this._initialEventData) return;\n var inRoot = !this.container || contains(this.container(), e.target);\n var bounds = this._selectRect;\n var click = this.isClick(pageX, pageY);\n this._initialEventData = null;\n\n if (e.key === 'Escape') {\n return this.emit('reset');\n }\n\n if (!inRoot) {\n return this.emit('reset');\n }\n\n if (click && inRoot) {\n return this._handleClickEvent(e);\n } // User drag-clicked in the Selectable area\n\n\n if (!click) return this.emit('select', bounds);\n };\n\n _proto._handleClickEvent = function _handleClickEvent(e) {\n var _getEventCoordinates5 = getEventCoordinates(e),\n pageX = _getEventCoordinates5.pageX,\n pageY = _getEventCoordinates5.pageY,\n clientX = _getEventCoordinates5.clientX,\n clientY = _getEventCoordinates5.clientY;\n\n var now = new Date().getTime();\n\n if (this._lastClickData && now - this._lastClickData.timestamp < clickInterval) {\n // Double click event\n this._lastClickData = null;\n return this.emit('doubleClick', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n } // Click event\n\n\n this._lastClickData = {\n timestamp: now\n };\n return this.emit('click', {\n x: pageX,\n y: pageY,\n clientX: clientX,\n clientY: clientY\n });\n };\n\n _proto._handleMoveEvent = function _handleMoveEvent(e) {\n if (this._initialEventData === null || this.isDetached) {\n return;\n }\n\n var _this$_initialEventDa = this._initialEventData,\n x = _this$_initialEventDa.x,\n y = _this$_initialEventDa.y;\n\n var _getEventCoordinates6 = getEventCoordinates(e),\n pageX = _getEventCoordinates6.pageX,\n pageY = _getEventCoordinates6.pageY;\n\n var w = Math.abs(x - pageX);\n var h = Math.abs(y - pageY);\n var left = Math.min(pageX, x),\n top = Math.min(pageY, y),\n old = this.selecting; // Prevent emitting selectStart event until mouse is moved.\n // in Chrome on Windows, mouseMove event may be fired just after mouseDown event.\n\n if (this.isClick(pageX, pageY) && !old && !(w || h)) {\n return;\n }\n\n this.selecting = true;\n this._selectRect = {\n top: top,\n left: left,\n x: pageX,\n y: pageY,\n right: left + w,\n bottom: top + h\n };\n\n if (!old) {\n this.emit('selectStart', this._initialEventData);\n }\n\n if (!this.isClick(pageX, pageY)) this.emit('selecting', this._selectRect);\n e.preventDefault();\n };\n\n _proto._keyListener = function _keyListener(e) {\n this.ctrl = e.metaKey || e.ctrlKey;\n };\n\n _proto.isClick = function isClick(pageX, pageY) {\n var _this$_initialEventDa2 = this._initialEventData,\n x = _this$_initialEventDa2.x,\n y = _this$_initialEventDa2.y,\n isTouch = _this$_initialEventDa2.isTouch;\n return !isTouch && Math.abs(pageX - x) <= clickTolerance && Math.abs(pageY - y) <= clickTolerance;\n };\n\n return Selection;\n}();\n/**\n * Resolve the disance prop from either an Int or an Object\n * @return {Object}\n */\n\n\nfunction normalizeDistance(distance) {\n if (distance === void 0) {\n distance = 0;\n }\n\n if (typeof distance !== 'object') distance = {\n top: distance,\n left: distance,\n right: distance,\n bottom: distance\n };\n return distance;\n}\n/**\n * Given two objects containing \"top\", \"left\", \"offsetWidth\" and \"offsetHeight\"\n * properties, determine if they collide.\n * @param {Object|HTMLElement} a\n * @param {Object|HTMLElement} b\n * @return {bool}\n */\n\n\nfunction objectsCollide(nodeA, nodeB, tolerance) {\n if (tolerance === void 0) {\n tolerance = 0;\n }\n\n var _getBoundsForNode = getBoundsForNode(nodeA),\n aTop = _getBoundsForNode.top,\n aLeft = _getBoundsForNode.left,\n _getBoundsForNode$rig = _getBoundsForNode.right,\n aRight = _getBoundsForNode$rig === void 0 ? aLeft : _getBoundsForNode$rig,\n _getBoundsForNode$bot = _getBoundsForNode.bottom,\n aBottom = _getBoundsForNode$bot === void 0 ? aTop : _getBoundsForNode$bot;\n\n var _getBoundsForNode2 = getBoundsForNode(nodeB),\n bTop = _getBoundsForNode2.top,\n bLeft = _getBoundsForNode2.left,\n _getBoundsForNode2$ri = _getBoundsForNode2.right,\n bRight = _getBoundsForNode2$ri === void 0 ? bLeft : _getBoundsForNode2$ri,\n _getBoundsForNode2$bo = _getBoundsForNode2.bottom,\n bBottom = _getBoundsForNode2$bo === void 0 ? bTop : _getBoundsForNode2$bo;\n\n return !( // 'a' bottom doesn't touch 'b' top\n aBottom - tolerance < bTop || // 'a' top doesn't touch 'b' bottom\n aTop + tolerance > bBottom || // 'a' right doesn't touch 'b' left\n aRight - tolerance < bLeft || // 'a' left doesn't touch 'b' right\n aLeft + tolerance > bRight);\n}\n/**\n * Given a node, get everything needed to calculate its boundaries\n * @param {HTMLElement} node\n * @return {Object}\n */\n\nfunction getBoundsForNode(node) {\n if (!node.getBoundingClientRect) return node;\n var rect = node.getBoundingClientRect(),\n left = rect.left + pageOffset('left'),\n top = rect.top + pageOffset('top');\n return {\n top: top,\n left: left,\n right: (node.offsetWidth || 0) + left,\n bottom: (node.offsetHeight || 0) + top\n };\n}\n\nfunction pageOffset(dir) {\n if (dir === 'left') return window.pageXOffset || document.body.scrollLeft || 0;\n if (dir === 'top') return window.pageYOffset || document.body.scrollTop || 0;\n}\n\nvar BackgroundCells =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(BackgroundCells, _React$Component);\n\n function BackgroundCells(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n _this.state = {\n selecting: false\n };\n return _this;\n }\n\n var _proto = BackgroundCells.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.props.selectable && this._selectable();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._teardownSelectable();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n if (nextProps.selectable && !this.props.selectable) this._selectable();\n if (!nextProps.selectable && this.props.selectable) this._teardownSelectable();\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n range = _this$props.range,\n getNow = _this$props.getNow,\n getters = _this$props.getters,\n currentDate = _this$props.date,\n Wrapper = _this$props.components.dateCellWrapper;\n var _this$state = this.state,\n selecting = _this$state.selecting,\n startIdx = _this$state.startIdx,\n endIdx = _this$state.endIdx;\n var current = getNow();\n return React.createElement(\"div\", {\n className: \"rbc-row-bg\"\n }, range.map(function (date, index) {\n var selected = selecting && index >= startIdx && index <= endIdx;\n\n var _getters$dayProp = getters.dayProp(date),\n className = _getters$dayProp.className,\n style = _getters$dayProp.style;\n\n return React.createElement(Wrapper, {\n key: index,\n value: date,\n range: range\n }, React.createElement(\"div\", {\n style: style,\n className: clsx('rbc-day-bg', className, selected && 'rbc-selected-cell', eq(date, current, 'day') && 'rbc-today', currentDate && month(currentDate) !== month(date) && 'rbc-off-range-bg')\n }));\n }));\n };\n\n _proto._selectable = function _selectable() {\n var _this2 = this;\n\n var node = findDOMNode(this);\n var selector = this._selector = new Selection(this.props.container, {\n longPressThreshold: this.props.longPressThreshold\n });\n\n var selectorClicksHandler = function selectorClicksHandler(point, actionType) {\n if (!isEvent(findDOMNode(_this2), point)) {\n var rowBox = getBoundsForNode(node);\n var _this2$props = _this2.props,\n range = _this2$props.range,\n rtl = _this2$props.rtl;\n\n if (pointInBox(rowBox, point)) {\n var currentCell = getSlotAtX(rowBox, point.x, rtl, range.length);\n\n _this2._selectSlot({\n startIdx: currentCell,\n endIdx: currentCell,\n action: actionType,\n box: point\n });\n }\n }\n\n _this2._initial = {};\n\n _this2.setState({\n selecting: false\n });\n };\n\n selector.on('selecting', function (box) {\n var _this2$props2 = _this2.props,\n range = _this2$props2.range,\n rtl = _this2$props2.rtl;\n var startIdx = -1;\n var endIdx = -1;\n\n if (!_this2.state.selecting) {\n notify(_this2.props.onSelectStart, [box]);\n _this2._initial = {\n x: box.x,\n y: box.y\n };\n }\n\n if (selector.isSelected(node)) {\n var nodeBox = getBoundsForNode(node);\n\n var _dateCellSelection = dateCellSelection(_this2._initial, nodeBox, box, range.length, rtl);\n\n startIdx = _dateCellSelection.startIdx;\n endIdx = _dateCellSelection.endIdx;\n }\n\n _this2.setState({\n selecting: true,\n startIdx: startIdx,\n endIdx: endIdx\n });\n });\n selector.on('beforeSelect', function (box) {\n if (_this2.props.selectable !== 'ignoreEvents') return;\n return !isEvent(findDOMNode(_this2), box);\n });\n selector.on('click', function (point) {\n return selectorClicksHandler(point, 'click');\n });\n selector.on('doubleClick', function (point) {\n return selectorClicksHandler(point, 'doubleClick');\n });\n selector.on('select', function (bounds) {\n _this2._selectSlot(_extends({}, _this2.state, {\n action: 'select',\n bounds: bounds\n }));\n\n _this2._initial = {};\n\n _this2.setState({\n selecting: false\n });\n\n notify(_this2.props.onSelectEnd, [_this2.state]);\n });\n };\n\n _proto._teardownSelectable = function _teardownSelectable() {\n if (!this._selector) return;\n\n this._selector.teardown();\n\n this._selector = null;\n };\n\n _proto._selectSlot = function _selectSlot(_ref) {\n var endIdx = _ref.endIdx,\n startIdx = _ref.startIdx,\n action = _ref.action,\n bounds = _ref.bounds,\n box = _ref.box;\n if (endIdx !== -1 && startIdx !== -1) this.props.onSelectSlot && this.props.onSelectSlot({\n start: startIdx,\n end: endIdx,\n action: action,\n bounds: bounds,\n box: box\n });\n };\n\n return BackgroundCells;\n}(React.Component);\n\nBackgroundCells.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date),\n getNow: PropTypes.func.isRequired,\n getters: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n container: PropTypes.func,\n dayPropGetter: PropTypes.func,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onSelectSlot: PropTypes.func.isRequired,\n onSelectEnd: PropTypes.func,\n onSelectStart: PropTypes.func,\n range: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n rtl: PropTypes.bool,\n type: PropTypes.string\n} : {};\n\n/* eslint-disable react/prop-types */\n\nvar EventRowMixin = {\n propTypes: {\n slotMetrics: PropTypes.object.isRequired,\n selected: PropTypes.object,\n isAllDay: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n onSelect: PropTypes.func,\n onDoubleClick: PropTypes.func\n },\n defaultProps: {\n segments: [],\n selected: {}\n },\n renderEvent: function renderEvent(props, event) {\n var selected = props.selected,\n _ = props.isAllDay,\n accessors = props.accessors,\n getters = props.getters,\n onSelect = props.onSelect,\n onDoubleClick = props.onDoubleClick,\n localizer = props.localizer,\n slotMetrics = props.slotMetrics,\n components = props.components;\n var continuesPrior = slotMetrics.continuesPrior(event);\n var continuesAfter = slotMetrics.continuesAfter(event);\n return React.createElement(EventCell, {\n event: event,\n getters: getters,\n localizer: localizer,\n accessors: accessors,\n components: components,\n onSelect: onSelect,\n onDoubleClick: onDoubleClick,\n continuesPrior: continuesPrior,\n continuesAfter: continuesAfter,\n slotStart: slotMetrics.first,\n slotEnd: slotMetrics.last,\n selected: isSelected(event, selected)\n });\n },\n renderSpan: function renderSpan(slots, len, key, content) {\n if (content === void 0) {\n content = ' ';\n }\n\n var per = Math.abs(len) / slots * 100 + '%';\n return React.createElement(\"div\", {\n key: key,\n className: \"rbc-row-segment\" // IE10/11 need max-width. flex-basis doesn't respect box-sizing\n ,\n style: {\n WebkitFlexBasis: per,\n flexBasis: per,\n maxWidth: per\n }\n }, content);\n }\n};\n\nvar EventRow =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(EventRow, _React$Component);\n\n function EventRow() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = EventRow.prototype;\n\n _proto.render = function render() {\n var _this = this;\n\n var _this$props = this.props,\n segments = _this$props.segments,\n slots = _this$props.slotMetrics.slots,\n className = _this$props.className;\n var lastEnd = 1;\n return React.createElement(\"div\", {\n className: clsx(className, 'rbc-row')\n }, segments.reduce(function (row, _ref, li) {\n var event = _ref.event,\n left = _ref.left,\n right = _ref.right,\n span = _ref.span;\n var key = '_lvl_' + li;\n var gap = left - lastEnd;\n var content = EventRowMixin.renderEvent(_this.props, event);\n if (gap) row.push(EventRowMixin.renderSpan(slots, gap, key + \"_gap\"));\n row.push(EventRowMixin.renderSpan(slots, span, key, content));\n lastEnd = right + 1;\n return row;\n }, []));\n };\n\n return EventRow;\n}(React.Component);\n\nEventRow.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({\n segments: PropTypes.array\n}, EventRowMixin.propTypes) : {};\nEventRow.defaultProps = _extends({}, EventRowMixin.defaultProps);\n\nfunction endOfRange(dateRange, unit) {\n if (unit === void 0) {\n unit = 'day';\n }\n\n return {\n first: dateRange[0],\n last: add(dateRange[dateRange.length - 1], 1, unit)\n };\n}\nfunction eventSegments(event, range, accessors) {\n var _endOfRange = endOfRange(range),\n first = _endOfRange.first,\n last = _endOfRange.last;\n\n var slots = diff(first, last, 'day');\n var start = max(startOf(accessors.start(event), 'day'), first);\n var end = min(ceil(accessors.end(event), 'day'), last);\n var padding = findIndex(range, function (x) {\n return eq(x, start, 'day');\n });\n var span = diff(start, end, 'day');\n span = Math.min(span, slots);\n span = Math.max(span, 1);\n return {\n event: event,\n span: span,\n left: padding + 1,\n right: Math.max(padding + span, 1)\n };\n}\nfunction eventLevels(rowSegments, limit) {\n if (limit === void 0) {\n limit = Infinity;\n }\n\n var i,\n j,\n seg,\n levels = [],\n extra = [];\n\n for (i = 0; i < rowSegments.length; i++) {\n seg = rowSegments[i];\n\n for (j = 0; j < levels.length; j++) {\n if (!segsOverlap(seg, levels[j])) break;\n }\n\n if (j >= limit) {\n extra.push(seg);\n } else {\n (levels[j] || (levels[j] = [])).push(seg);\n }\n }\n\n for (i = 0; i < levels.length; i++) {\n levels[i].sort(function (a, b) {\n return a.left - b.left;\n }); //eslint-disable-line\n }\n\n return {\n levels: levels,\n extra: extra\n };\n}\nfunction inRange(e, start, end, accessors) {\n var eStart = startOf(accessors.start(e), 'day');\n var eEnd = accessors.end(e);\n var startsBeforeEnd = lte(eStart, end, 'day'); // when the event is zero duration we need to handle a bit differently\n\n var endsAfterStart = !eq(eStart, eEnd, 'minutes') ? gt(eEnd, start, 'minutes') : gte(eEnd, start, 'minutes');\n return startsBeforeEnd && endsAfterStart;\n}\nfunction segsOverlap(seg, otherSegs) {\n return otherSegs.some(function (otherSeg) {\n return otherSeg.left <= seg.right && otherSeg.right >= seg.left;\n });\n}\nfunction sortEvents(evtA, evtB, accessors) {\n var startSort = +startOf(accessors.start(evtA), 'day') - +startOf(accessors.start(evtB), 'day');\n var durA = diff(accessors.start(evtA), ceil(accessors.end(evtA), 'day'), 'day');\n var durB = diff(accessors.start(evtB), ceil(accessors.end(evtB), 'day'), 'day');\n return startSort || // sort by start Day first\n Math.max(durB, 1) - Math.max(durA, 1) || // events spanning multiple days go first\n !!accessors.allDay(evtB) - !!accessors.allDay(evtA) || // then allDay single day events\n +accessors.start(evtA) - +accessors.start(evtB); // then sort by start time\n}\n\nvar isSegmentInSlot = function isSegmentInSlot(seg, slot) {\n return seg.left <= slot && seg.right >= slot;\n};\n\nvar eventsInSlot = function eventsInSlot(segments, slot) {\n return segments.filter(function (seg) {\n return isSegmentInSlot(seg, slot);\n }).length;\n};\n\nvar EventEndingRow =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(EventEndingRow, _React$Component);\n\n function EventEndingRow() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = EventEndingRow.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n segments = _this$props.segments,\n slots = _this$props.slotMetrics.slots;\n var rowSegments = eventLevels(segments).levels[0];\n var current = 1,\n lastEnd = 1,\n row = [];\n\n while (current <= slots) {\n var key = '_lvl_' + current;\n\n var _ref = rowSegments.filter(function (seg) {\n return isSegmentInSlot(seg, current);\n })[0] || {},\n event = _ref.event,\n left = _ref.left,\n right = _ref.right,\n span = _ref.span; //eslint-disable-line\n\n\n if (!event) {\n current++;\n continue;\n }\n\n var gap = Math.max(0, left - lastEnd);\n\n if (this.canRenderSlotEvent(left, span)) {\n var content = EventRowMixin.renderEvent(this.props, event);\n\n if (gap) {\n row.push(EventRowMixin.renderSpan(slots, gap, key + '_gap'));\n }\n\n row.push(EventRowMixin.renderSpan(slots, span, key, content));\n lastEnd = current = right + 1;\n } else {\n if (gap) {\n row.push(EventRowMixin.renderSpan(slots, gap, key + '_gap'));\n }\n\n row.push(EventRowMixin.renderSpan(slots, 1, key, this.renderShowMore(segments, current)));\n lastEnd = current = current + 1;\n }\n }\n\n return React.createElement(\"div\", {\n className: \"rbc-row\"\n }, row);\n };\n\n _proto.canRenderSlotEvent = function canRenderSlotEvent(slot, span) {\n var segments = this.props.segments;\n return range$1(slot, slot + span).every(function (s) {\n var count = eventsInSlot(segments, s);\n return count === 1;\n });\n };\n\n _proto.renderShowMore = function renderShowMore(segments, slot) {\n var _this = this;\n\n var localizer = this.props.localizer;\n var count = eventsInSlot(segments, slot);\n return count ? React.createElement(\"a\", {\n key: 'sm_' + slot,\n href: \"#\",\n className: 'rbc-show-more',\n onClick: function onClick(e) {\n return _this.showMore(slot, e);\n }\n }, localizer.messages.showMore(count)) : false;\n };\n\n _proto.showMore = function showMore(slot, e) {\n e.preventDefault();\n this.props.onShowMore(slot, e.target);\n };\n\n return EventEndingRow;\n}(React.Component);\n\nEventEndingRow.propTypes = process.env.NODE_ENV !== \"production\" ? _extends({\n segments: PropTypes.array,\n slots: PropTypes.number,\n onShowMore: PropTypes.func\n}, EventRowMixin.propTypes) : {};\nEventEndingRow.defaultProps = _extends({}, EventRowMixin.defaultProps);\n\nvar isSegmentInSlot$1 = function isSegmentInSlot(seg, slot) {\n return seg.left <= slot && seg.right >= slot;\n};\n\nvar isEqual = function isEqual(a, b) {\n return a[0].range === b[0].range && a[0].events === b[0].events;\n};\n\nfunction getSlotMetrics() {\n return memoize(function (options) {\n var range = options.range,\n events = options.events,\n maxRows = options.maxRows,\n minRows = options.minRows,\n accessors = options.accessors;\n\n var _endOfRange = endOfRange(range),\n first = _endOfRange.first,\n last = _endOfRange.last;\n\n var segments = events.map(function (evt) {\n return eventSegments(evt, range, accessors);\n });\n\n var _eventLevels = eventLevels(segments, Math.max(maxRows - 1, 1)),\n levels = _eventLevels.levels,\n extra = _eventLevels.extra;\n\n while (levels.length < minRows) {\n levels.push([]);\n }\n\n return {\n first: first,\n last: last,\n levels: levels,\n extra: extra,\n range: range,\n slots: range.length,\n clone: function clone(args) {\n var metrics = getSlotMetrics();\n return metrics(_extends({}, options, args));\n },\n getDateForSlot: function getDateForSlot(slotNumber) {\n return range[slotNumber];\n },\n getSlotForDate: function getSlotForDate(date) {\n return range.find(function (r) {\n return eq(r, date, 'day');\n });\n },\n getEventsForSlot: function getEventsForSlot(slot) {\n return segments.filter(function (seg) {\n return isSegmentInSlot$1(seg, slot);\n }).map(function (seg) {\n return seg.event;\n });\n },\n continuesPrior: function continuesPrior(event) {\n return lt(accessors.start(event), first, 'day');\n },\n continuesAfter: function continuesAfter(event) {\n var eventEnd = accessors.end(event);\n var singleDayDuration = eq(accessors.start(event), eventEnd, 'minutes');\n return singleDayDuration ? gte(eventEnd, last, 'minutes') : gt(eventEnd, last, 'minutes');\n }\n };\n }, isEqual);\n}\n\nvar DateContentRow =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DateContentRow, _React$Component);\n\n function DateContentRow() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.handleSelectSlot = function (slot) {\n var _this$props = _this.props,\n range = _this$props.range,\n onSelectSlot = _this$props.onSelectSlot;\n onSelectSlot(range.slice(slot.start, slot.end + 1), slot);\n };\n\n _this.handleShowMore = function (slot, target) {\n var _this$props2 = _this.props,\n range = _this$props2.range,\n onShowMore = _this$props2.onShowMore;\n\n var metrics = _this.slotMetrics(_this.props);\n\n var row = qsa(findDOMNode(_assertThisInitialized(_this)), '.rbc-row-bg')[0];\n var cell;\n if (row) cell = row.children[slot - 1];\n var events = metrics.getEventsForSlot(slot);\n onShowMore(events, range[slot - 1], cell, slot, target);\n };\n\n _this.createHeadingRef = function (r) {\n _this.headingRow = r;\n };\n\n _this.createEventRef = function (r) {\n _this.eventRow = r;\n };\n\n _this.getContainer = function () {\n var container = _this.props.container;\n return container ? container() : findDOMNode(_assertThisInitialized(_this));\n };\n\n _this.renderHeadingCell = function (date, index) {\n var _this$props3 = _this.props,\n renderHeader = _this$props3.renderHeader,\n getNow = _this$props3.getNow;\n return renderHeader({\n date: date,\n key: \"header_\" + index,\n className: clsx('rbc-date-cell', eq(date, getNow(), 'day') && 'rbc-now')\n });\n };\n\n _this.renderDummy = function () {\n var _this$props4 = _this.props,\n className = _this$props4.className,\n range = _this$props4.range,\n renderHeader = _this$props4.renderHeader;\n return React.createElement(\"div\", {\n className: className\n }, React.createElement(\"div\", {\n className: \"rbc-row-content\"\n }, renderHeader && React.createElement(\"div\", {\n className: \"rbc-row\",\n ref: _this.createHeadingRef\n }, range.map(_this.renderHeadingCell)), React.createElement(\"div\", {\n className: \"rbc-row\",\n ref: _this.createEventRef\n }, React.createElement(\"div\", {\n className: \"rbc-row-segment\"\n }, React.createElement(\"div\", {\n className: \"rbc-event\"\n }, React.createElement(\"div\", {\n className: \"rbc-event-content\"\n }, \"\\xA0\"))))));\n };\n\n _this.slotMetrics = getSlotMetrics();\n return _this;\n }\n\n var _proto = DateContentRow.prototype;\n\n _proto.getRowLimit = function getRowLimit() {\n var eventHeight = getHeight(this.eventRow);\n var headingHeight = this.headingRow ? getHeight(this.headingRow) : 0;\n var eventSpace = getHeight(findDOMNode(this)) - headingHeight;\n return Math.max(Math.floor(eventSpace / eventHeight), 1);\n };\n\n _proto.render = function render() {\n var _this$props5 = this.props,\n date = _this$props5.date,\n rtl = _this$props5.rtl,\n range = _this$props5.range,\n className = _this$props5.className,\n selected = _this$props5.selected,\n selectable = _this$props5.selectable,\n renderForMeasure = _this$props5.renderForMeasure,\n accessors = _this$props5.accessors,\n getters = _this$props5.getters,\n components = _this$props5.components,\n getNow = _this$props5.getNow,\n renderHeader = _this$props5.renderHeader,\n onSelect = _this$props5.onSelect,\n localizer = _this$props5.localizer,\n onSelectStart = _this$props5.onSelectStart,\n onSelectEnd = _this$props5.onSelectEnd,\n onDoubleClick = _this$props5.onDoubleClick,\n resourceId = _this$props5.resourceId,\n longPressThreshold = _this$props5.longPressThreshold,\n isAllDay = _this$props5.isAllDay;\n if (renderForMeasure) return this.renderDummy();\n var metrics = this.slotMetrics(this.props);\n var levels = metrics.levels,\n extra = metrics.extra;\n var WeekWrapper = components.weekWrapper;\n var eventRowProps = {\n selected: selected,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n components: components,\n onSelect: onSelect,\n onDoubleClick: onDoubleClick,\n resourceId: resourceId,\n slotMetrics: metrics\n };\n return React.createElement(\"div\", {\n className: className\n }, React.createElement(BackgroundCells, {\n date: date,\n getNow: getNow,\n rtl: rtl,\n range: range,\n selectable: selectable,\n container: this.getContainer,\n getters: getters,\n onSelectStart: onSelectStart,\n onSelectEnd: onSelectEnd,\n onSelectSlot: this.handleSelectSlot,\n components: components,\n longPressThreshold: longPressThreshold\n }), React.createElement(\"div\", {\n className: \"rbc-row-content\"\n }, renderHeader && React.createElement(\"div\", {\n className: \"rbc-row \",\n ref: this.createHeadingRef\n }, range.map(this.renderHeadingCell)), React.createElement(WeekWrapper, _extends({\n isAllDay: isAllDay\n }, eventRowProps), levels.map(function (segs, idx) {\n return React.createElement(EventRow, _extends({\n key: idx,\n segments: segs\n }, eventRowProps));\n }), !!extra.length && React.createElement(EventEndingRow, _extends({\n segments: extra,\n onShowMore: this.handleShowMore\n }, eventRowProps)))));\n };\n\n return DateContentRow;\n}(React.Component);\n\nDateContentRow.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date),\n events: PropTypes.array.isRequired,\n range: PropTypes.array.isRequired,\n rtl: PropTypes.bool,\n resourceId: PropTypes.any,\n renderForMeasure: PropTypes.bool,\n renderHeader: PropTypes.func,\n container: PropTypes.func,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onShowMore: PropTypes.func,\n onSelectSlot: PropTypes.func,\n onSelect: PropTypes.func,\n onSelectEnd: PropTypes.func,\n onSelectStart: PropTypes.func,\n onDoubleClick: PropTypes.func,\n dayPropGetter: PropTypes.func,\n getNow: PropTypes.func.isRequired,\n isAllDay: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n minRows: PropTypes.number.isRequired,\n maxRows: PropTypes.number.isRequired\n} : {};\nDateContentRow.defaultProps = {\n minRows: 0,\n maxRows: Infinity\n};\n\nvar Header = function Header(_ref) {\n var label = _ref.label;\n return React.createElement(\"span\", null, label);\n};\n\nHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: PropTypes.node\n} : {};\n\nvar DateHeader = function DateHeader(_ref) {\n var label = _ref.label,\n drilldownView = _ref.drilldownView,\n onDrillDown = _ref.onDrillDown;\n\n if (!drilldownView) {\n return React.createElement(\"span\", null, label);\n }\n\n return React.createElement(\"a\", {\n href: \"#\",\n onClick: onDrillDown\n }, label);\n};\n\nDateHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: PropTypes.node,\n date: PropTypes.instanceOf(Date),\n drilldownView: PropTypes.string,\n onDrillDown: PropTypes.func,\n isOffRange: PropTypes.bool\n} : {};\n\nvar eventsForWeek = function eventsForWeek(evts, start, end, accessors) {\n return evts.filter(function (e) {\n return inRange(e, start, end, accessors);\n });\n};\n\nvar MonthView =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(MonthView, _React$Component);\n\n function MonthView() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.getContainer = function () {\n return findDOMNode(_assertThisInitialized(_this));\n };\n\n _this.renderWeek = function (week, weekIdx) {\n var _this$props = _this.props,\n events = _this$props.events,\n components = _this$props.components,\n selectable = _this$props.selectable,\n getNow = _this$props.getNow,\n selected = _this$props.selected,\n date = _this$props.date,\n localizer = _this$props.localizer,\n longPressThreshold = _this$props.longPressThreshold,\n accessors = _this$props.accessors,\n getters = _this$props.getters;\n var _this$state = _this.state,\n needLimitMeasure = _this$state.needLimitMeasure,\n rowLimit = _this$state.rowLimit;\n events = eventsForWeek(events, week[0], week[week.length - 1], accessors);\n events.sort(function (a, b) {\n return sortEvents(a, b, accessors);\n });\n return React.createElement(DateContentRow, {\n key: weekIdx,\n ref: weekIdx === 0 ? _this.slotRowRef : undefined,\n container: _this.getContainer,\n className: \"rbc-month-row\",\n getNow: getNow,\n date: date,\n range: week,\n events: events,\n maxRows: rowLimit,\n selected: selected,\n selectable: selectable,\n components: components,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n renderHeader: _this.readerDateHeading,\n renderForMeasure: needLimitMeasure,\n onShowMore: _this.handleShowMore,\n onSelect: _this.handleSelectEvent,\n onDoubleClick: _this.handleDoubleClickEvent,\n onSelectSlot: _this.handleSelectSlot,\n longPressThreshold: longPressThreshold,\n rtl: _this.props.rtl\n });\n };\n\n _this.readerDateHeading = function (_ref) {\n var date = _ref.date,\n className = _ref.className,\n props = _objectWithoutPropertiesLoose(_ref, [\"date\", \"className\"]);\n\n var _this$props2 = _this.props,\n currentDate = _this$props2.date,\n getDrilldownView = _this$props2.getDrilldownView,\n localizer = _this$props2.localizer;\n var isOffRange = month(date) !== month(currentDate);\n var isCurrent = eq(date, currentDate, 'day');\n var drilldownView = getDrilldownView(date);\n var label = localizer.format(date, 'dateFormat');\n var DateHeaderComponent = _this.props.components.dateHeader || DateHeader;\n return React.createElement(\"div\", _extends({}, props, {\n className: clsx(className, isOffRange && 'rbc-off-range', isCurrent && 'rbc-current')\n }), React.createElement(DateHeaderComponent, {\n label: label,\n date: date,\n drilldownView: drilldownView,\n isOffRange: isOffRange,\n onDrillDown: function onDrillDown(e) {\n return _this.handleHeadingClick(date, drilldownView, e);\n }\n }));\n };\n\n _this.handleSelectSlot = function (range, slotInfo) {\n _this._pendingSelection = _this._pendingSelection.concat(range);\n clearTimeout(_this._selectTimer);\n _this._selectTimer = setTimeout(function () {\n return _this.selectDates(slotInfo);\n });\n };\n\n _this.handleHeadingClick = function (date, view, e) {\n e.preventDefault();\n\n _this.clearSelection();\n\n notify(_this.props.onDrillDown, [date, view]);\n };\n\n _this.handleSelectEvent = function () {\n _this.clearSelection();\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this.handleDoubleClickEvent = function () {\n _this.clearSelection();\n\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n notify(_this.props.onDoubleClickEvent, args);\n };\n\n _this.handleShowMore = function (events, date, cell, slot, target) {\n var _this$props3 = _this.props,\n popup = _this$props3.popup,\n onDrillDown = _this$props3.onDrillDown,\n onShowMore = _this$props3.onShowMore,\n getDrilldownView = _this$props3.getDrilldownView; //cancel any pending selections so only the event click goes through.\n\n _this.clearSelection();\n\n if (popup) {\n var position = getPosition(cell, findDOMNode(_assertThisInitialized(_this)));\n\n _this.setState({\n overlay: {\n date: date,\n events: events,\n position: position,\n target: target\n }\n });\n } else {\n notify(onDrillDown, [date, getDrilldownView(date) || views.DAY]);\n }\n\n notify(onShowMore, [events, date, slot]);\n };\n\n _this._bgRows = [];\n _this._pendingSelection = [];\n _this.slotRowRef = React.createRef();\n _this.state = {\n rowLimit: 5,\n needLimitMeasure: true\n };\n return _this;\n }\n\n var _proto = MonthView.prototype;\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(_ref2) {\n var date = _ref2.date;\n this.setState({\n needLimitMeasure: !eq(date, this.props.date, 'month')\n });\n };\n\n _proto.componentDidMount = function componentDidMount() {\n var _this2 = this;\n\n var running;\n if (this.state.needLimitMeasure) this.measureRowLimit(this.props);\n window.addEventListener('resize', this._resizeListener = function () {\n if (!running) {\n request(function () {\n running = false;\n\n _this2.setState({\n needLimitMeasure: true\n }); //eslint-disable-line\n\n });\n }\n }, false);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n if (this.state.needLimitMeasure) this.measureRowLimit(this.props);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener('resize', this._resizeListener, false);\n };\n\n _proto.render = function render() {\n var _this$props4 = this.props,\n date = _this$props4.date,\n localizer = _this$props4.localizer,\n className = _this$props4.className,\n month = visibleDays(date, localizer),\n weeks = chunk(month, 7);\n this._weekCount = weeks.length;\n return React.createElement(\"div\", {\n className: clsx('rbc-month-view', className)\n }, React.createElement(\"div\", {\n className: \"rbc-row rbc-month-header\"\n }, this.renderHeaders(weeks[0])), weeks.map(this.renderWeek), this.props.popup && this.renderOverlay());\n };\n\n _proto.renderHeaders = function renderHeaders(row) {\n var _this$props5 = this.props,\n localizer = _this$props5.localizer,\n components = _this$props5.components;\n var first = row[0];\n var last = row[row.length - 1];\n var HeaderComponent = components.header || Header;\n return range(first, last, 'day').map(function (day, idx) {\n return React.createElement(\"div\", {\n key: 'header_' + idx,\n className: \"rbc-header\"\n }, React.createElement(HeaderComponent, {\n date: day,\n localizer: localizer,\n label: localizer.format(day, 'weekdayFormat')\n }));\n });\n };\n\n _proto.renderOverlay = function renderOverlay() {\n var _this3 = this;\n\n var overlay = this.state && this.state.overlay || {};\n var _this$props6 = this.props,\n accessors = _this$props6.accessors,\n localizer = _this$props6.localizer,\n components = _this$props6.components,\n getters = _this$props6.getters,\n selected = _this$props6.selected,\n popupOffset = _this$props6.popupOffset;\n return React.createElement(Overlay, {\n rootClose: true,\n placement: \"bottom\",\n show: !!overlay.position,\n onHide: function onHide() {\n return _this3.setState({\n overlay: null\n });\n },\n target: function target() {\n return overlay.target;\n }\n }, function (_ref3) {\n var props = _ref3.props;\n return React.createElement(Popup$1, _extends({}, props, {\n popupOffset: popupOffset,\n accessors: accessors,\n getters: getters,\n selected: selected,\n components: components,\n localizer: localizer,\n position: overlay.position,\n events: overlay.events,\n slotStart: overlay.date,\n slotEnd: overlay.end,\n onSelect: _this3.handleSelectEvent,\n onDoubleClick: _this3.handleDoubleClickEvent\n }));\n });\n };\n\n _proto.measureRowLimit = function measureRowLimit() {\n this.setState({\n needLimitMeasure: false,\n rowLimit: this.slotRowRef.current.getRowLimit()\n });\n };\n\n _proto.selectDates = function selectDates(slotInfo) {\n var slots = this._pendingSelection.slice();\n\n this._pendingSelection = [];\n slots.sort(function (a, b) {\n return +a - +b;\n });\n notify(this.props.onSelectSlot, {\n slots: slots,\n start: slots[0],\n end: slots[slots.length - 1],\n action: slotInfo.action,\n bounds: slotInfo.bounds,\n box: slotInfo.box\n });\n };\n\n _proto.clearSelection = function clearSelection() {\n clearTimeout(this._selectTimer);\n this._pendingSelection = [];\n };\n\n return MonthView;\n}(React.Component);\n\nMonthView.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array.isRequired,\n date: PropTypes.instanceOf(Date),\n min: PropTypes.instanceOf(Date),\n max: PropTypes.instanceOf(Date),\n step: PropTypes.number,\n getNow: PropTypes.func.isRequired,\n scrollToTime: PropTypes.instanceOf(Date),\n rtl: PropTypes.bool,\n width: PropTypes.number,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onNavigate: PropTypes.func,\n onSelectSlot: PropTypes.func,\n onSelectEvent: PropTypes.func,\n onDoubleClickEvent: PropTypes.func,\n onShowMore: PropTypes.func,\n onDrillDown: PropTypes.func,\n getDrilldownView: PropTypes.func.isRequired,\n popup: PropTypes.bool,\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number\n })])\n} : {};\n\nMonthView.range = function (date, _ref4) {\n var localizer = _ref4.localizer;\n var start = firstVisibleDay(date, localizer);\n var end = lastVisibleDay(date, localizer);\n return {\n start: start,\n end: end\n };\n};\n\nMonthView.navigate = function (date, action) {\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -1, 'month');\n\n case navigate.NEXT:\n return add(date, 1, 'month');\n\n default:\n return date;\n }\n};\n\nMonthView.title = function (date, _ref5) {\n var localizer = _ref5.localizer;\n return localizer.format(date, 'monthHeaderFormat');\n};\n\nvar getDstOffset = function getDstOffset(start, end) {\n return start.getTimezoneOffset() - end.getTimezoneOffset();\n};\n\nvar getKey = function getKey(min, max, step, slots) {\n return \"\" + +startOf(min, 'minutes') + (\"\" + +startOf(max, 'minutes')) + (step + \"-\" + slots);\n};\n\nfunction getSlotMetrics$1(_ref) {\n var start = _ref.min,\n end = _ref.max,\n step = _ref.step,\n timeslots = _ref.timeslots;\n var key = getKey(start, end, step, timeslots); // if the start is on a DST-changing day but *after* the moment of DST\n // transition we need to add those extra minutes to our minutesFromMidnight\n\n var daystart = startOf(start, 'day');\n var daystartdstoffset = getDstOffset(daystart, start);\n var totalMin = 1 + diff(start, end, 'minutes') + getDstOffset(start, end);\n var minutesFromMidnight = diff(daystart, start, 'minutes') + daystartdstoffset;\n var numGroups = Math.ceil(totalMin / (step * timeslots));\n var numSlots = numGroups * timeslots;\n var groups = new Array(numGroups);\n var slots = new Array(numSlots); // Each slot date is created from \"zero\", instead of adding `step` to\n // the previous one, in order to avoid DST oddities\n\n for (var grp = 0; grp < numGroups; grp++) {\n groups[grp] = new Array(timeslots);\n\n for (var slot = 0; slot < timeslots; slot++) {\n var slotIdx = grp * timeslots + slot;\n var minFromStart = slotIdx * step; // A date with total minutes calculated from the start of the day\n\n slots[slotIdx] = groups[grp][slot] = new Date(start.getFullYear(), start.getMonth(), start.getDate(), 0, minutesFromMidnight + minFromStart, 0, 0);\n }\n } // Necessary to be able to select up until the last timeslot in a day\n\n\n var lastSlotMinFromStart = slots.length * step;\n slots.push(new Date(start.getFullYear(), start.getMonth(), start.getDate(), 0, minutesFromMidnight + lastSlotMinFromStart, 0, 0));\n\n function positionFromDate(date) {\n var diff$1 = diff(start, date, 'minutes') + getDstOffset(start, date);\n return Math.min(diff$1, totalMin);\n }\n\n return {\n groups: groups,\n update: function update(args) {\n if (getKey(args) !== key) return getSlotMetrics$1(args);\n return this;\n },\n dateIsInGroup: function dateIsInGroup(date, groupIndex) {\n var nextGroup = groups[groupIndex + 1];\n return inRange$1(date, groups[groupIndex][0], nextGroup ? nextGroup[0] : end, 'minutes');\n },\n nextSlot: function nextSlot(slot) {\n var next = slots[Math.min(slots.indexOf(slot) + 1, slots.length - 1)]; // in the case of the last slot we won't a long enough range so manually get it\n\n if (next === slot) next = add(slot, step, 'minutes');\n return next;\n },\n closestSlotToPosition: function closestSlotToPosition(percent) {\n var slot = Math.min(slots.length - 1, Math.max(0, Math.floor(percent * numSlots)));\n return slots[slot];\n },\n closestSlotFromPoint: function closestSlotFromPoint(point, boundaryRect) {\n var range = Math.abs(boundaryRect.top - boundaryRect.bottom);\n return this.closestSlotToPosition((point.y - boundaryRect.top) / range);\n },\n closestSlotFromDate: function closestSlotFromDate(date, offset) {\n if (offset === void 0) {\n offset = 0;\n }\n\n if (lt(date, start, 'minutes')) return slots[0];\n var diffMins = diff(start, date, 'minutes');\n return slots[(diffMins - diffMins % step) / step + offset];\n },\n startsBeforeDay: function startsBeforeDay(date) {\n return lt(date, start, 'day');\n },\n startsAfterDay: function startsAfterDay(date) {\n return gt(date, end, 'day');\n },\n startsBefore: function startsBefore(date) {\n return lt(merge(start, date), start, 'minutes');\n },\n startsAfter: function startsAfter(date) {\n return gt(merge(end, date), end, 'minutes');\n },\n getRange: function getRange(rangeStart, rangeEnd, ignoreMin, ignoreMax) {\n if (!ignoreMin) rangeStart = min(end, max(start, rangeStart));\n if (!ignoreMax) rangeEnd = min(end, max(start, rangeEnd));\n var rangeStartMin = positionFromDate(rangeStart);\n var rangeEndMin = positionFromDate(rangeEnd);\n var top = rangeEndMin > step * (numSlots - 1) && !eq(end, rangeEnd) ? (rangeStartMin - step) / (step * numSlots) * 100 : rangeStartMin / (step * numSlots) * 100;\n return {\n top: top,\n height: rangeEndMin / (step * numSlots) * 100 - top,\n start: positionFromDate(rangeStart),\n startDate: rangeStart,\n end: positionFromDate(rangeEnd),\n endDate: rangeEnd\n };\n },\n getCurrentTimePosition: function getCurrentTimePosition(rangeStart) {\n var rangeStartMin = positionFromDate(rangeStart);\n var top = rangeStartMin / (step * numSlots) * 100;\n return top;\n }\n };\n}\n\nvar Event =\n/*#__PURE__*/\nfunction () {\n function Event(data, _ref) {\n var accessors = _ref.accessors,\n slotMetrics = _ref.slotMetrics;\n\n var _slotMetrics$getRange = slotMetrics.getRange(accessors.start(data), accessors.end(data)),\n start = _slotMetrics$getRange.start,\n startDate = _slotMetrics$getRange.startDate,\n end = _slotMetrics$getRange.end,\n endDate = _slotMetrics$getRange.endDate,\n top = _slotMetrics$getRange.top,\n height = _slotMetrics$getRange.height;\n\n this.start = start;\n this.end = end;\n this.startMs = +startDate;\n this.endMs = +endDate;\n this.top = top;\n this.height = height;\n this.data = data;\n }\n /**\n * The event's width without any overlap.\n */\n\n\n _createClass(Event, [{\n key: \"_width\",\n get: function get() {\n // The container event's width is determined by the maximum number of\n // events in any of its rows.\n if (this.rows) {\n var columns = this.rows.reduce(function (max, row) {\n return Math.max(max, row.leaves.length + 1);\n }, // add itself\n 0) + 1; // add the container\n\n return 100 / columns;\n }\n\n var availableWidth = 100 - this.container._width; // The row event's width is the space left by the container, divided\n // among itself and its leaves.\n\n if (this.leaves) {\n return availableWidth / (this.leaves.length + 1);\n } // The leaf event's width is determined by its row's width\n\n\n return this.row._width;\n }\n /**\n * The event's calculated width, possibly with extra width added for\n * overlapping effect.\n */\n\n }, {\n key: \"width\",\n get: function get() {\n var noOverlap = this._width;\n var overlap = Math.min(100, this._width * 1.7); // Containers can always grow.\n\n if (this.rows) {\n return overlap;\n } // Rows can grow if they have leaves.\n\n\n if (this.leaves) {\n return this.leaves.length > 0 ? overlap : noOverlap;\n } // Leaves can grow unless they're the last item in a row.\n\n\n var leaves = this.row.leaves;\n var index = leaves.indexOf(this);\n return index === leaves.length - 1 ? noOverlap : overlap;\n }\n }, {\n key: \"xOffset\",\n get: function get() {\n // Containers have no offset.\n if (this.rows) return 0; // Rows always start where their container ends.\n\n if (this.leaves) return this.container._width; // Leaves are spread out evenly on the space left by its row.\n\n var _this$row = this.row,\n leaves = _this$row.leaves,\n xOffset = _this$row.xOffset,\n _width = _this$row._width;\n var index = leaves.indexOf(this) + 1;\n return xOffset + index * _width;\n }\n }]);\n\n return Event;\n}();\n/**\n * Return true if event a and b is considered to be on the same row.\n */\n\n\nfunction onSameRow(a, b, minimumStartDifference) {\n return (// Occupies the same start slot.\n Math.abs(b.start - a.start) < minimumStartDifference || // A's start slot overlaps with b's end slot.\n b.start > a.start && b.start < a.end\n );\n}\n\nfunction sortByRender(events) {\n var sortedByTime = sortBy(events, ['startMs', function (e) {\n return -e.endMs;\n }]);\n var sorted = [];\n\n while (sortedByTime.length > 0) {\n var event = sortedByTime.shift();\n sorted.push(event);\n\n for (var i = 0; i < sortedByTime.length; i++) {\n var test = sortedByTime[i]; // Still inside this event, look for next.\n\n if (event.endMs > test.startMs) continue; // We've found the first event of the next event group.\n // If that event is not right next to our current event, we have to\n // move it here.\n\n if (i > 0) {\n var _event = sortedByTime.splice(i, 1)[0];\n sorted.push(_event);\n } // We've already found the next event group, so stop looking.\n\n\n break;\n }\n }\n\n return sorted;\n}\n\nfunction getStyledEvents(_ref2) {\n var events = _ref2.events,\n minimumStartDifference = _ref2.minimumStartDifference,\n slotMetrics = _ref2.slotMetrics,\n accessors = _ref2.accessors;\n // Create proxy events and order them so that we don't have\n // to fiddle with z-indexes.\n var proxies = events.map(function (event) {\n return new Event(event, {\n slotMetrics: slotMetrics,\n accessors: accessors\n });\n });\n var eventsInRenderOrder = sortByRender(proxies); // Group overlapping events, while keeping order.\n // Every event is always one of: container, row or leaf.\n // Containers can contain rows, and rows can contain leaves.\n\n var containerEvents = [];\n\n var _loop = function _loop(i) {\n var event = eventsInRenderOrder[i]; // Check if this event can go into a container event.\n\n var container = containerEvents.find(function (c) {\n return c.end > event.start || Math.abs(event.start - c.start) < minimumStartDifference;\n }); // Couldn't find a container — that means this event is a container.\n\n if (!container) {\n event.rows = [];\n containerEvents.push(event);\n return \"continue\";\n } // Found a container for the event.\n\n\n event.container = container; // Check if the event can be placed in an existing row.\n // Start looking from behind.\n\n var row = null;\n\n for (var j = container.rows.length - 1; !row && j >= 0; j--) {\n if (onSameRow(container.rows[j], event, minimumStartDifference)) {\n row = container.rows[j];\n }\n }\n\n if (row) {\n // Found a row, so add it.\n row.leaves.push(event);\n event.row = row;\n } else {\n // Couldn't find a row – that means this event is a row.\n event.leaves = [];\n container.rows.push(event);\n }\n };\n\n for (var i = 0; i < eventsInRenderOrder.length; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n } // Return the original events, along with their styles.\n\n\n return eventsInRenderOrder.map(function (event) {\n return {\n event: event.data,\n style: {\n top: event.top,\n height: event.height,\n width: event.width,\n xOffset: Math.max(0, event.xOffset)\n }\n };\n });\n}\n\nfunction getMaxIdxDFS(node, maxIdx, visited) {\n for (var i = 0; i < node.friends.length; ++i) {\n if (visited.indexOf(node.friends[i]) > -1) continue;\n maxIdx = maxIdx > node.friends[i].idx ? maxIdx : node.friends[i].idx; // TODO : trace it by not object but kinda index or something for performance\n\n visited.push(node.friends[i]);\n var newIdx = getMaxIdxDFS(node.friends[i], maxIdx, visited);\n maxIdx = maxIdx > newIdx ? maxIdx : newIdx;\n }\n\n return maxIdx;\n}\n\nfunction noOverlap (_ref) {\n var events = _ref.events,\n minimumStartDifference = _ref.minimumStartDifference,\n slotMetrics = _ref.slotMetrics,\n accessors = _ref.accessors;\n var styledEvents = getStyledEvents({\n events: events,\n minimumStartDifference: minimumStartDifference,\n slotMetrics: slotMetrics,\n accessors: accessors\n });\n styledEvents.sort(function (a, b) {\n a = a.style;\n b = b.style;\n if (a.top !== b.top) return a.top > b.top ? 1 : -1;else return a.top + a.height < b.top + b.height ? 1 : -1;\n });\n\n for (var i = 0; i < styledEvents.length; ++i) {\n styledEvents[i].friends = [];\n delete styledEvents[i].style.left;\n delete styledEvents[i].style.left;\n delete styledEvents[i].idx;\n delete styledEvents[i].size;\n }\n\n for (var _i = 0; _i < styledEvents.length - 1; ++_i) {\n var se1 = styledEvents[_i];\n var y1 = se1.style.top;\n var y2 = se1.style.top + se1.style.height;\n\n for (var j = _i + 1; j < styledEvents.length; ++j) {\n var se2 = styledEvents[j];\n var y3 = se2.style.top;\n var y4 = se2.style.top + se2.style.height; // be friends when overlapped\n\n if (y3 <= y1 && y1 < y4 || y1 <= y3 && y3 < y2) {\n // TODO : hashmap would be effective for performance\n se1.friends.push(se2);\n se2.friends.push(se1);\n }\n }\n }\n\n for (var _i2 = 0; _i2 < styledEvents.length; ++_i2) {\n var se = styledEvents[_i2];\n var bitmap = [];\n\n for (var _j = 0; _j < 100; ++_j) {\n bitmap.push(1);\n } // 1 means available\n\n\n for (var _j2 = 0; _j2 < se.friends.length; ++_j2) {\n if (se.friends[_j2].idx !== undefined) bitmap[se.friends[_j2].idx] = 0;\n } // 0 means reserved\n\n\n se.idx = bitmap.indexOf(1);\n }\n\n for (var _i3 = 0; _i3 < styledEvents.length; ++_i3) {\n var size = 0;\n if (styledEvents[_i3].size) continue;\n var allFriends = [];\n var maxIdx = getMaxIdxDFS(styledEvents[_i3], 0, allFriends);\n size = 100 / (maxIdx + 1);\n styledEvents[_i3].size = size;\n\n for (var _j3 = 0; _j3 < allFriends.length; ++_j3) {\n allFriends[_j3].size = size;\n }\n }\n\n for (var _i4 = 0; _i4 < styledEvents.length; ++_i4) {\n var e = styledEvents[_i4];\n e.style.left = e.idx * e.size; // stretch to maximum\n\n var _maxIdx = 0;\n\n for (var _j4 = 0; _j4 < e.friends.length; ++_j4) {\n var idx = e.friends[_j4];\n _maxIdx = _maxIdx > idx ? _maxIdx : idx;\n }\n\n if (_maxIdx <= e.idx) e.size = 100 - e.idx * e.size; // padding between events\n // for this feature, `width` is not percentage based unit anymore\n // it will be used with calc()\n\n var padding = e.idx === 0 ? 0 : 3;\n e.style.width = \"calc(\" + e.size + \"% - \" + padding + \"px)\";\n e.style.height = \"calc(\" + e.style.height + \"% - 2px)\";\n e.style.xOffset = \"calc(\" + e.style.left + \"% + \" + padding + \"px)\";\n }\n\n return styledEvents;\n}\n\n/*eslint no-unused-vars: \"off\"*/\nvar DefaultAlgorithms = {\n overlap: getStyledEvents,\n 'no-overlap': noOverlap\n};\n\nfunction isFunction(a) {\n return !!(a && a.constructor && a.call && a.apply);\n} //\n\n\nfunction getStyledEvents$1(_ref) {\n var events = _ref.events,\n minimumStartDifference = _ref.minimumStartDifference,\n slotMetrics = _ref.slotMetrics,\n accessors = _ref.accessors,\n dayLayoutAlgorithm = _ref.dayLayoutAlgorithm;\n var algorithm = null;\n if (dayLayoutAlgorithm in DefaultAlgorithms) algorithm = DefaultAlgorithms[dayLayoutAlgorithm];\n\n if (!isFunction(algorithm)) {\n // invalid algorithm\n return [];\n }\n\n return algorithm.apply(this, arguments);\n}\n\nvar TimeSlotGroup =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TimeSlotGroup, _Component);\n\n function TimeSlotGroup() {\n return _Component.apply(this, arguments) || this;\n }\n\n var _proto = TimeSlotGroup.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n renderSlot = _this$props.renderSlot,\n resource = _this$props.resource,\n group = _this$props.group,\n getters = _this$props.getters,\n _this$props$component = _this$props.components;\n _this$props$component = _this$props$component === void 0 ? {} : _this$props$component;\n var _this$props$component2 = _this$props$component.timeSlotWrapper,\n Wrapper = _this$props$component2 === void 0 ? NoopWrapper : _this$props$component2;\n var groupProps = getters ? getters.slotGroupProp() : {};\n return React.createElement(\"div\", _extends({\n className: \"rbc-timeslot-group\"\n }, groupProps), group.map(function (value, idx) {\n var slotProps = getters ? getters.slotProp(value, resource) : {};\n return React.createElement(Wrapper, {\n key: idx,\n value: value,\n resource: resource\n }, React.createElement(\"div\", _extends({}, slotProps, {\n className: clsx('rbc-time-slot', slotProps.className)\n }), renderSlot && renderSlot(value, idx)));\n }));\n };\n\n return TimeSlotGroup;\n}(Component);\nTimeSlotGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n renderSlot: PropTypes.func,\n group: PropTypes.array.isRequired,\n resource: PropTypes.any,\n components: PropTypes.object,\n getters: PropTypes.object\n} : {};\n\nfunction stringifyPercent(v) {\n return typeof v === 'string' ? v : v + '%';\n}\n/* eslint-disable react/prop-types */\n\n\nfunction TimeGridEvent(props) {\n var _extends2;\n\n var style = props.style,\n className = props.className,\n event = props.event,\n accessors = props.accessors,\n rtl = props.rtl,\n selected = props.selected,\n label = props.label,\n continuesEarlier = props.continuesEarlier,\n continuesLater = props.continuesLater,\n getters = props.getters,\n onClick = props.onClick,\n onDoubleClick = props.onDoubleClick,\n _props$components = props.components,\n Event = _props$components.event,\n EventWrapper = _props$components.eventWrapper;\n var title = accessors.title(event);\n var tooltip = accessors.tooltip(event);\n var end = accessors.end(event);\n var start = accessors.start(event);\n var userProps = getters.eventProp(event, start, end, selected);\n var height = style.height,\n top = style.top,\n width = style.width,\n xOffset = style.xOffset;\n var inner = [React.createElement(\"div\", {\n key: \"1\",\n className: \"rbc-event-label\"\n }, label), React.createElement(\"div\", {\n key: \"2\",\n className: \"rbc-event-content\"\n }, Event ? React.createElement(Event, {\n event: event,\n title: title\n }) : title)];\n return React.createElement(EventWrapper, _extends({\n type: \"time\"\n }, props), React.createElement(\"div\", {\n onClick: onClick,\n onDoubleClick: onDoubleClick,\n style: _extends({}, userProps.style, (_extends2 = {\n top: stringifyPercent(top)\n }, _extends2[rtl ? 'right' : 'left'] = stringifyPercent(xOffset), _extends2.width = stringifyPercent(width), _extends2.height = stringifyPercent(height), _extends2)),\n title: tooltip ? (typeof label === 'string' ? label + ': ' : '') + tooltip : undefined,\n className: clsx('rbc-event', className, userProps.className, {\n 'rbc-selected': selected,\n 'rbc-event-continues-earlier': continuesEarlier,\n 'rbc-event-continues-later': continuesLater\n })\n }, inner));\n}\n\nvar DayColumn =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DayColumn, _React$Component);\n\n function DayColumn() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n _this.state = {\n selecting: false,\n timeIndicatorPosition: null\n };\n _this.intervalTriggered = false;\n\n _this.renderEvents = function () {\n var _this$props = _this.props,\n events = _this$props.events,\n rtl = _this$props.rtl,\n selected = _this$props.selected,\n accessors = _this$props.accessors,\n localizer = _this$props.localizer,\n getters = _this$props.getters,\n components = _this$props.components,\n step = _this$props.step,\n timeslots = _this$props.timeslots,\n dayLayoutAlgorithm = _this$props.dayLayoutAlgorithm;\n\n var _assertThisInitialize = _assertThisInitialized(_this),\n slotMetrics = _assertThisInitialize.slotMetrics;\n\n var messages = localizer.messages;\n var styledEvents = getStyledEvents$1({\n events: events,\n accessors: accessors,\n slotMetrics: slotMetrics,\n minimumStartDifference: Math.ceil(step * timeslots / 2),\n dayLayoutAlgorithm: dayLayoutAlgorithm\n });\n return styledEvents.map(function (_ref, idx) {\n var event = _ref.event,\n style = _ref.style;\n var end = accessors.end(event);\n var start = accessors.start(event);\n var format = 'eventTimeRangeFormat';\n var label;\n var startsBeforeDay = slotMetrics.startsBeforeDay(start);\n var startsAfterDay = slotMetrics.startsAfterDay(end);\n if (startsBeforeDay) format = 'eventTimeRangeEndFormat';else if (startsAfterDay) format = 'eventTimeRangeStartFormat';\n if (startsBeforeDay && startsAfterDay) label = messages.allDay;else label = localizer.format({\n start: start,\n end: end\n }, format);\n var continuesEarlier = startsBeforeDay || slotMetrics.startsBefore(start);\n var continuesLater = startsAfterDay || slotMetrics.startsAfter(end);\n return React.createElement(TimeGridEvent, {\n style: style,\n event: event,\n label: label,\n key: 'evt_' + idx,\n getters: getters,\n rtl: rtl,\n components: components,\n continuesEarlier: continuesEarlier,\n continuesLater: continuesLater,\n accessors: accessors,\n selected: isSelected(event, selected),\n onClick: function onClick(e) {\n return _this._select(event, e);\n },\n onDoubleClick: function onDoubleClick(e) {\n return _this._doubleClick(event, e);\n }\n });\n });\n };\n\n _this._selectable = function () {\n var node = findDOMNode(_assertThisInitialized(_this));\n var selector = _this._selector = new Selection(function () {\n return findDOMNode(_assertThisInitialized(_this));\n }, {\n longPressThreshold: _this.props.longPressThreshold\n });\n\n var maybeSelect = function maybeSelect(box) {\n var onSelecting = _this.props.onSelecting;\n var current = _this.state || {};\n var state = selectionState(box);\n var start = state.startDate,\n end = state.endDate;\n\n if (onSelecting) {\n if (eq(current.startDate, start, 'minutes') && eq(current.endDate, end, 'minutes') || onSelecting({\n start: start,\n end: end,\n resourceId: _this.props.resource\n }) === false) return;\n }\n\n if (_this.state.start !== state.start || _this.state.end !== state.end || _this.state.selecting !== state.selecting) {\n _this.setState(state);\n }\n };\n\n var selectionState = function selectionState(point) {\n var currentSlot = _this.slotMetrics.closestSlotFromPoint(point, getBoundsForNode(node));\n\n if (!_this.state.selecting) {\n _this._initialSlot = currentSlot;\n }\n\n var initialSlot = _this._initialSlot;\n\n if (lte(initialSlot, currentSlot)) {\n currentSlot = _this.slotMetrics.nextSlot(currentSlot);\n } else if (gt(initialSlot, currentSlot)) {\n initialSlot = _this.slotMetrics.nextSlot(initialSlot);\n }\n\n var selectRange = _this.slotMetrics.getRange(min(initialSlot, currentSlot), max(initialSlot, currentSlot));\n\n return _extends({}, selectRange, {\n selecting: true,\n top: selectRange.top + \"%\",\n height: selectRange.height + \"%\"\n });\n };\n\n var selectorClicksHandler = function selectorClicksHandler(box, actionType) {\n if (!isEvent(findDOMNode(_assertThisInitialized(_this)), box)) {\n var _selectionState = selectionState(box),\n startDate = _selectionState.startDate,\n endDate = _selectionState.endDate;\n\n _this._selectSlot({\n startDate: startDate,\n endDate: endDate,\n action: actionType,\n box: box\n });\n }\n\n _this.setState({\n selecting: false\n });\n };\n\n selector.on('selecting', maybeSelect);\n selector.on('selectStart', maybeSelect);\n selector.on('beforeSelect', function (box) {\n if (_this.props.selectable !== 'ignoreEvents') return;\n return !isEvent(findDOMNode(_assertThisInitialized(_this)), box);\n });\n selector.on('click', function (box) {\n return selectorClicksHandler(box, 'click');\n });\n selector.on('doubleClick', function (box) {\n return selectorClicksHandler(box, 'doubleClick');\n });\n selector.on('select', function (bounds) {\n if (_this.state.selecting) {\n _this._selectSlot(_extends({}, _this.state, {\n action: 'select',\n bounds: bounds\n }));\n\n _this.setState({\n selecting: false\n });\n }\n });\n selector.on('reset', function () {\n if (_this.state.selecting) {\n _this.setState({\n selecting: false\n });\n }\n });\n };\n\n _this._teardownSelectable = function () {\n if (!_this._selector) return;\n\n _this._selector.teardown();\n\n _this._selector = null;\n };\n\n _this._selectSlot = function (_ref2) {\n var startDate = _ref2.startDate,\n endDate = _ref2.endDate,\n action = _ref2.action,\n bounds = _ref2.bounds,\n box = _ref2.box;\n var current = startDate,\n slots = [];\n\n while (lte(current, endDate)) {\n slots.push(current);\n current = add(current, _this.props.step, 'minutes');\n }\n\n notify(_this.props.onSelectSlot, {\n slots: slots,\n start: startDate,\n end: endDate,\n resourceId: _this.props.resource,\n action: action,\n bounds: bounds,\n box: box\n });\n };\n\n _this._select = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this._doubleClick = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n notify(_this.props.onDoubleClickEvent, args);\n };\n\n _this.slotMetrics = getSlotMetrics$1(_this.props);\n return _this;\n }\n\n var _proto = DayColumn.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.props.selectable && this._selectable();\n\n if (this.props.isNow) {\n this.setTimeIndicatorPositionUpdateInterval();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._teardownSelectable();\n\n this.clearTimeIndicatorInterval();\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n if (nextProps.selectable && !this.props.selectable) this._selectable();\n if (!nextProps.selectable && this.props.selectable) this._teardownSelectable();\n this.slotMetrics = this.slotMetrics.update(nextProps);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps, prevState) {\n var getNowChanged = !eq(prevProps.getNow(), this.props.getNow(), 'minutes');\n\n if (prevProps.isNow !== this.props.isNow || getNowChanged) {\n this.clearTimeIndicatorInterval();\n\n if (this.props.isNow) {\n var tail = !getNowChanged && eq(prevProps.date, this.props.date, 'minutes') && prevState.timeIndicatorPosition === this.state.timeIndicatorPosition;\n this.setTimeIndicatorPositionUpdateInterval(tail);\n }\n } else if (this.props.isNow && (!eq(prevProps.min, this.props.min, 'minutes') || !eq(prevProps.max, this.props.max, 'minutes'))) {\n this.positionTimeIndicator();\n }\n }\n /**\n * @param tail {Boolean} - whether `positionTimeIndicator` call should be\n * deferred or called upon setting interval (`true` - if deferred);\n */\n ;\n\n _proto.setTimeIndicatorPositionUpdateInterval = function setTimeIndicatorPositionUpdateInterval(tail) {\n var _this2 = this;\n\n if (tail === void 0) {\n tail = false;\n }\n\n if (!this.intervalTriggered && !tail) {\n this.positionTimeIndicator();\n }\n\n this._timeIndicatorTimeout = window.setTimeout(function () {\n _this2.intervalTriggered = true;\n\n _this2.positionTimeIndicator();\n\n _this2.setTimeIndicatorPositionUpdateInterval();\n }, 60000);\n };\n\n _proto.clearTimeIndicatorInterval = function clearTimeIndicatorInterval() {\n this.intervalTriggered = false;\n window.clearTimeout(this._timeIndicatorTimeout);\n };\n\n _proto.positionTimeIndicator = function positionTimeIndicator() {\n var _this$props2 = this.props,\n min = _this$props2.min,\n max = _this$props2.max,\n getNow = _this$props2.getNow;\n var current = getNow();\n\n if (current >= min && current <= max) {\n var top = this.slotMetrics.getCurrentTimePosition(current);\n this.setState({\n timeIndicatorPosition: top\n });\n } else {\n this.clearTimeIndicatorInterval();\n }\n };\n\n _proto.render = function render() {\n var _this$props3 = this.props,\n max = _this$props3.max,\n rtl = _this$props3.rtl,\n isNow = _this$props3.isNow,\n resource = _this$props3.resource,\n accessors = _this$props3.accessors,\n localizer = _this$props3.localizer,\n _this$props3$getters = _this$props3.getters,\n dayProp = _this$props3$getters.dayProp,\n getters = _objectWithoutPropertiesLoose(_this$props3$getters, [\"dayProp\"]),\n _this$props3$componen = _this$props3.components,\n EventContainer = _this$props3$componen.eventContainerWrapper,\n components = _objectWithoutPropertiesLoose(_this$props3$componen, [\"eventContainerWrapper\"]);\n\n var slotMetrics = this.slotMetrics;\n var _this$state = this.state,\n selecting = _this$state.selecting,\n top = _this$state.top,\n height = _this$state.height,\n startDate = _this$state.startDate,\n endDate = _this$state.endDate;\n var selectDates = {\n start: startDate,\n end: endDate\n };\n\n var _dayProp = dayProp(max),\n className = _dayProp.className,\n style = _dayProp.style;\n\n return React.createElement(\"div\", {\n style: style,\n className: clsx(className, 'rbc-day-slot', 'rbc-time-column', isNow && 'rbc-now', isNow && 'rbc-today', // WHY\n selecting && 'rbc-slot-selecting')\n }, slotMetrics.groups.map(function (grp, idx) {\n return React.createElement(TimeSlotGroup, {\n key: idx,\n group: grp,\n resource: resource,\n getters: getters,\n components: components\n });\n }), React.createElement(EventContainer, {\n localizer: localizer,\n resource: resource,\n accessors: accessors,\n getters: getters,\n components: components,\n slotMetrics: slotMetrics\n }, React.createElement(\"div\", {\n className: clsx('rbc-events-container', rtl && 'rtl')\n }, this.renderEvents())), selecting && React.createElement(\"div\", {\n className: \"rbc-slot-selection\",\n style: {\n top: top,\n height: height\n }\n }, React.createElement(\"span\", null, localizer.format(selectDates, 'selectRangeFormat'))), isNow && React.createElement(\"div\", {\n className: \"rbc-current-time-indicator\",\n style: {\n top: this.state.timeIndicatorPosition + \"%\"\n }\n }));\n };\n\n return DayColumn;\n}(React.Component);\n\nDayColumn.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array.isRequired,\n step: PropTypes.number.isRequired,\n date: PropTypes.instanceOf(Date).isRequired,\n min: PropTypes.instanceOf(Date).isRequired,\n max: PropTypes.instanceOf(Date).isRequired,\n getNow: PropTypes.func.isRequired,\n isNow: PropTypes.bool,\n rtl: PropTypes.bool,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n showMultiDayTimes: PropTypes.bool,\n culture: PropTypes.string,\n timeslots: PropTypes.number,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n eventOffset: PropTypes.number,\n longPressThreshold: PropTypes.number,\n onSelecting: PropTypes.func,\n onSelectSlot: PropTypes.func.isRequired,\n onSelectEvent: PropTypes.func.isRequired,\n onDoubleClickEvent: PropTypes.func.isRequired,\n className: PropTypes.string,\n dragThroughEvents: PropTypes.bool,\n resource: PropTypes.any,\n dayLayoutAlgorithm: DayLayoutAlgorithmPropType\n} : {};\nDayColumn.defaultProps = {\n dragThroughEvents: true,\n timeslots: 2\n};\n\nvar TimeGutter =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TimeGutter, _Component);\n\n function TimeGutter() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n\n _this.renderSlot = function (value, idx) {\n if (idx !== 0) return null;\n var _this$props = _this.props,\n localizer = _this$props.localizer,\n getNow = _this$props.getNow;\n\n var isNow = _this.slotMetrics.dateIsInGroup(getNow(), idx);\n\n return React.createElement(\"span\", {\n className: clsx('rbc-label', isNow && 'rbc-now')\n }, localizer.format(value, 'timeGutterFormat'));\n };\n\n var _this$props2 = _this.props,\n min = _this$props2.min,\n max = _this$props2.max,\n timeslots = _this$props2.timeslots,\n step = _this$props2.step;\n _this.slotMetrics = getSlotMetrics$1({\n min: min,\n max: max,\n timeslots: timeslots,\n step: step\n });\n return _this;\n }\n\n var _proto = TimeGutter.prototype;\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n var min = nextProps.min,\n max = nextProps.max,\n timeslots = nextProps.timeslots,\n step = nextProps.step;\n this.slotMetrics = this.slotMetrics.update({\n min: min,\n max: max,\n timeslots: timeslots,\n step: step\n });\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props3 = this.props,\n resource = _this$props3.resource,\n components = _this$props3.components,\n getters = _this$props3.getters;\n return React.createElement(\"div\", {\n className: \"rbc-time-gutter rbc-time-column\"\n }, this.slotMetrics.groups.map(function (grp, idx) {\n return React.createElement(TimeSlotGroup, {\n key: idx,\n group: grp,\n resource: resource,\n components: components,\n renderSlot: _this2.renderSlot,\n getters: getters\n });\n }));\n };\n\n return TimeGutter;\n}(Component);\nTimeGutter.propTypes = process.env.NODE_ENV !== \"production\" ? {\n min: PropTypes.instanceOf(Date).isRequired,\n max: PropTypes.instanceOf(Date).isRequired,\n timeslots: PropTypes.number.isRequired,\n step: PropTypes.number.isRequired,\n getNow: PropTypes.func.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object,\n localizer: PropTypes.object.isRequired,\n resource: PropTypes.string\n} : {};\n\nvar ResourceHeader = function ResourceHeader(_ref) {\n var label = _ref.label;\n return React.createElement(React.Fragment, null, label);\n};\n\nResourceHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n label: PropTypes.node,\n index: PropTypes.number,\n resource: PropTypes.object\n} : {};\n\nvar TimeGridHeader =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(TimeGridHeader, _React$Component);\n\n function TimeGridHeader() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.handleHeaderClick = function (date, view, e) {\n e.preventDefault();\n notify(_this.props.onDrillDown, [date, view]);\n };\n\n _this.renderRow = function (resource) {\n var _this$props = _this.props,\n events = _this$props.events,\n rtl = _this$props.rtl,\n selectable = _this$props.selectable,\n getNow = _this$props.getNow,\n range = _this$props.range,\n getters = _this$props.getters,\n localizer = _this$props.localizer,\n accessors = _this$props.accessors,\n components = _this$props.components;\n var resourceId = accessors.resourceId(resource);\n var eventsToDisplay = resource ? events.filter(function (event) {\n return accessors.resource(event) === resourceId;\n }) : events;\n return React.createElement(DateContentRow, {\n isAllDay: true,\n rtl: rtl,\n getNow: getNow,\n minRows: 2,\n range: range,\n events: eventsToDisplay,\n resourceId: resourceId,\n className: \"rbc-allday-cell\",\n selectable: selectable,\n selected: _this.props.selected,\n components: components,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n onSelect: _this.props.onSelectEvent,\n onDoubleClick: _this.props.onDoubleClickEvent,\n onSelectSlot: _this.props.onSelectSlot,\n longPressThreshold: _this.props.longPressThreshold\n });\n };\n\n return _this;\n }\n\n var _proto = TimeGridHeader.prototype;\n\n _proto.renderHeaderCells = function renderHeaderCells(range) {\n var _this2 = this;\n\n var _this$props2 = this.props,\n localizer = _this$props2.localizer,\n getDrilldownView = _this$props2.getDrilldownView,\n getNow = _this$props2.getNow,\n dayProp = _this$props2.getters.dayProp,\n _this$props2$componen = _this$props2.components.header,\n HeaderComponent = _this$props2$componen === void 0 ? Header : _this$props2$componen;\n var today = getNow();\n return range.map(function (date, i) {\n var drilldownView = getDrilldownView(date);\n var label = localizer.format(date, 'dayFormat');\n\n var _dayProp = dayProp(date),\n className = _dayProp.className,\n style = _dayProp.style;\n\n var header = React.createElement(HeaderComponent, {\n date: date,\n label: label,\n localizer: localizer\n });\n return React.createElement(\"div\", {\n key: i,\n style: style,\n className: clsx('rbc-header', className, eq(date, today, 'day') && 'rbc-today')\n }, drilldownView ? React.createElement(\"a\", {\n href: \"#\",\n onClick: function onClick(e) {\n return _this2.handleHeaderClick(date, drilldownView, e);\n }\n }, header) : React.createElement(\"span\", null, header));\n });\n };\n\n _proto.render = function render() {\n var _this3 = this;\n\n var _this$props3 = this.props,\n width = _this$props3.width,\n rtl = _this$props3.rtl,\n resources = _this$props3.resources,\n range = _this$props3.range,\n events = _this$props3.events,\n getNow = _this$props3.getNow,\n accessors = _this$props3.accessors,\n selectable = _this$props3.selectable,\n components = _this$props3.components,\n getters = _this$props3.getters,\n scrollRef = _this$props3.scrollRef,\n localizer = _this$props3.localizer,\n isOverflowing = _this$props3.isOverflowing,\n _this$props3$componen = _this$props3.components,\n TimeGutterHeader = _this$props3$componen.timeGutterHeader,\n _this$props3$componen2 = _this$props3$componen.resourceHeader,\n ResourceHeaderComponent = _this$props3$componen2 === void 0 ? ResourceHeader : _this$props3$componen2;\n var style = {};\n\n if (isOverflowing) {\n style[rtl ? 'marginLeft' : 'marginRight'] = scrollbarSize() + \"px\";\n }\n\n var groupedEvents = resources.groupEvents(events);\n return React.createElement(\"div\", {\n style: style,\n ref: scrollRef,\n className: clsx('rbc-time-header', isOverflowing && 'rbc-overflowing')\n }, React.createElement(\"div\", {\n className: \"rbc-label rbc-time-header-gutter\",\n style: {\n width: width,\n minWidth: width,\n maxWidth: width\n }\n }, TimeGutterHeader && React.createElement(TimeGutterHeader, null)), resources.map(function (_ref, idx) {\n var id = _ref[0],\n resource = _ref[1];\n return React.createElement(\"div\", {\n className: \"rbc-time-header-content\",\n key: id || idx\n }, resource && React.createElement(\"div\", {\n className: \"rbc-row rbc-row-resource\",\n key: \"resource_\" + idx\n }, React.createElement(\"div\", {\n className: \"rbc-header\"\n }, React.createElement(ResourceHeaderComponent, {\n index: idx,\n label: accessors.resourceTitle(resource),\n resource: resource\n }))), React.createElement(\"div\", {\n className: \"rbc-row rbc-time-header-cell\" + (range.length <= 1 ? ' rbc-time-header-cell-single-day' : '')\n }, _this3.renderHeaderCells(range)), React.createElement(DateContentRow, {\n isAllDay: true,\n rtl: rtl,\n getNow: getNow,\n minRows: 2,\n range: range,\n events: groupedEvents.get(id) || [],\n resourceId: resource && id,\n className: \"rbc-allday-cell\",\n selectable: selectable,\n selected: _this3.props.selected,\n components: components,\n accessors: accessors,\n getters: getters,\n localizer: localizer,\n onSelect: _this3.props.onSelectEvent,\n onDoubleClick: _this3.props.onDoubleClickEvent,\n onSelectSlot: _this3.props.onSelectSlot,\n longPressThreshold: _this3.props.longPressThreshold\n }));\n }));\n };\n\n return TimeGridHeader;\n}(React.Component);\n\nTimeGridHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n range: PropTypes.array.isRequired,\n events: PropTypes.array.isRequired,\n resources: PropTypes.object,\n getNow: PropTypes.func.isRequired,\n isOverflowing: PropTypes.bool,\n rtl: PropTypes.bool,\n width: PropTypes.number,\n localizer: PropTypes.object.isRequired,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onSelectSlot: PropTypes.func,\n onSelectEvent: PropTypes.func,\n onDoubleClickEvent: PropTypes.func,\n onDrillDown: PropTypes.func,\n getDrilldownView: PropTypes.func.isRequired,\n scrollRef: PropTypes.any\n} : {};\n\nvar NONE = {};\nfunction Resources(resources, accessors) {\n return {\n map: function map(fn) {\n if (!resources) return [fn([NONE, null], 0)];\n return resources.map(function (resource, idx) {\n return fn([accessors.resourceId(resource), resource], idx);\n });\n },\n groupEvents: function groupEvents(events) {\n var eventsByResource = new Map();\n\n if (!resources) {\n // Return all events if resources are not provided\n eventsByResource.set(NONE, events);\n return eventsByResource;\n }\n\n events.forEach(function (event) {\n var id = accessors.resource(event) || NONE;\n var resourceEvents = eventsByResource.get(id) || [];\n resourceEvents.push(event);\n eventsByResource.set(id, resourceEvents);\n });\n return eventsByResource;\n }\n };\n}\n\nvar TimeGrid =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(TimeGrid, _Component);\n\n function TimeGrid(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n\n _this.handleScroll = function (e) {\n if (_this.scrollRef.current) {\n _this.scrollRef.current.scrollLeft = e.target.scrollLeft;\n }\n };\n\n _this.handleResize = function () {\n cancel(_this.rafHandle);\n _this.rafHandle = request(_this.checkOverflow);\n };\n\n _this.gutterRef = function (ref) {\n _this.gutter = ref && findDOMNode(ref);\n };\n\n _this.handleSelectAlldayEvent = function () {\n //cancel any pending selections so only the event click goes through.\n _this.clearSelection();\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this.handleSelectAllDaySlot = function (slots, slotInfo) {\n var onSelectSlot = _this.props.onSelectSlot;\n notify(onSelectSlot, {\n slots: slots,\n start: slots[0],\n end: slots[slots.length - 1],\n action: slotInfo.action\n });\n };\n\n _this.checkOverflow = function () {\n if (_this._updatingOverflow) return;\n var content = _this.contentRef.current;\n var isOverflowing = content.scrollHeight > content.clientHeight;\n\n if (_this.state.isOverflowing !== isOverflowing) {\n _this._updatingOverflow = true;\n\n _this.setState({\n isOverflowing: isOverflowing\n }, function () {\n _this._updatingOverflow = false;\n });\n }\n };\n\n _this.memoizedResources = memoize(function (resources, accessors) {\n return Resources(resources, accessors);\n });\n _this.state = {\n gutterWidth: undefined,\n isOverflowing: null\n };\n _this.scrollRef = React.createRef();\n _this.contentRef = React.createRef();\n _this._scrollRatio = null;\n return _this;\n }\n\n var _proto = TimeGrid.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n this.calculateScroll();\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.checkOverflow();\n\n if (this.props.width == null) {\n this.measureGutter();\n }\n\n this.applyScroll();\n window.addEventListener('resize', this.handleResize);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener('resize', this.handleResize);\n cancel(this.rafHandle);\n\n if (this.measureGutterAnimationFrameRequest) {\n window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest);\n }\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n if (this.props.width == null) {\n this.measureGutter();\n }\n\n this.applyScroll(); //this.checkOverflow()\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n var _this$props = this.props,\n range = _this$props.range,\n scrollToTime = _this$props.scrollToTime; // When paginating, reset scroll\n\n if (!eq(nextProps.range[0], range[0], 'minute') || !eq(nextProps.scrollToTime, scrollToTime, 'minute')) {\n this.calculateScroll(nextProps);\n }\n };\n\n _proto.renderEvents = function renderEvents(range, events, now) {\n var _this2 = this;\n\n var _this$props2 = this.props,\n min = _this$props2.min,\n max = _this$props2.max,\n components = _this$props2.components,\n accessors = _this$props2.accessors,\n localizer = _this$props2.localizer,\n dayLayoutAlgorithm = _this$props2.dayLayoutAlgorithm;\n var resources = this.memoizedResources(this.props.resources, accessors);\n var groupedEvents = resources.groupEvents(events);\n return resources.map(function (_ref, i) {\n var id = _ref[0],\n resource = _ref[1];\n return range.map(function (date, jj) {\n var daysEvents = (groupedEvents.get(id) || []).filter(function (event) {\n return inRange$1(date, accessors.start(event), accessors.end(event), 'day');\n });\n return React.createElement(DayColumn, _extends({}, _this2.props, {\n localizer: localizer,\n min: merge(date, min),\n max: merge(date, max),\n resource: resource && id,\n components: components,\n isNow: eq(date, now, 'day'),\n key: i + '-' + jj,\n date: date,\n events: daysEvents,\n dayLayoutAlgorithm: dayLayoutAlgorithm\n }));\n });\n });\n };\n\n _proto.render = function render() {\n var _this$props3 = this.props,\n events = _this$props3.events,\n range = _this$props3.range,\n width = _this$props3.width,\n rtl = _this$props3.rtl,\n selected = _this$props3.selected,\n getNow = _this$props3.getNow,\n resources = _this$props3.resources,\n components = _this$props3.components,\n accessors = _this$props3.accessors,\n getters = _this$props3.getters,\n localizer = _this$props3.localizer,\n min = _this$props3.min,\n max = _this$props3.max,\n showMultiDayTimes = _this$props3.showMultiDayTimes,\n longPressThreshold = _this$props3.longPressThreshold;\n width = width || this.state.gutterWidth;\n var start = range[0],\n end = range[range.length - 1];\n this.slots = range.length;\n var allDayEvents = [],\n rangeEvents = [];\n events.forEach(function (event) {\n if (inRange(event, start, end, accessors)) {\n var eStart = accessors.start(event),\n eEnd = accessors.end(event);\n\n if (accessors.allDay(event) || isJustDate(eStart) && isJustDate(eEnd) || !showMultiDayTimes && !eq(eStart, eEnd, 'day')) {\n allDayEvents.push(event);\n } else {\n rangeEvents.push(event);\n }\n }\n });\n allDayEvents.sort(function (a, b) {\n return sortEvents(a, b, accessors);\n });\n return React.createElement(\"div\", {\n className: clsx('rbc-time-view', resources && 'rbc-time-view-resources')\n }, React.createElement(TimeGridHeader, {\n range: range,\n events: allDayEvents,\n width: width,\n rtl: rtl,\n getNow: getNow,\n localizer: localizer,\n selected: selected,\n resources: this.memoizedResources(resources, accessors),\n selectable: this.props.selectable,\n accessors: accessors,\n getters: getters,\n components: components,\n scrollRef: this.scrollRef,\n isOverflowing: this.state.isOverflowing,\n longPressThreshold: longPressThreshold,\n onSelectSlot: this.handleSelectAllDaySlot,\n onSelectEvent: this.handleSelectAlldayEvent,\n onDoubleClickEvent: this.props.onDoubleClickEvent,\n onDrillDown: this.props.onDrillDown,\n getDrilldownView: this.props.getDrilldownView\n }), React.createElement(\"div\", {\n ref: this.contentRef,\n className: \"rbc-time-content\",\n onScroll: this.handleScroll\n }, React.createElement(TimeGutter, {\n date: start,\n ref: this.gutterRef,\n localizer: localizer,\n min: merge(start, min),\n max: merge(start, max),\n step: this.props.step,\n getNow: this.props.getNow,\n timeslots: this.props.timeslots,\n components: components,\n className: \"rbc-time-gutter\",\n getters: getters\n }), this.renderEvents(range, rangeEvents, getNow())));\n };\n\n _proto.clearSelection = function clearSelection() {\n clearTimeout(this._selectTimer);\n this._pendingSelection = [];\n };\n\n _proto.measureGutter = function measureGutter() {\n var _this3 = this;\n\n if (this.measureGutterAnimationFrameRequest) {\n window.cancelAnimationFrame(this.measureGutterAnimationFrameRequest);\n }\n\n this.measureGutterAnimationFrameRequest = window.requestAnimationFrame(function () {\n var width = getWidth(_this3.gutter);\n\n if (width && _this3.state.gutterWidth !== width) {\n _this3.setState({\n gutterWidth: width\n });\n }\n });\n };\n\n _proto.applyScroll = function applyScroll() {\n if (this._scrollRatio != null) {\n var content = this.contentRef.current;\n content.scrollTop = content.scrollHeight * this._scrollRatio; // Only do this once\n\n this._scrollRatio = null;\n }\n };\n\n _proto.calculateScroll = function calculateScroll(props) {\n if (props === void 0) {\n props = this.props;\n }\n\n var _props = props,\n min = _props.min,\n max = _props.max,\n scrollToTime = _props.scrollToTime;\n var diffMillis = scrollToTime - startOf(scrollToTime, 'day');\n var totalMillis = diff(max, min);\n this._scrollRatio = diffMillis / totalMillis;\n };\n\n return TimeGrid;\n}(Component);\nTimeGrid.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array.isRequired,\n resources: PropTypes.array,\n step: PropTypes.number,\n timeslots: PropTypes.number,\n range: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\n min: PropTypes.instanceOf(Date),\n max: PropTypes.instanceOf(Date),\n getNow: PropTypes.func.isRequired,\n scrollToTime: PropTypes.instanceOf(Date),\n showMultiDayTimes: PropTypes.bool,\n rtl: PropTypes.bool,\n width: PropTypes.number,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired,\n selected: PropTypes.object,\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n longPressThreshold: PropTypes.number,\n onNavigate: PropTypes.func,\n onSelectSlot: PropTypes.func,\n onSelectEnd: PropTypes.func,\n onSelectStart: PropTypes.func,\n onSelectEvent: PropTypes.func,\n onDoubleClickEvent: PropTypes.func,\n onDrillDown: PropTypes.func,\n getDrilldownView: PropTypes.func.isRequired,\n dayLayoutAlgorithm: DayLayoutAlgorithmPropType\n} : {};\nTimeGrid.defaultProps = {\n step: 30,\n timeslots: 2,\n min: startOf(new Date(), 'day'),\n max: endOf(new Date(), 'day'),\n scrollToTime: startOf(new Date(), 'day')\n};\n\nvar Day =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Day, _React$Component);\n\n function Day() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Day.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n date = _this$props.date,\n props = _objectWithoutPropertiesLoose(_this$props, [\"date\"]);\n\n var range = Day.range(date);\n return React.createElement(TimeGrid, _extends({}, props, {\n range: range,\n eventOffset: 10\n }));\n };\n\n return Day;\n}(React.Component);\n\nDay.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date).isRequired\n} : {};\n\nDay.range = function (date) {\n return [startOf(date, 'day')];\n};\n\nDay.navigate = function (date, action) {\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -1, 'day');\n\n case navigate.NEXT:\n return add(date, 1, 'day');\n\n default:\n return date;\n }\n};\n\nDay.title = function (date, _ref) {\n var localizer = _ref.localizer;\n return localizer.format(date, 'dayHeaderFormat');\n};\n\nvar Week =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Week, _React$Component);\n\n function Week() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = Week.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n date = _this$props.date,\n props = _objectWithoutPropertiesLoose(_this$props, [\"date\"]);\n\n var range = Week.range(date, this.props);\n return React.createElement(TimeGrid, _extends({}, props, {\n range: range,\n eventOffset: 15\n }));\n };\n\n return Week;\n}(React.Component);\n\nWeek.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date).isRequired\n} : {};\nWeek.defaultProps = TimeGrid.defaultProps;\n\nWeek.navigate = function (date, action) {\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -1, 'week');\n\n case navigate.NEXT:\n return add(date, 1, 'week');\n\n default:\n return date;\n }\n};\n\nWeek.range = function (date, _ref) {\n var localizer = _ref.localizer;\n var firstOfWeek = localizer.startOfWeek();\n var start = startOf(date, 'week', firstOfWeek);\n var end = endOf(date, 'week', firstOfWeek);\n return range(start, end);\n};\n\nWeek.title = function (date, _ref2) {\n var localizer = _ref2.localizer;\n\n var _Week$range = Week.range(date, {\n localizer: localizer\n }),\n start = _Week$range[0],\n rest = _Week$range.slice(1);\n\n return localizer.format({\n start: start,\n end: rest.pop()\n }, 'dayRangeHeaderFormat');\n};\n\nfunction workWeekRange(date, options) {\n return Week.range(date, options).filter(function (d) {\n return [6, 0].indexOf(d.getDay()) === -1;\n });\n}\n\nvar WorkWeek =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(WorkWeek, _React$Component);\n\n function WorkWeek() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = WorkWeek.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n date = _this$props.date,\n props = _objectWithoutPropertiesLoose(_this$props, [\"date\"]);\n\n var range = workWeekRange(date, this.props);\n return React.createElement(TimeGrid, _extends({}, props, {\n range: range,\n eventOffset: 15\n }));\n };\n\n return WorkWeek;\n}(React.Component);\n\nWorkWeek.propTypes = process.env.NODE_ENV !== \"production\" ? {\n date: PropTypes.instanceOf(Date).isRequired\n} : {};\nWorkWeek.defaultProps = TimeGrid.defaultProps;\nWorkWeek.range = workWeekRange;\nWorkWeek.navigate = Week.navigate;\n\nWorkWeek.title = function (date, _ref) {\n var localizer = _ref.localizer;\n\n var _workWeekRange = workWeekRange(date, {\n localizer: localizer\n }),\n start = _workWeekRange[0],\n rest = _workWeekRange.slice(1);\n\n return localizer.format({\n start: start,\n end: rest.pop()\n }, 'dayRangeHeaderFormat');\n};\n\nvar Agenda =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Agenda, _React$Component);\n\n function Agenda(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n\n _this.renderDay = function (day, events, dayKey) {\n var _this$props = _this.props,\n selected = _this$props.selected,\n getters = _this$props.getters,\n accessors = _this$props.accessors,\n localizer = _this$props.localizer,\n _this$props$component = _this$props.components,\n Event = _this$props$component.event,\n AgendaDate = _this$props$component.date;\n events = events.filter(function (e) {\n return inRange(e, startOf(day, 'day'), endOf(day, 'day'), accessors);\n });\n return events.map(function (event, idx) {\n var title = accessors.title(event);\n var end = accessors.end(event);\n var start = accessors.start(event);\n var userProps = getters.eventProp(event, start, end, isSelected(event, selected));\n var dateLabel = idx === 0 && localizer.format(day, 'agendaDateFormat');\n var first = idx === 0 ? React.createElement(\"td\", {\n rowSpan: events.length,\n className: \"rbc-agenda-date-cell\"\n }, AgendaDate ? React.createElement(AgendaDate, {\n day: day,\n label: dateLabel\n }) : dateLabel) : false;\n return React.createElement(\"tr\", {\n key: dayKey + '_' + idx,\n className: userProps.className,\n style: userProps.style\n }, first, React.createElement(\"td\", {\n className: \"rbc-agenda-time-cell\"\n }, _this.timeRangeLabel(day, event)), React.createElement(\"td\", {\n className: \"rbc-agenda-event-cell\"\n }, Event ? React.createElement(Event, {\n event: event,\n title: title\n }) : title));\n }, []);\n };\n\n _this.timeRangeLabel = function (day, event) {\n var _this$props2 = _this.props,\n accessors = _this$props2.accessors,\n localizer = _this$props2.localizer,\n components = _this$props2.components;\n var labelClass = '',\n TimeComponent = components.time,\n label = localizer.messages.allDay;\n var end = accessors.end(event);\n var start = accessors.start(event);\n\n if (!accessors.allDay(event)) {\n if (eq(start, end)) {\n label = localizer.format(start, 'agendaTimeFormat');\n } else if (eq(start, end, 'day')) {\n label = localizer.format({\n start: start,\n end: end\n }, 'agendaTimeRangeFormat');\n } else if (eq(day, start, 'day')) {\n label = localizer.format(start, 'agendaTimeFormat');\n } else if (eq(day, end, 'day')) {\n label = localizer.format(end, 'agendaTimeFormat');\n }\n }\n\n if (gt(day, start, 'day')) labelClass = 'rbc-continues-prior';\n if (lt(day, end, 'day')) labelClass += ' rbc-continues-after';\n return React.createElement(\"span\", {\n className: labelClass.trim()\n }, TimeComponent ? React.createElement(TimeComponent, {\n event: event,\n day: day,\n label: label\n }) : label);\n };\n\n _this._adjustHeader = function () {\n if (!_this.tbodyRef.current) return;\n var header = _this.headerRef.current;\n var firstRow = _this.tbodyRef.current.firstChild;\n if (!firstRow) return;\n var isOverflowing = _this.contentRef.current.scrollHeight > _this.contentRef.current.clientHeight;\n var widths = _this._widths || [];\n _this._widths = [getWidth(firstRow.children[0]), getWidth(firstRow.children[1])];\n\n if (widths[0] !== _this._widths[0] || widths[1] !== _this._widths[1]) {\n _this.dateColRef.current.style.width = _this._widths[0] + 'px';\n _this.timeColRef.current.style.width = _this._widths[1] + 'px';\n }\n\n if (isOverflowing) {\n addClass(header, 'rbc-header-overflowing');\n header.style.marginRight = scrollbarSize() + 'px';\n } else {\n removeClass(header, 'rbc-header-overflowing');\n }\n };\n\n _this.headerRef = React.createRef();\n _this.dateColRef = React.createRef();\n _this.timeColRef = React.createRef();\n _this.contentRef = React.createRef();\n _this.tbodyRef = React.createRef();\n return _this;\n }\n\n var _proto = Agenda.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this._adjustHeader();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n this._adjustHeader();\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props3 = this.props,\n length = _this$props3.length,\n date = _this$props3.date,\n events = _this$props3.events,\n accessors = _this$props3.accessors,\n localizer = _this$props3.localizer;\n var messages = localizer.messages;\n var end = add(date, length, 'day');\n var range$1 = range(date, end, 'day');\n events = events.filter(function (event) {\n return inRange(event, date, end, accessors);\n });\n events.sort(function (a, b) {\n return +accessors.start(a) - +accessors.start(b);\n });\n return React.createElement(\"div\", {\n className: \"rbc-agenda-view\"\n }, events.length !== 0 ? React.createElement(React.Fragment, null, React.createElement(\"table\", {\n ref: this.headerRef,\n className: \"rbc-agenda-table\"\n }, React.createElement(\"thead\", null, React.createElement(\"tr\", null, React.createElement(\"th\", {\n className: \"rbc-header\",\n ref: this.dateColRef\n }, messages.date), React.createElement(\"th\", {\n className: \"rbc-header\",\n ref: this.timeColRef\n }, messages.time), React.createElement(\"th\", {\n className: \"rbc-header\"\n }, messages.event)))), React.createElement(\"div\", {\n className: \"rbc-agenda-content\",\n ref: this.contentRef\n }, React.createElement(\"table\", {\n className: \"rbc-agenda-table\"\n }, React.createElement(\"tbody\", {\n ref: this.tbodyRef\n }, range$1.map(function (day, idx) {\n return _this2.renderDay(day, events, idx);\n }))))) : React.createElement(\"span\", {\n className: \"rbc-agenda-empty\"\n }, messages.noEventsInRange));\n };\n\n return Agenda;\n}(React.Component);\n\nAgenda.propTypes = process.env.NODE_ENV !== \"production\" ? {\n events: PropTypes.array,\n date: PropTypes.instanceOf(Date),\n length: PropTypes.number.isRequired,\n selected: PropTypes.object,\n accessors: PropTypes.object.isRequired,\n components: PropTypes.object.isRequired,\n getters: PropTypes.object.isRequired,\n localizer: PropTypes.object.isRequired\n} : {};\nAgenda.defaultProps = {\n length: 30\n};\n\nAgenda.range = function (start, _ref) {\n var _ref$length = _ref.length,\n length = _ref$length === void 0 ? Agenda.defaultProps.length : _ref$length;\n var end = add(start, length, 'day');\n return {\n start: start,\n end: end\n };\n};\n\nAgenda.navigate = function (date, action, _ref2) {\n var _ref2$length = _ref2.length,\n length = _ref2$length === void 0 ? Agenda.defaultProps.length : _ref2$length;\n\n switch (action) {\n case navigate.PREVIOUS:\n return add(date, -length, 'day');\n\n case navigate.NEXT:\n return add(date, length, 'day');\n\n default:\n return date;\n }\n};\n\nAgenda.title = function (start, _ref3) {\n var _ref3$length = _ref3.length,\n length = _ref3$length === void 0 ? Agenda.defaultProps.length : _ref3$length,\n localizer = _ref3.localizer;\n var end = add(start, length, 'day');\n return localizer.format({\n start: start,\n end: end\n }, 'agendaHeaderFormat');\n};\n\nvar _VIEWS;\nvar VIEWS = (_VIEWS = {}, _VIEWS[views.MONTH] = MonthView, _VIEWS[views.WEEK] = Week, _VIEWS[views.WORK_WEEK] = WorkWeek, _VIEWS[views.DAY] = Day, _VIEWS[views.AGENDA] = Agenda, _VIEWS);\n\nfunction moveDate(View, _ref) {\n var action = _ref.action,\n date = _ref.date,\n today = _ref.today,\n props = _objectWithoutPropertiesLoose(_ref, [\"action\", \"date\", \"today\"]);\n\n View = typeof View === 'string' ? VIEWS[View] : View;\n\n switch (action) {\n case navigate.TODAY:\n date = today || new Date();\n break;\n\n case navigate.DATE:\n break;\n\n default:\n !(View && typeof View.navigate === 'function') ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Calendar View components must implement a static `.navigate(date, action)` method.s') : invariant(false) : void 0;\n date = View.navigate(date, action, props);\n }\n\n return date;\n}\n\nvar Toolbar =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Toolbar, _React$Component);\n\n function Toolbar() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n\n _this.navigate = function (action) {\n _this.props.onNavigate(action);\n };\n\n _this.view = function (view) {\n _this.props.onView(view);\n };\n\n return _this;\n }\n\n var _proto = Toolbar.prototype;\n\n _proto.render = function render() {\n var _this$props = this.props,\n messages = _this$props.localizer.messages,\n label = _this$props.label;\n return React.createElement(\"div\", {\n className: \"rbc-toolbar\"\n }, React.createElement(\"span\", {\n className: \"rbc-btn-group\"\n }, React.createElement(\"button\", {\n type: \"button\",\n onClick: this.navigate.bind(null, navigate.TODAY)\n }, messages.today), React.createElement(\"button\", {\n type: \"button\",\n onClick: this.navigate.bind(null, navigate.PREVIOUS)\n }, messages.previous), React.createElement(\"button\", {\n type: \"button\",\n onClick: this.navigate.bind(null, navigate.NEXT)\n }, messages.next)), React.createElement(\"span\", {\n className: \"rbc-toolbar-label\"\n }, label), React.createElement(\"span\", {\n className: \"rbc-btn-group\"\n }, this.viewNamesGroup(messages)));\n };\n\n _proto.viewNamesGroup = function viewNamesGroup(messages) {\n var _this2 = this;\n\n var viewNames = this.props.views;\n var view = this.props.view;\n\n if (viewNames.length > 1) {\n return viewNames.map(function (name) {\n return React.createElement(\"button\", {\n type: \"button\",\n key: name,\n className: clsx({\n 'rbc-active': view === name\n }),\n onClick: _this2.view.bind(null, name)\n }, messages[name]);\n });\n }\n };\n\n return Toolbar;\n}(React.Component);\n\nToolbar.propTypes = process.env.NODE_ENV !== \"production\" ? {\n view: PropTypes.string.isRequired,\n views: PropTypes.arrayOf(PropTypes.string).isRequired,\n label: PropTypes.node.isRequired,\n localizer: PropTypes.object,\n onNavigate: PropTypes.func.isRequired,\n onView: PropTypes.func.isRequired\n} : {};\n\n/**\n * Retrieve via an accessor-like property\n *\n * accessor(obj, 'name') // => retrieves obj['name']\n * accessor(data, func) // => retrieves func(data)\n * ... otherwise null\n */\nfunction accessor$1(data, field) {\n var value = null;\n if (typeof field === 'function') value = field(data);else if (typeof field === 'string' && typeof data === 'object' && data != null && field in data) value = data[field];\n return value;\n}\nvar wrapAccessor = function wrapAccessor(acc) {\n return function (data) {\n return accessor$1(data, acc);\n };\n};\n\nfunction viewNames$1(_views) {\n return !Array.isArray(_views) ? Object.keys(_views) : _views;\n}\n\nfunction isValidView(view, _ref) {\n var _views = _ref.views;\n var names = viewNames$1(_views);\n return names.indexOf(view) !== -1;\n}\n/**\n * react-big-calendar is a full featured Calendar component for managing events and dates. It uses\n * modern `flexbox` for layout, making it super responsive and performant. Leaving most of the layout heavy lifting\n * to the browser. __note:__ The default styles use `height: 100%` which means your container must set an explicit\n * height (feel free to adjust the styles to suit your specific needs).\n *\n * Big Calendar is unopiniated about editing and moving events, preferring to let you implement it in a way that makes\n * the most sense to your app. It also tries not to be prescriptive about your event data structures, just tell it\n * how to find the start and end datetimes and you can pass it whatever you want.\n *\n * One thing to note is that, `react-big-calendar` treats event start/end dates as an _exclusive_ range.\n * which means that the event spans up to, but not including, the end date. In the case\n * of displaying events on whole days, end dates are rounded _up_ to the next day. So an\n * event ending on `Apr 8th 12:00:00 am` will not appear on the 8th, whereas one ending\n * on `Apr 8th 12:01:00 am` will. If you want _inclusive_ ranges consider providing a\n * function `endAccessor` that returns the end date + 1 day for those events that end at midnight.\n */\n\n\nvar Calendar =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Calendar, _React$Component);\n\n function Calendar() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.getViews = function () {\n var views = _this.props.views;\n\n if (Array.isArray(views)) {\n return transform(views, function (obj, name) {\n return obj[name] = VIEWS[name];\n }, {});\n }\n\n if (typeof views === 'object') {\n return mapValues(views, function (value, key) {\n if (value === true) {\n return VIEWS[key];\n }\n\n return value;\n });\n }\n\n return VIEWS;\n };\n\n _this.getView = function () {\n var views = _this.getViews();\n\n return views[_this.props.view];\n };\n\n _this.getDrilldownView = function (date) {\n var _this$props = _this.props,\n view = _this$props.view,\n drilldownView = _this$props.drilldownView,\n getDrilldownView = _this$props.getDrilldownView;\n if (!getDrilldownView) return drilldownView;\n return getDrilldownView(date, view, Object.keys(_this.getViews()));\n };\n\n _this.handleRangeChange = function (date, viewComponent, view) {\n var _this$props2 = _this.props,\n onRangeChange = _this$props2.onRangeChange,\n localizer = _this$props2.localizer;\n\n if (onRangeChange) {\n if (viewComponent.range) {\n onRangeChange(viewComponent.range(date, {\n localizer: localizer\n }), view);\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.error('onRangeChange prop not supported for this view');\n }\n }\n }\n };\n\n _this.handleNavigate = function (action, newDate) {\n var _this$props3 = _this.props,\n view = _this$props3.view,\n date = _this$props3.date,\n getNow = _this$props3.getNow,\n onNavigate = _this$props3.onNavigate,\n props = _objectWithoutPropertiesLoose(_this$props3, [\"view\", \"date\", \"getNow\", \"onNavigate\"]);\n\n var ViewComponent = _this.getView();\n\n var today = getNow();\n date = moveDate(ViewComponent, _extends({}, props, {\n action: action,\n date: newDate || date || today,\n today: today\n }));\n onNavigate(date, view, action);\n\n _this.handleRangeChange(date, ViewComponent);\n };\n\n _this.handleViewChange = function (view) {\n if (view !== _this.props.view && isValidView(view, _this.props)) {\n _this.props.onView(view);\n }\n\n var views = _this.getViews();\n\n _this.handleRangeChange(_this.props.date || _this.props.getNow(), views[view], view);\n };\n\n _this.handleSelectEvent = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n notify(_this.props.onSelectEvent, args);\n };\n\n _this.handleDoubleClickEvent = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n notify(_this.props.onDoubleClickEvent, args);\n };\n\n _this.handleSelectSlot = function (slotInfo) {\n notify(_this.props.onSelectSlot, slotInfo);\n };\n\n _this.handleDrillDown = function (date, view) {\n var onDrillDown = _this.props.onDrillDown;\n\n if (onDrillDown) {\n onDrillDown(date, view, _this.drilldownView);\n return;\n }\n\n if (view) _this.handleViewChange(view);\n\n _this.handleNavigate(navigate.DATE, date);\n };\n\n _this.state = {\n context: _this.getContext(_this.props)\n };\n return _this;\n }\n\n var _proto = Calendar.prototype;\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({\n context: this.getContext(nextProps)\n });\n };\n\n _proto.getContext = function getContext(_ref2) {\n var startAccessor = _ref2.startAccessor,\n endAccessor = _ref2.endAccessor,\n allDayAccessor = _ref2.allDayAccessor,\n tooltipAccessor = _ref2.tooltipAccessor,\n titleAccessor = _ref2.titleAccessor,\n resourceAccessor = _ref2.resourceAccessor,\n resourceIdAccessor = _ref2.resourceIdAccessor,\n resourceTitleAccessor = _ref2.resourceTitleAccessor,\n eventPropGetter = _ref2.eventPropGetter,\n slotPropGetter = _ref2.slotPropGetter,\n slotGroupPropGetter = _ref2.slotGroupPropGetter,\n dayPropGetter = _ref2.dayPropGetter,\n view = _ref2.view,\n views = _ref2.views,\n localizer = _ref2.localizer,\n culture = _ref2.culture,\n _ref2$messages = _ref2.messages,\n messages$1 = _ref2$messages === void 0 ? {} : _ref2$messages,\n _ref2$components = _ref2.components,\n components = _ref2$components === void 0 ? {} : _ref2$components,\n _ref2$formats = _ref2.formats,\n formats = _ref2$formats === void 0 ? {} : _ref2$formats;\n var names = viewNames$1(views);\n var msgs = messages(messages$1);\n return {\n viewNames: names,\n localizer: mergeWithDefaults(localizer, culture, formats, msgs),\n getters: {\n eventProp: function eventProp() {\n return eventPropGetter && eventPropGetter.apply(void 0, arguments) || {};\n },\n slotProp: function slotProp() {\n return slotPropGetter && slotPropGetter.apply(void 0, arguments) || {};\n },\n slotGroupProp: function slotGroupProp() {\n return slotGroupPropGetter && slotGroupPropGetter.apply(void 0, arguments) || {};\n },\n dayProp: function dayProp() {\n return dayPropGetter && dayPropGetter.apply(void 0, arguments) || {};\n }\n },\n components: defaults(components[view] || {}, omit(components, names), {\n eventWrapper: NoopWrapper,\n eventContainerWrapper: NoopWrapper,\n dateCellWrapper: NoopWrapper,\n weekWrapper: NoopWrapper,\n timeSlotWrapper: NoopWrapper\n }),\n accessors: {\n start: wrapAccessor(startAccessor),\n end: wrapAccessor(endAccessor),\n allDay: wrapAccessor(allDayAccessor),\n tooltip: wrapAccessor(tooltipAccessor),\n title: wrapAccessor(titleAccessor),\n resource: wrapAccessor(resourceAccessor),\n resourceId: wrapAccessor(resourceIdAccessor),\n resourceTitle: wrapAccessor(resourceTitleAccessor)\n }\n };\n };\n\n _proto.render = function render() {\n var _this$props4 = this.props,\n view = _this$props4.view,\n toolbar = _this$props4.toolbar,\n events = _this$props4.events,\n style = _this$props4.style,\n className = _this$props4.className,\n elementProps = _this$props4.elementProps,\n current = _this$props4.date,\n getNow = _this$props4.getNow,\n length = _this$props4.length,\n showMultiDayTimes = _this$props4.showMultiDayTimes,\n onShowMore = _this$props4.onShowMore,\n _0 = _this$props4.components,\n _1 = _this$props4.formats,\n _2 = _this$props4.messages,\n _3 = _this$props4.culture,\n props = _objectWithoutPropertiesLoose(_this$props4, [\"view\", \"toolbar\", \"events\", \"style\", \"className\", \"elementProps\", \"date\", \"getNow\", \"length\", \"showMultiDayTimes\", \"onShowMore\", \"components\", \"formats\", \"messages\", \"culture\"]);\n\n current = current || getNow();\n var View = this.getView();\n var _this$state$context = this.state.context,\n accessors = _this$state$context.accessors,\n components = _this$state$context.components,\n getters = _this$state$context.getters,\n localizer = _this$state$context.localizer,\n viewNames = _this$state$context.viewNames;\n var CalToolbar = components.toolbar || Toolbar;\n var label = View.title(current, {\n localizer: localizer,\n length: length\n });\n return React.createElement(\"div\", _extends({}, elementProps, {\n className: clsx(className, 'rbc-calendar', props.rtl && 'rbc-rtl'),\n style: style\n }), toolbar && React.createElement(CalToolbar, {\n date: current,\n view: view,\n views: viewNames,\n label: label,\n onView: this.handleViewChange,\n onNavigate: this.handleNavigate,\n localizer: localizer\n }), React.createElement(View, _extends({}, props, {\n events: events,\n date: current,\n getNow: getNow,\n length: length,\n localizer: localizer,\n getters: getters,\n components: components,\n accessors: accessors,\n showMultiDayTimes: showMultiDayTimes,\n getDrilldownView: this.getDrilldownView,\n onNavigate: this.handleNavigate,\n onDrillDown: this.handleDrillDown,\n onSelectEvent: this.handleSelectEvent,\n onDoubleClickEvent: this.handleDoubleClickEvent,\n onSelectSlot: this.handleSelectSlot,\n onShowMore: onShowMore\n })));\n }\n /**\n *\n * @param date\n * @param viewComponent\n * @param {'month'|'week'|'work_week'|'day'|'agenda'} [view] - optional\n * parameter. It appears when range change on view changing. It could be handy\n * when you need to have both: range and view type at once, i.e. for manage rbc\n * state via url\n */\n ;\n\n return Calendar;\n}(React.Component);\n\nCalendar.defaultProps = {\n elementProps: {},\n popup: false,\n toolbar: true,\n view: views.MONTH,\n views: [views.MONTH, views.WEEK, views.DAY, views.AGENDA],\n step: 30,\n length: 30,\n drilldownView: views.DAY,\n titleAccessor: 'title',\n tooltipAccessor: 'title',\n allDayAccessor: 'allDay',\n startAccessor: 'start',\n endAccessor: 'end',\n resourceAccessor: 'resourceId',\n resourceIdAccessor: 'id',\n resourceTitleAccessor: 'title',\n longPressThreshold: 250,\n getNow: function getNow() {\n return new Date();\n },\n dayLayoutAlgorithm: 'overlap'\n};\nCalendar.propTypes = process.env.NODE_ENV !== \"production\" ? {\n localizer: PropTypes.object.isRequired,\n\n /**\n * Props passed to main calendar ``.\n *\n */\n elementProps: PropTypes.object,\n\n /**\n * The current date value of the calendar. Determines the visible view range.\n * If `date` is omitted then the result of `getNow` is used; otherwise the\n * current date is used.\n *\n * @controllable onNavigate\n */\n date: PropTypes.instanceOf(Date),\n\n /**\n * The current view of the calendar.\n *\n * @default 'month'\n * @controllable onView\n */\n view: PropTypes.string,\n\n /**\n * The initial view set for the Calendar.\n * @type Calendar.Views ('month'|'week'|'work_week'|'day'|'agenda')\n * @default 'month'\n */\n defaultView: PropTypes.string,\n\n /**\n * An array of event objects to display on the calendar. Events objects\n * can be any shape, as long as the Calendar knows how to retrieve the\n * following details of the event:\n *\n * - start time\n * - end time\n * - title\n * - whether its an \"all day\" event or not\n * - any resource the event may be related to\n *\n * Each of these properties can be customized or generated dynamically by\n * setting the various \"accessor\" props. Without any configuration the default\n * event should look like:\n *\n * ```js\n * Event {\n * title: string,\n * start: Date,\n * end: Date,\n * allDay?: boolean\n * resource?: any,\n * }\n * ```\n */\n events: PropTypes.arrayOf(PropTypes.object),\n\n /**\n * Accessor for the event title, used to display event information. Should\n * resolve to a `renderable` value.\n *\n * ```js\n * string | (event: Object) => string\n * ```\n *\n * @type {(func|string)}\n */\n titleAccessor: accessor,\n\n /**\n * Accessor for the event tooltip. Should\n * resolve to a `renderable` value. Removes the tooltip if null.\n *\n * ```js\n * string | (event: Object) => string\n * ```\n *\n * @type {(func|string)}\n */\n tooltipAccessor: accessor,\n\n /**\n * Determines whether the event should be considered an \"all day\" event and ignore time.\n * Must resolve to a `boolean` value.\n *\n * ```js\n * string | (event: Object) => boolean\n * ```\n *\n * @type {(func|string)}\n */\n allDayAccessor: accessor,\n\n /**\n * The start date/time of the event. Must resolve to a JavaScript `Date` object.\n *\n * ```js\n * string | (event: Object) => Date\n * ```\n *\n * @type {(func|string)}\n */\n startAccessor: accessor,\n\n /**\n * The end date/time of the event. Must resolve to a JavaScript `Date` object.\n *\n * ```js\n * string | (event: Object) => Date\n * ```\n *\n * @type {(func|string)}\n */\n endAccessor: accessor,\n\n /**\n * Returns the id of the `resource` that the event is a member of. This\n * id should match at least one resource in the `resources` array.\n *\n * ```js\n * string | (event: Object) => Date\n * ```\n *\n * @type {(func|string)}\n */\n resourceAccessor: accessor,\n\n /**\n * An array of resource objects that map events to a specific resource.\n * Resource objects, like events, can be any shape or have any properties,\n * but should be uniquly identifiable via the `resourceIdAccessor`, as\n * well as a \"title\" or name as provided by the `resourceTitleAccessor` prop.\n */\n resources: PropTypes.arrayOf(PropTypes.object),\n\n /**\n * Provides a unique identifier for each resource in the `resources` array\n *\n * ```js\n * string | (resource: Object) => any\n * ```\n *\n * @type {(func|string)}\n */\n resourceIdAccessor: accessor,\n\n /**\n * Provides a human readable name for the resource object, used in headers.\n *\n * ```js\n * string | (resource: Object) => any\n * ```\n *\n * @type {(func|string)}\n */\n resourceTitleAccessor: accessor,\n\n /**\n * Determines the current date/time which is highlighted in the views.\n *\n * The value affects which day is shaded and which time is shown as\n * the current time. It also affects the date used by the Today button in\n * the toolbar.\n *\n * Providing a value here can be useful when you are implementing time zones\n * using the `startAccessor` and `endAccessor` properties.\n *\n * @type {func}\n * @default () => new Date()\n */\n getNow: PropTypes.func,\n\n /**\n * Callback fired when the `date` value changes.\n *\n * @controllable date\n */\n onNavigate: PropTypes.func,\n\n /**\n * Callback fired when the `view` value changes.\n *\n * @controllable view\n */\n onView: PropTypes.func,\n\n /**\n * Callback fired when date header, or the truncated events links are clicked\n *\n */\n onDrillDown: PropTypes.func,\n\n /**\n *\n * ```js\n * (dates: Date[] | { start: Date; end: Date }, view?: 'month'|'week'|'work_week'|'day'|'agenda') => void\n * ```\n *\n * Callback fired when the visible date range changes. Returns an Array of dates\n * or an object with start and end dates for BUILTIN views. Optionally new `view`\n * will be returned when callback called after view change.\n *\n * Custom views may return something different.\n */\n onRangeChange: PropTypes.func,\n\n /**\n * A callback fired when a date selection is made. Only fires when `selectable` is `true`.\n *\n * ```js\n * (\n * slotInfo: {\n * start: Date,\n * end: Date,\n * resourceId: (number|string),\n * slots: Array,\n * action: \"select\" | \"click\" | \"doubleClick\",\n * bounds: ?{ // For \"select\" action\n * x: number,\n * y: number,\n * top: number,\n * right: number,\n * left: number,\n * bottom: number,\n * },\n * box: ?{ // For \"click\" or \"doubleClick\" actions\n * clientX: number,\n * clientY: number,\n * x: number,\n * y: number,\n * },\n * }\n * ) => any\n * ```\n */\n onSelectSlot: PropTypes.func,\n\n /**\n * Callback fired when a calendar event is selected.\n *\n * ```js\n * (event: Object, e: SyntheticEvent) => any\n * ```\n *\n * @controllable selected\n */\n onSelectEvent: PropTypes.func,\n\n /**\n * Callback fired when a calendar event is clicked twice.\n *\n * ```js\n * (event: Object, e: SyntheticEvent) => void\n * ```\n */\n onDoubleClickEvent: PropTypes.func,\n\n /**\n * Callback fired when dragging a selection in the Time views.\n *\n * Returning `false` from the handler will prevent a selection.\n *\n * ```js\n * (range: { start: Date, end: Date, resourceId: (number|string) }) => ?boolean\n * ```\n */\n onSelecting: PropTypes.func,\n\n /**\n * Callback fired when a +{count} more is clicked\n *\n * ```js\n * (events: Object, date: Date) => any\n * ```\n */\n onShowMore: PropTypes.func,\n\n /**\n * The selected event, if any.\n */\n selected: PropTypes.object,\n\n /**\n * An array of built-in view names to allow the calendar to display.\n * accepts either an array of builtin view names,\n *\n * ```jsx\n * views={['month', 'day', 'agenda']}\n * ```\n * or an object hash of the view name and the component (or boolean for builtin).\n *\n * ```jsx\n * views={{\n * month: true,\n * week: false,\n * myweek: WorkWeekViewComponent,\n * }}\n * ```\n *\n * Custom views can be any React component, that implements the following\n * interface:\n *\n * ```js\n * interface View {\n * static title(date: Date, { formats: DateFormat[], culture: string?, ...props }): string\n * static navigate(date: Date, action: 'PREV' | 'NEXT' | 'DATE'): Date\n * }\n * ```\n *\n * @type Views ('month'|'week'|'work_week'|'day'|'agenda')\n * @View\n ['month', 'week', 'day', 'agenda']\n */\n views: views$1,\n\n /**\n * The string name of the destination view for drill-down actions, such\n * as clicking a date header, or the truncated events links. If\n * `getDrilldownView` is also specified it will be used instead.\n *\n * Set to `null` to disable drill-down actions.\n *\n * ```js\n * \n * ```\n */\n drilldownView: PropTypes.string,\n\n /**\n * Functionally equivalent to `drilldownView`, but accepts a function\n * that can return a view name. It's useful for customizing the drill-down\n * actions depending on the target date and triggering view.\n *\n * Return `null` to disable drill-down actions.\n *\n * ```js\n * \n * if (currentViewName === 'month' && configuredViewNames.includes('week'))\n * return 'week'\n *\n * return null;\n * }}\n * />\n * ```\n */\n getDrilldownView: PropTypes.func,\n\n /**\n * Determines the end date from date prop in the agenda view\n * date prop + length (in number of days) = end date\n */\n length: PropTypes.number,\n\n /**\n * Determines whether the toolbar is displayed\n */\n toolbar: PropTypes.bool,\n\n /**\n * Show truncated events in an overlay when you click the \"+_x_ more\" link.\n */\n popup: PropTypes.bool,\n\n /**\n * Distance in pixels, from the edges of the viewport, the \"show more\" overlay should be positioned.\n *\n * ```jsx\n * \n * \n * ```\n */\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number\n })]),\n\n /**\n * Allows mouse selection of ranges of dates/times.\n *\n * The 'ignoreEvents' option prevents selection code from running when a\n * drag begins over an event. Useful when you want custom event click or drag\n * logic\n */\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\n\n /**\n * Specifies the number of miliseconds the user must press and hold on the screen for a touch\n * to be considered a \"long press.\" Long presses are used for time slot selection on touch\n * devices.\n *\n * @type {number}\n * @default 250\n */\n longPressThreshold: PropTypes.number,\n\n /**\n * Determines the selectable time increments in week and day views\n */\n step: PropTypes.number,\n\n /**\n * The number of slots per \"section\" in the time grid views. Adjust with `step`\n * to change the default of 1 hour long groups, with 30 minute slots.\n */\n timeslots: PropTypes.number,\n\n /**\n *Switch the calendar to a `right-to-left` read direction.\n */\n rtl: PropTypes.bool,\n\n /**\n * Optionally provide a function that returns an object of className or style props\n * to be applied to the the event node.\n *\n * ```js\n * (\n * \tevent: Object,\n * \tstart: Date,\n * \tend: Date,\n * \tisSelected: boolean\n * ) => { className?: string, style?: Object }\n * ```\n */\n eventPropGetter: PropTypes.func,\n\n /**\n * Optionally provide a function that returns an object of className or style props\n * to be applied to the time-slot node. Caution! Styles that change layout or\n * position may break the calendar in unexpected ways.\n *\n * ```js\n * (date: Date, resourceId: (number|string)) => { className?: string, style?: Object }\n * ```\n */\n slotPropGetter: PropTypes.func,\n\n /**\n * Optionally provide a function that returns an object of props to be applied \n * to the time-slot group node. Useful to dynamically change the sizing of time nodes.\n * ```js\n * () => { style?: Object }\n * ```\n */\n slotGroupPropGetter: PropTypes.func,\n\n /**\n * Optionally provide a function that returns an object of className or style props\n * to be applied to the the day background. Caution! Styles that change layout or\n * position may break the calendar in unexpected ways.\n *\n * ```js\n * (date: Date) => { className?: string, style?: Object }\n * ```\n */\n dayPropGetter: PropTypes.func,\n\n /**\n * Support to show multi-day events with specific start and end times in the\n * main time grid (rather than in the all day header).\n *\n * **Note: This may cause calendars with several events to look very busy in\n * the week and day views.**\n */\n showMultiDayTimes: PropTypes.bool,\n\n /**\n * Constrains the minimum _time_ of the Day and Week views.\n */\n min: PropTypes.instanceOf(Date),\n\n /**\n * Constrains the maximum _time_ of the Day and Week views.\n */\n max: PropTypes.instanceOf(Date),\n\n /**\n * Determines how far down the scroll pane is initially scrolled down.\n */\n scrollToTime: PropTypes.instanceOf(Date),\n\n /**\n * Specify a specific culture code for the Calendar.\n *\n * **Note: it's generally better to handle this globally via your i18n library.**\n */\n culture: PropTypes.string,\n\n /**\n * Localizer specific formats, tell the Calendar how to format and display dates.\n *\n * `format` types are dependent on the configured localizer; both Moment and Globalize\n * accept strings of tokens according to their own specification, such as: `'DD mm yyyy'`.\n *\n * ```jsx\n * let formats = {\n * dateFormat: 'dd',\n *\n * dayFormat: (date, , localizer) =>\n * localizer.format(date, 'DDD', culture),\n *\n * dayRangeHeaderFormat: ({ start, end }, culture, localizer) =>\n * localizer.format(start, { date: 'short' }, culture) + ' – ' +\n * localizer.format(end, { date: 'short' }, culture)\n * }\n *\n * \n * ```\n *\n * All localizers accept a function of\n * the form `(date: Date, culture: ?string, localizer: Localizer) -> string`\n */\n formats: PropTypes.shape({\n /**\n * Format for the day of the month heading in the Month view.\n * e.g. \"01\", \"02\", \"03\", etc\n */\n dateFormat: dateFormat,\n\n /**\n * A day of the week format for Week and Day headings,\n * e.g. \"Wed 01/04\"\n *\n */\n dayFormat: dateFormat,\n\n /**\n * Week day name format for the Month week day headings,\n * e.g: \"Sun\", \"Mon\", \"Tue\", etc\n *\n */\n weekdayFormat: dateFormat,\n\n /**\n * The timestamp cell formats in Week and Time views, e.g. \"4:00 AM\"\n */\n timeGutterFormat: dateFormat,\n\n /**\n * Toolbar header format for the Month view, e.g \"2015 April\"\n *\n */\n monthHeaderFormat: dateFormat,\n\n /**\n * Toolbar header format for the Week views, e.g. \"Mar 29 - Apr 04\"\n */\n dayRangeHeaderFormat: dateRangeFormat,\n\n /**\n * Toolbar header format for the Day view, e.g. \"Wednesday Apr 01\"\n */\n dayHeaderFormat: dateFormat,\n\n /**\n * Toolbar header format for the Agenda view, e.g. \"4/1/2015 – 5/1/2015\"\n */\n agendaHeaderFormat: dateRangeFormat,\n\n /**\n * A time range format for selecting time slots, e.g \"8:00am – 2:00pm\"\n */\n selectRangeFormat: dateRangeFormat,\n agendaDateFormat: dateFormat,\n agendaTimeFormat: dateFormat,\n agendaTimeRangeFormat: dateRangeFormat,\n\n /**\n * Time range displayed on events.\n */\n eventTimeRangeFormat: dateRangeFormat,\n\n /**\n * An optional event time range for events that continue onto another day\n */\n eventTimeRangeStartFormat: dateFormat,\n\n /**\n * An optional event time range for events that continue from another day\n */\n eventTimeRangeEndFormat: dateFormat\n }),\n\n /**\n * Customize how different sections of the calendar render by providing custom Components.\n * In particular the `Event` component can be specified for the entire calendar, or you can\n * provide an individual component for each view type.\n *\n * ```jsx\n * let components = {\n * event: MyEvent, // used by each view (Month, Day, Week)\n * eventWrapper: MyEventWrapper,\n * eventContainerWrapper: MyEventContainerWrapper,\n * dateCellWrapper: MyDateCellWrapper,\n * timeSlotWrapper: MyTimeSlotWrapper,\n * timeGutterHeader: MyTimeGutterWrapper,\n * toolbar: MyToolbar,\n * agenda: {\n * \t event: MyAgendaEvent // with the agenda view use a different component to render events\n * time: MyAgendaTime,\n * date: MyAgendaDate,\n * },\n * day: {\n * header: MyDayHeader,\n * event: MyDayEvent,\n * },\n * week: {\n * header: MyWeekHeader,\n * event: MyWeekEvent,\n * },\n * month: {\n * header: MyMonthHeader,\n * dateHeader: MyMonthDateHeader,\n * event: MyMonthEvent,\n * }\n * }\n * \n * ```\n */\n components: PropTypes.shape({\n event: PropTypes.elementType,\n eventWrapper: PropTypes.elementType,\n eventContainerWrapper: PropTypes.elementType,\n dateCellWrapper: PropTypes.elementType,\n timeSlotWrapper: PropTypes.elementType,\n timeGutterHeader: PropTypes.elementType,\n resourceHeader: PropTypes.elementType,\n toolbar: PropTypes.elementType,\n agenda: PropTypes.shape({\n date: PropTypes.elementType,\n time: PropTypes.elementType,\n event: PropTypes.elementType\n }),\n day: PropTypes.shape({\n header: PropTypes.elementType,\n event: PropTypes.elementType\n }),\n week: PropTypes.shape({\n header: PropTypes.elementType,\n event: PropTypes.elementType\n }),\n month: PropTypes.shape({\n header: PropTypes.elementType,\n dateHeader: PropTypes.elementType,\n event: PropTypes.elementType\n })\n }),\n\n /**\n * String messages used throughout the component, override to provide localizations\n */\n messages: PropTypes.shape({\n allDay: PropTypes.node,\n previous: PropTypes.node,\n next: PropTypes.node,\n today: PropTypes.node,\n month: PropTypes.node,\n week: PropTypes.node,\n day: PropTypes.node,\n agenda: PropTypes.node,\n date: PropTypes.node,\n time: PropTypes.node,\n event: PropTypes.node,\n noEventsInRange: PropTypes.node,\n showMore: PropTypes.func\n }),\n\n /**\n * A day event layout(arrangement) algorithm.\n * `overlap` allows events to be overlapped.\n * `no-overlap` resizes events to avoid overlap.\n * or custom `Function(events, minimumStartDifference, slotMetrics, accessors)`\n */\n dayLayoutAlgorithm: DayLayoutAlgorithmPropType\n} : {};\nvar Calendar$1 = uncontrollable(Calendar, {\n view: 'onView',\n date: 'onNavigate',\n selected: 'onSelectEvent'\n});\n\nvar dateRangeFormat$1 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, 'L', culture) + ' – ' + local.format(end, 'L', culture);\n};\n\nvar timeRangeFormat = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, 'LT', culture) + ' – ' + local.format(end, 'LT', culture);\n};\n\nvar timeRangeStartFormat = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, 'LT', culture) + ' – ';\n};\n\nvar timeRangeEndFormat = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return ' – ' + local.format(end, 'LT', culture);\n};\n\nvar weekRangeFormat = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMMM DD', culture) + ' – ' + local.format(end, eq(start, end, 'month') ? 'DD' : 'MMMM DD', culture);\n};\n\nvar formats = {\n dateFormat: 'DD',\n dayFormat: 'DD ddd',\n weekdayFormat: 'ddd',\n selectRangeFormat: timeRangeFormat,\n eventTimeRangeFormat: timeRangeFormat,\n eventTimeRangeStartFormat: timeRangeStartFormat,\n eventTimeRangeEndFormat: timeRangeEndFormat,\n timeGutterFormat: 'LT',\n monthHeaderFormat: 'MMMM YYYY',\n dayHeaderFormat: 'dddd MMM DD',\n dayRangeHeaderFormat: weekRangeFormat,\n agendaHeaderFormat: dateRangeFormat$1,\n agendaDateFormat: 'ddd MMM DD',\n agendaTimeFormat: 'LT',\n agendaTimeRangeFormat: timeRangeFormat\n};\nfunction moment (moment) {\n var locale = function locale(m, c) {\n return c ? m.locale(c) : m;\n };\n\n return new DateLocalizer({\n formats: formats,\n firstOfWeek: function firstOfWeek(culture) {\n var data = culture ? moment.localeData(culture) : moment.localeData();\n return data ? data.firstDayOfWeek() : 0;\n },\n format: function format(value, _format, culture) {\n return locale(moment(value), culture).format(_format);\n }\n });\n}\n\nvar dateRangeFormat$2 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, 'd', culture) + ' – ' + local.format(end, 'd', culture);\n};\n\nvar timeRangeFormat$1 = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, 't', culture) + ' – ' + local.format(end, 't', culture);\n};\n\nvar timeRangeStartFormat$1 = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, 't', culture) + ' – ';\n};\n\nvar timeRangeEndFormat$1 = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return ' – ' + local.format(end, 't', culture);\n};\n\nvar weekRangeFormat$1 = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMM dd', culture) + ' – ' + local.format(end, eq(start, end, 'month') ? 'dd' : 'MMM dd', culture);\n};\n\nvar formats$1 = {\n dateFormat: 'dd',\n dayFormat: 'ddd dd/MM',\n weekdayFormat: 'ddd',\n selectRangeFormat: timeRangeFormat$1,\n eventTimeRangeFormat: timeRangeFormat$1,\n eventTimeRangeStartFormat: timeRangeStartFormat$1,\n eventTimeRangeEndFormat: timeRangeEndFormat$1,\n timeGutterFormat: 't',\n monthHeaderFormat: 'Y',\n dayHeaderFormat: 'dddd MMM dd',\n dayRangeHeaderFormat: weekRangeFormat$1,\n agendaHeaderFormat: dateRangeFormat$2,\n agendaDateFormat: 'ddd MMM dd',\n agendaTimeFormat: 't',\n agendaTimeRangeFormat: timeRangeFormat$1\n};\nfunction oldGlobalize (globalize) {\n function getCulture(culture) {\n return culture ? globalize.findClosestCulture(culture) : globalize.culture();\n }\n\n function firstOfWeek(culture) {\n culture = getCulture(culture);\n return culture && culture.calendar.firstDay || 0;\n }\n\n return new DateLocalizer({\n firstOfWeek: firstOfWeek,\n formats: formats$1,\n format: function format(value, _format, culture) {\n return globalize.format(value, _format, culture);\n }\n });\n}\n\nvar dateRangeFormat$3 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, {\n date: 'short'\n }, culture) + ' – ' + local.format(end, {\n date: 'short'\n }, culture);\n};\n\nvar timeRangeFormat$2 = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, {\n time: 'short'\n }, culture) + ' – ' + local.format(end, {\n time: 'short'\n }, culture);\n};\n\nvar timeRangeStartFormat$2 = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, {\n time: 'short'\n }, culture) + ' – ';\n};\n\nvar timeRangeEndFormat$2 = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return ' – ' + local.format(end, {\n time: 'short'\n }, culture);\n};\n\nvar weekRangeFormat$2 = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMM dd', culture) + ' – ' + local.format(end, eq(start, end, 'month') ? 'dd' : 'MMM dd', culture);\n};\n\nvar formats$2 = {\n dateFormat: 'dd',\n dayFormat: 'eee dd/MM',\n weekdayFormat: 'eee',\n selectRangeFormat: timeRangeFormat$2,\n eventTimeRangeFormat: timeRangeFormat$2,\n eventTimeRangeStartFormat: timeRangeStartFormat$2,\n eventTimeRangeEndFormat: timeRangeEndFormat$2,\n timeGutterFormat: {\n time: 'short'\n },\n monthHeaderFormat: 'MMMM yyyy',\n dayHeaderFormat: 'eeee MMM dd',\n dayRangeHeaderFormat: weekRangeFormat$2,\n agendaHeaderFormat: dateRangeFormat$3,\n agendaDateFormat: 'eee MMM dd',\n agendaTimeFormat: {\n time: 'short'\n },\n agendaTimeRangeFormat: timeRangeFormat$2\n};\nfunction globalize (globalize) {\n var locale = function locale(culture) {\n return culture ? globalize(culture) : globalize;\n }; // return the first day of the week from the locale data. Defaults to 'world'\n // territory if no territory is derivable from CLDR.\n // Failing to use CLDR supplemental (not loaded?), revert to the original\n // method of getting first day of week.\n\n\n function firstOfWeek(culture) {\n try {\n var days = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];\n var cldr = locale(culture).cldr;\n var territory = cldr.attributes.territory;\n var weekData = cldr.get('supplemental').weekData;\n var firstDay = weekData.firstDay[territory || '001'];\n return days.indexOf(firstDay);\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Failed to accurately determine first day of the week.' + ' Is supplemental data loaded into CLDR?');\n } // maybe cldr supplemental is not loaded? revert to original method\n\n\n var date = new Date(); //cldr-data doesn't seem to be zero based\n\n var localeDay = Math.max(parseInt(locale(culture).formatDate(date, {\n raw: 'e'\n }), 10) - 1, 0);\n return Math.abs(date.getDay() - localeDay);\n }\n }\n\n if (!globalize.load) return oldGlobalize(globalize);\n return new DateLocalizer({\n firstOfWeek: firstOfWeek,\n formats: formats$2,\n format: function format(value, _format, culture) {\n _format = typeof _format === 'string' ? {\n raw: _format\n } : _format;\n return locale(culture).formatDate(value, _format);\n }\n });\n}\n\nvar dateRangeFormat$4 = function dateRangeFormat(_ref, culture, local) {\n var start = _ref.start,\n end = _ref.end;\n return local.format(start, 'P', culture) + \" \\u2013 \" + local.format(end, 'P', culture);\n};\n\nvar timeRangeFormat$3 = function timeRangeFormat(_ref2, culture, local) {\n var start = _ref2.start,\n end = _ref2.end;\n return local.format(start, 'p', culture) + \" \\u2013 \" + local.format(end, 'p', culture);\n};\n\nvar timeRangeStartFormat$3 = function timeRangeStartFormat(_ref3, culture, local) {\n var start = _ref3.start;\n return local.format(start, 'h:mma', culture) + \" \\u2013 \";\n};\n\nvar timeRangeEndFormat$3 = function timeRangeEndFormat(_ref4, culture, local) {\n var end = _ref4.end;\n return \" \\u2013 \" + local.format(end, 'h:mma', culture);\n};\n\nvar weekRangeFormat$3 = function weekRangeFormat(_ref5, culture, local) {\n var start = _ref5.start,\n end = _ref5.end;\n return local.format(start, 'MMMM dd', culture) + \" \\u2013 \" + local.format(end, eq(start, end, 'month') ? 'dd' : 'MMMM dd', culture);\n};\n\nvar formats$3 = {\n dateFormat: 'dd',\n dayFormat: 'dd ddd',\n weekdayFormat: 'cccc',\n selectRangeFormat: timeRangeFormat$3,\n eventTimeRangeFormat: timeRangeFormat$3,\n eventTimeRangeStartFormat: timeRangeStartFormat$3,\n eventTimeRangeEndFormat: timeRangeEndFormat$3,\n timeGutterFormat: 'p',\n monthHeaderFormat: 'MMMM yyyy',\n dayHeaderFormat: 'dddd MMM dd',\n dayRangeHeaderFormat: weekRangeFormat$3,\n agendaHeaderFormat: dateRangeFormat$4,\n agendaDateFormat: 'ddd MMM dd',\n agendaTimeFormat: 'p',\n agendaTimeRangeFormat: timeRangeFormat$3\n};\n\nvar dateFnsLocalizer = function dateFnsLocalizer(_ref6) {\n var startOfWeek = _ref6.startOfWeek,\n getDay = _ref6.getDay,\n _format = _ref6.format,\n locales = _ref6.locales;\n return new DateLocalizer({\n formats: formats$3,\n firstOfWeek: function firstOfWeek(culture) {\n return getDay(startOfWeek(new Date(), {\n locale: locales[culture]\n }));\n },\n format: function format(value, formatString, culture) {\n return _format(new Date(value), formatString, {\n locale: locales[culture]\n });\n }\n });\n};\n\nvar components = {\n eventWrapper: NoopWrapper,\n timeSlotWrapper: NoopWrapper,\n dateCellWrapper: NoopWrapper\n};\n\nexport { Calendar$1 as Calendar, DateLocalizer, navigate as Navigate, views as Views, components, dateFnsLocalizer, globalize as globalizeLocalizer, moment as momentLocalizer, moveDate as move };\n","import matches from './matches';\n/**\n * Returns the closest parent element that matches a given selector.\n * \n * @param node the reference element\n * @param selector the selector to match\n * @param stopAt stop traversing when this element is found\n */\n\nexport default function closest(node, selector, stopAt) {\n if (node.closest && !stopAt) node.closest(selector);\n var nextNode = node;\n\n do {\n if (matches(nextNode, selector)) return nextNode;\n nextNode = nextNode.parentElement;\n } while (nextNode && nextNode !== stopAt && nextNode.nodeType === document.ELEMENT_NODE);\n\n return null;\n}","import hasClass from './hasClass';\n/**\n * Adds a CSS class to a given element.\n * \n * @param element the element\n * @param className the CSS class name\n */\n\nexport default function addClass(element, className) {\n if (element.classList) element.classList.add(className);else if (!hasClass(element, className)) if (typeof element.className === 'string') element.className = element.className + \" \" + className;else element.setAttribute('class', (element.className && element.className.baseVal || '') + \" \" + className);\n}","/**\n * Checks if a given element has a CSS class.\n * \n * @param element the element\n * @param className the CSS class name\n */\nexport default function hasClass(element, className) {\n if (element.classList) return !!className && element.classList.contains(className);\n return (\" \" + (element.className.baseVal || element.className) + \" \").indexOf(\" \" + className + \" \") !== -1;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nvar _jsxFileName = \"/Users/jquense/src/uncontrollable/src/uncontrollable.js\";\nimport React from 'react';\nimport { polyfill } from 'react-lifecycles-compat';\nimport invariant from 'invariant';\nimport * as Utils from './utils';\nexport default function uncontrollable(Component, controlledValues, methods) {\n if (methods === void 0) {\n methods = [];\n }\n\n var displayName = Component.displayName || Component.name || 'Component';\n var canAcceptRef = Utils.canAcceptRef(Component);\n var controlledProps = Object.keys(controlledValues);\n var PROPS_TO_OMIT = controlledProps.map(Utils.defaultKey);\n !(canAcceptRef || !methods.length) ? process.env.NODE_ENV !== \"production\" ? invariant(false, '[uncontrollable] stateless function components cannot pass through methods ' + 'because they have no associated instances. Check component: ' + displayName + ', ' + 'attempting to pass through methods: ' + methods.join(', ')) : invariant(false) : void 0;\n\n var UncontrolledComponent =\n /*#__PURE__*/\n function (_React$Component) {\n _inheritsLoose(UncontrolledComponent, _React$Component);\n\n function UncontrolledComponent() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.handlers = Object.create(null);\n controlledProps.forEach(function (propName) {\n var handlerName = controlledValues[propName];\n\n var handleChange = function handleChange(value) {\n if (_this.props[handlerName]) {\n var _this$props;\n\n _this._notifying = true;\n\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n (_this$props = _this.props)[handlerName].apply(_this$props, [value].concat(args));\n\n _this._notifying = false;\n }\n\n if (!_this.unmounted) _this.setState(function (_ref) {\n var _extends2;\n\n var values = _ref.values;\n return {\n values: _extends(Object.create(null), values, (_extends2 = {}, _extends2[propName] = value, _extends2))\n };\n });\n };\n\n _this.handlers[handlerName] = handleChange;\n });\n if (methods.length) _this.attachRef = function (ref) {\n _this.inner = ref;\n };\n var values = Object.create(null);\n controlledProps.forEach(function (key) {\n values[key] = _this.props[Utils.defaultKey(key)];\n });\n _this.state = {\n values: values,\n prevProps: {}\n };\n return _this;\n }\n\n var _proto = UncontrolledComponent.prototype;\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate() {\n //let setState trigger the update\n return !this._notifying;\n };\n\n UncontrolledComponent.getDerivedStateFromProps = function getDerivedStateFromProps(props, _ref2) {\n var values = _ref2.values,\n prevProps = _ref2.prevProps;\n var nextState = {\n values: _extends(Object.create(null), values),\n prevProps: {}\n };\n controlledProps.forEach(function (key) {\n /**\n * If a prop switches from controlled to Uncontrolled\n * reset its value to the defaultValue\n */\n nextState.prevProps[key] = props[key];\n\n if (!Utils.isProp(props, key) && Utils.isProp(prevProps, key)) {\n nextState.values[key] = props[Utils.defaultKey(key)];\n }\n });\n return nextState;\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.unmounted = true;\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props2 = this.props,\n innerRef = _this$props2.innerRef,\n props = _objectWithoutPropertiesLoose(_this$props2, [\"innerRef\"]);\n\n PROPS_TO_OMIT.forEach(function (prop) {\n delete props[prop];\n });\n var newProps = {};\n controlledProps.forEach(function (propName) {\n var propValue = _this2.props[propName];\n newProps[propName] = propValue !== undefined ? propValue : _this2.state.values[propName];\n });\n return React.createElement(Component, _extends({}, props, newProps, this.handlers, {\n ref: innerRef || this.attachRef\n }));\n };\n\n return UncontrolledComponent;\n }(React.Component);\n\n polyfill(UncontrolledComponent);\n UncontrolledComponent.displayName = \"Uncontrolled(\" + displayName + \")\";\n UncontrolledComponent.propTypes = _extends({\n innerRef: function innerRef() {}\n }, Utils.uncontrolledPropTypes(controlledValues, displayName));\n methods.forEach(function (method) {\n UncontrolledComponent.prototype[method] = function $proxiedMethod() {\n var _this$inner;\n\n return (_this$inner = this.inner)[method].apply(_this$inner, arguments);\n };\n });\n var WrappedComponent = UncontrolledComponent;\n\n if (React.forwardRef) {\n WrappedComponent = React.forwardRef(function (props, ref) {\n return React.createElement(UncontrolledComponent, _extends({}, props, {\n innerRef: ref,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 128\n },\n __self: this\n }));\n });\n WrappedComponent.propTypes = UncontrolledComponent.propTypes;\n }\n\n WrappedComponent.ControlledComponent = Component;\n /**\n * useful when wrapping a Component and you want to control\n * everything\n */\n\n WrappedComponent.deferControlTo = function (newComponent, additions, nextMethods) {\n if (additions === void 0) {\n additions = {};\n }\n\n return uncontrollable(newComponent, _extends({}, controlledValues, additions), nextMethods);\n };\n\n return WrappedComponent;\n}","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\n// Default imports\r\nimport React, { useContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\n// Internal components and functions\r\nimport Button from '../Button';\r\nimport DatePicker from '../DatePicker';\r\nimport Divider from '../Divider';\r\nimport Dropdown from '../Dropdown';\r\nimport DropdownItem from '../Dropdown/DropdownItem';\r\nimport FormControl from '../FormControl';\r\nimport Grid from '../Grid';\r\nimport IconButton from '../IconButton';\r\nimport Tooltip from '../Tooltip';\r\nimport Typography from '../Typography';\r\nimport { CalendarContext } from './Calendar';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport withStyles from '../styles';\r\nimport { sizingSmall, widthFluid } from '../styles/tokens';\r\n\r\n// DS Icons imports\r\nimport Calendar from '@ellucian/ds-icons/lib/Calendar';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\n\r\n// Utilities\r\nimport Popper from '@material-ui/core/Popper';\r\nimport moment from 'moment';\r\nimport classNames from 'classnames';\r\n\r\n// create constants for navigation used in react-big-calendar\r\nexport var navigate = {\r\n PREVIOUS: 'PREV',\r\n NEXT: 'NEXT',\r\n TODAY: 'TODAY',\r\n DATE: 'DATE'\r\n};\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n alignLabel: {\r\n alignSelf: 'center'\r\n },\r\n iconRoot: {\r\n height: sizingSmall,\r\n width: sizingSmall\r\n },\r\n iconButtonMargin: {\r\n margin: '0 0.125rem'\r\n },\r\n toolbar: {\r\n minWidth: '6.25rem'\r\n },\r\n datePickerPosition: {\r\n display: 'flex'\r\n },\r\n gridMarginOverride: {\r\n margin: 0,\r\n width: widthFluid\r\n },\r\n popperIndex: {\r\n zIndex: 5\r\n },\r\n todayButton: {\r\n flex: 1\r\n }\r\n };\r\n};\r\n\r\nvar CalendarToolbar = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n localizer = props.localizer,\r\n label = props.label,\r\n edsContext = props.edsContext,\r\n onNavigate = props.onNavigate,\r\n onView = props.onView,\r\n views = props.views;\r\n\r\n // Initialize states using useState hook\r\n\r\n var _useState = useState(null),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n anchorEl = _useState2[0],\r\n setAnchorEl = _useState2[1];\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n focused = _useState4[0],\r\n setFocused = _useState4[1];\r\n\r\n var _useState5 = useState(false),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n open = _useState6[0],\r\n setOpen = _useState6[1];\r\n\r\n var messages = localizer.messages;\r\n\r\n var _useContext = useContext(CalendarContext),\r\n date = _useContext.date,\r\n setDate = _useContext.setDate,\r\n showViewNames = _useContext.showViewNames,\r\n selectedView = _useContext.selectedView,\r\n setSelectedView = _useContext.setSelectedView,\r\n width = _useContext.width;\r\n\r\n var handleClick = function handleClick(event) {\r\n var currentTarget = event.currentTarget;\r\n\r\n setAnchorEl(currentTarget);\r\n setOpen(true);\r\n };\r\n\r\n var handleClickAway = function handleClickAway() {\r\n setOpen(false);\r\n };\r\n\r\n var handleDateChange = function handleDateChange(selectedDate) {\r\n setOpen(false);\r\n setDate(selectedDate.toDate());\r\n };\r\n\r\n var handleFocusChange = function handleFocusChange() {\r\n setFocused(true);\r\n };\r\n\r\n var handleNavigation = function handleNavigation(action) {\r\n onNavigate(action);\r\n };\r\n\r\n var handleViewChange = function handleViewChange(event) {\r\n var value = event.target.value;\r\n\r\n onView(value);\r\n setSelectedView(value);\r\n };\r\n\r\n var sentenceCase = function sentenceCase(message) {\r\n return message.toLowerCase().split(' ').map(function (word, index) {\r\n return word.replace(word[0], index > 0 ? word[0].toLowerCase() : word[0].toUpperCase());\r\n }).join(' ');\r\n };\r\n\r\n var dropdownControl = views.length >= 1 && React.createElement(\r\n Grid,\r\n { className: 'rbc-btn-group', item: true },\r\n React.createElement(\r\n FormControl,\r\n { className: classes.toolbar },\r\n React.createElement(\r\n Dropdown,\r\n {\r\n label: '',\r\n onChange: handleViewChange,\r\n value: selectedView,\r\n size: 'small'\r\n },\r\n views.map(function (name) {\r\n return React.createElement(DropdownItem, {\r\n key: name,\r\n label: sentenceCase(messages[name]),\r\n value: name\r\n });\r\n })\r\n )\r\n )\r\n );\r\n\r\n var datePickerControl = React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n direction: 'row',\r\n justify: 'flex-end',\r\n spacing: 0\r\n },\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.CalendarToolBar.openDatePicker'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n 'aria-label': edsContext.formatMessage('component.CalendarToolBar.openDatePicker'),\r\n color: 'gray',\r\n onClick: handleClick,\r\n 'aria-haspopup': 'true'\r\n },\r\n React.createElement(Calendar, null)\r\n )\r\n ),\r\n React.createElement(\r\n Popper,\r\n {\r\n anchorEl: anchorEl,\r\n className: classes.popperIndex,\r\n disablePortal: true,\r\n open: open,\r\n placement: 'bottom-end'\r\n },\r\n React.createElement(DatePicker, {\r\n date: moment(date),\r\n focused: focused,\r\n id: 'CalendarToolbar__StandaloneDatePicker',\r\n onDateChange: handleDateChange,\r\n onFocusChange: handleFocusChange,\r\n onOutsideClick: handleClickAway,\r\n variant: 'standalone'\r\n })\r\n )\r\n )\r\n )\r\n );\r\n\r\n var labelNavigation = React.createElement(\r\n Grid,\r\n { dir: edsContext.dir, item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n direction: 'row',\r\n justify: 'flex-start',\r\n spacing: 0,\r\n wrap: 'nowrap'\r\n },\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Calendar.previous'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n className: classes.iconButtonMargin,\r\n onClick: function onClick() {\r\n return handleNavigation(navigate.PREVIOUS);\r\n },\r\n 'aria-label': edsContext.formatMessage('component.Calendar.previous')\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronRight, { className: classes.iconRoot }) : React.createElement(ChevronLeft, { className: classes.iconRoot })\r\n )\r\n )\r\n ),\r\n React.createElement(\r\n Grid,\r\n { className: classes.alignLabel, item: true },\r\n React.createElement(\r\n Typography,\r\n { variant: 'body1', component: 'div', className: 'hedtech-calendar-date-title' },\r\n label\r\n )\r\n ),\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Tooltip,\r\n { title: edsContext.formatMessage('component.Calendar.next'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n color: 'gray',\r\n className: classes.iconButtonMargin,\r\n onClick: function onClick() {\r\n return handleNavigation(navigate.NEXT);\r\n },\r\n 'aria-label': edsContext.formatMessage('component.Calendar.next')\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronLeft, { className: classes.iconRoot }) : React.createElement(ChevronRight, { className: classes.iconRoot })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\n var todayButton = React.createElement(\r\n Grid,\r\n {\r\n className: classNames(classes.alignLabel, classes.todayButton),\r\n item: true\r\n },\r\n React.createElement(\r\n Button,\r\n {\r\n onClick: function onClick() {\r\n return handleNavigation(navigate.TODAY);\r\n },\r\n variant: 'text'\r\n },\r\n messages.today\r\n )\r\n );\r\n\r\n return React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n className: 'calendar-toolbar',\r\n container: true,\r\n direction: 'column',\r\n spacing: 0,\r\n wrap: 'nowrap',\r\n ref: ref\r\n },\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n dir: edsContext.dir,\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n direction: 'row',\r\n justify: showViewNames ? 'space-between' : 'flex-end',\r\n spacing: 2\r\n },\r\n todayButton,\r\n showViewNames && width !== 'xs' && dropdownControl,\r\n datePickerControl\r\n )\r\n ),\r\n width === 'xs' && React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n justify: 'center',\r\n spacing: 2\r\n },\r\n showViewNames && width === 'xs' && dropdownControl\r\n )\r\n ),\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(Divider, {\r\n className: classes.divider,\r\n style: { margin: '0 1rem' },\r\n variant: 'middle'\r\n })\r\n ),\r\n React.createElement(\r\n Grid,\r\n { item: true },\r\n React.createElement(\r\n Grid,\r\n {\r\n classes: {\r\n 'spacing-xs-2': classes.gridMarginOverride,\r\n 'spacing-xs-3': classes.gridMarginOverride\r\n },\r\n container: true,\r\n justify: 'center',\r\n spacing: 2\r\n },\r\n labelNavigation\r\n )\r\n )\r\n );\r\n});\r\n\r\nCalendarToolbar.propTypes = {\r\n /**\r\n * JSS classes object.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The active view to display.\r\n */\r\n view: PropTypes.string.isRequired,\r\n /**\r\n * An array of views that is sent by react-big-calendar.\r\n */\r\n views: PropTypes.arrayOf(PropTypes.string).isRequired,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Callback function for updating the current Date based on the selection\r\n * from DatePicker\r\n */\r\n onDateChange: PropTypes.func,\r\n /**\r\n * The node to render the date range label.\r\n */\r\n label: PropTypes.node.isRequired,\r\n /**\r\n * Internal localizer function used by react-big-calendar.\r\n */\r\n localizer: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n onNavigate: PropTypes.func.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n onView: PropTypes.func.isRequired\r\n};\r\n\r\nCalendarToolbar.displayName = 'CalendarToolbar';\r\n\r\nexport default withEDSContext(withStyles(styles)(CalendarToolbar));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport withStyles from '../styles';\r\nimport withTheme from '@material-ui/core/styles/withTheme';\r\nimport { borderWidthThickest } from '../styles/tokens';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nvar EventWrapper = React.forwardRef(function (props, ref) {\r\n var event = props.event,\r\n theme = props.theme,\r\n children = props.children;\r\n // Check if a 'color' property is attched to the event,\r\n // if there is, and the color it non-empty then set the color to the value\r\n // else set to the current theme ctaColor base shade.\r\n\r\n var eventColor = event.hasOwnProperty('color') ? event.color.length > 0 && event.color : theme.palette.tertiary.fountain[600];\r\n\r\n var styles = {\r\n root: {\r\n '& > .rbc-event': {\r\n borderLeft: borderWidthThickest + ' solid ' + eventColor\r\n }\r\n }\r\n };\r\n\r\n /* eslint-disable */\r\n var div = function div(_ref) {\r\n var classes = _ref.classes,\r\n children = _ref.children,\r\n edsContext = _ref.edsContext;\r\n return React.createElement(\r\n 'div',\r\n { dir: edsContext.dir, className: classes.root },\r\n children\r\n );\r\n };\r\n /* eslint-enable */\r\n\r\n var StyledEventWrapper = withEDSContext(withStyles(styles)(div));\r\n\r\n return React.createElement(\r\n StyledEventWrapper,\r\n { ref: ref },\r\n children\r\n );\r\n});\r\n\r\nEventWrapper.propTypes = {\r\n /**\r\n * Event data sent to the WeekViewSchedule.\r\n */\r\n event: PropTypes.object.isRequired,\r\n /**\r\n * @ignore\r\n * Material-UI provided theme.\r\n */\r\n theme: PropTypes.object,\r\n /**\r\n * @ignore\r\n * The children to render from react-big-calendar.\r\n */\r\n children: PropTypes.any\r\n};\r\n\r\nEventWrapper.displayName = 'EventWrapper';\r\n\r\nexport default withTheme(EventWrapper);","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; }\r\n\r\nimport { sizingXSmall, sizingXxSmall, sizingLarge, sizingXxLarge, spacing20, spacing30, spacing40, spacing80, fontSizeSmall, fontSizeLarge, fontFamilyDefault, borderRadiusXSmall, borderRadiusSmall, borderRadiusMedium, borderRadiusCircle, borderWidthThin, borderWidthThick, colorTextAlertError } from '../../styles/tokens';\r\n//import scrollbarSize from 'dom-helpers/scrollbarSize';\r\n\r\nvar ReactBigCalendarStyles = function ReactBigCalendarStyles(theme) {\r\n var _global;\r\n\r\n return {\r\n '@global': (_global = {\r\n '.rbc-container': {\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '\\n 0px 0.188rem 0.313rem -0.063rem rgba(0, 0, 0, 0.2),\\n 0px 0.313rem ' + spacing30 + ' 0px rgba(0, 0, 0, 0.14),\\n 0px 0.063rem 0.875rem 0.063rem rgba(0, 0, 0, 0.12)\\n '\r\n },\r\n '.rbc-btn': {\r\n color: 'inherit',\r\n font: 'inherit',\r\n margin: 0\r\n },\r\n 'button.rbc-btn': {\r\n overflow: 'visible',\r\n textTransform: 'none',\r\n WebkitAppearance: 'button',\r\n cursor: 'pointer'\r\n },\r\n 'button[disabled].rbc-btn': {\r\n backgroundColor: theme.palette.grey[400],\r\n cursor: 'not-allowed'\r\n },\r\n 'button.rbc-input::-moz-focus-inner': {\r\n border: 0,\r\n padding: 0\r\n },\r\n '.rbc-calendar': {\r\n boxSizing: 'border-box',\r\n height: '100%',\r\n display: 'flex',\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n WebkitAlignItems: 'stretch',\r\n MsFlexAlign: 'stretch',\r\n alignItems: 'stretch',\r\n fontFamily: fontFamilyDefault\r\n }\r\n }, _defineProperty(_global, '.rbc-calendar *,\\n .rbc-calendar *:before,\\n .rbc-calendar *:after', {\r\n boxSizing: 'inherit'\r\n }), _defineProperty(_global, '.rbc-abs-full,\\n .rbc-row-bg', {\r\n overflow: 'hidden',\r\n position: 'absolute',\r\n top: 0,\r\n left: 0,\r\n right: 0,\r\n bottom: 0\r\n }), _defineProperty(_global, '.rbc-ellipsis,\\n .rbc-event-label,\\n .rbc-row-segment .rbc-event-content,\\n .rbc-show-more', {\r\n display: 'block',\r\n overflow: 'hidden',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap'\r\n }), _defineProperty(_global, '.rbc-off-range', {\r\n color: '#999999'\r\n }), _defineProperty(_global, '.rbc-off-range-bg', {\r\n background: '#e5e5e5'\r\n }), _defineProperty(_global, '.rbc-header', {\r\n overflow: 'hidden',\r\n WebkitFlex: '1 0 0%',\r\n MsFlex: '1 0 0%',\r\n flex: '1 0 0%',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap',\r\n padding: '0 ' + spacing20,\r\n textAlign: 'center',\r\n verticalAlign: 'middle',\r\n fontWeight: 'bold',\r\n fontSize: fontSizeSmall,\r\n minHeight: 0,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-header + .rbc-header', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-header > a,\\n .rbc-header > a:active,\\n .rbc-header > a:visited', {\r\n color: theme.palette.grey[500],\r\n textDecoration: 'none'\r\n }), _defineProperty(_global, '.rbc-row-content', {\r\n position: 'relative',\r\n MozUserSelect: 'none',\r\n MsUserSelect: 'none',\r\n userSelect: 'none',\r\n WebkitUserSelect: 'none',\r\n zIndex: 4\r\n }), _defineProperty(_global, '.rbc-highlight-today .rbc-today', {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }), _defineProperty(_global, '.rbc-toolbar', {\r\n display: 'flex',\r\n WebkitFlexWrap: 'wrap',\r\n MsFlexWrap: 'wrap',\r\n flexWrap: 'wrap',\r\n WebkitJustifyContent: 'flex-end',\r\n MsFlexPack: 'center',\r\n justifyContent: 'flex-end',\r\n WebkitAlignItems: 'center',\r\n MsFlexAlign: 'center',\r\n alignItems: 'center',\r\n fontSize: fontSizeLarge,\r\n marginRight: spacing30\r\n }), _defineProperty(_global, '.rbc-btn-group', {\r\n display: 'inline-block',\r\n whiteSpace: 'nowrap'\r\n }), _defineProperty(_global, '.rbc-btn-group > button:first-child:not(:last-child)', {\r\n borderTopRightRadius: 0,\r\n borderBottomRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-btn-group > button:last-child:not(:first-child)', {\r\n borderTopLeftRadius: 0,\r\n borderBottomLeftRadius: 0\r\n }), _defineProperty(_global, '.rbc-btn-group > button:not(:first-child):not(:last-child)', {\r\n borderRadius: 0\r\n }), _defineProperty(_global, '.rbc-btn-group button + button', {\r\n marginLeft: '-0.063rem'\r\n }), _defineProperty(_global, '.rbc-btn-group+.rbc-btn-group,\\n .rbc-btn-group+button', {\r\n marginLeft: '0.625rem'\r\n }), _defineProperty(_global, '.rbc-event', {\r\n border: 'none',\r\n boxShadow: '0 0.125rem ' + sizingXxSmall + ' 0.063rem rgba(0, 0, 0, 0.3)',\r\n margin: 0,\r\n padding: '0.125rem ' + spacing20,\r\n backgroundColor: theme.palette.common.white,\r\n borderLeft: borderRadiusSmall + ' solid ' + theme.palette.tertiary.fountain[600],\r\n borderRadius: borderRadiusXSmall,\r\n color: '#151618',\r\n cursor: 'pointer',\r\n width: '100%',\r\n textAlign: 'left',\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeSmall\r\n }), _defineProperty(_global, '.rbc-slot-selecting .rbc-event', {\r\n cursor: 'inherit',\r\n pointerEvents: 'none'\r\n }), _defineProperty(_global, '.rbc-event.rbc-selected', {\r\n backgroundColor: theme.palette.common.white\r\n }), _defineProperty(_global, '.rbc-event:focus', {\r\n outline: sizingXxSmall + ' auto ' + theme.palette.tertiary.fountain[600]\r\n }), _defineProperty(_global, '.rbc-event-label', {\r\n fontSize: fontSizeSmall\r\n }), _defineProperty(_global, '.rbc-event-overlaps', {\r\n boxShadow: '-0.063rem 0.063rem ' + sizingXxSmall + ' 0px rgba(51, 51, 51, 0.5)'\r\n }), _defineProperty(_global, '.rbc-event-continues-prior', {\r\n borderTopLeftRadius: 0,\r\n borderBottomLeftRadius: 0\r\n }), _defineProperty(_global, '.rbc-event-continues-after', {\r\n borderTopRightRadius: 0,\r\n borderBottomRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-event-continues-earlier', {\r\n borderTopLeftRadius: 0,\r\n borderTopRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-event-continues-later', {\r\n borderBottomLeftRadius: 0,\r\n borderBottomRightRadius: 0\r\n }), _defineProperty(_global, '.rbc-row', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'row',\r\n MsFlexDirection: 'row',\r\n flexDirection: 'row'\r\n }), _defineProperty(_global, '.rbc-row-segment', {\r\n padding: '0 0.063rem 0.063rem 0.063rem'\r\n }), _defineProperty(_global, '.rbc-date-cell.rbc-now', {\r\n fontWeight: 'bold'\r\n }), _defineProperty(_global, '.rbc-date-cell>a,\\n .rbc - date - cell > a: active,\\n .rbc - date - cell > a: visited', {\r\n color: 'inherit',\r\n textDecoration: 'none'\r\n }), _defineProperty(_global, '.rbc-row-bg', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'row',\r\n MsFlexDirection: 'row',\r\n flexDirection: 'row',\r\n WebkitFlex: '1 0 0',\r\n MsFlex: '1 0 0px',\r\n flex: '1 0 0',\r\n overflow: 'hidden'\r\n }), _defineProperty(_global, '.rbc-day-bg', {\r\n WebkitFlex: '1 0 0%',\r\n MsFlex: '1 0 0%',\r\n flex: '1 0 0%'\r\n }), _defineProperty(_global, '.rbc-day-bg + .rbc-day-bg', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-column', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n minHeight: '100%'\r\n }), _defineProperty(_global, '.rbc-time-column .rbc-timeslot-group', {\r\n WebkitFlex: '1',\r\n MsFlex: '1',\r\n flex: '1'\r\n }), _defineProperty(_global, '.rbc-time-column .rbc-timeslot-group:nth-child(odd)', {\r\n backgroundColor: theme.palette.grey[200]\r\n }), _defineProperty(_global, '.rbc-time-column .rbc-timeslot-group:nth-child(odd).rbc-today', {\r\n backgroundColor: theme.palette.grey[200]\r\n }), _defineProperty(_global, '.rbc-timeslot-group', {\r\n minHeight: sizingLarge,\r\n display: 'flex',\r\n WebkitFlexFlow: 'column nowrap',\r\n MsFlexFlow: 'column nowrap',\r\n flexFlow: 'column nowrap'\r\n }), _defineProperty(_global, '.rbc-time-gutter,\\n .rbc-header-gutter', {\r\n WebkitFlex: 'none',\r\n MsFlex: 'none',\r\n flex: 'none'\r\n }), _defineProperty(_global, '.rbc-label', {\r\n padding: '0 0.313rem',\r\n fontSize: fontSizeSmall,\r\n color: theme.palette.grey[500]\r\n }), _defineProperty(_global, '.rbc-day-slot', {\r\n position: 'relative'\r\n }), _defineProperty(_global, '.rbc-day-slot .rbc-events-container', {\r\n bottom: 0,\r\n left: 0,\r\n position: 'absolute',\r\n right: 0,\r\n marginRight: '0.625rem',\r\n top: 0\r\n }), _defineProperty(_global, '.rbc-day-slot .rbc-event', {\r\n display: 'flex',\r\n maxHeight: '100%',\r\n minHeight: '1.250rem',\r\n WebkitFlexFlow: 'column wrap',\r\n MsFlexFlow: 'column wrap',\r\n flexFlow: 'column wrap',\r\n WebkitAlignItems: 'flex-start',\r\n MsFlexAlign: 'start',\r\n alignItems: 'flex-start',\r\n overflow: 'hidden',\r\n position: 'absolute'\r\n }), _defineProperty(_global, '.rbc - day - slot.rbc - event - label', {\r\n display: 'none',\r\n WebkitFlex: 'none',\r\n MsFlex: 'none',\r\n flex: 'none',\r\n paddingRight: '0.313rem',\r\n width: 'auto'\r\n }), _defineProperty(_global, '.rbc-day-slot .rbc-event-content', {\r\n width: '100%',\r\n WebkitFlex: '1 1 0',\r\n MsFlex: '1 1 0px',\r\n flex: '1 1 0',\r\n wordWrap: 'break-word',\r\n lineHeight: '1.5',\r\n height: '100%',\r\n minHeight: 0,\r\n padding: spacing20 + ' 0.125rem'\r\n }), _defineProperty(_global, '.rbc-highlight-today .rbc-time-column.rbc-today .rbc-timeslot-group', {\r\n backgroundColor: theme.palette.ctaColor.tint\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-gutter,\\n .rbc-time-view-resources .rbc-time-header-gutter', {\r\n width: '62.2167px',\r\n position: 'sticky',\r\n left: 0,\r\n backgroundColor: theme.palette.grey[100],\r\n borderRight: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n zIndex: 10,\r\n marginRight: '-0.063rem'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-header', {\r\n overflow: 'hidden'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-header-content', {\r\n minWidth: 'auto',\r\n WebkitFlex: '1 0 0',\r\n MsFlex: '1 0 0px',\r\n flex: '1 0 0',\r\n WebkitFlexBasis: '0px',\r\n MsFlexPreferredSize: '0px',\r\n flexBasis: '0px'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-time-header-cell-single-day', {\r\n display: 'none'\r\n }), _defineProperty(_global, '.rbc-time-view-resources .rbc-header,\\n .rbc-time-view-resources .rbc-day-bg', {\r\n WebkitFlex: '1 1 0',\r\n MsFlex: '1 1 0px',\r\n flex: '1 1 0',\r\n WebkitFlexBasis: '0 px',\r\n MsFlexPreferredSize: '0 px',\r\n flexBasis: '0 px'\r\n }), _defineProperty(_global, '.rbc-time-header-content + .rbc-time-header-content', {\r\n marginLeft: '-1px'\r\n }), _defineProperty(_global, '.rbc-time-slot', {\r\n WebkitFlex: '1 0 0',\r\n MsFlex: '1 0 0px',\r\n flex: '1 0 0',\r\n display: 'flex',\r\n alignItems: 'center'\r\n }), _defineProperty(_global, '.rbc-time-slot.rbc-now', {\r\n fontWeight: 'bold'\r\n }), _defineProperty(_global, '.rbc-day-header', {\r\n textAlign: 'center'\r\n }), _defineProperty(_global, '.rbc-slot-selecting', {\r\n cursor: 'move'\r\n }), _defineProperty(_global, '.rbc-time-view', {\r\n display: 'flex',\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n WebkitFlex: '1',\r\n MsFlex: '1',\r\n flex: '1',\r\n width: '100%',\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n minHeight: 0\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-time-gutter', {\r\n whiteSpace: 'nowrap'\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-allday-cell', {\r\n boxSizing: 'content-box',\r\n width: '100%',\r\n height: '100%',\r\n position: 'relative'\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-allday-cell + .rbc-allday-cell', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-allday-events', {\r\n position: 'relative',\r\n zIndex: 4\r\n }), _defineProperty(_global, '.rbc-time-view .rbc-row', {\r\n boxSizing: 'border-box',\r\n minHeight: '1.250rem'\r\n }), _defineProperty(_global, '.rbc-time-header', {\r\n display: 'flex',\r\n WebkitFlex: '0 0 auto',\r\n MsFlex: '0 0 auto',\r\n flex: '0 0 auto',\r\n WebkitFlexDirection: 'row',\r\n MsFlexDirection: 'row',\r\n flexDirection: 'row'\r\n }), _defineProperty(_global, '.rbc-time-header.rbc-overflowing', {\r\n outline: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-header > .rbc-row:first-child', {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-header > .rbc-row.rbc-row-resource', {\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-header-cell-single-day', {\r\n display: 'none'\r\n }), _defineProperty(_global, '.rbc-time-header-content', {\r\n WebkitFlex: '1',\r\n MsFlex: '1',\r\n flex: '1',\r\n display: 'flex',\r\n minWidth: 0,\r\n WebkitFlexDirection: 'column',\r\n MsFlexDirection: 'column',\r\n flexDirection: 'column',\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-content', {\r\n display: 'flex',\r\n WebkitFlex: '1 0 0%',\r\n MsFlex: '1 0 0%',\r\n flex: '1 0 0%',\r\n WebkitAlignItems: 'flex-start',\r\n MsFlexAlign: 'start',\r\n alignItems: 'flex-start',\r\n width: '100%',\r\n borderTop: borderWidthThick + ' solid ' + theme.palette.grey[300],\r\n overflowY: 'auto',\r\n position: 'relative'\r\n }), _defineProperty(_global, '.rbc-time-content > .rbc-time-gutter', {\r\n WebkitFlex: 'none',\r\n MsFlex: 'none',\r\n flex: 'none'\r\n }), _defineProperty(_global, '.rbc-time-content > * + * > *', {\r\n borderLeft: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n }), _defineProperty(_global, '.rbc-time-content > .rbc-day-slot', {\r\n width: '100%',\r\n MozUserSelect: 'none',\r\n MsUserSelect: 'none',\r\n userSelect: 'none',\r\n WebkitUserSelect: 'none'\r\n }), _defineProperty(_global, '.rbc-current-time-indicator', {\r\n position: 'absolute',\r\n zIndex: '3',\r\n left: '0',\r\n right: '0',\r\n height: '.125rem',\r\n backgroundColor: colorTextAlertError,\r\n pointerEvents: 'none'\r\n }), _defineProperty(_global, '.rbc-current-time-indicator:before', {\r\n content: '\"\"',\r\n display: 'block',\r\n width: sizingXSmall,\r\n height: sizingXSmall,\r\n transform: 'translate(-0.28125rem, -0.1875rem)',\r\n borderRadius: borderRadiusCircle,\r\n border: borderWidthThin + ' solid white',\r\n backgroundColor: colorTextAlertError\r\n }), _defineProperty(_global, '.rbc-compact', {\r\n '& .rbc-time-header-content': {\r\n borderLeft: 0\r\n },\r\n '& .rbc-allday-cell .rbc-row': {\r\n minHeight: 0\r\n },\r\n '& .rbc-allday-cell .rbc-row-segment': {\r\n flexBasis: 'inherit',\r\n maxWidth: 'inherit',\r\n width: '100%',\r\n marginRight: spacing30\r\n },\r\n '& .rbc-allday-cell .rbc-event-allday': {\r\n height: spacing80\r\n },\r\n '& .rbc-time-content': {\r\n paddingTop: '.625rem'\r\n },\r\n '& .rbc-time-content > * + * > *': {\r\n borderLeft: '0px'\r\n },\r\n '& .rbc-timeslot-group': {\r\n height: sizingXxLarge\r\n },\r\n '& .rbc-day-slot > .rbc-timeslot-group': {\r\n borderTop: borderWidthThin + ' solid ' + theme.palette.grey[250]\r\n },\r\n '& .rbc-time-slot': {\r\n alignItems: 'flex-start',\r\n justifyContent: 'flex-end',\r\n width: '5.5rem',\r\n paddingRight: spacing40,\r\n transform: 'translateY(-.625rem)'\r\n },\r\n '& .rbc-time-header-gutter': {\r\n padding: '0'\r\n },\r\n '& .rbc-time-gutter > .rbc-timeslot-group': {\r\n backgroundColor: 'white'\r\n },\r\n '& .rbc-label': {\r\n padding: '0px'\r\n }\r\n }), _defineProperty(_global, '.rbc-gutterHeader', {\r\n display: 'flex',\r\n alignItems: 'flex-start',\r\n justifyContent: 'flex-end',\r\n width: '5.5rem',\r\n height: sizingXxLarge,\r\n paddingRight: spacing40\r\n }), _global)\r\n };\r\n};\r\n\r\nexport default ReactBigCalendarStyles;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nimport React, { useState, useEffect, useRef } from 'react';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\n\r\nimport Popper from '../../Popper';\r\nimport makeStyles from '../../makeStyles';\r\n\r\nimport { spacing30 } from './../../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n paperRoot: {\r\n boxShadow: '\\n 0 0.1875rem 0.3125rem -0.0625rem rgba(0,0,0,0.2),\\n 0 0.3125rem ' + spacing30 + ' 0 rgba(0,0,0,0.14),\\n 0 0.0625rem 0.875rem 0 rgba(0,0,0,0.12)\\n '\r\n }\r\n };\r\n});\r\n\r\nvar CAL_EVENT_CLASS = 'calendar-event';\r\n\r\nvar CalendarEvent = React.forwardRef(function (props, ref) {\r\n var classes = useStyles();\r\n var eventRef = useRef(null);\r\n\r\n var _useState = useState(null),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n anchorEl = _useState2[0],\r\n setAnchorEl = _useState2[1];\r\n\r\n var _useState3 = useState(false),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n localOpen = _useState4[0],\r\n setLocalOpen = _useState4[1];\r\n\r\n var open = props.open,\r\n target = props.target,\r\n popperContent = props.popperContent,\r\n event = props.event;\r\n\r\n var title = React.createElement(\r\n 'span',\r\n null,\r\n props.event.title\r\n );\r\n\r\n if (!popperContent) {\r\n return title;\r\n }\r\n\r\n useEffect(function () {\r\n target && setLocalOpen(target.querySelector('.' + CAL_EVENT_CLASS).dataset.id === '' + event.event.id);\r\n }, [target]); // eslint-disable-line react-hooks/exhaustive-deps\r\n\r\n useEffect(function () {\r\n popperContent && setAnchorEl(eventRef.current);\r\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: CAL_EVENT_CLASS + ' ' + CAL_EVENT_CLASS + '-' + event.event.id,\r\n 'data-id': event.event.id,\r\n ref: eventRef\r\n },\r\n title,\r\n React.createElement(\r\n ClickAwayListener,\r\n { onClickAway: function onClickAway() {\r\n return setLocalOpen(false);\r\n } },\r\n React.createElement(\r\n Popper,\r\n {\r\n className: CAL_EVENT_CLASS + '-popper',\r\n classes: { paperRoot: classes.paperRoot },\r\n arrow: true,\r\n open: localOpen && open,\r\n anchorEl: anchorEl,\r\n placement: 'top',\r\n modifiers: {\r\n preventOverflow: {\r\n enabled: true,\r\n boundariesElement: eventRef.current && eventRef.current.closest('.rbc-time-content')\r\n }\r\n }\r\n },\r\n typeof popperContent === 'function' ? popperContent(event.event) : popperContent\r\n )\r\n )\r\n );\r\n});\r\n\r\nexport default CalendarEvent;","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React, { createContext, useState } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { Calendar as BigCalendar, momentLocalizer, globalizeLocalizer, Views as views } from 'react-big-calendar';\r\nimport { default as withStyles } from '../styles';\r\nimport { default as withWidth } from '../withWidth';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport classNames from 'classnames';\r\n\r\nimport moment from 'moment';\r\n// Our custom components\r\nimport CalendarToolbar from './CalendarToolbar';\r\nimport EventWrapper from './EventWrapper';\r\nimport ReactBigCalendarStyles from './internal/ReactBigCalendarStyles';\r\nimport CalendarEvent from './internal/CalendarEvent';\r\n\r\n// NOTE: application complains if we do not do this. Simply exporting the 'Calendar'\r\n// does not send the required properties from the 'Calendar' component.\r\n// Export required functions so they can be used by consumers when\r\n// initializing the component.\r\nvar DEFAULT_LOCALIZER = momentLocalizer(moment);\r\n\r\nvar CalendarContext = createContext();\r\nvar Provider = CalendarContext.Provider,\r\n CalendarConsumer = CalendarContext.Consumer;\r\n\r\n\r\nvar dateFormat = PropTypes.any;\r\nvar dateRangeFormat = PropTypes.func;\r\n\r\nvar CalendarProvider = function CalendarProvider(props) {\r\n var compact = props.compact,\r\n defaultDate = props.defaultDate,\r\n showViewNames = props.showViewNames,\r\n view = props.view,\r\n width = props.width;\r\n\r\n var _useState = useState(defaultDate),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n date = _useState2[0],\r\n setDate = _useState2[1];\r\n\r\n var _useState3 = useState(view),\r\n _useState4 = _slicedToArray(_useState3, 2),\r\n selectedView = _useState4[0],\r\n setSelectedView = _useState4[1];\r\n\r\n return React.createElement(\r\n Provider,\r\n {\r\n value: {\r\n compact: compact,\r\n date: date,\r\n setDate: setDate,\r\n selectedView: selectedView,\r\n setSelectedView: setSelectedView,\r\n showViewNames: showViewNames,\r\n width: width\r\n }\r\n },\r\n props.children\r\n );\r\n};\r\n\r\nCalendarProvider.propTypes = {\r\n compact: PropTypes.bool,\r\n children: PropTypes.object.isRequired,\r\n defaultDate: PropTypes.instanceOf(Date),\r\n showViewNames: PropTypes.bool,\r\n view: PropTypes.string.isRequired,\r\n width: PropTypes.string.isRequired\r\n};\r\n\r\n/**\r\n * A component for displaying events within a week or day view.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.2.1\r\n * @examples\r\n * CalendarSingleDay\r\n * CalendarExample\r\n * CalendarI18n\r\n * ClickEvents\r\n * CalendarWithPopperAsNode\r\n * CalendarWithPopperAsRenderFunction\r\n * CustomComponentExample\r\n */\r\nvar Calendar = React.forwardRef(function (props, ref) {\r\n var _useState5 = useState({ open: false, target: undefined }),\r\n _useState6 = _slicedToArray(_useState5, 2),\r\n popper = _useState6[0],\r\n setPopper = _useState6[1];\r\n\r\n var classes = props.classes,\r\n compact = props.compact,\r\n dateProp = props.date,\r\n defaultDate = props.defaultDate,\r\n defaultView = props.defaultView,\r\n edsContext = props.edsContext,\r\n formats = props.formats,\r\n legend = props.legend,\r\n messages = props.messages,\r\n onNavigate = props.onNavigate,\r\n showViewNames = props.showViewNames,\r\n showOnlyDay = props.showOnlyDay,\r\n width = props.width,\r\n onSelectEvent = props.onSelectEvent,\r\n popperContent = props.popperContent,\r\n rest = _objectWithoutProperties(props, ['classes', 'compact', 'date', 'defaultDate', 'defaultView', 'edsContext', 'formats', 'legend', 'messages', 'onNavigate', 'showViewNames', 'showOnlyDay', 'width', 'onSelectEvent', 'popperContent']);\r\n\r\n // Custom messages to send to component\r\n\r\n\r\n var overrideMessages = Object.assign({\r\n agenda: edsContext.formatMessage('component.Calendar.agenda'),\r\n allDay: edsContext.formatMessage('component.Calendar.allDay'),\r\n date: edsContext.formatMessage('component.Calendar.date'),\r\n day: edsContext.formatMessage('component.Calendar.day'),\r\n event: edsContext.formatMessage('component.Calendar.event'),\r\n month: edsContext.formatMessage('component.Calendar.month'),\r\n next: edsContext.formatMessage('component.Calendar.next'),\r\n noEventsInRange: edsContext.formatMessage('component.Calendar.noEventsInRange'),\r\n previous: edsContext.formatMessage('component.Calendar.previous'),\r\n time: edsContext.formatMessage('component.Calendar.time'),\r\n today: edsContext.formatMessage('component.Calendar.goToToday'),\r\n tomorrow: edsContext.formatMessage('component.Calendar.tomorrow'),\r\n week: edsContext.formatMessage('component.Calendar.week'),\r\n work_week: edsContext.formatMessage('component.Calendar.workWeek'),\r\n yesterday: edsContext.formatMessage('component.Calendar.yesterday')\r\n }, messages);\r\n\r\n // Custom date format\r\n // See more\r\n // http://intljusticemission.github.io/react-big-calendar/examples/index.html#prop-formats\r\n var overrideFormats = Object.assign({\r\n // A day of the week format for Week and Day headings\r\n dayFormat: function dayFormat(date, calendarCulture, localizer) {\r\n switch (width) {\r\n case 'sm':\r\n return localizer.format(date, 'ddd D', calendarCulture);\r\n case 'xs':\r\n return localizer.format(date, 'ddd', calendarCulture);\r\n default:\r\n return localizer.format(date, 'dddd D', calendarCulture);\r\n }\r\n },\r\n\r\n // Toolbar header format for the Day view\r\n dayHeaderFormat: function dayHeaderFormat(date, calendarCulture, localizer) {\r\n return localizer.format(date, showOnlyDay ? 'dddd' : 'dddd, MMM D, Y', calendarCulture);\r\n },\r\n\r\n // Toolbar header format for the Week views\r\n dayRangeHeaderFormat: function dayRangeHeaderFormat(_ref, calendarCulture, localizer) {\r\n var start = _ref.start,\r\n end = _ref.end;\r\n\r\n var startYear = start.getFullYear();\r\n var endYear = end.getFullYear();\r\n var startFormat = localizer.format(start, startYear === endYear ? 'MMM D' : 'MMM D, Y', calendarCulture);\r\n var endFormat = localizer.format(end, 'MMM D, Y', calendarCulture);\r\n\r\n return startFormat + ' \\u2013 ' + endFormat;\r\n }\r\n\r\n }, formats);\r\n\r\n //function necessary for adjusting timeGutter format based on locale\r\n function localeUses24HourTime(locale) {\r\n return new Intl.DateTimeFormat(locale, {\r\n hour: 'numeric'\r\n }).formatToParts(new Date(2020, 0, 1, 13)).find(function (part) {\r\n return part.type === 'hour';\r\n }).value.length === 2;\r\n }\r\n\r\n if (compact) {\r\n Object.assign(overrideFormats, {\r\n timeGutterFormat: function timeGutterFormat(date, localCulture, localizer) {\r\n if (localeUses24HourTime(locale)) {\r\n return localizer.format(date, 'H', localCulture);\r\n } else {\r\n return localizer.format(date, 'h A', localCulture);\r\n }\r\n }\r\n });\r\n }\r\n\r\n var handleNavigation = function handleNavigation(callback) {\r\n return function (date) {\r\n setPopper({ open: false });\r\n callback(date);\r\n };\r\n };\r\n\r\n // EDSApplication-level locale\r\n var locale = edsContext.locale;\r\n var compactGutterHeader = function compactGutterHeader() {\r\n return React.createElement(\r\n 'div',\r\n { className: 'rbc-gutterHeader' },\r\n edsContext.formatMessage('component.Calendar.allDay')\r\n );\r\n };\r\n\r\n var onSelectEventClick = function onSelectEventClick(eventData, e) {\r\n e.preventDefault();\r\n\r\n popperContent && setPopper({\r\n open: true,\r\n target: e.currentTarget\r\n });\r\n\r\n onSelectEvent && onSelectEvent(eventData, e);\r\n };\r\n\r\n return React.createElement(\r\n CalendarProvider,\r\n {\r\n compact: compact,\r\n date: defaultDate,\r\n showViewNames: showViewNames,\r\n view: defaultView,\r\n width: width\r\n },\r\n React.createElement(\r\n CalendarConsumer,\r\n null,\r\n function (context) {\r\n return React.createElement(\r\n 'div',\r\n {\r\n className: classNames('rbc-container', {\r\n 'rbc-highlight-today': context.selectedView !== 'day',\r\n 'rbc-compact': compact\r\n })\r\n },\r\n React.createElement(BigCalendar, Object.assign({\r\n className: classes.root,\r\n defaultDate: defaultDate,\r\n defaultView: defaultView,\r\n date: dateProp || context.date,\r\n messages: overrideMessages,\r\n onNavigate: onNavigate || handleNavigation(context.setDate),\r\n formats: overrideFormats,\r\n culture: locale,\r\n rtl: edsContext.dir === 'rtl',\r\n components: {\r\n // eslint-disable-next-line react/display-name\r\n event: function event(_event) {\r\n return React.createElement(CalendarEvent, {\r\n popperContent: popperContent,\r\n open: popper.open,\r\n target: popper.target,\r\n event: _event\r\n });\r\n },\r\n toolbar: CalendarToolbar,\r\n eventWrapper: EventWrapper,\r\n timeGutterHeader: compact ? compactGutterHeader : undefined\r\n },\r\n onSelectEvent: onSelectEventClick\r\n }, rest, {\r\n ref: ref\r\n })),\r\n legend\r\n );\r\n }\r\n )\r\n );\r\n});\r\n\r\nCalendar.propTypes = {\r\n /**\r\n * Classes used to extend original style object.\r\n */\r\n classes: PropTypes.object,\r\n\r\n /**\r\n * @ignore\r\n * **BETA** Applies compact variant styles to calendar.\r\n */\r\n compact: PropTypes.bool,\r\n\r\n /**\r\n * Object to set the date/time library handler. Common uses are `const localizer = momentLocalizer(moment);` or `const localizer = globalizeLocalizer(globalize);`\r\n */\r\n localizer: PropTypes.object,\r\n\r\n /**\r\n * Props passed to main calendar ``.\r\n */\r\n elementProps: PropTypes.object,\r\n\r\n /**\r\n * The current date value of the calendar. Determines the visible view range.\r\n * If `date` is omitted then the result of `getNow` is used; otherwise the\r\n * current date is used.\r\n *\r\n * `@controllable onNavigate`\r\n */\r\n date: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * The initial date set for the Calendar.\r\n */\r\n defaultDate: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * The current view of the calendar.\r\n *\r\n * `@default 'month'`\r\n * `@controllable onView`\r\n */\r\n view: PropTypes.string,\r\n\r\n /**\r\n * The initial view set for the Calendar.\r\n *\r\n * `@type Calendar.Views ('month'|'week'|'work_week'|'day'|'agenda')`\r\n * `@default 'month'`\r\n */\r\n defaultView: PropTypes.string,\r\n\r\n /**\r\n * An array of event objects to display on the calendar. Events objects\r\n * can be any shape, as long as the Calendar knows how to retrieve the\r\n * following details of the event:\r\n *\r\n * - start time\r\n * - end time\r\n * - title\r\n * - whether its an \"all day\" event or not\r\n * - any resource the event may be related to\r\n *\r\n * Each of these properties can be customized or generated dynamically by\r\n * setting the various \"accessor\" props. Without any configuration the default\r\n * event should look like:\r\n *\r\n * ```js\r\n * Event {\r\n * title: string,\r\n * start: Date,\r\n * end: Date,\r\n * allDay?: boolean\r\n * resource?: any,\r\n * }\r\n * ```\r\n */\r\n events: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Accessor for the event title, used to display event information. Should\r\n * resolve to a `renderable` value.\r\n *\r\n * ```js\r\n * string | (event: Object) => string\r\n * ```\r\n */\r\n titleAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Accessor for the event tooltip. Should\r\n * resolve to a `renderable` value. Removes the tooltip if null.\r\n *\r\n * ```js\r\n * string | (event: Object) => string\r\n * ```\r\n */\r\n tooltipAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Determines whether the event should be considered an \"all day\" event and ignore time.\r\n * Must resolve to a `boolean` value.\r\n *\r\n * ```js\r\n * string | (event: Object) => boolean\r\n * ```\r\n */\r\n allDayAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * The start date/time of the event. Must resolve to a JavaScript `Date` object.\r\n *\r\n * ```js\r\n * string | (event: Object) => Date\r\n * ```\r\n */\r\n startAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * The end date/time of the event. Must resolve to a JavaScript `Date` object.\r\n *\r\n * ```js\r\n * string | (event: Object) => Date\r\n * ```\r\n */\r\n endAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Returns the id of the `resource` that the event is a member of. This\r\n * id should match at least one resource in the `resources` array.\r\n *\r\n * ```js\r\n * string | (event: Object) => Date\r\n * ```\r\n */\r\n resourceAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * An array of resource objects that map events to a specific resource.\r\n * Resource objects, like events, can be any shape or have any properties,\r\n * but should be uniquly identifiable via the `resourceIdAccessor`, as\r\n * well as a \"title\" or name as provided by the `resourceTitleAccessor` prop.\r\n */\r\n resources: PropTypes.arrayOf(PropTypes.object),\r\n\r\n /**\r\n * Provides a unique identifier for each resource in the `resources` array\r\n *\r\n * ```js\r\n * string | (resource: Object) => any\r\n * ```\r\n */\r\n resourceIdAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Provides a human readable name for the resource object, used in headers.\r\n *\r\n * ```js\r\n * string | (resource: Object) => any\r\n * ```\r\n */\r\n resourceTitleAccessor: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),\r\n\r\n /**\r\n * Determines the current date/time which is highlighted in the views.\r\n *\r\n * The value affects which day is shaded and which time is shown as\r\n * the current time. It also affects the date used by the Today button in\r\n * the toolbar.\r\n *\r\n * Providing a value here can be useful when you are implementing time zones\r\n * using the `startAccessor` and `endAccessor` properties.\r\n *\r\n * @type {func}\r\n * @default () => new Date()\r\n */\r\n getNow: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when the `date` value changes.\r\n * This is used in custom `Calendar` components.\r\n * @controllable date\r\n */\r\n onNavigate: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when the `view` value changes.\r\n * This is used in custom `Calendar` components.\r\n * @controllable view\r\n */\r\n onView: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when date header, or the truncated events links are clicked\r\n *\r\n */\r\n onDrillDown: PropTypes.func,\r\n\r\n /**\r\n *\r\n * ```js\r\n * (dates: Date[] | { start: Date; end: Date }, view?: 'month'|'week'|'work_week'|'day'|'agenda') => void\r\n * ```\r\n *\r\n * Callback fired when the visible date range changes. Returns an Array of dates\r\n * or an object with start and end dates for BUILTIN views. Optionally new `view`\r\n * will be returned when callback called after view change.\r\n *\r\n * Custom views may return something different.\r\n */\r\n onRangeChange: PropTypes.func,\r\n\r\n /**\r\n * A callback fired when a date selection is made. Only fires when `selectable` is `true`.\r\n *\r\n * ```js\r\n * (\r\n * slotInfo: {\r\n * start: Date,\r\n * end: Date,\r\n * slots: Array,\r\n * action: \"select\" | \"click\" | \"doubleClick\",\r\n * bounds: ?{ // For \"select\" action\r\n * x: number,\r\n * y: number,\r\n * top: number,\r\n * right: number,\r\n * left: number,\r\n * bottom: number,\r\n * },\r\n * box: ?{ // For \"click\" or \"doubleClick\" actions\r\n * clientX: number,\r\n * clientY: number,\r\n * x: number,\r\n * y: number,\r\n * },\r\n * }\r\n * ) => any\r\n * ```\r\n */\r\n onSelectSlot: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when a calendar event is selected.\r\n *\r\n * ```js\r\n * (event: Object, e: SyntheticEvent) => any\r\n * ```\r\n *\r\n * @controllable selected\r\n */\r\n onSelectEvent: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when a calendar event is clicked twice.\r\n *\r\n * ```js\r\n * (event: Object, e: SyntheticEvent) => void\r\n * ```\r\n */\r\n onDoubleClickEvent: PropTypes.func,\r\n\r\n /**\r\n * Callback fired when dragging a selection in the Time views.\r\n *\r\n * Returning `false` from the handler will prevent a selection.\r\n *\r\n * ```js\r\n * (range: { start: Date, end: Date }) => ?boolean\r\n * ```\r\n */\r\n onSelecting: PropTypes.func,\r\n\r\n /**\r\n * The selected event, if any.\r\n */\r\n selected: PropTypes.object,\r\n\r\n /**\r\n * An array of built-in view names to allow the calendar to display.\r\n * accepts either an array of builtin view names,\r\n *\r\n * ```jsx\r\n * views={['month', 'day', 'agenda']}\r\n * ```\r\n * or an object hash of the view name and the component (or boolean for builtin).\r\n *\r\n * ```jsx\r\n * views={{\r\n * month: true,\r\n * week: false,\r\n * myweek: WorkWeekViewComponent,\r\n * }}\r\n * ```\r\n *\r\n * Custom views can be any React component, that implements the following\r\n * interface:\r\n *\r\n * ```js\r\n * interface View {\r\n * static title(date: Date, { formats: DateFormat[], culture: string?, ...props }): string\r\n * static navigate(date: Date, action: 'PREV' | 'NEXT' | 'DATE'): Date\r\n * }\r\n * ```\r\n *\r\n * `@type Calendar.Views ('month'|'week'|'work_week'|'day'|'agenda')`\r\n * `@View ['month', 'week', 'day', 'agenda']`\r\n */\r\n views: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\r\n\r\n /**\r\n * The string name of the destination view for drill-down actions, such\r\n * as clicking a date header, or the truncated events links. If\r\n * `getDrilldownView` is also specified it will be used instead.\r\n *\r\n * Set to `null` to disable drill-down actions.\r\n *\r\n * ```js\r\n * \r\n * ```\r\n */\r\n drilldownView: PropTypes.string,\r\n\r\n /**\r\n * Functionally equivalent to `drilldownView`, but accepts a function\r\n * that can return a view name. It's useful for customizing the drill-down\r\n * actions depending on the target date and triggering view.\r\n *\r\n * Return `null` to disable drill-down actions.\r\n *\r\n * ```js\r\n * \r\n * if (currentViewName === 'month' && (configuredViewNames.indexOf('week') !== -1))\r\n * return 'week'\r\n *\r\n * return null;\r\n * }}\r\n * />\r\n * ```\r\n */\r\n getDrilldownView: PropTypes.func,\r\n\r\n /**\r\n * Determines the end date from date prop in the agenda view\r\n * date prop + length (in number of days) = end date\r\n */\r\n length: PropTypes.number,\r\n\r\n /**\r\n * Determines whether the toolbar is displayed\r\n */\r\n toolbar: PropTypes.bool,\r\n\r\n /**\r\n * Show truncated events in an overlay when you click the \"+_x_ more\" link.\r\n */\r\n popup: PropTypes.bool,\r\n\r\n /**\r\n * Distance in pixels, from the edges of the viewport, the \"show more\" overlay should be positioned.\r\n *\r\n * ```jsx\r\n * \r\n * \r\n * ```\r\n */\r\n popupOffset: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({ x: PropTypes.number, y: PropTypes.number })]),\r\n\r\n /**\r\n * Allows mouse selection of ranges of dates/times.\r\n *\r\n * The 'ignoreEvents' option prevents selection code from running when a\r\n * drag begins over an event. Useful when you want custom event click or drag\r\n * logic.\r\n */\r\n selectable: PropTypes.oneOf([true, false, 'ignoreEvents']),\r\n\r\n /**\r\n * Specifies the number of miliseconds the user must press and hold on the screen for a touch\r\n * to be considered a \"long press.\" Long presses are used for time slot selection on touch\r\n * devices.\r\n *\r\n * `@type {number}`\r\n * `@default 250`\r\n */\r\n longPressThreshold: PropTypes.number,\r\n\r\n /**\r\n * Determines the selectable time increments in week and day views\r\n */\r\n step: PropTypes.number,\r\n\r\n /**\r\n * The number of slots per \"section\" in the time grid views. Adjust with `step`\r\n * to change the default of 1 hour long groups, with 30 minute slots.\r\n */\r\n timeslots: PropTypes.number,\r\n\r\n /**\r\n * Optionally provide a function that returns an object of className or style props\r\n * to be applied to the the event node.\r\n *\r\n * ```js\r\n * (\r\n * \tevent: Object,\r\n * \tstart: Date,\r\n * \tend: Date,\r\n * \tisSelected: boolean\r\n * ) => { className?: string, style?: Object }\r\n * ```\r\n */\r\n eventPropGetter: PropTypes.func,\r\n\r\n /**\r\n * Optionally provide a function that returns an object of className or style props\r\n * to be applied to the the time-slot node. Caution! Styles that change layout or\r\n * position may break the calendar in unexpected ways.\r\n *\r\n * ```js\r\n * (date: Date, resourceId: (number|string)) => { className?: string, style?: Object }\r\n * ```\r\n */\r\n slotPropGetter: PropTypes.func,\r\n\r\n /**\r\n * Optionally provide a function that returns an object of className or style props\r\n * to be applied to the the day background. Caution! Styles that change layout or\r\n * position may break the calendar in unexpected ways.\r\n *\r\n * ```js\r\n * (date: Date) => { className?: string, style?: Object }\r\n * ```\r\n */\r\n dayPropGetter: PropTypes.func,\r\n\r\n /**\r\n * Support to show multi-day events with specific start and end times in the\r\n * main time grid (rather than in the all day header).\r\n *\r\n * **Note: This may cause calendars with several events to look very busy in\r\n * the week and day views.**\r\n */\r\n showMultiDayTimes: PropTypes.bool,\r\n\r\n /**\r\n * Constrains the minimum _time_ of the Day and Week views.\r\n * This prop expects a `Date` to be sent in.\r\n */\r\n min: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * Constrains the maximum _time_ of the Day and Week views.\r\n * This prop expects a `Date` to be sent in.\r\n */\r\n max: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * Determines how far down the scroll pane is initially scrolled down.\r\n */\r\n scrollToTime: PropTypes.instanceOf(Date),\r\n\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n\r\n /**\r\n * Localizer specific formats, tell the Calendar how to format and display dates.\r\n *\r\n * `format` types are dependent on the configured localizer; both Moment and Globalize\r\n * accept strings of tokens according to their own specification, such as: `'DD mm yyyy'`.\r\n *\r\n * ```jsx\r\n * let formats = {\r\n * dateFormat: 'dd',\r\n *\r\n * dayFormat: (date, , localizer) =>\r\n * localizer.format(date, 'DDD', culture),\r\n *\r\n * dayRangeHeaderFormat: ({ start, end }, culture, localizer) =>\r\n * localizer.format(start, { date: 'short' }, culture) + ' — ' +\r\n * localizer.format(end, { date: 'short' }, culture)\r\n * }\r\n *\r\n * \r\n * ```\r\n *\r\n * All localizers accept a function of\r\n * the form `(date: Date, culture: ?string, localizer: Localizer) -> string`\r\n */\r\n formats: PropTypes.shape({\r\n /**\r\n * Format for the day of the month heading in the Month view.\r\n * e.g. \"01\", \"02\", \"03\", etc\r\n */\r\n dateFormat: dateFormat,\r\n\r\n /**\r\n * A day of the week format for Week and Day headings,\r\n * e.g. \"Wed 01/04\"\r\n *\r\n */\r\n dayFormat: dateFormat,\r\n\r\n /**\r\n * Week day name format for the Month week day headings,\r\n * e.g: \"Sun\", \"Mon\", \"Tue\", etc\r\n *\r\n */\r\n weekdayFormat: dateFormat,\r\n\r\n /**\r\n * The timestamp cell formats in Week and Time views, e.g. \"4:00 AM\"\r\n */\r\n timeGutterFormat: dateFormat,\r\n\r\n /**\r\n * Toolbar header format for the Month view, e.g \"2015 April\"\r\n *\r\n */\r\n monthHeaderFormat: dateFormat,\r\n\r\n /**\r\n * Toolbar header format for the Week views, e.g. \"Mar 29 - Apr 04\"\r\n */\r\n dayRangeHeaderFormat: dateRangeFormat,\r\n\r\n /**\r\n * Toolbar header format for the Day view, e.g. \"Wednesday Apr 01\"\r\n */\r\n dayHeaderFormat: dateFormat,\r\n\r\n /**\r\n * Toolbar header format for the Agenda view, e.g. \"4/1/2015 — 5/1/2015\"\r\n */\r\n agendaHeaderFormat: dateRangeFormat,\r\n\r\n /**\r\n * A time range format for selecting time slots, e.g \"8:00am — 2:00pm\"\r\n */\r\n selectRangeFormat: dateRangeFormat,\r\n\r\n agendaDateFormat: dateFormat,\r\n agendaTimeFormat: dateFormat,\r\n agendaTimeRangeFormat: dateRangeFormat,\r\n\r\n /**\r\n * Time range displayed on events.\r\n */\r\n eventTimeRangeFormat: dateRangeFormat,\r\n\r\n /**\r\n * An optional event time range for events that continue onto another day\r\n */\r\n eventTimeRangeStartFormat: dateFormat,\r\n\r\n /**\r\n * An optional event time range for events that continue from another day\r\n */\r\n eventTimeRangeEndFormat: dateFormat\r\n }),\r\n\r\n /**\r\n * Customize how different sections of the calendar render by providing custom Components.\r\n * In particular the `Event` component can be specified for the entire calendar, or you can\r\n * provide an individual component for each view type.\r\n *\r\n * ```jsx\r\n * let components = {\r\n * event: MyEvent, // used by each view (Month, Day, Week)\r\n * eventWrapper: MyEventWrapper,\r\n * eventContainerWrapper: MyEventContainerWrapper,\r\n * dayWrapper: MyDayWrapper,\r\n * dateCellWrapper: MyDateCellWrapper,\r\n * timeSlotWrapper: MyTimeSlotWrapper,\r\n * timeGutterHeader: MyTimeGutterWrapper,\r\n * toolbar: MyToolbar,\r\n * agenda: {\r\n * \t event: MyAgendaEvent // with the agenda view use a different component to render events\r\n * time: MyAgendaTime,\r\n * date: MyAgendaDate,\r\n * },\r\n * day: {\r\n * header: MyDayHeader,\r\n * event: MyDayEvent,\r\n * },\r\n * week: {\r\n * header: MyWeekHeader,\r\n * event: MyWeekEvent,\r\n * },\r\n * month: {\r\n * header: MyMonthHeader,\r\n * dateHeader: MyMonthDateHeader,\r\n * event: MyMonthEvent,\r\n * }\r\n * }\r\n * \r\n * ```\r\n */\r\n components: PropTypes.shape({\r\n event: PropTypes.elementType,\r\n eventWrapper: PropTypes.elementType,\r\n eventContainerWrapper: PropTypes.elementType,\r\n dayWrapper: PropTypes.elementType,\r\n dateCellWrapper: PropTypes.elementType,\r\n timeSlotWrapper: PropTypes.elementType,\r\n timeGutterHeader: PropTypes.elementType,\r\n\r\n toolbar: PropTypes.elementType,\r\n\r\n agenda: PropTypes.shape({\r\n date: PropTypes.elementType,\r\n time: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n }),\r\n\r\n day: PropTypes.shape({\r\n header: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n }),\r\n week: PropTypes.shape({\r\n header: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n }),\r\n month: PropTypes.shape({\r\n header: PropTypes.elementType,\r\n dateHeader: PropTypes.elementType,\r\n event: PropTypes.elementType\r\n })\r\n }),\r\n /**\r\n * Use this to add legends to calendar. You can use CalendarLegend component render legends.\r\n */\r\n legend: PropTypes.node,\r\n\r\n /**\r\n * **DEPRECATED** Use [`EDSApplication`](#/components/EDSApplication) `labelOverrides` property instead.\r\n *\r\n * String messages used throughout the component, override to provide localizations\r\n */\r\n messages: PropTypes.shape({\r\n allDay: PropTypes.node,\r\n previous: PropTypes.node,\r\n next: PropTypes.node,\r\n today: PropTypes.node,\r\n month: PropTypes.node,\r\n week: PropTypes.node,\r\n work_week: PropTypes.node,\r\n day: PropTypes.node,\r\n agenda: PropTypes.node,\r\n date: PropTypes.node,\r\n time: PropTypes.node,\r\n event: PropTypes.node,\r\n noEventsInRange: PropTypes.node,\r\n showMore: PropTypes.func\r\n }),\r\n\r\n /**\r\n * If true, displays the dropdown with view names in the Toolbar\r\n */\r\n showViewNames: PropTypes.bool,\r\n\r\n /**\r\n * If true, displays the current day of the week when view is set to `day`\r\n */\r\n showOnlyDay: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n * A string representation of the current viewport\r\n */\r\n width: PropTypes.string.isRequired,\r\n /**\r\n * Content to be rendered on Popper for each event click\r\n *\r\n * You can pass a render function or a node.\r\n *\r\n * * If you pass this prop as a node, then you will have to set the selected event through `onSelectEvent()` callback.\r\n * * If you pass this prop as a render function, then the selected `event` will be passed as an argument to the render function.\r\n */\r\n popperContent: PropTypes.oneOfType([PropTypes.node, PropTypes.func])\r\n};\r\n\r\nCalendar.defaultProps = {\r\n elementProps: {},\r\n popup: false,\r\n toolbar: true,\r\n\r\n // view: views.WEEK, // NOTE: breaks component if uncommented\r\n views: [views.WEEK, views.WORK_WEEK],\r\n step: 30,\r\n length: 30,\r\n\r\n drilldownView: views.DAY,\r\n\r\n titleAccessor: 'title',\r\n tooltipAccessor: 'title',\r\n allDayAccessor: 'allDay',\r\n startAccessor: 'start',\r\n endAccessor: 'end',\r\n resourceAccessor: 'resourceId',\r\n\r\n resourceIdAccessor: 'id',\r\n resourceTitleAccessor: 'title',\r\n\r\n longPressThreshold: 250,\r\n getNow: function getNow() {\r\n return new Date();\r\n },\r\n showViewNames: true,\r\n showOnlyDay: false,\r\n\r\n localizer: DEFAULT_LOCALIZER\r\n};\r\n\r\nCalendar.displayName = 'Calendar';\r\n\r\nexport { CalendarConsumer, CalendarContext, momentLocalizer, globalizeLocalizer, views };\r\n\r\nexport default withWidth()(withEDSContext(withStyles(ReactBigCalendarStyles)(Calendar)));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport withStyles from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport { borderRadiusMedium, spacing30 } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n width: 'auto',\r\n backgroundColor: theme.palette.grey[100],\r\n padding: spacing30,\r\n boxShadow: '0px 0px 0.438rem 0.125rem rgba(0,0,0,0.12)',\r\n borderBottomLeftRadius: borderRadiusMedium,\r\n borderBottomRightRadius: borderRadiusMedium,\r\n flexWrap: 'wrap'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A wrapper component to handle the footer of the WeekView component.\r\n * @done false\r\n * @updated false\r\n * @versionAdded v0.2.1\r\n * @lab true\r\n */\r\nvar CalendarLegend = React.forwardRef(function (props, ref) {\r\n var classes = props.classes,\r\n className = props.className,\r\n children = props.children,\r\n edsContext = props.edsContext,\r\n rest = _objectWithoutProperties(props, ['classes', 'className', 'children', 'edsContext']);\r\n\r\n return React.createElement(\r\n 'div',\r\n Object.assign({ dir: edsContext.dir, className: classNames(classes.root, className) }, rest, { ref: ref }),\r\n children\r\n );\r\n});\r\n\r\nCalendarLegend.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Custom class name to the outer CalendarLegend component.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The children to render within the CalendarLegend.\r\n * Common children are the CalendarLegendItem, Button, and IconButton.\r\n */\r\n children: PropTypes.any\r\n};\r\n\r\nCalendarLegend.displayName = 'CalendarLegend';\r\n\r\nexport default withEDSContext(withStyles(styles)(CalendarLegend));","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport classNames from 'classnames';\r\nimport withStyles from '../styles';\r\nimport Typography from '../Typography';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport { spacing20, spacing30, sizingXSmall, borderRadiusCircle } from '../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'inline-flex',\r\n margin: spacing30\r\n },\r\n indicator: {\r\n width: sizingXSmall,\r\n height: sizingXSmall,\r\n borderRadius: borderRadiusCircle,\r\n marginRight: spacing20,\r\n alignSelf: 'center'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A UI element that renders an indicator color and label for the CalendarLegend.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v0.2.1\r\n * @lab true\r\n */\r\nvar CalendarLegendItem = React.forwardRef(function (props, ref) {\r\n var color = props.color,\r\n classes = props.classes,\r\n edsContext = props.edsContext,\r\n label = props.label,\r\n className = props.className,\r\n theme = props.theme,\r\n rest = _objectWithoutProperties(props, ['color', 'classes', 'edsContext', 'label', 'className', 'theme']);\r\n // default to the cta color if no color it sent for the indicator\r\n\r\n\r\n var indicatorColor = color === null || color === undefined ? theme.palette.tertiary.fountain[600] : color;\r\n\r\n return React.createElement(\r\n 'div',\r\n Object.assign({ className: classNames(classes.root, className) }, rest, { ref: ref, dir: edsContext.dir }),\r\n React.createElement('div', { className: classes.indicator, style: { backgroundColor: indicatorColor } }),\r\n React.createElement(\r\n Typography,\r\n { variant: 'body2' },\r\n label\r\n )\r\n );\r\n});\r\n\r\nCalendarLegendItem.propTypes = {\r\n /**\r\n * The color to match the calendar items in this category.\r\n */\r\n color: PropTypes.string,\r\n /**\r\n * The label to render next to the indicator.\r\n */\r\n label: PropTypes.string.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Class name to send to parent `div` of the CalendarLegendItem.\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Material-UI theme object.\r\n */\r\n theme: PropTypes.object\r\n};\r\n\r\nCalendarLegendItem.displayName = 'CalendarLegendItem';\r\n\r\nexport default withEDSContext(withStyles(styles, { withTheme: true })(CalendarLegendItem));","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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { withStyles } from '../styles';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\n// Medium\r\nimport Contact from './internal/medium/Contact';\r\nimport EmptyCalendar from './internal/medium/EmptyCalendar';\r\nimport NoComments from './internal/medium/NoComments';\r\nimport NoMessages from './internal/medium/NoMessages';\r\nimport NoSearchResults from './internal/medium/NoSearchResults';\r\nimport UnderMaintenance from './internal/medium/UnderMaintenance';\r\n\r\n// Small\r\nimport Book from './internal/small/Book';\r\nimport Bookmark from './internal/small/Bookmark';\r\nimport Calendar from './internal/small/Calendar';\r\nimport ChartBars from './internal/small/ChartBars';\r\nimport Checkmark from './internal/small/Checkmark';\r\nimport Crown from './internal/small/Crown';\r\nimport EmptySet from './internal/small/EmptySet';\r\nimport ErrorSmall from './internal/small/Error';\r\nimport EyeHide from './internal/small/EyeHide';\r\nimport GraduationCap from './internal/small/GraduationCap';\r\nimport Heart from './internal/small/Heart';\r\nimport IdBadge from './internal/small/IdBadge';\r\nimport Lightbulb from './internal/small/Lightbulb';\r\nimport Link from './internal/small/Link';\r\nimport News from './internal/small/News';\r\nimport NoCourses from './internal/small/NoCourses';\r\nimport NoHistory from './internal/small/NoHistory';\r\nimport NoSearchResultsSm from './internal/small/NoSearchResults';\r\nimport NoTasks from './internal/small/NoTasks';\r\nimport Pencil from './internal/small/Pencil';\r\nimport Search from './internal/small/Search';\r\nimport Server from './internal/small/Server';\r\nimport Tasks from './internal/small/Tasks';\r\nimport UserGroup from './internal/small/UserGroup';\r\n\r\n// Consumer focused const to help with auto-predict in text editors\r\n// Consumer doesn't need the component, only the name of the illustration\r\nexport var IMAGES = {\r\n // Medium\r\n CONTACT: 'contact',\r\n EMPTY_CALENDAR: 'empty-calendar',\r\n NO_COMMENTS: 'no-comments',\r\n NO_MESSAGES: 'no-messages',\r\n NO_SEARCH_RESULTS: 'no-search-results',\r\n UNDER_MAINTENANCE: 'under-maintenance',\r\n\r\n // Small\r\n BOOK: 'book',\r\n BOOKMARK: 'bookmark',\r\n CALENDAR: 'calendar',\r\n CHART_BARS: 'chart-bars',\r\n CHECKMARK: 'checkmark',\r\n CROWN: 'crown',\r\n EMPTY_SET: 'empty-set',\r\n ERROR: 'error',\r\n EYE_HIDE: 'eye-hide',\r\n GRADUATION_CAP: 'graduation-cap',\r\n HEART: 'heart',\r\n ID_BADGE: 'id-badge',\r\n LIGHTBULB: 'lightbulb',\r\n LINK: 'link',\r\n NEWS: 'news',\r\n NO_COURSES: 'no-courses',\r\n NO_HISTROY: 'no-history',\r\n NO_SEARCH_RESULTS_SM: 'no-search-results-sm',\r\n NO_TASKS: 'no-tasks',\r\n PENCIL: 'pencil',\r\n SEARCH: 'search',\r\n SERVER: 'server',\r\n TASKS: 'tasks',\r\n USER_GROUP: 'user-group'\r\n};\r\n\r\n// Internal object to return the correct illustration-component to render\r\nvar ILLUSTRATIONS = {\r\n // Medium\r\n contact: Contact,\r\n 'empty-calendar': EmptyCalendar,\r\n 'no-comments': NoComments,\r\n 'no-messages': NoMessages,\r\n 'no-search-results': NoSearchResults,\r\n 'under-maintenance': UnderMaintenance,\r\n\r\n // Small\r\n book: Book,\r\n bookmark: Bookmark,\r\n calendar: Calendar,\r\n 'chart-bars': ChartBars,\r\n checkmark: Checkmark,\r\n crown: Crown,\r\n 'empty-set': EmptySet,\r\n 'error': ErrorSmall,\r\n 'eye-hide': EyeHide,\r\n 'graduation-cap': GraduationCap,\r\n heart: Heart,\r\n 'id-badge': IdBadge,\r\n lightbulb: Lightbulb,\r\n link: Link,\r\n news: News,\r\n 'no-courses': NoCourses,\r\n 'no-history': NoHistory,\r\n 'no-search-results-sm': NoSearchResultsSm,\r\n 'no-tasks': NoTasks,\r\n pencil: Pencil,\r\n search: Search,\r\n server: Server,\r\n tasks: Tasks,\r\n 'user-group': UserGroup\r\n};\r\n\r\nvar RTL_MIRRORABLE_ILLUSTRATIONS = ['book', 'chart-bars', 'pencil', 'no-comments'];\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {},\r\n primary: { color: theme.palette.primary.main },\r\n secondary: { color: theme.palette.secondary.main },\r\n rtl: {\r\n transform: 'scale(-1, 1)'\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * Use `Illustration` to soften content-heavy pages and to communicate important moments in a user's journey.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v2.4.0\r\n * @examples\r\n * IllustrationExample\r\n * ThemedIllustration\r\n * EmptyState\r\n */\r\nvar Illustration = React.forwardRef(function (props, ref) {\r\n var _cn;\r\n\r\n var classes = props.classes,\r\n color = props.color,\r\n className = props.className,\r\n edsContext = props.edsContext,\r\n name = props.name,\r\n SvgProps = props.SvgProps,\r\n rest = _objectWithoutProperties(props, ['classes', 'color', 'className', 'edsContext', 'name', 'SvgProps']);\r\n\r\n var IllustrationComponent = ILLUSTRATIONS[name];\r\n\r\n return React.createElement(\r\n 'span',\r\n Object.assign({\r\n className: cn(classes.root, (_cn = {}, _defineProperty(_cn, classes.rtl, edsContext.dir === 'rtl' && RTL_MIRRORABLE_ILLUSTRATIONS.includes(name)), _defineProperty(_cn, classes.primary, color === 'primary'), _defineProperty(_cn, classes.secondary, color === 'secondary'), _cn), className)\r\n }, rest, {\r\n ref: ref\r\n }),\r\n React.createElement(IllustrationComponent, SvgProps)\r\n );\r\n});\r\n\r\nIllustration.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The name of the illustration to render.\r\n *\r\n * Use the const `IMAGES` located in `@ellucian/react-design-system/core/Illustration`.\r\n */\r\n name: PropTypes.oneOf(['contact', 'empty-calendar', 'no-comments', 'no-messages', 'no-search-results', 'under-maintenance', 'book', 'bookmark', 'calendar', 'chart-bars', 'checkmark', 'crown', 'empty-set', 'error', 'eye-hide', 'graduation-cap', 'heart', 'id-badge', 'lightbulb', 'link', 'news', 'no-courses', 'no-history', 'no-search-results-sm', 'no-tasks', 'pencil', 'search', 'server', 'tasks', 'user-group']).isRequired,\r\n /**\r\n * The color the illustration will render in.\r\n */\r\n color: PropTypes.oneOf(['primary', 'secondary']),\r\n /**\r\n * Prop object to pass to the Illustration SVG component.\r\n */\r\n SvgProps: PropTypes.object\r\n};\r\n\r\nIllustration.displayName = 'Illustration';\r\n\r\nIllustration.defaultProps = {\r\n color: 'primary'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Illustration));","import React from 'react';\r\n\r\nvar SvgContact = function SvgContact(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 253, height: 75, viewBox: \"0 0 253 75\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M.734 61.137a6.004 6.004 0 0 1 .486-4.472l28.409-53A6 6 0 0 1 34.917.5h177.646a6 6 0 0 1 5.053 2.765l33.926 53c.608.949.914 2.004.945 3.053h.03l-.027.201a6.03 6.03 0 0 1-.217 1.578l-1.2 8.72A6 6 0 0 1 245.13 75H7.477a6 6 0 0 1-5.975-5.454l-.768-8.409z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M4.718 56.617l27.744-52A4 4 0 0 1 35.99 2.5h175.545a4 4 0 0 1 3.364 1.835l33.468 52a4 4 0 0 1-3.364 6.165H8.247a4 4 0 0 1-3.529-5.883z\",\r\n fill: \"#FFF\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M30 26c0 1.105-1.567 2-3.5 2s-3.5-.895-3.5-2 1.567-2 3.5-2 3.5.895 3.5 2zM15.559 55.61L40.317 8.223A6 6 0 0 1 45.635 5H201.58a6 6 0 0 1 5.163 2.943l28.145 47.528a3 3 0 0 1-2.58 4.529H18.217a3 3 0 0 1-2.66-4.39zM218 18.5h.4a2 2 0 0 1 1.69.929l7.32 11.547a.825.825 0 0 1-.697 1.267h-.4a2 2 0 0 1-1.689-.93l-7.32-11.546A.825.825 0 0 1 218 18.5z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M15.559 55.61L40.317 8.223A6 6 0 0 1 45.635 5H201.58a6 6 0 0 1 5.163 2.943l28.145 47.528a3 3 0 0 1-2.58 4.529H18.217a3 3 0 0 1-2.66-4.39z\",\r\n fill: \"#FFF\",\r\n opacity: 0.9\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M120 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm39 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm41 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zM79 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm40-16c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm35 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm34 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zM84 14c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm36 34c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm44 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm48 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zM73 48c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M120 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm39 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm41 0c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zM79 30c0 3.314-6.268 6-14 6s-14-2.686-14-6 6.268-6 14-6 14 2.686 14 6zm40-16c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm35 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm34 0c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zM84 14c0 2.761-4.925 5-11 5s-11-2.239-11-5 4.925-5 11-5 11 2.239 11 5zm36 34c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm44 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zm48 0c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8zM73 48c0 4.418-7.611 8-17 8s-17-3.582-17-8 7.611-8 17-8 17 3.582 17 8z\",\r\n fill: \"#FFF\",\r\n opacity: 0.75\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgContact;","import React from 'react';\r\n\r\nvar SvgEmptyCalendar = function SvgEmptyCalendar(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 159, height: 144, viewBox: \"0 0 159 144\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 8.777,\r\n y: 15.31,\r\n width: 141.446,\r\n height: 120.678,\r\n rx: 3.6\r\n }),\r\n React.createElement(\"rect\", {\r\n x: 0,\r\n y: 0,\r\n width: 141.446,\r\n height: 120.678,\r\n rx: 3.6,\r\n fillOpacity: 0.92,\r\n fill: \"#FFF\",\r\n transform: \"translate(8.777 15.31)\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M120.492 10.506H41.211v5.706a1.8 1.8 0 0 1-1.8 1.8H34a1.8 1.8 0 0 1-1.8-1.8v-5.706H6.97a3.9 3.9 0 0 0-3.9 3.9v122.486a3.9 3.9 0 0 0 3.9 3.9h145.06a3.9 3.9 0 0 0 3.9-3.9V14.406a3.9 3.9 0 0 0-3.9-3.9h-22.528v5.706a1.8 1.8 0 0 1-1.8 1.8h-5.41a1.8 1.8 0 0 1-1.8-1.8v-5.706zm9.01-3h22.528a6.9 6.9 0 0 1 6.9 6.9v122.486a6.9 6.9 0 0 1-6.9 6.9H6.97a6.9 6.9 0 0 1-6.9-6.9V14.406a6.9 6.9 0 0 1 6.9-6.9H32.2V1.8a1.8 1.8 0 0 1 1.8-1.8h5.41a1.8 1.8 0 0 1 1.8 1.8v5.706h79.281V1.8a1.8 1.8 0 0 1 1.8-1.8h5.41a1.8 1.8 0 0 1 1.8 1.8v5.706zM23.188 25.316v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h5.4v2h-5.4zm9.9 0v-2h3.724c.733 0 1.443.172 2.084.498l-.907 1.783a2.585 2.585 0 0 0-1.177-.281h-3.724zm6.324 3.266h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v5.4h-2v-5.4zm0 9.9h2v4.8c0 .257-.021.512-.063.763l-1.973-.33c.024-.142.036-.287.036-.433v-4.8zm-2.28 7.38l.242 1.986a4.664 4.664 0 0 1-.531.034h-5.02v-2h5.011c.1-.001.2-.008.298-.02zm-9.81.02v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-5.4v-2h5.4zm-9.9 0v2h-4.134c-.549 0-1.086-.097-1.592-.283l.692-1.877c.285.105.588.16.9.16h4.135zm-6.734-2.855h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.4h2v5.4zm0-9.9h-2v-5.211c0-.08.002-.16.006-.24l1.998.103a2.659 2.659 0 0 0-.004.137v5.21zm1.97-7.735l-.482-1.94c.339-.085.688-.13 1.041-.136l.03 2a2.604 2.604 0 0 0-.589.076zm8.74 11.532h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zM31.298 96.362h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M31.298 36.924h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zm36.938-29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V39.624a2.7 2.7 0 0 1 2.7-2.7zm0 29.72h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V69.343a2.7 2.7 0 0 1 2.7-2.7zM31.298 96.362h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H31.298a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.627a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7H68.236a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7zm36.938 0h21.628a2.7 2.7 0 0 1 2.7 2.7v13.512a2.7 2.7 0 0 1-2.7 2.7h-21.628a2.7 2.7 0 0 1-2.7-2.7V99.063a2.7 2.7 0 0 1 2.7-2.7z\",\r\n fill: \"#FFF\",\r\n opacity: 0.8\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgEmptyCalendar;","import React from 'react';\r\n\r\nvar SvgNoComments = function SvgNoComments(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 214, height: 183, viewBox: \"0 0 214 183\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(-.56 61.346)\" },\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 2.56,\r\n y: 2.654,\r\n width: 211,\r\n height: 56,\r\n rx: 3.52\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M5.579 3.654c-1.115 0-2.019.899-2.019 2.008v48.984c0 1.109.904 2.008 2.019 2.008h203.962c1.115 0 2.02-.9 2.02-2.008V5.662c0-1.109-.905-2.008-2.02-2.008H5.58zm-.002-3h203.966c2.77 0 5.017 2.236 5.017 4.994V54.66c0 2.758-2.246 4.994-5.017 4.994H5.577c-2.77 0-5.017-2.236-5.017-4.994V5.648C.56 2.89 2.806.654 5.577.654zm44.743 15H192.8c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 11h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36.56 25.476c0 4.877-5.598 8.822-12.499 8.822-2.096 0-4.075-.365-5.81-1.01-1.75 1.324-3.898 2.134-6.18 2.363a.466.466 0 0 1-.5-.327c-.056-.212.117-.343.286-.5.838-.78 1.854-1.391 2.253-4.012-1.597-1.48-2.548-3.33-2.548-5.336 0-4.873 5.599-8.822 12.5-8.822 6.9 0 12.498 3.949 12.498 8.822z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M50.32 15.654H192.8c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H50.32a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 11h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36.56 25.476c0 4.877-5.598 8.822-12.499 8.822-2.096 0-4.075-.365-5.81-1.01-1.75 1.324-3.898 2.134-6.18 2.363a.466.466 0 0 1-.5-.327c-.056-.212.117-.343.286-.5.838-.78 1.854-1.391 2.253-4.012-1.597-1.48-2.548-3.33-2.548-5.336 0-4.873 5.599-8.822 12.5-8.822 6.9 0 12.498 3.949 12.498 8.822z\",\r\n fill: \"#FFF\",\r\n opacity: 0.7\r\n })\r\n ),\r\n React.createElement(\"path\", {\r\n d: \"M4.52 0h203.96A3.52 3.52 0 0 1 212 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 52.48V3.52A3.52 3.52 0 0 1 4.52 0zm0 127h203.96a3.52 3.52 0 0 1 3.52 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 179.48v-48.96A3.52 3.52 0 0 1 4.52 127z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M4.52 0h203.96A3.52 3.52 0 0 1 212 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 52.48V3.52A3.52 3.52 0 0 1 4.52 0zm0 127h203.96a3.52 3.52 0 0 1 3.52 3.52v48.96a3.52 3.52 0 0 1-3.52 3.52H4.52A3.52 3.52 0 0 1 1 179.48v-48.96A3.52 3.52 0 0 1 4.52 127z\",\r\n fillOpacity: 0.92,\r\n fill: \"#FFF\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M49.76 16h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 21.24v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 35.24v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 26c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9zm13.76 117h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 153c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M49.76 16h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 21.24v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76A1.76 1.76 0 0 1 48 35.24v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 26c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9zm13.76 117h142.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm0 14h96.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76H49.76a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zm128 12h23.48c.972 0 1.76.788 1.76 1.76v3.48a1.76 1.76 0 0 1-1.76 1.76h-23.48a1.76 1.76 0 0 1-1.76-1.76v-3.48c0-.972.788-1.76 1.76-1.76zM36 153c0 5.42-5.598 9.573-12 10-2.595-.427-4.574-.811-6-1-2.059.903-4.207 1.756-6 2-.716.024-.933-.128-1 0-.046-.57.128-.708 0-1 1.135-.695 2.15-1.338 3-4-2.047-1.655-2.998-3.602-3-6 .002-4.843 5.6-9 13-9 6.402 0 12 4.157 12 9z\",\r\n fillOpacity: 0.7,\r\n fill: \"#FFF\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoComments;","import React from 'react';\r\nimport uuid from 'uuid/v4';\r\n\r\nvar SvgNoMessages = function SvgNoMessages(props) {\r\n\r\n var id1 = uuid();\r\n var id2 = uuid();\r\n\r\n return React.createElement(\r\n 'svg',\r\n Object.assign({ width: 156, height: 183, viewBox: '0 0 156 183' }, props),\r\n React.createElement(\r\n 'defs',\r\n null,\r\n React.createElement(\r\n 'linearGradient',\r\n {\r\n x1: '50%',\r\n y1: '100%',\r\n x2: '50%',\r\n y2: '0%',\r\n id: id1\r\n },\r\n React.createElement('stop', { stopColor: '#EBEBEB', stopOpacity: 0, offset: '0%' }),\r\n React.createElement('stop', { stopColor: '#EBEBEB', offset: '33.339%' }),\r\n React.createElement('stop', { stopColor: '#EBEBEB', offset: '100%' })\r\n ),\r\n React.createElement(\r\n 'linearGradient',\r\n {\r\n x1: '31.773%',\r\n y1: '21.985%',\r\n x2: '61.51%',\r\n y2: '82.063%',\r\n id: id2\r\n },\r\n React.createElement('stop', { stopColor: '#F6F6F6', offset: '0%' }),\r\n React.createElement('stop', { stopColor: '#D1D1D1', offset: '38.942%' }),\r\n React.createElement('stop', { stopColor: '#F4F4F4', offset: '100%' })\r\n )\r\n ),\r\n React.createElement(\r\n 'g',\r\n { fill: 'none', fillRule: 'evenodd' },\r\n React.createElement('path', {\r\n fill: 'url(#' + id1 + ')',\r\n d: 'M96.543 93.138h15.785v90.022H96.543z'\r\n }),\r\n React.createElement('path', {\r\n d: 'M123.768 82.13l.083.191-.083.04v.11l-.115-.053-88.996 43.798L.99 44.976 88.753 1.451l.128.296A15.2 15.2 0 0 1 95.858.062c2.182 0 4.337.468 6.323 1.371a36.849 36.849 0 0 1 21.587 33.54V82.13z',\r\n transform: 'translate(32.118 .332)',\r\n fill: 'url(#' + id2 + ')'\r\n }),\r\n React.createElement('path', {\r\n d: 'M24.334 106.366l-.216-.097v-46.97c0-8.51 6.899-15.41 15.409-15.41 2.177 0 4.33.462 6.316 1.355A36.819 36.819 0 0 1 67.57 78.826v46.723l.214.096L46.606 158.5c-7.4 11.48-22.078 15.833-34.54 10.243C1.779 164.13-2.82 152.05 1.795 141.763c.42-.938.91-1.842 1.467-2.705l21.072-32.692z',\r\n fill: 'currentColor'\r\n }),\r\n React.createElement('path', {\r\n fill: '#FFF',\r\n opacity: 0.2,\r\n d: 'M24 105.853l43.569-21.001v40.945z'\r\n }),\r\n React.createElement('path', {\r\n d: 'M12.066 168.743C1.779 164.13-2.82 152.05 1.795 141.763c.42-.938.91-1.842 1.467-2.705l21.177-32.855 43.344 19.442L46.606 158.5c-7.4 11.48-22.078 15.833-34.54 10.243z',\r\n fill: '#FFF',\r\n opacity: 0.85\r\n }),\r\n React.createElement('path', {\r\n d: 'M45.843 45.244A36.819 36.819 0 0 1 67.57 78.826v46.97L24.118 106.27v-46.97c0-8.51 6.899-15.41 15.409-15.41 2.177 0 4.33.462 6.316 1.355z',\r\n fill: '#FFF',\r\n opacity: 0.3\r\n }),\r\n React.createElement('path', {\r\n d: 'M146.187 57.3v7.424L138.54 68.4l.142-7.442-51.17 24.945.149-7.78 58.677-28.605-.15 7.78z',\r\n fill: 'currentColor'\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoMessages;","import React from 'react';\r\nimport uuid from 'uuid/v4';\r\nvar SvgNoSearchResults = function SvgNoSearchResults(props) {\r\n\r\n var id1 = uuid();\r\n var id2 = uuid();\r\n\r\n return React.createElement(\r\n 'svg',\r\n Object.assign({ width: 153, height: 181, viewBox: '0 0 153 181' }, props),\r\n React.createElement(\r\n 'defs',\r\n null,\r\n React.createElement('circle', { id: id1, cx: 36.348, cy: 36, r: 36 })\r\n ),\r\n React.createElement(\r\n 'g',\r\n { fill: 'none', fillRule: 'evenodd' },\r\n React.createElement('path', {\r\n d: 'M48.716 5.603h82.642v11.723a5.4 5.4 0 0 0 5.4 5.4h11.051v99.971a2.7 2.7 0 0 1-2.7 2.7H49.616a2.7 2.7 0 0 1-2.7-2.7V7.403a1.8 1.8 0 0 1 1.8-1.8zM135.898.5h.601v.125c.167.073.324.178.46.315l15.515 15.533c.157.158.272.341.345.537h.093V126.3a4.2 4.2 0 0 1-4.2 4.2H45.7a4.2 4.2 0 0 1-4.2-4.2V4.7A4.2 4.2 0 0 1 45.7.5h90.198zm12.872 16.51L136.5 4.724V15.81a1.2 1.2 0 0 0 1.2 1.2h11.07zM133.5 3.5H45.7a1.2 1.2 0 0 0-1.2 1.2v121.6a1.2 1.2 0 0 0 1.2 1.2h103.012a1.2 1.2 0 0 0 1.2-1.2V20.01H137.7a4.2 4.2 0 0 1-4.2-4.2V3.5z',\r\n fill: 'currentColor'\r\n }),\r\n React.createElement('path', {\r\n d: 'M48.716 5.603h82.642v11.723a5.4 5.4 0 0 0 5.4 5.4h11.051v99.971a2.7 2.7 0 0 1-2.7 2.7H49.616a2.7 2.7 0 0 1-2.7-2.7V7.403a1.8 1.8 0 0 1 1.8-1.8z',\r\n fillOpacity: 0.92,\r\n fill: '#FFF'\r\n }),\r\n React.createElement('path', {\r\n fill: '#FFF',\r\n d: 'M61.33 29.922h72.967v7.206H61.33zM61.33 44.333h72.967v7.206H61.33zM61.33 58.745h72.967v7.206H61.33zM61.33 73.156h72.967v7.206H61.33zM61.33 87.567h72.967v7.206H61.33z'\r\n }),\r\n React.createElement(\r\n 'g',\r\n { transform: 'translate(6.652 84)' },\r\n React.createElement(\r\n 'mask',\r\n { id: id2, fill: '#fff' },\r\n React.createElement('use', { xlinkHref: '#' + id1 })\r\n ),\r\n React.createElement('use', { fill: '#FFF', xlinkHref: '#' + id1 }),\r\n React.createElement('path', {\r\n d: 'M32-223h183.475v26.021c0 6.628 5.372 12 12 12H252V37a6 6 0 0 1-6 6H34a6 6 0 0 1-6-6v-256a4 4 0 0 1 4-4zm-6-5a3 3 0 0 0-3 3V45a3 3 0 0 0 3 3h229a3 3 0 0 0 3-3v-236.34h-27.487a9 9 0 0 1-9-9V-228H26zm0-6h201.513v33.66a3 3 0 0 0 3 3H264V45a9 9 0 0 1-9 9H26a9 9 0 0 1-9-9v-270a9 9 0 0 1 9-9z',\r\n fill: 'currentColor',\r\n mask: 'url(#' + id2 + ')'\r\n }),\r\n React.createElement('path', {\r\n d: 'M32-223h183.475v26.021c0 6.628 5.372 12 12 12H252V37a6 6 0 0 1-6 6H34a6 6 0 0 1-6-6v-256a4 4 0 0 1 4-4z',\r\n fillOpacity: 0.92,\r\n fill: '#FFF',\r\n mask: 'url(#' + id2 + ')'\r\n })\r\n ),\r\n React.createElement(\r\n 'g',\r\n { fill: 'currentColor' },\r\n React.createElement('path', { d: 'M80.358 139.898l8.267 4.773c7 .192 12.163 1.249 15.49 3.17l34.858 20.125c.4 1.641-.257 3.945-1.97 6.913-1.713 2.967-3.39 4.704-5.03 5.211l-34.857-20.125c-2.996-1.73-6.493-5.673-10.49-11.83l-8.268-4.773c-12.176 19.001-37.269 25.248-57.016 13.847C1.015 145.473-5.95 119.481 5.786 99.153c11.736-20.327 37.729-27.292 58.056-15.556 19.747 11.4 26.884 36.255 16.516 56.3zm-7.022-1.745c9.803-16.98 3.986-38.69-12.994-48.494-16.98-9.803-38.69-3.985-48.494 12.994-9.803 16.98-3.985 38.69 12.994 48.494 16.98 9.803 38.691 3.985 48.494-12.994zm-12.452-40.9l-.62.786a28.742 28.742 0 0 0-4.83-3.08 28.442 28.442 0 0 0-5.63-2.136c-7.447-1.952-15.393-.778-21.966 3.19a28.367 28.367 0 0 0-9.928 10.14l-.866-.5a29.367 29.367 0 0 1 10.277-10.496c6.803-4.107 15.028-5.322 22.737-3.301a29.442 29.442 0 0 1 7.284 3 29.742 29.742 0 0 1 3.542 2.398z' })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoSearchResults;","import React from 'react';\r\n\r\nvar SvgUnderMaintenance = function SvgUnderMaintenance(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 176, height: 169, viewBox: \"0 0 176 169\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(0 -1)\", fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"rect\", {\r\n fill: \"#F0F0F0\",\r\n y: 28.632,\r\n width: 175.23,\r\n height: 140.552,\r\n rx: 4.277\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 13.86,\r\n y: 44.469,\r\n width: 22.77,\r\n height: 9.898,\r\n rx: 2.851\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 13.86,\r\n y: 61.295,\r\n width: 50.49,\r\n height: 95.021,\r\n rx: 2.851\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M80.731 60.295v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm12.1 0v2h-6.6v-2h6.6zm9.039 6.4h-2V64.13a1.852 1.852 0 0 0-1.647-1.825l.216-1.988a3.854 3.854 0 0 1 3.43 3.805l.001 2.572zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm0 12.1h-2v-6.6h2v6.6zm-9.516 5.921v-2h5.702c.207-.004.407-.042.596-.11l.685 1.879a3.868 3.868 0 0 1-1.262.23l-5.721.001zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-12.1 0v-2h6.6v2h-6.6zm-9.974-5.464h2v1.613c0 1.023.829 1.851 1.851 1.851h.623v2h-.623a3.851 3.851 0 0 1-3.851-3.85v-1.614zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm0-12.1h2v6.6h-2v-6.6zm3.851-6.857v2c-.421 0-.818.14-1.142.395l-1.236-1.573a3.838 3.838 0 0 1 2.378-.822z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 75.79,\r\n y: 65.092,\r\n width: 80.3,\r\n height: 86,\r\n rx: 4.4\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n opacity: 0.85,\r\n x: 75.79,\r\n y: 65.092,\r\n width: 80.3,\r\n height: 86,\r\n rx: 4.4\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 42.57,\r\n y: 44.469,\r\n width: 121.77,\r\n height: 9.898,\r\n rx: 2.851\r\n }),\r\n React.createElement(\r\n \"g\",\r\n { transform: \"rotate(-9 122.614 -147.565)\" },\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 0.99,\r\n y: 0.99,\r\n width: 109.89,\r\n height: 122.735,\r\n rx: 2\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n x: 3,\r\n y: 3,\r\n width: 106,\r\n height: 118,\r\n rx: 1.929\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n x: 6,\r\n y: 6,\r\n width: 100,\r\n height: 111,\r\n rx: 1.82\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n opacity: 0.85,\r\n x: 6,\r\n y: 6,\r\n width: 100,\r\n height: 111,\r\n rx: 1.82\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n d: \"M22.397 22.397h67.789v7.136H22.397zM22.397 37.382h67.789v7.136H22.397zM22.397 52.367h67.789v7.136H22.397zM22.397 67.353h67.789v7.136H22.397zM22.397 82.338h67.789v7.136H22.397zM22.397 97.323h67.789v7.136H22.397z\"\r\n })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgUnderMaintenance;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { stroke: \"none\", strokeWidth: \"1\", fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(4.000000, 0.000000)\", fillRule: \"nonzero\" },\r\n React.createElement(\"path\", {\r\n d: \"M51.1899785,56.25 L51.5803571,56.25 C52.3611145,56.25 53,56.8828583 53,57.65625 L53,58.59375 C53,59.3671417 52.3611145,60 51.5803571,60 L9.46428571,60 C4.23524475,60 0,55.8047104 0,50.625 L0,9.375 C0,4.19528961 4.23524475,0 9.46428571,0 L50.1607143,0 C51.7341287,0 53,1.25392914 53,2.8125 L53,45.9375 C53,47.109375 52.2664948,48.1171417 51.2372306,48.5390854 C50.8113839,50.4257584 50.7167642,53.8827896 51.1899785,56.25 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"polygon\", { fill: \"currentColor\", points: \"15 45 49 45 49 4 15 4\" }),\r\n React.createElement(\"path\", {\r\n d: \"M4,47 C5.67504883,45.8315217 7.75,45.1304348 10,45.1304348 L12,45.1304348 L12,4 L10,4 C6.6875,4 4,6.51222826 4,9.60869565 L4,47 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M48,56 C47.6336748,53.7687073 47.6573347,51.0562286 48,49 L9.67284746,49 C2.10905085,49 2.10905085,56 9.67284746,56 L48,56 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"polygon\", { fillOpacity: \"0.88\", fill: \"#FFFFFF\", points: \"15 45 49 45 49 4 15 4\" }),\r\n React.createElement(\"path\", {\r\n d: \"M4,47 C5.67504883,45.8315217 7.75,45.1304348 10,45.1304348 L12,45.1304348 L12,4 L10,4 C6.6875,4 4,6.51222826 4,9.60869565 L4,47 Z\",\r\n fillOpacity: \"0.88\",\r\n fill: \"#FFFFFF\"\r\n }),\r\n React.createElement(\"path\", { d: \"M48,56 C47.6336748,53.7687073 47.6573347,51.0562286 48,49 L9.67284746,49 C2.10905085,49 2.10905085,56 9.67284746,56 L48,56 Z\",\r\n fillOpacity: \"0.88\",\r\n fill: \"#FFFFFF\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M42.5625,19 L22.4375,19 C21.6469218,19 21,18.3249432 21,17.5 L21,16.5 C21,15.6750472 21.6469218,15 22.4375,15 L42.5625,15 C43.3530782,15 44,15.6750472 44,16.5 L44,17.5 C44,18.3249432 43.3530782,19 42.5625,19 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M44,24.5 C44,25.3249432 43.3530782,26 42.5625,26 L22.4375,26 C21.6469218,26 21,25.3249432 21,24.5 L21,23.5 C21,22.6750472 21.6469218,22 22.4375,22 L42.5625,22 C43.3530782,22 44,22.6750472 44,23.5 L44,24.5 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M47.375 0h-33.75A5.625 5.625 0 0 0 8 5.625V60l22.5-13.125L53 60V5.625A5.625 5.625 0 0 0 47.375 0z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M49.25 53.471L30.5 42.534 11.75 53.47V5.625c0-1.034.841-1.875 1.875-1.875h33.75c1.034 0 1.875.841 1.875 1.875v47.846z\",\r\n fill: \"#FFF\",\r\n opacity: 0.88\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M47.375 0A5.625 5.625 0 0 1 53 5.625V60L30.5 46.875 8 60V5.625A5.625 5.625 0 0 1 13.625 0h33.75zm1.875 53.471V5.625a1.877 1.877 0 0 0-1.875-1.875h-33.75a1.877 1.877 0 0 0-1.875 1.875v47.846L30.5 42.534 49.25 53.47z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgCalendar = function SvgCalendar(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", { fill: \"currentColor\", d: \"M6 10h48v47H6z\" }),\r\n React.createElement(\"path\", { fill: \"#FFF\", opacity: 0.88, d: \"M7 11h46v46H7z\" }),\r\n React.createElement(\"path\", {\r\n d: \"M50.429 7.5h-5.572V1.406C44.857.633 44.23 0 43.464 0h-.928c-.766 0-1.393.633-1.393 1.406V7.5H18.857V1.406C18.857.633 18.23 0 17.464 0h-.928c-.766 0-1.393.633-1.393 1.406V7.5H9.57C6.496 7.5 4 10.02 4 13.125v41.25C4 57.48 6.496 60 9.571 60H50.43C53.504 60 56 57.48 56 54.375v-41.25C56 10.02 53.504 7.5 50.429 7.5zM9.57 11.25H50.43c1.021 0 1.857.844 1.857 1.875v5.625H7.714v-5.625c0-1.031.836-1.875 1.857-1.875zm40.858 45H9.57a1.872 1.872 0 0 1-1.857-1.875V22.5h44.572v31.875a1.872 1.872 0 0 1-1.857 1.875zM21.179 37.5h-4.643a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.643c.766 0 1.392.633 1.392 1.406v4.688c0 .773-.626 1.406-1.392 1.406zm11.142 0H27.68a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.642c.767 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406zm11.143 0h-4.643a1.404 1.404 0 0 1-1.392-1.406v-4.688c0-.773.626-1.406 1.392-1.406h4.643c.766 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406zM32.321 48.75H27.68a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.642c.767 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406zm-11.142 0h-4.643a1.404 1.404 0 0 1-1.393-1.406v-4.688c0-.773.627-1.406 1.393-1.406h4.643c.766 0 1.392.633 1.392 1.406v4.688c0 .773-.626 1.406-1.392 1.406zm22.285 0h-4.643a1.404 1.404 0 0 1-1.392-1.406v-4.688c0-.773.626-1.406 1.392-1.406h4.643c.766 0 1.393.633 1.393 1.406v4.688c0 .773-.627 1.406-1.393 1.406z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgCalendar;","import React from 'react';\r\n\r\nvar SvgChartBars = function SvgChartBars(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M44 18V8a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v35a1 1 0 0 1-1 1H45a.995.995 0 0 1-.5-.134.995.995 0 0 1-.5.134H34a.995.995 0 0 1-.5-.134.995.995 0 0 1-.5.134H23a.995.995 0 0 1-.5-.134.995.995 0 0 1-.5.134H12a1 1 0 0 1-1-1V27a1 1 0 0 1 1-1h10V12a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6h10z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M44 18V7h12v37H11V26h11V11h12v7h10z\",\r\n fill: \"#FFF\",\r\n opacity: 0.88\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M58.594 48.25A1.41 1.41 0 0 1 60 49.656v.938A1.41 1.41 0 0 1 58.594 52H1.406A1.41 1.41 0 0 1 0 50.594V8.406A1.41 1.41 0 0 1 1.406 7h.938A1.41 1.41 0 0 1 3.75 8.406V48.25h54.844zM18.75 40.047v-9.844a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v9.844c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703zm33.75 0V11.453a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v28.594c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703zm-11.25 0V22.703a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v17.344c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703zm-11.25 0V15.203a.705.705 0 0 0-.703-.703h-2.344a.705.705 0 0 0-.703.703v24.844c0 .387.316.703.703.703h2.344a.705.705 0 0 0 .703-.703z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgChartBars;","import React from 'react';\r\n\r\nvar SvgCheckmark = function SvgCheckmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"circle\", { fill: \"currentColor\", cx: 30, cy: 30, r: 28 }),\r\n React.createElement(\"circle\", { fill: \"#FFF\", opacity: 0.88, cx: 30, cy: 30, r: 28 }),\r\n React.createElement(\"path\", {\r\n d: \"M30 0C13.431 0 0 13.431 0 30c0 16.569 13.431 30 30 30 16.569 0 30-13.431 30-30C60 13.431 46.569 0 30 0zm0 56.129C15.645 56.129 3.871 44.509 3.871 30 3.871 15.646 15.491 3.871 30 3.871c14.355 0 26.129 11.62 26.129 26.129 0 14.354-11.62 26.129-26.129 26.129zm17.133-33.261L25.3 44.525c-.569.564-1.488.56-2.052-.009L12.859 34.044a1.452 1.452 0 0 1 .008-2.053l1.031-1.022a1.452 1.452 0 0 1 2.053.008l8.344 8.411 19.77-19.612a1.452 1.452 0 0 1 2.054.008l1.022 1.03c.565.57.56 1.49-.008 2.054z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgCheckmark;","import React from 'react';\r\n\r\nvar SvgCrown = function SvgCrown(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M13.085 41.252L6.719 25.125l-4.57-.745v-4.464l3.101-2.762L9 19.916l-.169 4.464 9.11 4.823 3.765-4.823 6.747-11.526-2.305-3.604 2.305-4.212 3.797.697 1.735 4.223-1.735 2.896 4.427 9.275 4.548 6.329h3.155l6.798-4.078V19l4.413-1.846 3.022 4.096-2.363 3.875h-2.33l-7.073 16.127z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M13.085 41.252L6.719 25.125l-4.57-.745v-4.464l3.101-2.762L9 19.916l-.169 4.464 9.11 4.823 3.765-4.823 6.747-11.526-2.305-3.604 2.305-4.212 3.797.697 1.735 4.223-1.735 2.896 4.427 9.275 4.548 6.329h3.155l6.798-4.078V19l4.413-1.846 3.022 4.096-2.363 3.875h-2.33l-7.073 16.127z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M50.25 46H9.75a.752.752 0 0 0-.75.75v1.5c0 .413.338.75.75.75h40.5c.413 0 .75-.337.75-.75v-1.5a.752.752 0 0 0-.75-.75zm4.5-30a5.253 5.253 0 0 0-5.25 5.25c0 .712.14 1.387.403 2.006l-5.278 3.169a2.985 2.985 0 0 1-1.538.431 3.002 3.002 0 0 1-2.606-1.51l-6.975-12.205c1.06-.966 1.744-2.344 1.744-3.891A5.253 5.253 0 0 0 30 4a5.253 5.253 0 0 0-5.25 5.25 5.22 5.22 0 0 0 1.744 3.881l-6.975 12.206a2.982 2.982 0 0 1-2.606 1.51 2.96 2.96 0 0 1-1.538-.431l-5.278-3.17a5.284 5.284 0 0 0 .403-2.005 5.253 5.253 0 0 0-5.25-5.25 5.253 5.253 0 1 0 0 10.51c.188-.001.366-.038.544-.057L12 43h36l6.206-16.556c.178.018.356.056.544.056A5.253 5.253 0 0 0 60 21.25 5.253 5.253 0 0 0 54.75 16zM30 7a2.257 2.257 0 0 1 2.25 2.25A2.257 2.257 0 0 1 30 11.5a2.257 2.257 0 0 1-2.25-2.25A2.257 2.257 0 0 1 30 7zM5.25 23.5A2.257 2.257 0 0 1 3 21.25 2.257 2.257 0 0 1 5.25 19a2.257 2.257 0 0 1 2.25 2.25 2.257 2.257 0 0 1-2.25 2.25zM45.919 40H14.08l-5.25-14.006 5.007 3a5.973 5.973 0 0 0 3.084.853 6.026 6.026 0 0 0 5.212-3.028l7.088-12.403c.262.037.515.075.787.075s.525-.038.788-.075l7.078 12.412a6.017 6.017 0 0 0 5.212 3.019c1.088 0 2.147-.3 3.085-.853l5.006-3L45.918 40zm8.831-16.5a2.257 2.257 0 0 1-2.25-2.25A2.257 2.257 0 0 1 54.75 19 2.257 2.257 0 0 1 57 21.25a2.257 2.257 0 0 1-2.25 2.25z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgCrown;","import React from 'react';\r\n\r\nvar SvgEmptySet = function SvgEmptySet(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M59.3345029,3.19385965 L56.6888889,0.548245614 C55.9578947,-0.182748538 54.7730994,-0.182748538 54.0421053,0.548245614 L45.6105263,8.97982456 C41.2362573,5.70497076 35.825731,3.74239766 29.9415205,3.74239766 C15.4725146,3.74239766 3.74269006,15.4722222 3.74269006,29.9412281 C3.74269006,35.824269 5.70526316,41.2359649 8.98011696,45.6090643 L0.548538012,54.0418129 C-0.18245614,54.772807 -0.18245614,55.9576023 0.548538012,56.6885965 L3.19532164,59.3353801 C3.92631579,60.0663743 5.11111111,60.0663743 5.84210526,59.3353801 L14.2736842,50.9038012 C18.6467836,54.1774854 24.0584795,56.1400585 29.9415205,56.1400585 C44.4105263,56.1400585 56.1403509,44.4102339 56.1403509,29.9412281 C56.1403509,24.0581871 54.1777778,18.6464912 50.902924,14.2733918 L59.3345029,5.84181287 C60.0654971,5.10964912 60.0654971,3.9248538 59.3345029,3.19385965 Z M13.0994152,29.9412281 C13.0994152,20.6546784 20.6549708,13.0991228 29.9415205,13.0991228 C33.2292398,13.0991228 36.2760234,14.0827485 38.871345,15.7178363 L15.7181287,38.8710526 C14.0830409,36.275731 13.0994152,33.2289474 13.0994152,29.9412281 Z M46.7836257,29.9412281 C46.7836257,39.2277778 39.2280702,46.7833333 29.9415205,46.7833333 C26.6538012,46.7833333 23.6070175,45.7997076 21.0116959,44.1646199 L44.1637427,21.0114035 C45.8,23.6067251 46.7836257,26.6535088 46.7836257,29.9412281 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.3345029,3.19385965 L56.6888889,0.548245614 C55.9578947,-0.182748538 54.7730994,-0.182748538 54.0421053,0.548245614 L45.6105263,8.97982456 C41.2362573,5.70497076 35.825731,3.74239766 29.9415205,3.74239766 C15.4725146,3.74239766 3.74269006,15.4722222 3.74269006,29.9412281 C3.74269006,35.824269 5.70526316,41.2359649 8.98011696,45.6090643 L0.548538012,54.0418129 C-0.18245614,54.772807 -0.18245614,55.9576023 0.548538012,56.6885965 L3.19532164,59.3353801 C3.92631579,60.0663743 5.11111111,60.0663743 5.84210526,59.3353801 L14.2736842,50.9038012 C18.6467836,54.1774854 24.0584795,56.1400585 29.9415205,56.1400585 C44.4105263,56.1400585 56.1403509,44.4102339 56.1403509,29.9412281 C56.1403509,24.0581871 54.1777778,18.6464912 50.902924,14.2733918 L59.3345029,5.84181287 C60.0654971,5.10964912 60.0654971,3.9248538 59.3345029,3.19385965 Z M13.0994152,29.9412281 C13.0994152,20.6546784 20.6549708,13.0991228 29.9415205,13.0991228 C33.2292398,13.0991228 36.2760234,14.0827485 38.871345,15.7178363 L15.7181287,38.8710526 C14.0830409,36.275731 13.0994152,33.2289474 13.0994152,29.9412281 Z M46.7836257,29.9412281 C46.7836257,39.2277778 39.2280702,46.7833333 29.9415205,46.7833333 C26.6538012,46.7833333 23.6070175,45.7997076 21.0116959,44.1646199 L44.1637427,21.0114035 C45.8,23.6067251 46.7836257,26.6535088 46.7836257,29.9412281 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.6865954,1.82816581 L58.1718636,0.313399853 C57.7540065,-0.104466618 57.0749888,-0.104466618 56.6571317,0.313399853 L46.5964194,10.3743387 C42.1151703,6.58273622 36.3294571,4.28580995 30,4.28580995 C15.7982112,4.28580995 4.28571344,15.7985669 4.28571344,30.0006697 C4.28571344,36.3302752 6.58258799,42.1161187 10.3741051,46.5961294 L0.313392796,56.6570682 C-0.104464265,57.0749347 -0.104464265,57.7539677 0.313392796,58.1718342 L1.82812464,59.6866001 C2.2459817,60.1044666 2.92499942,60.1044666 3.34285649,59.6866001 L13.4035688,49.6256613 C17.8848179,53.4186031 23.6705311,55.7155294 30,55.7155294 C44.201777,55.7155294 55.7142748,44.2027724 55.7142748,30.0006697 C55.7142748,23.6710641 53.4174002,17.8852207 49.6258831,13.4052099 L59.6865954,3.34427108 C60.1044682,2.92528792 60.1044682,2.24714897 59.6865954,1.82816581 Z M8.57142689,30.0006697 C8.57142689,18.1852273 18.1848179,8.5716199 29.9999941,8.5716199 C35.1348145,8.5716199 39.7901707,10.4627335 43.4852593,13.4855689 L13.4852652,43.4862385 C10.4611587,39.7910668 8.57142689,35.1356057 8.57142689,30.0006697 Z M51.4285613,30.0006697 C51.4285613,41.816112 41.8151703,51.4297194 29.9999941,51.4297194 C24.8651737,51.4297194 20.2098175,49.5386058 16.5147289,46.5157704 L46.5147289,16.5151008 C49.5388295,20.2102726 51.4285613,24.8657336 51.4285613,30.0006697 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgEmptySet;","import React from 'react';\r\n\r\nvar SvgError = function SvgError(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"circle\", { fill: \"currentColor\", cx: \"30\", cy: \"30\", r: \"30\" }),\r\n React.createElement(\"circle\", { fill: \"#FFFFFF\", opacity: \"0.88\", cx: \"30\", cy: \"30\", r: \"30\" }),\r\n React.createElement(\"path\", {\r\n d: \"M30,3.87096774 C44.3493145,3.87096774 56.1290323,15.4929435 56.1290323,30 C56.1290323,44.4303629 44.4423387,56.1290323 30,56.1290323 C15.5753226,56.1290323 3.87096774,44.4481452 3.87096774,30 C3.87096774,15.5802823 15.5566935,3.87096774 30,3.87096774 M30,0 C13.432621,0 0,13.4374597 0,30 C0,46.5722177 13.432621,60 30,60 C46.567379,60 60,46.5722177 60,30 C60,13.4374597 46.567379,0 30,0 Z M28.6100806,14.516129 L31.3897984,14.516129 C32.2151613,14.516129 32.8745565,15.2034677 32.8402016,16.0282258 L31.9934274,36.3508065 C31.9610081,37.1283871 31.3213306,37.7419355 30.5430242,37.7419355 L29.4568548,37.7419355 C28.6786694,37.7419355 28.038871,37.1282661 28.0064516,36.3508065 L27.1596774,16.0282258 C27.1254435,15.2034677 27.7847177,14.516129 28.6100806,14.516129 Z M30,40.1612903 C28.1293548,40.1612903 26.6129032,41.6777419 26.6129032,43.5483871 C26.6129032,45.4190323 28.1293548,46.9354839 30,46.9354839 C31.8706452,46.9354839 33.3870968,45.4190323 33.3870968,43.5483871 C33.3870968,41.6777419 31.8706452,40.1612903 30,40.1612903 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgError;","import React from 'react';\r\n\r\nvar SvgEyeHide = function SvgEyeHide(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M20 14.856l21.68 29.691 8.089-3.312 8.984-11.533-6.528-9.318-14.73-7.826L26.964 12z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M20 14.856l21.68 29.691 8.089-3.312 8.984-11.533-6.528-9.318-14.73-7.826L26.964 12z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M33.49 45.771l2.261 3.076c-1.9.323-3.824.484-5.751.484A33.9 33.9 0 0 1 .692 32.56a5.08 5.08 0 0 1 0-5.121 33.874 33.874 0 0 1 10.932-11.391l1.992 2.708a30.548 30.548 0 0 0-10.052 10.39 1.694 1.694 0 0 0 0 1.706C8.975 40.115 18.972 45.97 30 45.97a30.96 30.96 0 0 0 3.49-.198zm-18.701-25.42a16.12 16.12 0 0 0-1.456 6.707c0 9.017 7.42 16.39 16.667 16.39.58 0 1.152-.03 1.717-.086l-2.424-3.295c-7.035-.359-12.626-6.046-12.626-13.009 0-1.182.163-2.358.485-3.494l-2.363-3.213zm44.519 12.21a33.904 33.904 0 0 1-15.224 13.728l5.93 8.06c.417.567.3 1.367-.262 1.787l-.677.508a1.259 1.259 0 0 1-1.772-.265L9.985 5.65a1.284 1.284 0 0 1 .263-1.786l.678-.508a1.259 1.259 0 0 1 1.77.265l6.479 8.806A34.027 34.027 0 0 1 30 10.67a33.9 33.9 0 0 1 29.308 16.77 5.08 5.08 0 0 1 0 5.121zm-15.975-5.503c0-7.194-5.97-13.027-13.333-13.027-2.923 0-5.625.92-7.822 2.478l3.615 4.915a6.617 6.617 0 0 1 7.346-.719h-.002c-1.516 0-2.745 1.24-2.745 2.77 0 1.528 1.23 2.768 2.745 2.768 1.516 0 2.745-1.24 2.745-2.769v-.002c1.586 2.99.718 6.782-2.154 8.739l4.012 5.453c3.385-2.362 5.593-6.231 5.593-10.606zm13.103 2.089a30.556 30.556 0 0 0-13.298-12.175c5.771 7.252 4.344 17.903-3.41 23.395l2.317 3.149a30.507 30.507 0 0 0 14.39-12.663 1.694 1.694 0 0 0 0-1.706z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgEyeHide;","import React from 'react';\r\n\r\nvar SvgGraduationCap = function SvgGraduationCap(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M30.678 43.424l-9.348-.611-7.445-3.556 1.123-10.273L1.969 24.6v-3.183L30 13.233l28.453 8.868v2.5L44.992 29.33l1.646 9.447-7.131 4.036z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M30.678 43.424l-9.348-.611-7.445-3.556 1.123-10.273L1.969 24.6v-3.183L30 13.233l28.453 8.868v2.5L44.992 29.33l1.646 9.447-7.131 4.036z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M57.409 19.81l-24.584-7.412a10.222 10.222 0 0 0-5.65 0L2.593 19.81c-3.467 1.016-3.447 5.872 0 6.882l2.605.785c-.316 1-.438 2.058-.483 3.235a2.624 2.624 0 0 0-.022 4.565l-.94 11.915A.75.75 0 0 0 4.5 48h3a.75.75 0 0 0 .748-.81l-.94-11.914a2.623 2.623 0 0 0 .032-4.533c.04-.966.14-1.775.38-2.507l5.51 1.662C12.667 33.652 12 38.119 12 38.22 12 43.739 24.435 45 30 45c5.566 0 18-1.261 18-6.78 0-.1-.667-4.568-1.23-8.322L57.41 26.69c3.458-1.014 3.452-5.87 0-6.882zM44.992 38.28C44.25 40.5 37.5 42 30 42c-7.5 0-14.25-1.5-14.992-3.72l1.126-7.507 11.041 3.329c1.846.53 3.804.53 5.65 0l11.041-3.329 1.126 7.506zm11.561-14.468l-24.566 7.41a7.226 7.226 0 0 1-3.975 0l-24.55-7.405-.015-.005a.577.577 0 0 1 0-1.124l24.565-7.41a7.228 7.228 0 0 1 3.975 0l24.551 7.405.015.005a.577.577 0 0 1 0 1.124z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgGraduationCap;","import React from 'react';\r\n\r\nvar SvgHeart = function SvgHeart(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M30 55.327L9.183 35.348 1.817 24.19v-9.403l5.8-7.139 10.155-2.61 9.143 5.122L30 12.7l6.845-5.054 6.62-1.838 6.79 1.838 6.109 3.858L58.603 20l-3.252 10.5-9.102 9.364z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M30 55.327L9.183 35.348 1.817 24.19v-9.403l5.8-7.139 10.155-2.61 9.143 5.122L30 12.7l6.845-5.054 6.62-1.838 6.79 1.838 6.109 3.858L58.603 20l-3.252 10.5-9.102 9.364z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M43.148 4C38.284 4 33.614 6.93 30 10.235 26.386 6.94 21.716 4 16.852 4 6.455 4 0 10.451 0 20.835c0 8.343 7.09 15.09 7.739 15.694L27.09 55.701c1.602 1.584 4.216 1.595 5.818 0L52.25 36.575l.057-.057C54.114 34.751 60 28.414 60 20.835 60 10.45 53.545 4 43.148 4zm6.557 29.976L30.364 53.091a.493.493 0 0 1-.716 0L10.26 33.908c-3.238-3.055-6.625-8.252-6.625-13.073 0-8.378 4.819-13.188 13.216-13.188 5.125 0 9.705 4.218 13.148 7.682 1.795-1.8 7.239-7.682 13.148-7.682 8.397 0 13.216 4.81 13.216 13.188 0 4.832-3.205 9.71-6.66 13.141z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgHeart;","import React from 'react';\r\n\r\nvar SvgIdBadge = function SvgIdBadge(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", { fill: \"currentColor\", d: \"M2 12h56v37H2z\" }),\r\n React.createElement(\"path\", { fill: \"#FFF\", opacity: 0.88, d: \"M2 12h56v37H2z\" }),\r\n React.createElement(\"path\", {\r\n d: \"M54.375 7H5.625A5.625 5.625 0 0 0 0 12.625v33.75A5.625 5.625 0 0 0 5.625 52h48.75A5.625 5.625 0 0 0 60 46.375v-33.75A5.625 5.625 0 0 0 54.375 7zm1.875 39.375c0 1.036-.84 1.875-1.875 1.875H5.625a1.875 1.875 0 0 1-1.875-1.875V14.5h52.5v31.875zm-5.156-5.625H35.156c-.776 0-1.406-.63-1.406-1.406v-.938c0-.776.63-1.406 1.406-1.406h15.938c.776 0 1.406.63 1.406 1.406v.938c0 .776-.63 1.406-1.406 1.406zm0-7.5H35.156c-.776 0-1.406-.63-1.406-1.406v-.938c0-.776.63-1.406 1.406-1.406h15.938c.776 0 1.406.63 1.406 1.406v.938c0 .776-.63 1.406-1.406 1.406zm0-7.5H35.156c-.776 0-1.406-.63-1.406-1.406v-.938c0-.776.63-1.406 1.406-1.406h15.938c.776 0 1.406.63 1.406 1.406v.938c0 .776-.63 1.406-1.406 1.406zm-22.606 8.08a7.544 7.544 0 0 0-2.729-2.236A8.199 8.199 0 0 0 27 27.25C27 22.7 23.3 19 18.75 19s-8.25 3.7-8.25 8.25a8.199 8.199 0 0 0 1.24 4.344 7.546 7.546 0 0 0-2.728 2.236A7.545 7.545 0 0 0 7.5 38.346v1.279a4.88 4.88 0 0 0 4.875 4.875h12.75A4.88 4.88 0 0 0 30 39.625v-1.279c0-1.619-.537-3.223-1.512-4.516zM18.75 22.75a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm7.5 16.875a1.125 1.125 0 0 1-1.125 1.125h-12.75a1.125 1.125 0 0 1-1.125-1.125v-1.279a3.75 3.75 0 0 1 2.72-3.605l.845-.242A8.2 8.2 0 0 0 18.75 35.5a8.199 8.199 0 0 0 3.935-1l.845.24a3.75 3.75 0 0 1 2.72 3.606v1.279z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgIdBadge;","import React from 'react';\r\n\r\nvar SvgLightbulb = function SvgLightbulb(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M30 58.192l-6.09-.674-1.621-3.143V43.333L15.29 32.435 10.917 22.5l1.81-10.5 6.736-7.367 8.78-3.063 9.018 1.358L46.273 10l1.954 10-.946 8.333-6.52 8.334-3.5 5v9.657l-1.517 4.926z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M30 58.192l-6.09-.674-1.621-3.143V43.333L15.29 32.435 10.917 22.5l1.81-10.5 6.736-7.367 8.78-3.063 9.018 1.358L46.273 10l1.954 10-.946 8.333-6.52 8.334-3.5 5v9.657l-1.517 4.926z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M29.5 9.375a1.87 1.87 0 0 1-1.864 1.875c-4.11 0-7.454 3.364-7.454 7.5a1.87 1.87 0 0 1-1.864 1.875 1.87 1.87 0 0 1-1.863-1.875c0-6.203 5.016-11.25 11.181-11.25 1.03 0 1.864.84 1.864 1.875zM50 20.625c0 11.922-6.022 10.727-10.543 22.579a2.782 2.782 0 0 1-.639.98v10.191h-.002a2.822 2.822 0 0 1-.61 1.708l-2.276 2.861A2.79 2.79 0 0 1 33.747 60h-8.494a2.79 2.79 0 0 1-2.183-1.056l-2.276-2.861a2.821 2.821 0 0 1-.61-1.708h-.002V44.18a2.832 2.832 0 0 1-.645-.993C14.997 31.304 8.949 32.55 9 20.473 9.048 9.142 18.237 0 29.5 0 40.821 0 50 9.235 50 20.625zM35.09 52.5H23.91v1.497l1.79 2.253h7.6l1.79-2.253V52.5zm0-7.5H23.91v3.75h11.18V45zm11.183-24.375c0-9.327-7.504-16.875-16.773-16.875-9.27 0-16.773 7.55-16.773 16.875 0 10.251 5.142 8.31 10.058 20.625h13.43c4.907-12.293 10.058-10.404 10.058-20.625z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgLightbulb;","import React from 'react';\r\n\r\nvar SvgLink = function SvgLink(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"rect\", {\r\n fill: \"currentColor\",\r\n transform: \"rotate(-45 29.92 30.305)\",\r\n x: -2.58,\r\n y: 18.805,\r\n width: 65,\r\n height: 23,\r\n rx: 11.5\r\n }),\r\n React.createElement(\"rect\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n transform: \"rotate(-45 29.92 30.305)\",\r\n x: -2.58,\r\n y: 18.805,\r\n width: 65,\r\n height: 23,\r\n rx: 11.5\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M35.339 46.19l-9.263 9.245c-5.94 5.93-15.56 5.933-21.502 0-5.941-5.928-5.944-15.53 0-21.46l9.262-9.245c.135-.135.273-.268.413-.397.883-.818 2.315-.234 2.364.967.022.56.07 1.121.142 1.679.056.434-.087.87-.397 1.178L7.55 36.946a10.953 10.953 0 0 0 0 15.518c4.299 4.288 11.25 4.288 15.548 0l9.263-9.245.042-.042c4.246-4.281 4.227-11.215-.043-15.476a10.925 10.925 0 0 0-3.226-2.231 1.406 1.406 0 0 1-.835-1.362 7.248 7.248 0 0 1 .33-1.782 1.393 1.393 0 0 1 1.863-.85 15.115 15.115 0 0 1 4.846 3.254c5.928 5.917 5.927 15.545 0 21.46zM24.778 35.27a15.115 15.115 0 0 0 4.846 3.253 1.394 1.394 0 0 0 1.862-.85 7.248 7.248 0 0 0 .33-1.78 1.406 1.406 0 0 0-.834-1.363 10.92 10.92 0 0 1-3.226-2.23c-4.27-4.262-4.29-11.196-.043-15.477l.042-.042 9.263-9.245c4.298-4.288 11.25-4.289 15.548 0a10.953 10.953 0 0 1 0 15.518c-.018.019-6.879 6.866-8.807 8.788-.31.31-.453.745-.397 1.179.072.557.12 1.118.142 1.68.049 1.2 1.48 1.784 2.364.966.14-.13.278-.262.413-.397l9.262-9.245c5.944-5.93 5.941-15.533 0-21.46-5.942-5.933-15.563-5.93-21.502 0l-9.263 9.244c-5.927 5.916-5.928 15.544 0 21.461z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgLink;","import React from 'react';\r\n\r\nvar SvgNews = function SvgNews(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M8.814 14.95H2l.469 32.929h56.008V12H8.814z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M8.814 14.95H2l.469 32.929h56.008V12H8.814z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M57.5 10H9.167a2.503 2.503 0 0 0-2.5 2.5v.833H2.5a2.5 2.5 0 0 0-2.5 2.5V45a5 5 0 0 0 5 5h52.5c1.378 0 2.5-1.122 2.5-2.5v-35c0-1.378-1.122-2.5-2.5-2.5zM3.333 45V16.667h3.334V45c0 .919-.748 1.667-1.667 1.667A1.669 1.669 0 0 1 3.333 45zm53.334 1.667H9.714A4.99 4.99 0 0 0 10 45V13.333h46.667v33.334zm-42.084-10h17.5c.69 0 1.25-.56 1.25-1.25v-17.5c0-.69-.56-1.25-1.25-1.25h-17.5c-.69 0-1.25.56-1.25 1.25v17.5c0 .69.56 1.25 1.25 1.25zM16.667 20H30v13.333H16.667V20zm-3.334 22.083v-.833c0-.69.56-1.25 1.25-1.25h17.5c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25h-17.5c-.69 0-1.25-.56-1.25-1.25zm23.334 0v-.833c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25zm0-6.666v-.834c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.834c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25zm0-13.334v-.833c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25zm0 6.667v-.833c0-.69.56-1.25 1.25-1.25h14.166c.69 0 1.25.56 1.25 1.25v.833c0 .69-.56 1.25-1.25 1.25H37.917c-.69 0-1.25-.56-1.25-1.25z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNews;","import React from 'react';\r\n\r\nvar SvgNoCourses = function SvgNoCourses(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M24,33 C24,36.3140625 26.686875,39 30,39 C33.3140625,39 36,36.3140625 36,33 C36,29.6859375 33.3140625,27 30,27 C26.686875,27 24,29.6859375 24,33 Z M45,33 C45,36.3140625 47.686875,39 51,39 C54.3140625,39 57,36.3140625 57,33 C57,29.6859375 54.3140625,27 51,27 C47.686875,27 45,29.6859375 45,33 Z M9,39 C12.3140625,39 15,36.3140625 15,33 C15,29.6859375 12.3140625,27 9,27 C5.686875,27 3,29.6859375 3,33 C3,36.3140625 5.686875,39 9,39 Z M54,42 L48,42 C44.686875,42 42,44.6859375 42,48 L42,51 C42,52.6565625 43.3434375,54 45,54 L57,54 C58.6565625,54 60,52.6565625 60,51 L60,48 C60,44.6859375 57.313125,42 54,42 Z M33,42 L27,42 C23.686875,42 21,44.6859375 21,48 L21,51 C21,52.6565625 22.3434375,54 24,54 L36,54 C37.6565625,54 39,52.6565625 39,51 L39,48 C39,44.6859375 36.313125,42 33,42 Z M12,42 L6,42 C2.686875,42 0,44.6859375 0,48 L0,51 C0,52.6565625 1.3434375,54 3,54 L15,54 C16.6565625,54 18,52.6565625 18,51 L18,48 C18,44.6859375 15.313125,42 12,42 Z M9,12 L51,12 L51,24 C53.31375,24 55.404375,24.901875 57,26.3409375 L57,10.6490625 C57,8.0859375 54.9815625,6 52.5,6 L7.5,6 C5.0184375,6 3,8.0859375 3,10.6490625 L3,26.3409375 C4.595625,24.901875 6.6871875,24 9,24 L9,12 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M24,33 C24,36.3140625 26.686875,39 30,39 C33.3140625,39 36,36.3140625 36,33 C36,29.6859375 33.3140625,27 30,27 C26.686875,27 24,29.6859375 24,33 Z M45,33 C45,36.3140625 47.686875,39 51,39 C54.3140625,39 57,36.3140625 57,33 C57,29.6859375 54.3140625,27 51,27 C47.686875,27 45,29.6859375 45,33 Z M9,39 C12.3140625,39 15,36.3140625 15,33 C15,29.6859375 12.3140625,27 9,27 C5.686875,27 3,29.6859375 3,33 C3,36.3140625 5.686875,39 9,39 Z M54,42 L48,42 C44.686875,42 42,44.6859375 42,48 L42,51 C42,52.6565625 43.3434375,54 45,54 L57,54 C58.6565625,54 60,52.6565625 60,51 L60,48 C60,44.6859375 57.313125,42 54,42 Z M33,42 L27,42 C23.686875,42 21,44.6859375 21,48 L21,51 C21,52.6565625 22.3434375,54 24,54 L36,54 C37.6565625,54 39,52.6565625 39,51 L39,48 C39,44.6859375 36.313125,42 33,42 Z M12,42 L6,42 C2.686875,42 0,44.6859375 0,48 L0,51 C0,52.6565625 1.3434375,54 3,54 L15,54 C16.6565625,54 18,52.6565625 18,51 L18,48 C18,44.6859375 15.313125,42 12,42 Z M9,12 L51,12 L51,24 C53.31375,24 55.404375,24.901875 57,26.3409375 L57,10.6490625 C57,8.0859375 54.9815625,6 52.5,6 L7.5,6 C5.0184375,6 3,8.0859375 3,10.6490625 L3,26.3409375 C4.595625,24.901875 6.6871875,24 9,24 L9,12 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M51,27 C46.85625,27 43.5,30.35625 43.5,34.5 C43.5,38.64375 46.85625,42 51,42 C55.14375,42 58.5,38.64375 58.5,34.5 C58.5,30.35625 55.14375,27 51,27 Z M51,39 C48.515625,39 46.5,36.984375 46.5,34.5 C46.5,32.015625 48.515625,30 51,30 C53.484375,30 55.5,32.015625 55.5,34.5 C55.5,36.984375 53.484375,39 51,39 Z M22.5,34.5 C22.5,38.64375 25.85625,42 30,42 C34.14375,42 37.5,38.64375 37.5,34.5 C37.5,30.35625 34.14375,27 30,27 C25.85625,27 22.5,30.35625 22.5,34.5 Z M34.5,34.5 C34.5,36.984375 32.484375,39 30,39 C27.515625,39 25.5,36.984375 25.5,34.5 C25.5,32.015625 27.515625,30 30,30 C32.484375,30 34.5,32.015625 34.5,34.5 Z M9,42 C13.14375,42 16.5,38.64375 16.5,34.5 C16.5,30.35625 13.14375,27 9,27 C4.85625,27 1.5,30.35625 1.5,34.5 C1.5,38.64375 4.85625,42 9,42 Z M9,30 C11.484375,30 13.5,32.015625 13.5,34.5 C13.5,36.984375 11.484375,39 9,39 C6.515625,39 4.5,36.984375 4.5,34.5 C4.5,32.015625 6.515625,30 9,30 Z M52.875,45 L49.125,45 C45.196875,45 42,48.365625 42,52.5 C42,53.325 42.675,54 43.5,54 C44.325,54 45,53.325 45,52.5 C45,50.015625 46.85625,48 49.125,48 L52.875,48 C55.14375,48 57,50.015625 57,52.5 C57,53.325 57.675,54 58.5,54 C59.325,54 60,53.325 60,52.5 C60,48.365625 56.803125,45 52.875,45 Z M10.875,45 L7.125,45 C3.196875,45 0,48.365625 0,52.5 C0,53.325 0.675,54 1.5,54 C2.325,54 3,53.325 3,52.5 C3,50.015625 4.85625,48 7.125,48 L10.875,48 C13.14375,48 15,50.015625 15,52.5 C15,53.325 15.675,54 16.5,54 C17.325,54 18,53.325 18,52.5 C18,48.365625 14.803125,45 10.875,45 Z M31.875,45 L28.125,45 C24.196875,45 21,48.365625 21,52.5 C21,53.325 21.675,54 22.5,54 C23.325,54 24,53.325 24,52.5 C24,50.015625 25.85625,48 28.125,48 L31.875,48 C34.14375,48 36,50.015625 36,52.5 C36,53.325 36.675,54 37.5,54 C38.325,54 39,53.325 39,52.5 C39,48.365625 35.803125,45 31.875,45 Z M6,10.5 C6,9.6721875 6.6740625,9 7.5,9 L52.5,9 C53.3259375,9 54,9.6721875 54,10.5 L54,24.489375 C55.0790625,24.81375 56.0971875,25.273125 57,25.9059375 L57,10.5 C57,8.0184375 54.9815625,6 52.5,6 L7.5,6 C5.0184375,6 3,8.0184375 3,10.5 L3,25.9059375 C3.9028125,25.273125 4.9209375,24.8146875 6,24.489375 L6,10.5 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoCourses;","import React from 'react';\r\n\r\nvar SvgNoHistory = function SvgNoHistory(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M59.9999482,29.9433188 C60.0305009,46.4723801 46.5507259,59.9883716 30.0217222,60 C22.8828233,60.0050651 16.3254153,57.5165124 11.1723194,53.3575131 C9.83236201,52.2760596 9.7322009,50.2678706 10.9498601,49.0502072 L12.3128013,47.6872612 C13.3542108,46.6458481 15.0167885,46.5318963 16.1705769,47.4472608 C19.9671429,50.4599677 24.7718523,52.2581564 29.9999481,52.2581564 C42.302951,52.2581564 52.2579741,42.3011631 52.2579741,30.0000527 C52.2579741,17.6970069 42.3010155,7.74194909 29.9999481,7.74194909 C24.0950389,7.74194909 18.7319434,10.0365902 14.7498132,13.782121 L20.8893993,19.9217286 C22.1087521,21.1410855 21.2451648,23.2258473 19.5208936,23.2258473 L1.93548052,23.2258473 C0.866490436,23.2258473 0,22.3593538 0,21.29036 L0,3.70488554 C0,1.98060832 2.08475446,1.11701809 3.30410718,2.33625411 L9.2765162,8.30868396 C14.6623537,3.16161846 21.9618975,0 29.9999481,0 C46.5495162,0 59.9692914,13.40083 59.9999482,29.9433188 Z M38.1721376,39.8824346 L39.3788115,38.3592048 C40.3784972,37.0973241 40.1469406,35.2787349 38.861648,34.2973794 L33.8618683,30.4794154 L33.8618683,17.8944984 C33.8618683,16.295891 32.5419343,15 30.9136677,15 L28.9482006,15 C27.319934,15 26,16.295891 26,17.8944984 L26,34.2545649 L34.0349522,40.3901778 C35.3202449,41.3715334 37.1724519,41.1443153 38.1721376,39.8824346 L38.1721376,39.8824346 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.9999482,29.9433188 C60.0305009,46.4723801 46.5507259,59.9883716 30.0217222,60 C22.8828233,60.0050651 16.3254153,57.5165124 11.1723194,53.3575131 C9.83236201,52.2760596 9.7322009,50.2678706 10.9498601,49.0502072 L12.3128013,47.6872612 C13.3542108,46.6458481 15.0167885,46.5318963 16.1705769,47.4472608 C19.9671429,50.4599677 24.7718523,52.2581564 29.9999481,52.2581564 C42.302951,52.2581564 52.2579741,42.3011631 52.2579741,30.0000527 C52.2579741,17.6970069 42.3010155,7.74194909 29.9999481,7.74194909 C24.0950389,7.74194909 18.7319434,10.0365902 14.7498132,13.782121 L20.8893993,19.9217286 C22.1087521,21.1410855 21.2451648,23.2258473 19.5208936,23.2258473 L1.93548052,23.2258473 C0.866490436,23.2258473 0,22.3593538 0,21.29036 L0,3.70488554 C0,1.98060832 2.08475446,1.11701809 3.30410718,2.33625411 L9.2765162,8.30868396 C14.6623537,3.16161846 21.9618975,0 29.9999481,0 C46.5495162,0 59.9692914,13.40083 59.9999482,29.9433188 Z M38.1721376,39.8824346 L39.3788115,38.3592048 C40.3784972,37.0973241 40.1469406,35.2787349 38.861648,34.2973794 L33.8618683,30.4794154 L33.8618683,17.8944984 C33.8618683,16.295891 32.5419343,15 30.9136677,15 L28.9482006,15 C27.319934,15 26,16.295891 26,17.8944984 L26,34.2545649 L34.0349522,40.3901778 C35.3202449,41.3715334 37.1724519,41.1443153 38.1721376,39.8824346 L38.1721376,39.8824346 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M1.44578313,2.04819277 L2.65060241,2.04819277 C3.44903614,2.04819277 4.09638554,2.69554217 4.09638554,3.4939759 L4.09638554,14.8945783 C9.30072289,6.02975904 18.9444578,0.0861445783 29.9750602,0.120453374 C46.4072289,0.172048193 59.7846988,13.6155422 59.759073,30.0477108 C59.733253,46.5278313 46.3655422,59.8795181 29.8795181,59.8795181 C22.1775904,59.8795181 15.1563855,56.9654217 9.85807229,52.179759 C9.24204819,51.6233735 9.21301205,50.6663855 9.8,50.0793976 L10.6516867,49.2277108 C11.1942169,48.6851807 12.0672289,48.659759 12.6374699,49.173012 C17.2026506,53.2816867 23.2451807,55.7831325 29.8795181,55.7831325 C44.0655422,55.7831325 55.6626506,44.2974699 55.6626506,30 C55.6626506,15.8139759 44.176988,4.21686747 29.8795181,4.21686747 C19.8961446,4.21686747 11.236506,9.88879518 6.95313253,18.1927711 L18.7951807,18.1927711 C19.5936145,18.1927711 20.2409639,18.8401205 20.2409639,19.6385542 L20.2409639,20.8433735 C20.2409639,21.6418072 19.5936145,22.2891566 18.7951807,22.2891566 L1.44578313,22.2891566 C0.647349398,22.2891566 0,21.6418072 0,20.8433735 L0,3.4939759 C0,2.69554217 0.647349398,2.04819277 1.44578313,2.04819277 Z M40.1984337,40.0283133 L40.7654217,39.2487952 C41.2350602,38.603012 41.0922892,37.6987952 40.446506,37.2291566 L31.8072289,30.9461446 L31.8072289,13.1325301 C31.8072289,12.3340964 31.1598795,11.686747 30.3614458,11.686747 L29.3975904,11.686747 C28.5991566,11.686747 27.9518072,12.3340964 27.9518072,13.1325301 L27.9518072,32.9092771 L38.1787952,40.3471084 C38.8245783,40.8168675 39.7287952,40.6740964 40.1984337,40.0283133 L40.1984337,40.0283133 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoHistory;","import React from 'react';\r\n\r\nvar SvgNoSearchResults = function SvgNoSearchResults(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n {\r\n stroke: \"none\",\r\n strokeWidth: \"1\",\r\n fill: \"none\",\r\n fillRule: \"evenodd\"\r\n },\r\n React.createElement(\"path\", {\r\n d: \"M34.25,15.9375 L34.25,0 L10.8125,0 C9.25390625,0 8,1.25390625 8,2.8125 L8,57.1875 C8,58.7460938 9.25390625,60 10.8125,60 L50.1875,60 C51.7460938,60 53,58.7460938 53,57.1875 L53,18.75 L37.0625,18.75 C35.515625,18.75 34.25,17.484375 34.25,15.9375 Z M53,14.2851562 L53,15 L38,15 L38,0 L38.7148438,0 C39.4648438,0 40.1796875,0.29296875 40.7070312,0.8203125 L52.1796875,12.3046875 C52.7070312,12.8320312 53,13.546875 53,14.2851562 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M34.25,15.9375 L34.25,0 L10.8125,0 C9.25390625,0 8,1.25390625 8,2.8125 L8,57.1875 C8,58.7460938 9.25390625,60 10.8125,60 L50.1875,60 C51.7460938,60 53,58.7460938 53,57.1875 L53,18.75 L37.0625,18.75 C35.515625,18.75 34.25,17.484375 34.25,15.9375 Z M53,14.2851562 L53,15 L38,15 L38,0 L38.7148438,0 C39.4648438,0 40.1796875,0.29296875 40.7070312,0.8203125 L52.1796875,12.3046875 C52.7070312,12.8320312 53,13.546875 53,14.2851562 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M37.4853801,0.105263158 C38.9707602,0.105263158 40.3976608,0.701754386 41.4502924,1.75438596 L41.4502924,1.75438596 L51.2631579,11.5672515 C52.3157895,12.619883 52.9122807,14.0584795 52.9122807,15.5438596 L52.9122807,15.5438596 L52.9122807,54.3859649 C52.9122807,57.4853801 50.3976608,60 47.2982456,60 L47.2982456,60 L13.6140351,60 C10.5146199,60 8,57.4853801 8,54.3859649 L8,54.3859649 L8,5.73099415 C8,2.63157895 10.5146199,0.116959064 13.6140351,0.105263158 L13.6140351,0.105263158 Z M34.1988304,3.85964912 L13.6140351,3.85964912 C12.5847953,3.85964912 11.7426901,4.70175439 11.7426901,5.73099415 L11.7426901,5.73099415 L11.7426901,54.3859649 C11.7426901,55.4152047 12.5847953,56.2573099 13.6140351,56.2573099 L13.6140351,56.2573099 L47.2982456,56.2573099 C48.3274854,56.2573099 49.1695906,55.4152047 49.1695906,54.3859649 L49.1695906,54.3859649 L49.1695906,18.8304094 L37.005848,18.8304094 C35.4502924,18.8304094 34.1988304,17.5789474 34.1988304,16.0233918 L34.1988304,16.0233918 L34.1988304,3.85964912 Z M28.7309942,23 C34.1064327,23 38.4619883,27.3555556 38.4619883,32.7309942 C38.4619883,34.9906433 37.6947368,37.0678363 36.4035088,38.7192982 L36.4035088,38.7192982 L37.1660819,38.7192982 C37.4654971,38.7192982 37.7508772,38.8362573 37.9614035,39.0467836 L37.9614035,39.0467836 L42.625731,43.7111111 C43.0608187,44.1508772 43.0608187,44.8619883 42.6210526,45.3017544 L42.6210526,45.3017544 L41.297076,46.625731 C40.8619883,47.0654971 40.1508772,47.0654971 39.7111111,46.625731 L39.7111111,46.625731 L35.0467836,41.9614035 C34.8362573,41.7508772 34.7192982,41.4654971 34.7192982,41.1660819 L34.7192982,41.1660819 L34.7192982,40.4035088 C33.0678363,41.6947368 30.9906433,42.4619883 28.7309942,42.4619883 C23.3555556,42.4619883 19,38.1064327 19,32.7309942 C19,27.3555556 23.3555556,23 28.7309942,23 Z M28.7309942,26.7426901 C25.4187135,26.7426901 22.7426901,29.4233918 22.7426901,32.7309942 C22.7426901,36.0432749 25.4233918,38.7192982 28.7309942,38.7192982 C32.0432749,38.7192982 34.7192982,36.0385965 34.7192982,32.7309942 C34.7192982,29.4187135 32.0385965,26.7426901 28.7309942,26.7426901 Z M37.9415205,3.91812865 L37.9415205,15.0877193 L49.1111111,15.0877193 C49.0292398,14.7602339 48.8654971,14.4678363 48.619883,14.2222222 L48.619883,14.2222222 L38.8070175,4.40935673 C38.5614035,4.16374269 38.2690058,4 37.9415205,3.91812865 L37.9415205,3.91812865 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgNoSearchResults;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M59.1602083,28.7404167 L48.1510417,12.2264583 C47.2236527,10.8355052 45.662495,10 43.9907292,10 L16.0092708,10 C14.3375279,10 12.7763922,10.8354932 11.8490625,12.2264583 L0.839791667,28.7404167 C0.292195871,29.5617153 0,30.5267409 0,31.5138542 L0,45 C0,47.7614583 2.23854167,50 5,50 L55,50 C57.7614583,50 60,47.7614583 60,45 L60,31.5138542 C60,30.5267409 59.7078041,29.5617153 59.1602083,28.7404167 Z M16.90125,16.6666667 L43.0988542,16.6666667 L51.9877083,30 L39.1666667,30 L35.8333333,36.6666667 L24.1666667,36.6666667 L20.8333333,30 L8.01229167,30 L16.90125,16.6666667 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.1602083,28.7404167 L48.1510417,12.2264583 C47.2236527,10.8355052 45.662495,10 43.9907292,10 L16.0092708,10 C14.3375279,10 12.7763922,10.8354932 11.8490625,12.2264583 L0.839791667,28.7404167 C0.292195871,29.5617153 0,30.5267409 0,31.5138542 L0,45 C0,47.7614583 2.23854167,50 5,50 L55,50 C57.7614583,50 60,47.7614583 60,45 L60,31.5138542 C60,30.5267409 59.7078041,29.5617153 59.1602083,28.7404167 Z M16.90125,16.6666667 L43.0988542,16.6666667 L51.9877083,30 L39.1666667,30 L35.8333333,36.6666667 L24.1666667,36.6666667 L20.8333333,30 L8.01229167,30 L16.90125,16.6666667 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M59.0436458,27.0184375 L48.1642708,12.0591667 C47.2233622,10.7654293 45.7202287,10 44.1205208,10 L15.8794792,10 C14.2797958,10 12.7766863,10.7654192 11.8358333,12.0591667 L0.956354167,27.0184375 C0.334792685,27.8730147 0,28.9025585 0,29.9592708 L0,45 C0,47.7614583 2.23854167,50 5,50 L55,50 C57.7614583,50 60,47.7614583 60,45 L60,29.9592708 C60,28.9025585 59.6652073,27.8730147 59.0436458,27.0184375 Z M14.5315625,14.0196875 C14.845744,13.5890855 15.3464431,13.3341314 15.8794792,13.3333333 L44.120625,13.3333333 C44.6520833,13.3333333 45.1559375,13.5898958 45.4685417,14.0196875 L54.66625,26.6666667 L40.4398958,26.6666667 L37.1065625,33.3333333 L22.8934375,33.3333333 L19.5601042,26.6666667 L5.33375,26.6666667 L14.5315625,14.0196875 Z M56.6666667,31.6666667 L56.6666667,45 C56.6666667,45.9190625 55.9189583,46.6666667 55,46.6666667 L5,46.6666667 C4.08104167,46.6666667 3.33333333,45.9190625 3.33333333,45 L3.33333333,31.6666667 C3.33333333,30.7461458 4.07947917,30 5,30 L17.5,30 L20.8333333,36.6666667 L39.1666667,36.6666667 L42.5,30 L55,30 C55.9205208,30 56.6666667,30.7461458 56.6666667,31.6666667 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgPencil = function SvgPencil(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n fill: \"currentColor\",\r\n d: \"M2 56.254V44.891L46.889 2l7.817 3.218 2.913 8.79-42.5 43.673z\"\r\n }),\r\n React.createElement(\"path\", {\r\n fill: \"#FFF\",\r\n opacity: 0.88,\r\n d: \"M2 56.254V44.891L46.889 2l7.817 3.218 2.913 8.79-42.5 43.673z\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M57.803 6.577L53.41 2.193a7.51 7.51 0 0 0-10.607 0L1.504 43.41.018 56.766a2.81 2.81 0 0 0 3.106 3.1l13.38-1.484 41.3-41.219a7.475 7.475 0 0 0 0-10.586zM19.3 40.621c.732.731 1.92.731 2.652 0L43.125 19.49l3.523 3.515L20.39 49.21v-4.064h-5.625v-5.614h-4.072L36.95 13.326l3.522 3.516L19.3 37.975a1.868 1.868 0 0 0 0 2.646zm-4.516 14.186l-6.914.766-3.551-3.544.768-6.9 2.327-2.322h4.071v5.614h5.625v4.064l-2.326 2.322zm40.369-40.29l-5.853 5.84-9.697-9.677 5.853-5.841a3.753 3.753 0 0 1 5.303 0l4.394 4.385a3.736 3.736 0 0 1 0 5.293z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgPencil;","import React from 'react';\r\n\r\nvar SvgBookmark = function SvgBookmark(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\r\n \"g\",\r\n { transform: \"translate(1.000000, 1.000000)\" },\r\n React.createElement(\"path\", {\r\n d: \"M57.6007031,53.1149846 L43.8490308,39.3633123 C43.5884967,39.1027782 43.2486695,38.9668473 42.8861872,38.9668473 L41.3909477,38.9668473 C44.9591329,34.8322836 47.1226991,29.4516869 47.1226991,23.5613495 C47.1226991,10.5459694 36.5767297,0 23.5613495,0 C10.5459694,0 0,10.5459694 0,23.5613495 C0,36.5767297 10.5459694,47.1226991 23.5613495,47.1226991 C29.4516869,47.1226991 34.8322836,44.9591329 38.9668473,41.3909477 L38.9668473,42.8861872 C38.9668473,43.2486695 39.1141058,43.5884967 39.3633123,43.8490308 L53.1149846,57.6007031 C53.6473805,58.133099 54.508276,58.133099 55.0406718,57.6007031 L57.6007031,55.0406718 C58.133099,54.508276 58.133099,53.6473805 57.6007031,53.1149846 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M23.5,42 C13.27875,42 5,33.72125 5,23.5 C5,13.27875 13.27875,5 23.5,5 C33.72125,5 42,13.27875 42,23.5 C42,33.72125 33.72125,42 23.5,42 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n })\r\n )\r\n )\r\n );\r\n};\r\n\r\nexport default SvgBookmark;","import React from 'react';\r\n\r\nvar SvgServer = function SvgServer(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", { fill: \"currentColor\", d: \"M3 6h54v48H3z\" }),\r\n React.createElement(\"path\", { fill: \"#FFF\", opacity: 0.88, d: \"M3 6h54v48H3z\" }),\r\n React.createElement(\"path\", {\r\n d: \"M44.063 30a2.803 2.803 0 0 1 2.812-2.793A2.803 2.803 0 0 1 49.688 30a2.803 2.803 0 0 1-2.813 2.793A2.803 2.803 0 0 1 44.062 30zm-4.688 2.793A2.803 2.803 0 0 0 42.188 30a2.803 2.803 0 0 0-2.813-2.793A2.803 2.803 0 0 0 36.562 30a2.803 2.803 0 0 0 2.813 2.793zM60 17.897a5.543 5.543 0 0 1-1.433 3.724A5.543 5.543 0 0 1 60 25.345v9.31a5.543 5.543 0 0 1-1.433 3.724A5.543 5.543 0 0 1 60 42.103v9.31C60 54.5 57.482 57 54.375 57H5.625C2.518 57 0 54.499 0 51.414v-9.31c0-1.432.542-2.736 1.433-3.725A5.543 5.543 0 0 1 0 34.655v-9.31c0-1.431.542-2.736 1.433-3.724A5.543 5.543 0 0 1 0 17.897v-9.31C0 5.5 2.518 3 5.625 3h48.75C57.482 3 60 5.501 60 8.586v9.31zm-56.25 0a1.87 1.87 0 0 0 1.875 1.862h48.75a1.87 1.87 0 0 0 1.875-1.862v-9.31a1.87 1.87 0 0 0-1.875-1.863H5.625A1.87 1.87 0 0 0 3.75 8.586v9.31zm50.625 5.586H5.625a1.87 1.87 0 0 0-1.875 1.862v9.31a1.87 1.87 0 0 0 1.875 1.862h48.75a1.87 1.87 0 0 0 1.875-1.862v-9.31a1.87 1.87 0 0 0-1.875-1.862zm1.875 18.62a1.87 1.87 0 0 0-1.875-1.862H5.625a1.87 1.87 0 0 0-1.875 1.862v9.31a1.87 1.87 0 0 0 1.875 1.863h48.75a1.87 1.87 0 0 0 1.875-1.862v-9.31zm-9.375-26.069a2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793 2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793zm-7.5 0a2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793 2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793zm7.5 27.932a2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793 2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793zm-7.5 0a2.803 2.803 0 0 0-2.813 2.793 2.803 2.803 0 0 0 2.813 2.793 2.803 2.803 0 0 0 2.813-2.793 2.803 2.803 0 0 0-2.813-2.793z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgServer;","import React from 'react';\r\n\r\nvar SvgTasks = function SvgTasks(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n { fill: \"none\", fillRule: \"evenodd\" },\r\n React.createElement(\"path\", {\r\n d: \"M34,3 L34,10 L50,10 L50,58 L11,58 L11,10 L27,10 L27,3 L34,3 Z\",\r\n fill: \"currentColor\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M34,3 L34,10 L50,10 L50,58 L11,58 L11,10 L27,10 L27,3 L34,3 Z\",\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M47.375,7.5 L36.9921875,7.5 C37.0390625,7.1953125 37.0625,6.87890625 37.0625,6.5625 C37.0625,2.94140625 34.1210938,0 30.5,0 C26.8789062,0 23.9375,2.94140625 23.9375,6.5625 C23.9375,6.87890625 23.9609375,7.1953125 24.0078125,7.5 L13.625,7.5 C10.5195312,7.5 8,10.0195312 8,13.125 L8,54.375 C8,57.4804688 10.5195312,60 13.625,60 L47.375,60 C50.4804688,60 53,57.4804688 53,54.375 L53,13.125 C53,10.0195312 50.4804688,7.5 47.375,7.5 Z M30.5,3.75 C32.0585938,3.75 33.3125,5.00390625 33.3125,6.5625 C33.3125,8.12109375 32.0585938,9.375 30.5,9.375 C28.9414062,9.375 27.6875,8.12109375 27.6875,6.5625 C27.6875,5.00390625 28.9414062,3.75 30.5,3.75 Z M49.25,54.375 C49.25,55.40625 48.40625,56.25 47.375,56.25 L13.625,56.25 C12.59375,56.25 11.75,55.40625 11.75,54.375 L11.75,13.125 C11.75,12.09375 12.59375,11.25 13.625,11.25 L19.25,11.25 L19.25,13.59375 C19.25,14.3671875 19.8828125,15 20.65625,15 L40.34375,15 C41.1171875,15 41.75,14.3671875 41.75,13.59375 L41.75,11.25 L47.375,11.25 C48.40625,11.25 49.25,12.09375 49.25,13.125 L49.25,54.375 Z M42.3476563,26.671875 C41.796875,26.1210937 40.90625,26.1210937 40.3554688,26.6601562 L26.5625,40.3476562 L20.65625,34.4179687 C20.1054688,33.8671875 19.2148438,33.8671875 18.6640625,34.4179687 L17.6679688,35.4140625 C17.1171875,35.9648437 17.1171875,36.8554687 17.6679688,37.40625 L25.5664062,45.328125 C26.1171875,45.8789062 27.0078125,45.8789062 27.5585938,45.328125 L43.3554688,29.6601562 C43.90625,29.109375 43.90625,28.21875 43.3671875,27.6679687 L42.3476563,26.671875 L42.3476563,26.671875 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgTasks;","import React from 'react';\r\n\r\nvar SvgUserGroup = function SvgUserGroup(props) {\r\n return React.createElement(\r\n \"svg\",\r\n Object.assign({ width: 60, height: 60, viewBox: \"0 0 60 60\" }, props),\r\n React.createElement(\r\n \"g\",\r\n {\r\n stroke: \"none\",\r\n strokeWidth: \"1\",\r\n fill: \"none\",\r\n fillRule: \"evenodd\"\r\n },\r\n React.createElement(\"polygon\", {\r\n fill: \"#5353D1\",\r\n points: \"17.1134832 44.4180106 6.24462123 44.4180106 2 41.8768624 2 34.0724304 6.68004822 29.4114604 4.5959928 22.3170551 9.55674158 16.3774832 14.7918556 16.3774832 18.2431641 18 22.3883144 18.5246283 26.3536971 13 33.1670208 13 38.2447281 17.8258369 42.8767746 17.4062202 48.1625707 15.9790836 53.2812135 17.4062202 55.607227 21.9081852 53.7434435 28.381714 55.2894895 30.6986472 59 34.549201 58.3920591 41.2362019 53.7434435 44.4180106 43.9532807 44.4180106 41.7963698 46 20.4243852 46\"\r\n }),\r\n React.createElement(\"polygon\", {\r\n fill: \"#FFFFFF\",\r\n opacity: \"0.88\",\r\n points: \"17.1134832 44.4180106 6.24462123 44.4180106 2 41.8768624 2 34.0724304 6.68004822 29.4114604 4.5959928 22.3170551 9.55674158 16.3774832 14.7918556 16.3774832 18.2431641 18 22.3883144 18.5246283 26.3536971 13 33.1670208 13 38.2447281 17.8258369 42.8767746 17.4062202 48.1625707 15.9790836 53.2812135 17.4062202 55.607227 21.9081852 53.7434435 28.381714 55.2894895 30.6986472 59 34.549201 58.3920591 41.2362019 53.7434435 44.4180106 43.9532807 44.4180106 41.7963698 46 20.4243852 46\"\r\n }),\r\n React.createElement(\"path\", {\r\n d: \"M38.3245312,28.90125 C39.7352812,27.0744375 40.5,24.8460938 40.5,22.5 C40.5,16.7010938 35.8084688,12 30,12 C24.2012813,12 19.5,16.6913438 19.5,22.5 C19.5,24.8460938 20.2647188,27.0744375 21.6754688,28.90125 C20.4632812,29.2476562 15,31.317 15,37.5972188 L15,43.2856875 C15,45.8851875 17.1148125,48 19.7143125,48 L40.2857812,48 C42.8851875,48 45,45.8851875 45,43.2856875 L45,37.5972187 C45,31.317375 39.5405625,29.2486875 38.3245312,28.90125 Z M30,15 C34.1421562,15 37.5,18.3578438 37.5,22.5 C37.5,26.6421562 34.1421562,30 30,30 C25.8578438,30 22.5,26.6421562 22.5,22.5 C22.5,18.3578438 25.8578438,15 30,15 Z M42,43.2856875 C42,44.2324687 41.2324687,45 40.2856875,45 L19.7143125,45 C18.7675313,45 18,44.2324687 18,43.2856875 L18,37.5972187 C18,34.9183125 19.7759063,32.5639688 22.3516875,31.8280312 L24.2466563,31.286625 C25.941375,32.4013125 27.9245625,33 30,33 C32.0754375,33 34.058625,32.4013125 35.7533437,31.286625 L37.6483125,31.828125 C40.2240938,32.5640625 42,34.9183125 42,37.5972187 L42,43.2856875 Z M13.5,43.2856875 L13.5,42 L4.2856875,42 C3.575625,42 3,41.424375 3,40.7143125 L3,36.4479375 C3,34.4387813 4.33190625,32.673 6.26371875,32.1210938 L7.472625,31.7757187 C8.8035,32.5534688 10.3504687,33 12,33 C12.9302337,33.0004968 13.8548721,32.8561426 14.7406875,32.572125 C15.2845312,31.5833437 16.0025625,30.687 16.8879375,29.9018437 C17.7597187,29.1286875 18.6612187,28.5759375 19.428375,28.1911875 C18.489375,26.4570937 18,24.5209688 18,22.5 C18,20.9799375 18.2805937,19.5035625 18.816375,18.1295625 C17.1646875,16.2144375 14.7215625,15 12,15 C7.03734375,15 3,19.0373437 3,24 C3,26.0415 3.68371875,27.9260625 4.8335625,29.4377813 C2.40721875,30.355875 0,32.8521563 0,36.4479375 L0,40.7143125 C0,43.0774688 1.92253125,45 4.2856875,45 L13.7423437,45 C13.581713,44.4427241 13.5001352,43.8656519 13.5,43.2856875 Z M12,18 C15.3136875,18 18,20.6863125 18,24 C18,27.3136875 15.3136875,30 12,30 C8.6863125,30 6,27.3136875 6,24 C6,20.6863125 8.6863125,18 12,18 Z M55.1664375,29.4377813 C56.3162813,27.9260625 57,26.0415 57,24 C57,19.0373437 52.9626563,15 48,15 C45.2783438,15 42.8352188,16.2145313 41.1834375,18.1298437 C41.7193125,19.5038438 42,20.980125 42,22.5 C42,24.5209688 41.5107188,26.4569062 40.5717188,28.191 C41.3395313,28.5759375 42.2415938,29.128875 43.11375,29.9025 C43.9986563,30.6874688 44.7163125,31.5837188 45.259875,32.5723125 C46.1455177,32.8562222 47.0699637,33.0005127 48,33 C49.6495313,33 51.1965,32.5534688 52.527375,31.775625 L53.7362813,32.121 C55.6680938,32.673 57,34.4387812 57,36.4479375 L57,40.7143125 C57,41.424375 56.424375,42 55.7143125,42 L46.5,42 L46.5,43.2856875 C46.5,43.8803438 46.4143125,44.4550313 46.2576563,45 L55.7143125,45 C58.0774688,45 60,43.0774688 60,40.7143125 L60,36.4479375 C60,32.8508437 57.5916563,30.3554063 55.1664375,29.4377813 Z M48,30 C44.6863125,30 42,27.3136875 42,24 C42,20.6863125 44.6863125,18 48,18 C51.3136875,18 54,20.6863125 54,24 C54,27.3136875 51.3136875,30 48,30 Z\",\r\n fill: \"currentColor\"\r\n })\r\n )\r\n );\r\n};\r\n\r\nexport default SvgUserGroup;","var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _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; }\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport { default as ReactTimePicker } from 'react-time-picker';\r\nimport { isTime } from 'react-time-picker/dist/shared/propTypes';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\nimport withStyles from '../styles';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport FormControl from '../FormControl/FormControl';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport { borderRadiusMedium, borderWidthThin, borderWidthThick, fontFamilyDefault, fontSizeDefault, heightInputFieldsSmall, spacing50, spacing40, spacing30, sizingMedium, sizingSmall, paddingTextField, zIndexTextFieldLabel, colorTextError, colorGlobalBorderError, heightInputFields, boxShadowFocus, boxShadowError, widthFluid } from '@ellucian/react-design-system/core/styles/tokens';\r\nimport uuid from 'uuid/v4';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n inputBox: {\r\n // Box around the whole TimePicker\r\n '& .react-time-picker__wrapper': {\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n borderRadius: borderRadiusMedium,\r\n height: heightInputFields,\r\n minWidth: '11.75rem',\r\n padding: 0,\r\n fontFamily: fontFamilyDefault\r\n },\r\n // All of the inputs and select inside of the TimePicker\r\n '& .react-time-picker__inputGroup': {\r\n padding: paddingTextField\r\n },\r\n // The inputs; hour, minute (and second)\r\n '& .react-time-picker__inputGroup__input': {\r\n outline: 'none',\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n // When any of the inputs or the select have an error state, this class is applied\r\n '&:invalid': {\r\n background: theme.palette.grey[100],\r\n boxShadow: 'none'\r\n }\r\n },\r\n // The am/pm selector\r\n '& .react-time-picker__inputGroup__amPm': {\r\n height: sizingMedium,\r\n '-o-appearance': 'none',\r\n '-moz-appearance': 'none',\r\n '-webkit-appearance': 'none'\r\n },\r\n '&:focus': {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n '& .react-time-picker--disabled': {\r\n backgroundColor: theme.palette.grey[200],\r\n borderRadius: borderRadiusMedium\r\n }\r\n },\r\n rtlInputs: {\r\n '& .react-time-picker__inputGroup__hour': {\r\n left: spacing50,\r\n minWidth: sizingSmall\r\n },\r\n '& .react-time-picker__inputGroup__minute': {\r\n left: '-' + spacing50\r\n }\r\n },\r\n inputBoxFocused: {\r\n // Class that's applied whenever any of the underlying inputs or selects are focused\r\n '& .react-time-picker--open': {\r\n boxShadow: boxShadowFocus,\r\n borderRadius: borderRadiusMedium\r\n }\r\n },\r\n inputBoxError: {\r\n // Class that's applied whenever the error prop is true\r\n '& .react-time-picker--open': {\r\n boxShadow: boxShadowError,\r\n borderRadius: borderRadiusMedium,\r\n '-webkit-box-shadow': boxShadowError,\r\n '-moz-box-shadow:': boxShadowError\r\n },\r\n '& .react-time-picker__wrapper': {\r\n border: borderWidthThick + ' solid ' + colorGlobalBorderError,\r\n borderRadius: borderRadiusMedium\r\n }\r\n },\r\n inputBoxEnabled: {\r\n // Setting background and text color in regular state\r\n '& .react-time-picker__wrapper': {\r\n backgroundColor: theme.palette.grey[100],\r\n color: theme.palette.grey[600],\r\n '& .react-time-picker__inputGroup': {\r\n // : separator\r\n color: theme.palette.grey[600]\r\n },\r\n '& .react-time-picker__inputGroup__input': {\r\n // Hours, minutes, seconds text\r\n color: theme.palette.grey[600],\r\n '&::placeholder': {\r\n opacity: 1 // Firefox fix so the placeholder text isn't gray\r\n },\r\n // Browsers handle placeholder text color differently :-|\r\n '&::-webkit-input-placeholder': {\r\n color: theme.palette.grey[600] // Chrome/Opera/Safari\r\n },\r\n '&::-moz-placeholder': {\r\n color: theme.palette.grey[600] // Firefox 19+\r\n },\r\n '&:-moz-placeholder': {\r\n color: theme.palette.grey[600] // Firefox 18-\r\n },\r\n '&::-ms-input-placeholder': {\r\n color: theme.palette.grey[600] // Edge\r\n },\r\n '&:-ms-input-placeholder': {\r\n color: theme.palette.grey[600] // IE 10+\r\n }\r\n },\r\n '& .react-time-picker__inputGroup__amPm': {\r\n // AM PM text\r\n color: theme.palette.grey[600]\r\n }\r\n }\r\n },\r\n inputBoxDisabled: {\r\n // Setting background and text color in disabled state\r\n '& .react-time-picker__wrapper': {\r\n backgroundColor: '#F7F7F7',\r\n color: theme.palette.grey[400],\r\n '& .react-time-picker__inputGroup': {\r\n // : separator\r\n color: theme.palette.grey[500]\r\n },\r\n '& .react-time-picker__inputGroup__input': {\r\n // Hours, minutes, seconds text\r\n color: theme.palette.grey[500],\r\n '&::placeholder': {\r\n opacity: 1 // Firefox fix\r\n }\r\n },\r\n '& .react-time-picker__inputGroup__amPm': {\r\n // AM PM text\r\n color: theme.palette.grey[500]\r\n }\r\n }\r\n },\r\n inputLabel: {\r\n zIndex: zIndexTextFieldLabel,\r\n top: '0.375rem',\r\n left: spacing40,\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeDefault\r\n },\r\n helperTextError: {\r\n color: colorTextError\r\n },\r\n fullWidth: {\r\n width: widthFluid,\r\n '& .react-time-picker': {\r\n flex: '0 0 100%'\r\n },\r\n '& .react-time-picker__wrapper': {\r\n width: widthFluid\r\n }\r\n },\r\n inputContainer: {\r\n display: 'flex',\r\n flexDirection: 'row'\r\n },\r\n small: {\r\n '& .react-time-picker__wrapper': {\r\n height: heightInputFieldsSmall\r\n },\r\n '& .react-time-picker__inputGroup': {\r\n padding: spacing30\r\n },\r\n '& .react-time-picker__inputGroup__amPm, & .react-time-picker__inputGroup__leadingZero': {\r\n fontSize: fontSizeDefault,\r\n height: '100%'\r\n },\r\n '& $inputBox, & $inputBox:focus': {\r\n padding: 'none',\r\n fontSize: fontSizeDefault\r\n },\r\n '& $inputLabel[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n }\r\n };\r\n};\r\n\r\n/**\r\n * A component that allows for the selection of time.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v2.4.0\r\n * @examples\r\n * TimePickerExample\r\n * TimePickerFormSubmissionError\r\n * TimePickerHooks\r\n * TimePickerRequired\r\n * TimePickerIntl\r\n * TimePickerFullWidth\r\n * TimePickerDisabled\r\n */\r\n\r\nvar TimePicker = function (_React$Component) {\r\n _inherits(TimePicker, _React$Component);\r\n\r\n function TimePicker(props) {\r\n _classCallCheck(this, TimePicker);\r\n\r\n var _this = _possibleConstructorReturn(this, (TimePicker.__proto__ || Object.getPrototypeOf(TimePicker)).call(this, props));\r\n\r\n _this.handleBlur = function (event) {\r\n var invalid = void 0;\r\n\r\n var nativeTimePicker = _this.timePicker.current.children[0].children[0].children[0].children;\r\n\r\n if (_this.checkValuesAreInvalidOrEmpty(nativeTimePicker)) {\r\n invalid = true;\r\n } else {\r\n invalid = false;\r\n }\r\n\r\n if (_this.props.required && invalid) {\r\n _this.setState({ requiredError: true });\r\n } else {\r\n _this.setState({ requiredError: false });\r\n }\r\n if (_this.props.isInvalid) {\r\n try {\r\n _this.props.isInvalid(invalid);\r\n } catch (error) {\r\n return false;\r\n }\r\n }\r\n };\r\n\r\n _this.checkValuesAreInvalidOrEmpty = function (x) {\r\n var emptyInputsCounter = 0; // All are empty or all are full are considered valid times (non-required)\r\n // Count up how many of the inputs/select are empty\r\n if (x.hour24 && !x.hour24.value || x.hour12 && !x.hour12.value) {\r\n emptyInputsCounter = emptyInputsCounter + 1;\r\n }\r\n if (x.minute && !x.minute.value) {\r\n emptyInputsCounter = emptyInputsCounter + 1;\r\n }\r\n if (x.amPm && !x.amPm.value) {\r\n emptyInputsCounter = emptyInputsCounter + 1;\r\n }\r\n\r\n // Total number of inputs & select will be 2 for a 24 hour formated time or 3 for a 12 hour formatted time\r\n var totalPiecesOfTime = x.amPm ? 3 : 2;\r\n\r\n /**\r\n * The time is invalid if any part of the time (hour, minutes, AM/PM) has an invalid value in it\r\n * or if any part of the time is empty. For required, if all of the parts of the time are empty it\r\n * is considered invalid, but that's handled on its own through the checkValidity function when\r\n * required is passed into the inputs/select (react-time-picker is doing this for us).\r\n * This empty checking (emptyInputsCounter > 0 && emptyInputsCounter < totalPiecesOfTime) is for the non-required state.\r\n */\r\n if (x.hour24 && !x.hour24.checkValidity() || x.hour12 && !x.hour12.checkValidity() || x.minute && !x.minute.checkValidity() || x.amPm && !x.amPm.checkValidity() || emptyInputsCounter > 0 && emptyInputsCounter < totalPiecesOfTime) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n _this.state = {\r\n requiredError: false\r\n };\r\n _this.timePicker = React.createRef();\r\n return _this;\r\n }\r\n\r\n _createClass(TimePicker, [{\r\n key: 'render',\r\n value: function render() {\r\n var _cn, _cn2;\r\n\r\n var _props = this.props,\r\n classes = _props.classes,\r\n classNameProp = _props.className,\r\n disabled = _props.disabled,\r\n label = _props.label,\r\n helperText = _props.helperText,\r\n fullWidth = _props.fullWidth,\r\n error = _props.error,\r\n required = _props.required,\r\n edsContext = _props.edsContext,\r\n FormControlProps = _props.FormControlProps,\r\n InputLabelPropsProp = _props.InputLabelProps,\r\n FormHelperTextProps = _props.FormHelperTextProps,\r\n size = _props.size,\r\n value = _props.value,\r\n hourAriaLabel = _props.hourAriaLabel,\r\n minuteAriaLabel = _props.minuteAriaLabel,\r\n amPmAriaLabel = _props.amPmAriaLabel,\r\n rest = _objectWithoutProperties(_props, ['classes', 'className', 'disabled', 'label', 'helperText', 'fullWidth', 'error', 'required', 'edsContext', 'FormControlProps', 'InputLabelProps', 'FormHelperTextProps', 'size', 'value', 'hourAriaLabel', 'minuteAriaLabel', 'amPmAriaLabel']);\r\n\r\n var locale = edsContext && edsContext.locale.replace('_', '-');\r\n var inputBoxError = error || this.state.requiredError;\r\n var InputLabelProps = Object.assign({}, InputLabelPropsProp);\r\n var labelledByObj = {};\r\n var rootClassName = cn(classes.root, (_cn = {}, _defineProperty(_cn, classes.small, size === 'small'), _defineProperty(_cn, classes.constrainedWidth, !this.props.fullWidth), _cn), classNameProp);\r\n\r\n InputLabelProps.id = InputLabelProps.id || uuid();\r\n\r\n if (label) {\r\n labelledByObj['aria-labelledby'] = InputLabelProps.id;\r\n }\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: rootClassName },\r\n React.createElement(\r\n FormControl,\r\n Object.assign({\r\n className: cn('eds-timepicker', classes.inputBox, (_cn2 = {}, _defineProperty(_cn2, classes.rtlInputs, edsContext.dir === 'rtl'), _defineProperty(_cn2, classes.fullWidth, fullWidth), _defineProperty(_cn2, classes.inputBoxEnabled, !disabled), _defineProperty(_cn2, classes.inputBoxDisabled, disabled), _defineProperty(_cn2, classes.inputBoxFocused, !error && !this.state.requiredError), _defineProperty(_cn2, classes.inputBoxError, inputBoxError), _defineProperty(_cn2, 'eds-timepicker-has-error', inputBoxError), _cn2))\r\n }, FormControlProps, {\r\n onBlur: this.handleBlur,\r\n error: error\r\n }, labelledByObj),\r\n label && React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n className: classes.inputLabel\r\n }, InputLabelProps, {\r\n required: required,\r\n shrink: true\r\n }),\r\n label\r\n ),\r\n React.createElement(\r\n 'div',\r\n { ref: this.timePicker, className: classes.inputContainer },\r\n React.createElement(ReactTimePicker, Object.assign({}, rest, {\r\n disableClock: true,\r\n clearIcon: null,\r\n disabled: disabled,\r\n required: required,\r\n value: value,\r\n locale: locale,\r\n hourAriaLabel: hourAriaLabel ? hourAriaLabel : edsContext.formatMessage('component.TimePicker.hour'),\r\n minuteAriaLabel: minuteAriaLabel ? minuteAriaLabel : edsContext.formatMessage('component.TimePicker.minute'),\r\n amPmAriaLabel: amPmAriaLabel ? amPmAriaLabel : edsContext.formatMessage('component.TimePicker.amPm')\r\n }))\r\n ),\r\n helperText && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n error: error || this.state.requiredError\r\n }, FormHelperTextProps),\r\n helperText\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return TimePicker;\r\n}(React.Component);\r\n\r\nTimePicker.propTypes = {\r\n /**\r\n * ARIA message for AM/PM select, defaults to a [translated resource string](#/components/EDSApplication)\r\n */\r\n amPmAriaLabel: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * Defines whether the TimePicker should be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * Defines whether the TimePicker should show an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * Defines input format based on [Unicode Technical Standard #35](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table). Supported values are: H, HH, h, hh, m, mm, s, ss, a.\r\n */\r\n format: PropTypes.string,\r\n /**\r\n * @ignore\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormControl`](#/components/FormControl) element.\r\n */\r\n FormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * Render the input field the full width of the parent container.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.node,\r\n /**\r\n * ARIA message for hour input, defaults to a [translated resource string](#/components/EDSApplication)\r\n */\r\n hourAriaLabel: PropTypes.string,\r\n /**\r\n * Properties applied to the [`InputLabel`](https://material-ui.com/api/input-label/) element.\r\n */\r\n InputLabelProps: PropTypes.object,\r\n /**\r\n * Function called to tell the consumer if any of the fields within the TimePicker are invalid. To be used for easier form validation.\r\n * Updates when onBlur is triggered. Accepted parameter is a boolean.\r\n */\r\n isInvalid: PropTypes.func,\r\n /**\r\n * The label content.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * @ignore\r\n * Defines how detailed the TimePicker is.\r\n */\r\n maxDetail: PropTypes.oneOf(['hour', 'minute', 'second']),\r\n /**\r\n * @ignore\r\n * Defines maximum time that the user can select.\r\n */\r\n maxTime: isTime,\r\n /**\r\n * ARIA message for minute input, defaults to a [translated resource string](#/components/EDSApplication)\r\n */\r\n minuteAriaLabel: PropTypes.string,\r\n /**\r\n * @ignore\r\n * Defines minimum date that the user can select.\r\n */\r\n minTime: isTime,\r\n /**\r\n * Defines input name.\r\n */\r\n name: PropTypes.string,\r\n /**\r\n * Function called when the user picks a valid time. Accepted parameter is a time (see `value` property for supported types).\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The size of the `TimePicker`. Small size is recommended to be used within the `TableEditableCell` component\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n /**\r\n * Defines whether input is required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * Defines the value of the input. Can be a string or a Date object.\r\n */\r\n value: PropTypes.oneOfType([isTime, PropTypes.instanceOf(Date)])\r\n};\r\n\r\nTimePicker.displayName = 'TimePicker';\r\n\r\nTimePicker.defaultProps = {\r\n maxDetail: 'minute',\r\n name: 'time',\r\n disabled: false,\r\n required: false,\r\n size: 'medium'\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(TimePicker));","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; }\r\n\r\nimport { borderRadiusMedium, borderRadiusCircle, borderWidthThick, borderWidthThin, boxShadowFocus, colorBorderGlobalFocus, fontFamilyDefault, fontSizeDefault, widthInputFields, paddingTextField, spacing20, spacing30, spacing50, spacing40, heightInputFieldsSmall, zIndexTextFieldLabel, colorBrandNeutral250, fontWeightBold } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n var _root;\r\n\r\n return {\r\n container: {\r\n display: 'inline-flex', // Match other input fields\r\n flexDirection: 'column' // Added to make the helpertext go underneath\r\n },\r\n root: (_root = {\r\n margin: spacing30 + ' 0',\r\n\r\n /* DayPicker styles */\r\n '& .DayPicker': {\r\n display: 'inline-block',\r\n fontSize: fontSizeDefault,\r\n fontFamily: fontFamilyDefault,\r\n backgroundColor: theme.palette.grey[100],\r\n border: borderWidthThin + ' solid ' + theme.palette.grey[400],\r\n position: 'relative',\r\n background: theme.palette.grey[100],\r\n borderRadius: borderRadiusMedium,\r\n userSelect: 'none'\r\n },\r\n\r\n '& .DayPicker-wrapper': {\r\n position: 'relative',\r\n flexDirection: 'row',\r\n userSelect: 'none',\r\n '&:focus': {\r\n outlineColor: theme.palette.focus\r\n }\r\n },\r\n\r\n '& .DayPicker-Months': {\r\n display: 'flex',\r\n flexWrap: 'wrap',\r\n justifyContent: 'center'\r\n },\r\n\r\n '& .DayPicker-Month': {\r\n display: 'inline-table',\r\n margin: '0 ' + spacing30,\r\n paddingBottom: '0.75rem',\r\n borderSpacing: 0,\r\n borderCollapse: 'collapse',\r\n userSelect: 'none',\r\n\r\n '&:first-of-type': {\r\n display: 'block',\r\n paddingRight: '0.75rem',\r\n borderRight: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[300]\r\n }\r\n },\r\n\r\n '& .DayPicker-NavBar': {\r\n margin: '0.75rem ' + spacing30 + ' 0'\r\n },\r\n\r\n '& .DayPicker-NavButton': {\r\n position: 'absolute',\r\n top: spacing40,\r\n right: spacing50,\r\n left: 'auto',\r\n display: 'inline-block',\r\n marginTop: '.125rem',\r\n width: '1.25rem',\r\n height: '1.25rem',\r\n backgroundPosition: 'center',\r\n backgroundSize: '50%',\r\n backgroundRepeat: 'no-repeat',\r\n cursor: 'pointer',\r\n\r\n '&:hover': {\r\n opacity: 0.8\r\n }\r\n },\r\n\r\n '& .DayPicker-NavButton--interactionDisabled': {\r\n display: 'none'\r\n },\r\n\r\n '& .DayPicker-Caption ': {\r\n display: 'table-caption',\r\n marginTop: spacing30,\r\n marginBottom: spacing20\r\n },\r\n\r\n '& .DayPicker-Weekdays': {\r\n display: 'table-header-group',\r\n marginTop: '1em'\r\n },\r\n\r\n '& .DayPicker-WeekdaysRow': {\r\n display: 'table-row',\r\n textTransform: 'uppercase'\r\n },\r\n\r\n '& .DayPicker-Weekday': {\r\n display: 'table-cell',\r\n padding: '0.75rem',\r\n color: theme.palette.grey[500],\r\n textAlign: 'center',\r\n fontSize: fontSizeDefault\r\n },\r\n\r\n '& .DayPicker-Weekday abbr[title]': {\r\n borderBottom: 'none',\r\n textDecoration: 'none'\r\n },\r\n\r\n '& .DayPicker-Body': {\r\n display: 'table-row-group'\r\n },\r\n\r\n '& .DayPicker-Week': {\r\n display: 'table-row'\r\n },\r\n\r\n '& .DayPicker-Day': {\r\n display: 'table-cell',\r\n borderRadius: borderRadiusCircle,\r\n verticalAlign: 'middle',\r\n textAlign: 'center',\r\n cursor: 'pointer',\r\n width: '2.75rem',\r\n height: '2.75rem'\r\n },\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle,\r\n width: '1.875rem',\r\n height: '1.875rem',\r\n marginTop: spacing20,\r\n marginBottom: '.625rem',\r\n display: 'inline-flex',\r\n alignItems: 'center',\r\n justifyContent: 'center'\r\n // transition: theme.transitions.create(['background', 'background-color', 'color'], {\r\n // duration: 50,\r\n // }),\r\n },\r\n //Styles for current day\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base,\r\n borderRadius: borderRadiusCircle,\r\n fontWeight: fontWeightBold\r\n },\r\n\r\n // TODO: Look into\r\n '& .DayPicker-WeekNumber': {\r\n display: 'table-cell',\r\n padding: '0.5em',\r\n minWidth: '1em',\r\n borderRight: '1px solid #EAECEC',\r\n color: '#8B9898',\r\n verticalAlign: 'middle',\r\n textAlign: 'right',\r\n fontSize: '0.75em',\r\n cursor: 'pointer'\r\n },\r\n\r\n // TODO: Look into\r\n '& .DayPicker--interactionDisabled .DayPicker-Day': {\r\n cursor: 'default'\r\n },\r\n\r\n // TODO: Look into\r\n '& .DayPicker-Footer': {\r\n paddingTop: '0.5em',\r\n\r\n // Center today button\r\n display: 'flex',\r\n justifyContent: 'center'\r\n },\r\n\r\n // NOTE: We don't use this at the moment but might in the future.\r\n '& .DayPicker-TodayButton': {\r\n border: 'none',\r\n backgroundColor: 'transparent',\r\n backgroundImage: 'none',\r\n boxShadow: 'none',\r\n color: theme.palette.ctaColor.base,\r\n fontSize: '0.875em',\r\n cursor: 'pointer',\r\n padding: '4px 8px',\r\n\r\n '&:hover': {\r\n color: theme.palette.ctaColor.hover,\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: theme.palette.ctaColor.active\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n borderRadius: borderRadiusMedium,\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + colorBorderGlobalFocus\r\n }\r\n },\r\n\r\n /* Default modifiers */\r\n\r\n // NOTE: We don't use this at the moment but might in the future.\r\n '& .DayPicker-Day--today': {\r\n // fontWeight: 700,\r\n // fontWeight: 600,\r\n // backgroundColor: theme.palette.ctaColor.tint,\r\n // color: theme.palette.ctaColor.base,\r\n // borderRadius: borderRadiusCircle,\r\n },\r\n\r\n // NOTE: We don't use this at the moment but might in the future.\r\n '& .DayPicker-Day--today.DayPicker-Day--disabled': {\r\n // color: theme.palette.ctaColor.base,\r\n },\r\n\r\n // NOTE: We don't use this for DateRangePicker but might for the normal DatePicker\r\n '& .DayPicker-Day--outside': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[500],\r\n borderRadius: 0\r\n },\r\n\r\n // ========\r\n // Disabled days\r\n // ========\r\n '& .DayPicker-Day--disabled': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[200],\r\n color: theme.palette.grey[500],\r\n borderRadius: 0,\r\n '&:focus': {\r\n outlineColor: theme.palette.focus\r\n }\r\n // NOTE: Ask UXD about this since we are still able to navigate to them if they are disabled???\r\n // '&:hover': {\r\n // backgroundColor: `${theme.palette.grey[200]}`,\r\n // color: `${theme.palette.grey[500]}`,\r\n // cursor: 'not-allowed',\r\n // },\r\n // '&:hover, &:focus': {\r\n // backgroundColor: `${theme.palette.grey[300]}`,\r\n // color: `${theme.palette.grey[600]}`,\r\n // cursor: 'not-allowed',\r\n // },\r\n },\r\n\r\n '& .DayPicker-Day--disabled:not(.DayPicker-Day--outside)': {\r\n '&:hover, &:focus': {\r\n backgroundColor: '' + theme.palette.grey[200],\r\n color: '' + theme.palette.grey[500],\r\n cursor: 'not-allowed'\r\n }\r\n },\r\n\r\n // DateRangePicker\r\n '& .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n position: 'relative',\r\n backgroundColor: theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.ctaColor.hover\r\n }\r\n }\r\n\r\n }, _defineProperty(_root, '& .DayPicker:not(.DayPicker--interactionDisabled) .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside)', {\r\n // disable defaults\r\n '&:focus': {\r\n outline: 'none'\r\n },\r\n '&:hover': {\r\n '& .hedtech-day': {\r\n cursor: 'pointer'\r\n }\r\n },\r\n '&:focus, &:hover': {\r\n '& .hedtech-day': {\r\n outline: 'none',\r\n backgroundColor: theme.palette.grey[250]\r\n }\r\n },\r\n '&:active': {\r\n outline: 'none',\r\n '& .hedtech-day': {\r\n backgroundColor: theme.palette.ctaColor.active\r\n }\r\n }\r\n }), _defineProperty(_root, '& .DayPickerInput', {\r\n display: 'inline-block'\r\n }), _defineProperty(_root, '& .DayPickerInput-OverlayWrapper', {\r\n position: 'relative'\r\n }), _defineProperty(_root, '& .DayPickerInput-Overlay', {\r\n position: 'absolute',\r\n left: 0,\r\n zIndex: 1,\r\n background: 'white',\r\n boxShadow: '0 2px 5px rgba(0, 0, 0, 0.15)'\r\n }), _root),\r\n dateRangePickerRoot: _defineProperty({\r\n // NOTE: might get rid of this\r\n // '& .DayPicker-Day.DayPicker-Day--disabled.DayPicker-Day--outside': {\r\n // backgroundColor: theme.palette.grey[300],\r\n // },\r\n // ========\r\n // Hover state when selecting days\r\n // ========\r\n '&.hedtech-DateRangePicker .DayPicker-Day--hover:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:first-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium\r\n },\r\n '&:focus, &:hover': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n }\r\n },\r\n '&:last-child': {\r\n '& .hedtech-day': {\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0'\r\n },\r\n '&:focus, &:hover': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n }\r\n },\r\n '& .hedtech-day': {\r\n width: '100%',\r\n borderRadius: 0,\r\n outline: 'none',\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n color: theme.palette.grey[600]\r\n },\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&:focus, &:hover': {\r\n // position: 'relative',\r\n // zIndex: 1,\r\n '& .hedtech-day': {\r\n width: '1.875rem',\r\n // backgroundColor: `${theme.palette.grey[500]}`,\r\n // color: theme.palette.grey[100],\r\n borderRadius: '50%'\r\n }\r\n // '&:before': {\r\n // top: '.375rem',\r\n // left: 0,\r\n // width: '1.5rem', // ~ half of parent div\r\n // height: '2rem',\r\n // content: '\"\"',\r\n // display: 'block',\r\n // position: 'absolute', // this creates a new stacking z-index\r\n // zIndex: -1,\r\n // backgroundColor: theme.palette.ctaColor.tint,\r\n // },\r\n }\r\n },\r\n // ========\r\n // Range of days\r\n // ========\r\n '&.hedtech-DateRangePicker .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n backgroundColor: theme.palette.grey[100],\r\n borderRadius: '0',\r\n '&:first-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusMedium + ' 0 0 ' + borderRadiusMedium\r\n }\r\n },\r\n '&:last-child': {\r\n '& .hedtech-day': {\r\n borderRadius: '0 ' + borderRadiusMedium + ' ' + borderRadiusMedium + ' 0'\r\n }\r\n },\r\n '& .hedtech-day': {\r\n width: '100%',\r\n backgroundColor: theme.palette.ctaColor.tint,\r\n color: theme.palette.grey[600],\r\n borderRadius: '0'\r\n },\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base\r\n },\r\n '&:focus, &:hover': {\r\n backgroundColor: theme.palette.grey[100],\r\n outline: 'none',\r\n '& .hedtech-day': {\r\n borderRadius: '50%',\r\n width: '2rem',\r\n outline: 'none',\r\n backgroundColor: colorBrandNeutral250,\r\n color: theme.palette.grey[600]\r\n },\r\n '& .DayPicker-Today': {\r\n color: theme.palette.ctaColor.base\r\n }\r\n }\r\n },\r\n // ========\r\n // Start and End days\r\n // ========\r\n '&.hedtech-DateRangePicker .DayPicker-Day--start.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside), &.hedtech-DateRangePicker .DayPicker-Day--end.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n position: 'relative',\r\n zIndex: 1,\r\n '&:first-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n },\r\n '&:last-child': {\r\n '& .hedtech-day': {\r\n borderRadius: borderRadiusCircle\r\n }\r\n },\r\n '&:before': {\r\n top: spacing20,\r\n right: 0,\r\n width: '1.5rem', // ~ half of parent div\r\n height: '1.875rem',\r\n content: '\"\"',\r\n display: 'block',\r\n position: 'absolute', // this creates a new stacking z-index\r\n zIndex: -1,\r\n backgroundColor: theme.palette.ctaColor.tint\r\n },\r\n '& .hedtech-day': {\r\n width: '1.875rem',\r\n backgroundColor: '' + theme.palette.ctaColor.base,\r\n color: theme.palette.grey[100],\r\n borderRadius: '50%',\r\n fontWeight: fontWeightBold\r\n },\r\n '&:hover': {\r\n '& .hedtech-day': {\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n },\r\n '&:focus, &:active': {\r\n outline: 'none',\r\n '& .hedtech-day': {\r\n outline: 'none',\r\n backgroundColor: theme.palette.ctaColor.hover,\r\n color: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n // When Start and End date are the same day\r\n '&.hedtech-DateRangePicker .DayPicker-Day--end.DayPicker-Day--start.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:before': {\r\n backgroundColor: theme.palette.grey[100]\r\n }\r\n },\r\n // Start date\r\n '&.hedtech-DateRangePicker .DayPicker-Day--start.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) ': {\r\n '&:before': {\r\n right: 0\r\n }\r\n },\r\n // End date\r\n '&.hedtech-DateRangePicker .DayPicker-Day--end.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:before': {\r\n left: '0 !important'\r\n }\r\n }\r\n }, theme.breakpoints.down('sm'), {\r\n '& .DayPicker-Month': {\r\n '&:first-of-type': {\r\n display: 'inline-table',\r\n paddingRight: 0,\r\n borderRight: 'none'\r\n }\r\n }\r\n }),\r\n singleMonth: {\r\n '& .DayPicker-Month': {\r\n '&:first-of-type': {\r\n display: 'inline-table',\r\n paddingRight: 0,\r\n borderRight: 'none'\r\n }\r\n }\r\n },\r\n isSelectingStartDay: {\r\n '&.hedtech-DateRangePicker .DayPicker-Day--hover:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)': {\r\n '&:focus, &:hover': {\r\n '&:before': {\r\n right: 0\r\n }\r\n }\r\n }\r\n },\r\n\r\n hideOutsideDays: {\r\n '& .DayPicker-Day--outside': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[100],\r\n '&:focus, &:hover': {\r\n cursor: 'default',\r\n backgroundColor: theme.palette.grey[100]\r\n }\r\n }\r\n },\r\n\r\n // Popper\r\n popper: {\r\n zIndex: theme.zIndex.drawer + 1,\r\n left: '-0.0625rem !important'\r\n },\r\n\r\n // IconContainer\r\n iconContainer: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n padding: '0 ' + spacing20,\r\n fill: theme.palette.grey[500]\r\n },\r\n iconContainerDisabled: {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n\r\n // InputContainer\r\n inputContainer: {\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[400] + ' ',\r\n display: 'inline-flex',\r\n borderRadius: borderRadiusMedium,\r\n height: 'auto',\r\n width: widthInputFields,\r\n backgroundColor: theme.palette.grey[100]\r\n },\r\n inputContainerFullWidth: {\r\n width: '100%'\r\n },\r\n inputContainerDisabled: {\r\n backgroundColor: theme.palette.grey[200]\r\n },\r\n inputContainerError: {\r\n border: borderWidthThick + ' solid ' + theme.palette.status.error.fill\r\n },\r\n\r\n // Small input\r\n smallDateRangePicker: {\r\n height: heightInputFieldsSmall\r\n },\r\n smallDateRangePickerInput: {\r\n height: '2.25rem',\r\n padding: 0,\r\n '& input': {\r\n height: '1.25rem',\r\n padding: '0.4375rem',\r\n fontSize: fontSizeDefault\r\n }\r\n },\r\n inputLabelSmall: {\r\n top: '-0.35rem',\r\n left: '0.625rem',\r\n fontSize: fontSizeDefault,\r\n '&[data-shrink=true]': {\r\n display: 'none'\r\n }\r\n },\r\n\r\n // Input\r\n inputRoot: {\r\n borderRadius: borderRadiusMedium\r\n },\r\n input: {\r\n height: '1.25rem',\r\n padding: paddingTextField,\r\n border: 'solid ' + borderWidthThin + ' transparent',\r\n '&:focus': {\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[400] + ' ',\r\n boxShadow: boxShadowFocus\r\n }\r\n },\r\n inputDisabled: {\r\n color: theme.palette.grey['500'],\r\n backgroundColor: theme.palette.grey[200],\r\n cursor: 'not-allowed',\r\n outline: 'none',\r\n '&:hover': {\r\n cursor: 'not-allowed',\r\n color: theme.palette.grey['500']\r\n },\r\n '&:active': {\r\n color: theme.palette.grey['500']\r\n }\r\n },\r\n startInput: {\r\n borderTopLeftRadius: borderRadiusMedium,\r\n borderBottomLeftRadius: borderRadiusMedium\r\n },\r\n endInput: {\r\n borderTopRightRadius: borderRadiusMedium,\r\n borderBottomRightRadius: borderRadiusMedium\r\n },\r\n inputFocused: {\r\n boxShadow: boxShadowFocus,\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.grey[400] + ' ',\r\n '&$inputFocusedError': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.status.error.fill,\r\n borderColor: '' + theme.palette.status.error.fill\r\n }\r\n },\r\n inputFocusedError: {\r\n '&:focus': {\r\n boxShadow: '0 0 0 ' + borderWidthThick + ' ' + theme.palette.status.error.fill,\r\n border: 'solid ' + borderWidthThin + ' ' + theme.palette.status.error.fill\r\n }\r\n },\r\n\r\n // InputLabel\r\n inputLabelFormControl: {\r\n zIndex: zIndexTextFieldLabel,\r\n left: spacing40,\r\n transform: 'translate(0, 1.125rem) scale(1)'\r\n },\r\n inputLabelShrink: {\r\n fontSize: fontSizeDefault,\r\n transform: 'translate(0, .5rem) scale(0.75)'\r\n }\r\n };\r\n};\r\n\r\nexport default styles;","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport defaultClassNames from 'react-day-picker/lib/src/classNames';\r\nimport { withStyles } from '@ellucian/react-design-system/core/styles';\r\nimport { withEDSContext } from '../../EDSContext/EDSContext';\r\nimport IconButton from '../../IconButton';\r\nimport Tooltip from '../../Tooltip';\r\n\r\nimport ChevronRight from '@ellucian/ds-icons/lib/ChevronRight';\r\nimport ChevronLeft from '@ellucian/ds-icons/lib/ChevronLeft';\r\n\r\nimport { sizingMedium, spacing40 } from '../../styles/tokens';\r\n\r\nvar iconButtonAlignmentSpace = '0.375rem';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n position: 'absolute',\r\n top: 0,\r\n left: 0,\r\n right: 0\r\n },\r\n left: {\r\n marginRight: 'auto',\r\n marginLeft: iconButtonAlignmentSpace,\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n '& svg': {\r\n height: spacing40,\r\n width: spacing40\r\n }\r\n },\r\n right: {\r\n marginRight: iconButtonAlignmentSpace,\r\n marginLeft: 'auto',\r\n width: sizingMedium,\r\n height: sizingMedium,\r\n '& svg': {\r\n height: spacing40,\r\n width: spacing40\r\n }\r\n }\r\n };\r\n};\r\n\r\nfunction Navbar(props) {\r\n var onPreviousClick = props.onPreviousClick,\r\n onNextClick = props.onNextClick,\r\n className = props.className,\r\n edsContext = props.edsContext,\r\n labels = props.labels,\r\n classes = props.classes,\r\n showPreviousButton = props.showPreviousButton,\r\n showNextButton = props.showNextButton;\r\n\r\n\r\n var previousButton = React.createElement(\r\n Tooltip,\r\n { key: 0, title: edsContext.formatMessage('component.DateRangePicker.previousMonth'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n key: 'hedtech-datepicker-prev-btn',\r\n color: 'gray',\r\n className: classes.left,\r\n 'aria-label': labels.previousMonth,\r\n onClick: function onClick() {\r\n return onPreviousClick();\r\n },\r\n disabled: !showPreviousButton\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronRight, null) : React.createElement(ChevronLeft, null)\r\n )\r\n );\r\n\r\n var nextButton = React.createElement(\r\n Tooltip,\r\n { key: 1, title: edsContext.formatMessage('component.DateRangePicker.nextMonth'), enterDelay: 1000, enterNextDelay: 1000 },\r\n React.createElement(\r\n IconButton,\r\n {\r\n key: 'hedtech-datepicker-next-btn',\r\n color: 'gray',\r\n className: classes.right,\r\n 'aria-label': labels.nextMonth,\r\n onClick: function onClick() {\r\n return onNextClick();\r\n },\r\n disabled: !showNextButton\r\n },\r\n edsContext.dir === 'rtl' ? React.createElement(ChevronLeft, null) : React.createElement(ChevronRight, null)\r\n )\r\n );\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: cn(className, classes.root) },\r\n [previousButton, nextButton]\r\n );\r\n}\r\n\r\nNavbar.propTypes = {\r\n classNames: PropTypes.shape({\r\n navBar: PropTypes.string.isRequired,\r\n navButtonPrev: PropTypes.string.isRequired,\r\n navButtonNext: PropTypes.string.isRequired\r\n }),\r\n className: PropTypes.string,\r\n edsContext: PropTypes.object,\r\n showPreviousButton: PropTypes.bool,\r\n showNextButton: PropTypes.bool,\r\n onPreviousClick: PropTypes.func,\r\n onNextClick: PropTypes.func,\r\n labels: PropTypes.shape({\r\n previousMonth: PropTypes.string,\r\n nextMonth: PropTypes.string\r\n }),\r\n classes: PropTypes.object\r\n};\r\n\r\nNavbar.defaultProps = {\r\n classNames: defaultClassNames,\r\n labels: {},\r\n showPreviousButton: true,\r\n showNextButton: true\r\n};\r\n\r\nexport default withEDSContext(withStyles(styles)(Navbar));","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport NativeSelect from '@material-ui/core/NativeSelect';\r\n\r\nimport Typography from '../../Typography';\r\nimport ChevronDown from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport { withStyles } from '@ellucian/react-design-system/core/styles';\r\n\r\nimport { fontSizeDefault, spacing50, spacing30, spacing20, sizingXxLarge1, fontFamilyHeader, fontWeightBold } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n caption: {\r\n display: 'flex',\r\n flexDirection: 'row',\r\n justifyContent: 'space-between',\r\n margin: spacing20 + ' ' + spacing50 + ' 0'\r\n },\r\n monthYearText: {\r\n flexGrow: 1,\r\n flexShrink: 1,\r\n textAlign: 'center',\r\n justifyContent: 'center'\r\n },\r\n monthSelect: {\r\n minWidth: '7.25rem' // 116px\r\n },\r\n yearSelect: {\r\n minWidth: sizingXxLarge1 // 64px\r\n },\r\n select: {\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightBold,\r\n width: 'calc(100% - ' + spacing30 + ')',\r\n padding: spacing20,\r\n '&:hover, &:focus': {\r\n backgroundColor: theme.palette.grey[200]\r\n }\r\n },\r\n icon: {\r\n top: 'calc(50% - ' + spacing20 + ')',\r\n right: spacing20,\r\n position: 'absolute',\r\n pointerEvents: 'none',\r\n height: '0.75rem',\r\n width: '0.75rem'\r\n }\r\n };\r\n};\r\n\r\nfunction Caption(_ref) {\r\n var withMonthYearSelect = _ref.withMonthYearSelect,\r\n classes = _ref.classes,\r\n classNames = _ref.classNames,\r\n date = _ref.date,\r\n months = _ref.months,\r\n locale = _ref.locale,\r\n localeUtils = _ref.localeUtils,\r\n onClick = _ref.onClick,\r\n onChange = _ref.onChange,\r\n monthYearSelectOptions = _ref.monthYearSelectOptions;\r\n\r\n var captionMonths = localeUtils.getMonths(locale);\r\n var years = [];\r\n\r\n var buildYearsOptions = function buildYearsOptions() {\r\n var yearOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\r\n min: 4,\r\n max: 4\r\n };\r\n\r\n var currentYear = new Date().getFullYear();\r\n var fromMonth = new Date(currentYear - yearOptions.min, 0);\r\n var toMonth = new Date(currentYear + yearOptions.max, 11);\r\n\r\n for (var i = fromMonth.getFullYear(); i <= toMonth.getFullYear(); i += 1) {\r\n years.push(i);\r\n }\r\n };\r\n\r\n if (monthYearSelectOptions) {\r\n var year = monthYearSelectOptions.year;\r\n\r\n buildYearsOptions(year);\r\n } else {\r\n buildYearsOptions();\r\n }\r\n\r\n var handleChange = function handleChange(e) {\r\n var _e$target$form = e.target.form,\r\n year = _e$target$form.year,\r\n month = _e$target$form.month;\r\n\r\n onChange(new Date(year.value, month.value));\r\n };\r\n\r\n var monthSelect = React.createElement(\r\n NativeSelect,\r\n {\r\n key: 'hedtech-datepicker-month-select',\r\n onChange: handleChange,\r\n IconComponent: ChevronDown,\r\n value: date.getMonth(),\r\n name: 'month',\r\n classes: {\r\n root: classes.monthSelect,\r\n select: classes.select,\r\n icon: classes.icon\r\n },\r\n disableUnderline: true\r\n },\r\n captionMonths.map(function (month, i) {\r\n return React.createElement(\r\n 'option',\r\n { key: month, value: i },\r\n month\r\n );\r\n })\r\n );\r\n\r\n var yearSelect = React.createElement(\r\n NativeSelect,\r\n {\r\n key: 'hedtech-datepicker-year-select',\r\n IconComponent: ChevronDown,\r\n onChange: handleChange,\r\n value: date.getFullYear(),\r\n name: 'year',\r\n classes: {\r\n root: classes.yearSelect,\r\n select: classes.select,\r\n icon: classes.icon\r\n },\r\n disableUnderline: true\r\n },\r\n years.map(function (year) {\r\n return React.createElement(\r\n 'option',\r\n { key: year, value: year },\r\n year\r\n );\r\n })\r\n );\r\n\r\n return React.createElement(\r\n 'div',\r\n { className: 'DayPicker-Caption' },\r\n React.createElement(\r\n 'div',\r\n { className: classes.caption },\r\n withMonthYearSelect ? React.createElement(\r\n 'form',\r\n null,\r\n [monthSelect, yearSelect]\r\n ) : React.createElement(\r\n Typography,\r\n {\r\n variant: 'h3',\r\n className: classes.monthYearText,\r\n component: 'div',\r\n align: 'center'\r\n },\r\n localeUtils.formatMonthTitle(date, locale)\r\n )\r\n )\r\n );\r\n}\r\n\r\nCaption.propTypes = {\r\n /**\r\n * @ignore\r\n */\r\n classes: PropTypes.object,\r\n withMonthYearSelect: PropTypes.bool,\r\n classNames: PropTypes.object,\r\n date: PropTypes.instanceOf(Date),\r\n months: PropTypes.arrayOf(PropTypes.string),\r\n locale: PropTypes.string,\r\n localeUtils: PropTypes.object,\r\n onClick: PropTypes.func,\r\n onChange: PropTypes.func,\r\n monthYearSelectOptions: PropTypes.object\r\n};\r\n\r\nexport default withStyles(styles)(Caption);","export var Months = {\r\n JANUARY: 0,\r\n FEBRUARY: 1,\r\n MARCH: 2,\r\n APRIL: 3,\r\n MAY: 4,\r\n JUNE: 5,\r\n JULY: 6,\r\n AUGUST: 7,\r\n SEPTEMBER: 8,\r\n OCTOBER: 9,\r\n NOVEMBER: 10,\r\n DECEMBER: 11\r\n};\r\n\r\nexport function getDefaultMaxDate() {\r\n var date = new Date();\r\n date.setFullYear(date.getFullYear() + 10);\r\n date.setMonth(Months.DECEMBER, 31);\r\n return date;\r\n}\r\n\r\nexport function getDefaultMinDate() {\r\n var date = new Date();\r\n date.setFullYear(date.getFullYear() - 20);\r\n date.setMonth(Months.JANUARY, 1);\r\n return date;\r\n}\r\n\r\nexport function areSameTime(date1, date2) {\r\n return date1 != null && date2 != null && date1.getHours() === date2.getHours() && date1.getMinutes() === date2.getMinutes() && date1.getSeconds() === date2.getSeconds() && date1.getMilliseconds() === date2.getMilliseconds();\r\n}","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\r\n\r\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nfunction _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; }\r\n\r\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\r\n\r\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\r\n\r\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport cn from 'classnames';\r\nimport uuid from 'uuid/v4';\r\nimport FormControl from '@material-ui/core/FormControl';\r\nimport FormHelperText from '../FormControl/FormHelperText';\r\nimport Input from '@material-ui/core/Input';\r\nimport InputLabel from '@material-ui/core/InputLabel';\r\nimport Popper from '@material-ui/core/Popper';\r\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\r\nimport { withEDSContext } from '../EDSContext/EDSContext';\r\n\r\nimport DayPicker, { DateUtils } from 'react-day-picker';\r\nimport moment from 'moment';\r\nimport MomentLocaleUtils, { formatDate, parseDate } from 'react-day-picker/moment';\r\n\r\nimport { withStyles } from '@ellucian/react-design-system/core/styles';\r\nimport withWidth from '../withWidth';\r\nimport styles from './styles/styles';\r\nimport ArrowRight from '@ellucian/ds-icons/lib/ArrowRight';\r\nimport ArrowLeft from '@ellucian/ds-icons/lib/ArrowLeft';\r\n\r\nimport Navbar from './internal/Navbar';\r\nimport Caption from './internal/Caption';\r\nimport { getDefaultMaxDate, getDefaultMinDate } from './internal/DateUtils';\r\n\r\nvar Boundary = {\r\n START: 'start',\r\n END: 'end'\r\n};\r\n\r\n/**\r\n * Use `DateRangePicker` for short periods of time.\r\n * @done true\r\n * @updated false\r\n * @versionAdded v3.0.0\r\n * @examples\r\n * DateRangePickerExample\r\n * Required\r\n * Locale\r\n * InDialog\r\n * InCard\r\n */\r\n\r\nvar DateRangePicker = function (_React$Component) {\r\n _inherits(DateRangePicker, _React$Component);\r\n\r\n function DateRangePicker(props, context) {\r\n _classCallCheck(this, DateRangePicker);\r\n\r\n var _this = _possibleConstructorReturn(this, (DateRangePicker.__proto__ || Object.getPrototypeOf(DateRangePicker)).call(this, props, context));\r\n\r\n _initialiseProps.call(_this);\r\n\r\n _this.handleDayChange = _this.handleDayChange.bind(_this);\r\n _this.handleDayMouseEnter = _this.handleDayMouseEnter.bind(_this);\r\n _this.handleDayMouseLeave = _this.handleDayMouseLeave.bind(_this);\r\n _this.handleInputFocus = _this.handleInputFocus.bind(_this);\r\n _this.openDateRangePicker = _this.openDateRangePicker.bind(_this);\r\n _this.closeDateRangePicker = _this.closeDateRangePicker.bind(_this);\r\n\r\n // Refs\r\n _this.startInputContainerRef = React.createRef();\r\n _this.startInputRef = React.createRef();\r\n _this.endInputRef = React.createRef();\r\n _this.daypicker = React.createRef();\r\n\r\n _this.state = _this.initialState(props);\r\n\r\n _this.uuid = uuid();\r\n return _this;\r\n }\r\n\r\n // ========\r\n // Component & Lifecycle methods\r\n // ========\r\n\r\n _createClass(DateRangePicker, [{\r\n key: 'initialState',\r\n value: function initialState(props) {\r\n var _getInitialRange = this.getInitialRange(),\r\n _getInitialRange2 = _slicedToArray(_getInitialRange, 2),\r\n selectedStart = _getInitialRange2[0],\r\n selectedEnd = _getInitialRange2[1];\r\n\r\n var isOpen = this.getInitialOpenState();\r\n\r\n return {\r\n isOpen: isOpen,\r\n\r\n // Internal error variables\r\n startInputError: false,\r\n endInputError: false,\r\n errorHelperText: null,\r\n\r\n // Helper util variables to keep track of focus states\r\n lastFocusedField: null,\r\n boundaryToModify: null,\r\n isStartInputFocused: false,\r\n isEndInputFocused: false,\r\n\r\n // Used to show the input value string when user is typing in the input field\r\n startInputString: null,\r\n endInputString: null,\r\n\r\n // Used to show the user the date they are hovering over when calendar UI is open\r\n startHoverString: null,\r\n endHoverString: null,\r\n\r\n // Keep track of the last day for mouseEnter\r\n hoverTo: null,\r\n\r\n // These are the internal start and end dates\r\n // They should be updated internally if the component is\r\n // uncontrolled.\r\n // They should NOT be updated if the component IS controlled.\r\n selectedStart: selectedStart,\r\n selectedEnd: selectedEnd,\r\n\r\n // Util variables used for checking how the user selects a date\r\n wasLastFocusChangeDueToHover: false,\r\n wasLastFocusChangeDueToSelectingDate: false,\r\n\r\n // Used to see if date is out of range\r\n prevMinDate: props.minDate,\r\n prevMaxDate: props.maxDate,\r\n prevValue: [selectedStart, selectedEnd]\r\n };\r\n }\r\n }, {\r\n key: 'componentDidUpdate',\r\n value: function componentDidUpdate(prevProps) {\r\n // Check focus helper variables to make sure the correct input is focused\r\n var _state = this.state,\r\n isStartInputFocused = _state.isStartInputFocused,\r\n isEndInputFocused = _state.isEndInputFocused;\r\n\r\n\r\n var shouldFocusStartInput = this.shouldFocusInputRef(isStartInputFocused, this.startInputRef);\r\n var shouldFocusEndInput = this.shouldFocusInputRef(isEndInputFocused, this.endInputRef);\r\n\r\n if (shouldFocusStartInput || isStartInputFocused) {\r\n this.startInputRef.current.focus();\r\n } else if (shouldFocusEndInput || isEndInputFocused) {\r\n this.endInputRef.current.focus();\r\n }\r\n\r\n // Check if date values changed\r\n var nextState = {};\r\n\r\n // NOTE: Uncomment this if the minDate and maxDate checks are required\r\n // const shouldUpdateState = false;\r\n\r\n // If values change for controlled implementations, update internal component with new date values\r\n if (this.props.value !== prevProps.value) {\r\n var _getInitialRange3 = this.getInitialRange(this.props),\r\n _getInitialRange4 = _slicedToArray(_getInitialRange3, 2),\r\n selectedStart = _getInitialRange4[0],\r\n selectedEnd = _getInitialRange4[1];\r\n\r\n nextState = Object.assign({}, nextState, { selectedStart: selectedStart, selectedEnd: selectedEnd });\r\n this.setState(function (prevState) {\r\n return Object.assign({}, prevState, nextState);\r\n });\r\n }\r\n\r\n // NOTE: Commenting this out right now, but we might need to check minDate or maxDate changes\r\n // cache the formatted date strings to avoid computing on each render.\r\n // if (this.props.minDate !== prevProps.minDate) {\r\n // const formattedMinDateString = this.getFormattedMinMaxDateString(this.props, 'minDate');\r\n // nextState = { ...nextState, formattedMinDateString };\r\n // }\r\n // if (this.props.maxDate !== prevProps.maxDate) {\r\n // const formattedMaxDateString = this.getFormattedMinMaxDateString(this.props, 'maxDate');\r\n // nextState = { ...nextState, formattedMaxDateString };\r\n // }\r\n\r\n // NOTE: Uncomment this if the minDate and maxDate checks are required\r\n // if (shouldUpdateState) {\r\n // this.setState(nextState);\r\n // }\r\n }\r\n\r\n // Helper function to check if a specific input should get focus\r\n\r\n }, {\r\n key: 'shouldFocusInputRef',\r\n value: function shouldFocusInputRef(isFocused, inputRef) {\r\n return isFocused && inputRef !== undefined && document.activeElement !== inputRef;\r\n }\r\n\r\n // This method is used to close the calendar UI when the input is focused\r\n\r\n\r\n // ========\r\n // DayPicker functions\r\n // ========\r\n\r\n }, {\r\n key: 'handleDayChange',\r\n value: function handleDayChange(day) {\r\n var modifiers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\r\n\r\n // Disable users being able to click and enter day\r\n if (modifiers.disabled) {\r\n return;\r\n }\r\n\r\n var _state2 = this.state,\r\n selectedStart = _state2.selectedStart,\r\n selectedEnd = _state2.selectedEnd;\r\n\r\n\r\n var wasStartFieldFocused = this.state.lastFocusedField === Boundary.START;\r\n var wasEndFieldFocused = this.state.lastFocusedField === Boundary.END;\r\n\r\n var nextState = {};\r\n\r\n var controlledSelectedStart = selectedStart;\r\n var controlledSelectedEnd = selectedEnd;\r\n\r\n if (wasStartFieldFocused) {\r\n // if user selects a date after the end date then assign day to\r\n // start date and clear end date\r\n if (selectedEnd != null && DateUtils.isDayAfter(day, selectedEnd)) {\r\n nextState = Object.assign({}, nextState, {\r\n selectedStart: day,\r\n selectedEnd: null,\r\n isStartInputFocused: false,\r\n isEndInputFocused: true\r\n });\r\n controlledSelectedStart = day;\r\n controlledSelectedEnd = null;\r\n } else {\r\n nextState = Object.assign({}, nextState, {\r\n selectedStart: day,\r\n isStartInputFocused: false,\r\n isEndInputFocused: true,\r\n isOpen: false\r\n });\r\n controlledSelectedStart = day;\r\n }\r\n } else if (wasEndFieldFocused) {\r\n if (selectedStart == null) {\r\n // if end date is picked, and start date is empty\r\n // assign day to end date, and focus start date\r\n nextState = Object.assign({}, nextState, {\r\n selectedEnd: day,\r\n isStartInputFocused: true,\r\n isEndInputFocused: false\r\n });\r\n controlledSelectedEnd = day;\r\n } else if (selectedStart != null && DateUtils.isDayBefore(day, selectedStart)) {\r\n // if there is a selectedStart date and the picked day is before\r\n // the selectedStart, then set selectedStart to null\r\n nextState = Object.assign({}, nextState, {\r\n selectedStart: null,\r\n selectedEnd: day,\r\n isStartInputFocused: true,\r\n isEndInputFocused: false\r\n });\r\n controlledSelectedStart = null;\r\n controlledSelectedEnd = day;\r\n } else {\r\n nextState = Object.assign({}, nextState, {\r\n selectedEnd: day,\r\n isStartInputFocused: false,\r\n isEndInputFocused: true,\r\n isOpen: false\r\n });\r\n controlledSelectedEnd = day;\r\n }\r\n }\r\n\r\n // set state helper variable to close DayPicker if complete range exists\r\n if (controlledSelectedEnd != null && controlledSelectedStart) {\r\n nextState.wasLastFocusChangeDueToSelectingDate = true;\r\n // if start date was picked last, return focus to start\r\n if (wasStartFieldFocused) {\r\n nextState.isStartInputFocused = true;\r\n nextState.isEndInputFocused = false;\r\n }\r\n }\r\n\r\n // set internal state\r\n this.setState(nextState);\r\n\r\n // send controlled values to onChange method\r\n if (this.isControlled() && this.props.onChange) {\r\n this.props.onChange([controlledSelectedStart, controlledSelectedEnd]);\r\n }\r\n }\r\n }, {\r\n key: 'handleDayMouseEnter',\r\n value: function handleDayMouseEnter(day, locale) {\r\n // If the mouse enters a day (or the calendar),\r\n // show the 'potential' range styling and update hover strings\r\n var _state3 = this.state,\r\n isStartInputFocused = _state3.isStartInputFocused,\r\n isEndInputFocused = _state3.isEndInputFocused,\r\n lastFocusedField = _state3.lastFocusedField;\r\n\r\n\r\n var wasStartFieldFocused = lastFocusedField === Boundary.START;\r\n var wasEndFieldFocused = lastFocusedField === Boundary.END;\r\n\r\n if (isStartInputFocused || wasStartFieldFocused) {\r\n this.setState({\r\n startHoverString: formatDate(day, this.props.format, locale),\r\n hoverTo: day\r\n });\r\n } else if (isEndInputFocused || wasEndFieldFocused) {\r\n this.setState({\r\n endHoverString: formatDate(day, this.props.format, locale),\r\n hoverTo: day\r\n });\r\n }\r\n }\r\n }, {\r\n key: 'handleDayMouseLeave',\r\n value: function handleDayMouseLeave(day) {\r\n // If the mouse leaves a day (or the calendar),\r\n // reset the 'potential' range styling and hover strings\r\n this.setState({\r\n hoverTo: null,\r\n endHoverString: null,\r\n startHoverString: null\r\n });\r\n }\r\n\r\n // ========\r\n // Input Functions\r\n // ========\r\n\r\n }, {\r\n key: 'handleInputFocus',\r\n value: function handleInputFocus(e, boundary, locale) {\r\n var _setState;\r\n\r\n var _getStateKeysAndValue = this.getStateKeysAndValuesForBoundary(boundary),\r\n keys = _getStateKeysAndValue.keys,\r\n values = _getStateKeysAndValue.values;\r\n\r\n var inputString = this.getFormattedDateString(values.selectedValue, this.props, locale, false);\r\n\r\n var isOpen = true;\r\n\r\n // Close the DayPicker UI if both dates are selected\r\n // This implementation keeps focus on the last focused boundary\r\n if (this.state.wasLastFocusChangeDueToSelectingDate) {\r\n isOpen = false;\r\n }\r\n\r\n // Change the boundary only if the user explicitly focused in the field.\r\n // Focus changes from hovering don't count; they're just temporary.\r\n var boundaryToModify = this.state.wasLastFocusChangeDueToHover ? this.state.boundaryToModify : boundary;\r\n\r\n this.setState((_setState = {}, _defineProperty(_setState, keys.inputString, inputString), _defineProperty(_setState, keys.isInputFocused, true), _defineProperty(_setState, 'boundaryToModify', boundaryToModify), _defineProperty(_setState, 'isOpen', isOpen), _defineProperty(_setState, 'lastFocusedField', boundary), _defineProperty(_setState, 'wasLastFocusChangeDueToHover', false), _defineProperty(_setState, 'wasLastFocusChangeDueToSelectingDate', false), _setState));\r\n }\r\n }, {\r\n key: 'handleInputBlur',\r\n value: function handleInputBlur(e, boundary, locale) {\r\n var _nextState;\r\n\r\n var _getStateKeysAndValue2 = this.getStateKeysAndValuesForBoundary(boundary),\r\n keys = _getStateKeysAndValue2.keys,\r\n values = _getStateKeysAndValue2.values;\r\n\r\n var _getStateKeysAndValue3 = this.getStateKeysAndValuesForBoundary(this.getOtherBoundary(boundary)),\r\n otherBoundaryValues = _getStateKeysAndValue3.values;\r\n\r\n var maybeNextDate = this.parseDate(values.inputString, locale);\r\n var isValueControlled = this.isControlled();\r\n\r\n var edsContext = this.props.edsContext;\r\n\r\n\r\n var nextState = (_nextState = {}, _defineProperty(_nextState, keys.isInputFocused, false), _defineProperty(_nextState, 'wasLastFocusChangeDueToSelectingDate', false), _nextState);\r\n\r\n // if input is empty, then update Boundary's inputString value to \"\"\r\n if (this.isInputEmpty(values.inputString)) {\r\n // reset error, no string means no error\r\n if (isValueControlled) {\r\n var _Object$assign;\r\n\r\n // This should clear the date out for the consumer\r\n nextState = Object.assign({}, nextState, (_Object$assign = {}, _defineProperty(_Object$assign, keys.inputString, this.getFormattedDateString(values.controlledValue, this.props, locale, false)), _defineProperty(_Object$assign, keys.error, false), _defineProperty(_Object$assign, 'errorHelperText', null), _Object$assign));\r\n } else {\r\n var _Object$assign2;\r\n\r\n // Uncontrolled\r\n // should clear the input string if the input is empty\r\n nextState = Object.assign({}, nextState, (_Object$assign2 = {}, _defineProperty(_Object$assign2, keys.inputString, null), _defineProperty(_Object$assign2, keys.error, false), _defineProperty(_Object$assign2, 'errorHelperText', null), _Object$assign2));\r\n }\r\n } else if (!DateUtils.isDate(maybeNextDate)) {\r\n var _Object$assign3;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign3 = {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.invalidDate')\r\n }, _defineProperty(_Object$assign3, keys.error, true), _defineProperty(_Object$assign3, keys.selectedValue, null), _Object$assign3));\r\n } else {\r\n var _Object$assign4;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign4 = {}, _defineProperty(_Object$assign4, keys.inputString, null), _defineProperty(_Object$assign4, keys.selectedValue, maybeNextDate), _Object$assign4));\r\n }\r\n\r\n if (otherBoundaryValues.inputString || otherBoundaryValues.selectedValue) {\r\n if (otherBoundaryValues.selectedValue && !DateUtils.isDayInRange(otherBoundaryValues.selectedValue, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n })) {\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.outOfRange')\r\n });\r\n }\r\n if (otherBoundaryValues.inputString && !DateUtils.isDate(otherBoundaryValues.inputString)) {\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.invalidDate')\r\n });\r\n }\r\n }\r\n\r\n // Need to be able to account for consumer's onBlur methods for error checking\r\n if (boundary === Boundary.START && this.props.StartInputProps.onBlur) {\r\n this.props.StartInputProps.onBlur([this.state.selectedStart, this.state.selectedEnd]);\r\n } else if (boundary === Boundary.END && this.props.EndInputProps.onBlur) {\r\n this.props.EndInputProps.onBlur([this.state.selectedStart, this.state.selectedEnd]);\r\n }\r\n\r\n this.setState(nextState);\r\n }\r\n }, {\r\n key: 'handleInputChange',\r\n value: function handleInputChange(e, boundary, locale) {\r\n var inputString = e.target.value;\r\n\r\n var _getStateKeysAndValue4 = this.getStateKeysAndValuesForBoundary(boundary),\r\n keys = _getStateKeysAndValue4.keys;\r\n\r\n var maybeNextDate = this.parseDate(inputString, locale);\r\n var isValueControlled = this.isControlled();\r\n\r\n var otherBoundary = this.getOtherBoundary(boundary);\r\n\r\n var _getStateKeysAndValue5 = this.getStateKeysAndValuesForBoundary(otherBoundary),\r\n otherBoundaryKeys = _getStateKeysAndValue5.keys,\r\n otherBoundaryValues = _getStateKeysAndValue5.values;\r\n\r\n var nextState = _defineProperty({}, keys.error, false);\r\n var edsContext = this.props.edsContext;\r\n\r\n\r\n if (inputString.length === 0) {\r\n // this case will be relevant when we start showing the hovered range in the input\r\n // fields. goal is to show an empty field for clarity until the mouse moves over a\r\n // different date.\r\n var baseState = Object.assign({}, nextState, _defineProperty({\r\n errorHelperText: null\r\n }, keys.inputString, ''));\r\n if (isValueControlled) {\r\n nextState = baseState;\r\n // nextState = { ...baseState, [keys.selectedValue]: null };\r\n\r\n if (this.props.onChange) {\r\n // reset respective input field's value\r\n this.props.onChange(this.getDateRangeForCallback(null, boundary));\r\n }\r\n } else {\r\n nextState = Object.assign({}, baseState, _defineProperty({}, keys.selectedValue, null));\r\n }\r\n } else if (DateUtils.isDate(maybeNextDate)) {\r\n var _Object$assign7;\r\n\r\n // If the date typed in is valid,\r\n // note that error cases that depend on both fields (e.g. overlapping dates) should fall\r\n // through into this block so that the UI can update immediately, possibly with an error\r\n // message on the other field.\r\n // also, clear the hover string to ensure the most recent keystroke appears.\r\n var _baseState = Object.assign({}, nextState, (_Object$assign7 = {}, _defineProperty(_Object$assign7, keys.hoverString, null), _defineProperty(_Object$assign7, keys.inputString, inputString), _Object$assign7));\r\n if (isValueControlled) {\r\n nextState = _baseState;\r\n if (this.props.onChange) {\r\n this.props.onChange(this.getDateRangeForCallback(maybeNextDate, boundary));\r\n }\r\n } else {\r\n nextState = Object.assign({}, _baseState, _defineProperty({}, keys.selectedValue, maybeNextDate));\r\n }\r\n } else {\r\n var _Object$assign9;\r\n\r\n // again, clear the hover string to ensure the most recent keystroke appears\r\n nextState = Object.assign({}, nextState, (_Object$assign9 = {}, _defineProperty(_Object$assign9, keys.inputString, inputString), _defineProperty(_Object$assign9, keys.hoverString, null), _Object$assign9));\r\n }\r\n\r\n // Internal error states\r\n if (DateUtils.isDate(maybeNextDate) && this.doBoundaryDatesOverlap(maybeNextDate, boundary)) {\r\n var _Object$assign10;\r\n\r\n // If typed dates are overlapping, trigger error state and message\r\n nextState = Object.assign({}, nextState, (_Object$assign10 = {}, _defineProperty(_Object$assign10, keys.error, true), _defineProperty(_Object$assign10, 'errorHelperText', edsContext.formatMessage('component.DateRangePicker.error.overlappingDates')), _Object$assign10));\r\n } else if (DateUtils.isDate(maybeNextDate) && !DateUtils.isDayInRange(maybeNextDate, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n })) {\r\n var _Object$assign11;\r\n\r\n // if typed dates are out of range, trigger error state and message\r\n nextState = Object.assign({}, nextState, (_Object$assign11 = {}, _defineProperty(_Object$assign11, keys.error, true), _defineProperty(_Object$assign11, 'errorHelperText', edsContext.formatMessage('component.DateRangePicker.error.outOfRange')), _Object$assign11));\r\n } else {\r\n var _Object$assign12;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign12 = {}, _defineProperty(_Object$assign12, keys.error, false), _defineProperty(_Object$assign12, 'errorHelperText', null), _Object$assign12));\r\n }\r\n\r\n // This will check the other boundary and determine if the error should persist\r\n // i.e. overlapping dates, 10/20/2019 - 10/19/2019\r\n // You can change either date to resolve an internal error, this means that each input\r\n // needs to check the other boundary to see if the error should be cleared or persist.\r\n if (!this.doBoundaryDatesOverlap(maybeNextDate, boundary) && DateUtils.isDate(maybeNextDate) && DateUtils.isDayInRange(maybeNextDate, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n }) && otherBoundaryValues.selectedValue && DateUtils.isDayInRange(otherBoundaryValues.selectedValue, {\r\n from: this.props.minDate,\r\n to: this.props.maxDate\r\n })) {\r\n var _Object$assign13;\r\n\r\n nextState = Object.assign({}, nextState, (_Object$assign13 = {}, _defineProperty(_Object$assign13, keys.error, false), _defineProperty(_Object$assign13, otherBoundaryKeys.error, false), _defineProperty(_Object$assign13, 'errorHelperText', null), _Object$assign13));\r\n }\r\n if (otherBoundaryValues.selectedValue && !this.isDateValidAndInRange(otherBoundaryValues.selectedValue)) {\r\n // check check if the date range is valid\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.outOfRange')\r\n });\r\n }\r\n if (otherBoundaryValues.inputString && !DateUtils.isDate(otherBoundaryValues.inputString)) {\r\n // inputString should only be non-null if the input has focus or if the date is invalid\r\n nextState = Object.assign({}, nextState, {\r\n errorHelperText: edsContext.formatMessage('component.DateRangePicker.error.invalidDate')\r\n });\r\n }\r\n\r\n // Update state\r\n this.setState(nextState);\r\n }\r\n }, {\r\n key: 'handleOnKeyDown',\r\n value: function handleOnKeyDown(e, input) {\r\n var drpDir = 'dir' in this.props ? this.props.dir : this.props.edsContext.dir;\r\n var isTabPressed = e.which === 9; // Tab keycode\r\n var isDownArrowPressed = e.which === 40; // Down arrow keycode\r\n var isShiftPressed = e.shiftKey;\r\n\r\n if (this.state.isOpen && isDownArrowPressed) {\r\n // prevent the default behavior of scrolling down\r\n e.preventDefault();\r\n // get first selectable day\r\n document.querySelector('.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside)').focus();\r\n }\r\n\r\n // order of JS events is our enemy here. when tabbing between fields,\r\n // this handler will fire in the middle of a focus exchange when no\r\n // field is currently focused. we work around this by referring to the\r\n // most recently focused field, rather than the currently focused field.\r\n var wasStartFieldFocused = this.state.lastFocusedField === Boundary.START;\r\n var wasEndFieldFocused = this.state.lastFocusedField === Boundary.END;\r\n\r\n if (isTabPressed) {\r\n var isEndInputFocused = void 0;\r\n var isStartInputFocused = void 0;\r\n var isOpen = true;\r\n\r\n // account for both ltr and rtl tab order\r\n if (drpDir === 'ltr') {\r\n // if start field focused and shift is not pressed\r\n // move to end field\r\n if (wasStartFieldFocused && !isShiftPressed) {\r\n isStartInputFocused = false;\r\n isEndInputFocused = true;\r\n // prevent the default focus-change behavior to avoid race conditions;\r\n // we'll handle the focus change ourselves in componentDidUpdate.\r\n e.preventDefault();\r\n } else if (wasEndFieldFocused && isShiftPressed) {\r\n // if end field is focused and shift is pressed\r\n // move to start input\r\n isStartInputFocused = true;\r\n isEndInputFocused = false;\r\n e.preventDefault();\r\n } else {\r\n // don't prevent default here, otherwise Tab won't do anything.\r\n isStartInputFocused = false;\r\n isEndInputFocused = false;\r\n isOpen = false;\r\n }\r\n } else {\r\n // right-to-left\r\n // if start field focused and shift is not pressed\r\n // move to end field\r\n if (wasEndFieldFocused && !isShiftPressed) {\r\n isStartInputFocused = true;\r\n isEndInputFocused = false;\r\n\r\n // prevent the default focus-change behavior to avoid race conditions;\r\n // we'll handle the focus change ourselves in componentDidUpdate.\r\n e.preventDefault();\r\n } else if (wasStartFieldFocused && isShiftPressed) {\r\n // if end field is focused and shift+tab is pressed\r\n // move to start input\r\n isStartInputFocused = false;\r\n isEndInputFocused = true;\r\n e.preventDefault();\r\n } else {\r\n // don't prevent default here, otherwise Tab won't do anything.\r\n isStartInputFocused = false;\r\n isEndInputFocused = false;\r\n isOpen = false;\r\n }\r\n }\r\n this.setState({\r\n isEndInputFocused: isEndInputFocused,\r\n isOpen: isOpen,\r\n isStartInputFocused: isStartInputFocused,\r\n wasLastFocusChangeDueToHover: false\r\n });\r\n }\r\n\r\n // else the default keystroke happen without side effects\r\n }\r\n\r\n // Date Util Functions\r\n\r\n }, {\r\n key: 'parseDate',\r\n value: function parseDate(dateString, locale) {\r\n if (dateString === this.props.edsContext.formatMessage('component.DateRangePicker.error.outOfRange') || dateString === this.props.edsContext.formatMessage('component.DateRangePicker.error.invalidDate')) {\r\n return null;\r\n }\r\n\r\n var _props = this.props,\r\n format = _props.format,\r\n parseDateProp = _props.parseDate;\r\n\r\n // Accounts for ISO formats and format prop\r\n // YYYY-MM-DD and MM/DD/YYYY and the consumer provided prop\r\n\r\n var newDate = parseDateProp(dateString, format, locale) || parseDateProp(dateString, 'MM/DD/YYYY', locale) || parseDateProp(dateString, 'YYYY-MM-DD', locale);\r\n\r\n return newDate === false ? new Date(undefined) : newDate;\r\n }\r\n }, {\r\n key: 'getFormattedDateString',\r\n value: function getFormattedDateString(date, props, locale) {\r\n var ignoreRange = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\r\n\r\n if (date == null) {\r\n return '';\r\n } else if (!DateUtils.isDate(date)) {\r\n return props.edsContext.formatMessage('component.DateRangePicker.error.invalidDate');\r\n } else if (ignoreRange || DateUtils.isDayInRange(date, {\r\n from: props.minDate,\r\n to: props.maxDate\r\n })) {\r\n // good date\r\n return formatDate(date, props.format, locale);\r\n } else {\r\n return formatDate(date, props.format, locale);\r\n }\r\n }\r\n\r\n // ========\r\n // Helper Functions\r\n // ========\r\n\r\n /**\r\n * Returns true if the provided boundary is an END boundary overlapping the\r\n * selected start date. (If the boundaries overlap, we consider the END\r\n * boundary to be erroneous.)\r\n */\r\n\r\n\r\n // NOTE: This should also get uncommented if the check functions in componentDidUpdate are required\r\n // getFormattedMinMaxDateString(props, propName) {\r\n // const date = props[propName];\r\n // const defaultDate = DateRangePicker.defaultProps[propName];\r\n // return this.getFormattedDateString(\r\n // date === undefined ? defaultDate : date,\r\n // this.props\r\n // );\r\n // }\r\n\r\n }, {\r\n key: 'isNextDateRangeValid',\r\n value: function isNextDateRangeValid(nextDate, boundary) {\r\n return this.isDateValidAndInRange(nextDate) && !this.doBoundaryDatesOverlap(nextDate, boundary);\r\n }\r\n }, {\r\n key: 'getInputDisplayString',\r\n value: function getInputDisplayString(boundary, locale) {\r\n var _getStateKeysAndValue6 = this.getStateKeysAndValuesForBoundary(boundary),\r\n values = _getStateKeysAndValue6.values;\r\n\r\n var isInputFocused = values.isInputFocused,\r\n inputString = values.inputString,\r\n selectedValue = values.selectedValue,\r\n hoverString = values.hoverString,\r\n error = values.error;\r\n\r\n // Show hover string as priority\r\n\r\n if (hoverString != null) {\r\n return hoverString;\r\n } else if (error && inputString) {\r\n return inputString == null ? '' : inputString;\r\n } else if (isInputFocused) {\r\n // If Input is focused, then show inputString being typed in\r\n // If the input loses focus, then show the hoverString (if hovering over the DatePicker),\r\n return inputString == null ? '' : inputString;\r\n } else if (selectedValue == null) {\r\n return '';\r\n } else {\r\n // if no issues, get formatted date string and display\r\n return this.getFormattedDateString(selectedValue, this.props, locale, false);\r\n }\r\n }\r\n }, {\r\n key: 'getDayPickerMonth',\r\n value: function getDayPickerMonth() {\r\n // 1. no start date, no end date (clicking either start/end input) => current month\r\n // 2. yes start date, no end date, clicking on end date input => start month\r\n // 3. yes start date, no end date, clicking on start date input => start month\r\n // 4. no start date, yes end date, clicking start date input => end month\r\n // 5. no start date, yes end date, clicking end date input => end month\r\n // 6. yes start date, yes end date, clicking start date input => start month?\r\n // 7. yes start date, yes end date, clicking end date input => end month?\r\n if (this.state.selectedStart && !this.state.selectedEnd) {\r\n // show selectedStart month if only start or both dates exist\r\n return new Date(this.state.selectedStart);\r\n } else if (!this.state.selectedStart && this.state.selectedEnd) {\r\n // show end date if only end date exists\r\n return new Date(this.state.selectedEnd);\r\n } else if (this.state.selectedStart && this.state.selectedEnd) {\r\n if (this.state.isStartInputFocused || this.state.lastFocusedField === 'start') {\r\n return new Date(this.state.selectedStart);\r\n } else if (this.state.isEndInputFocused || this.state.lastFocusedField === 'end') {\r\n return new Date(this.state.selectedEnd);\r\n }\r\n } else if (this.props.initialMonth) {\r\n // return consumer's initialMonth to show\r\n return new Date(this.props.initialMonth);\r\n } else {\r\n // else return today's month\r\n return new Date();\r\n }\r\n }\r\n\r\n // Utility function to update the months shown according to viewport size\r\n\r\n }, {\r\n key: 'getNumberOfMonths',\r\n value: function getNumberOfMonths() {\r\n var viewportNumberOfMonths = this.props.width === 'xs' || this.props.width === 'sm' ? 1 : 2;\r\n return this.props.numberOfMonths || viewportNumberOfMonths;\r\n }\r\n }, {\r\n key: 'getDayPickerModifiers',\r\n value: function getDayPickerModifiers() {\r\n var _state4 = this.state,\r\n selectedStart = _state4.selectedStart,\r\n selectedEnd = _state4.selectedEnd,\r\n hoverTo = _state4.hoverTo,\r\n lastFocusedField = _state4.lastFocusedField;\r\n\r\n\r\n var modifiers = {\r\n start: selectedStart,\r\n end: selectedEnd,\r\n hover: { from: selectedStart, to: hoverTo }\r\n };\r\n\r\n // we are assuming that hoverTo is a date, since it is an internal variable and only set as a valid date\r\n if (DateUtils.isDate(selectedEnd)) {\r\n if (lastFocusedField === Boundary.START && DateUtils.isDayAfter(new Date(hoverTo), selectedEnd)) {\r\n delete modifiers.hover;\r\n }\r\n }\r\n if (DateUtils.isDate(selectedStart)) {\r\n if (lastFocusedField === Boundary.END && DateUtils.isDayBefore(new Date(hoverTo), selectedStart)) {\r\n delete modifiers.hover;\r\n }\r\n }\r\n // flip the modifiers if we are picking the start date\r\n if (lastFocusedField === Boundary.START && !DateUtils.isDate(selectedStart)) {\r\n modifiers.hover = {\r\n from: hoverTo,\r\n to: selectedEnd\r\n };\r\n }\r\n if (selectedEnd != null && hoverTo !== null) {\r\n if (DateUtils.isDayAfter(hoverTo, selectedEnd)) {\r\n delete modifiers.hover;\r\n }\r\n }\r\n\r\n return modifiers;\r\n }\r\n }, {\r\n key: 'render',\r\n value: function render() {\r\n var _this2 = this,\r\n _cn4,\r\n _cn8,\r\n _cn11;\r\n\r\n var _props2 = this.props,\r\n edsContext = _props2.edsContext,\r\n classes = _props2.classes,\r\n idProp = _props2.id,\r\n ContainerProps = _props2.ContainerProps,\r\n format = _props2.format,\r\n labels = _props2.labels,\r\n disabled = _props2.disabled,\r\n error = _props2.error,\r\n required = _props2.required,\r\n fullWidth = _props2.fullWidth,\r\n size = _props2.size,\r\n startInputLabelProp = _props2.startInputLabel,\r\n endInputLabelProp = _props2.endInputLabel,\r\n startInputPlaceholder = _props2.startInputPlaceholder,\r\n endInputPlaceholder = _props2.endInputPlaceholder,\r\n StartInputProps = _props2.StartInputProps,\r\n EndInputProps = _props2.EndInputProps,\r\n StartFormControlProps = _props2.StartFormControlProps,\r\n EndFormControlProps = _props2.EndFormControlProps,\r\n StartInputLabelProps = _props2.StartInputLabelProps,\r\n EndInputLabelProps = _props2.EndInputLabelProps,\r\n FormHelperTextProps = _props2.FormHelperTextProps,\r\n helperText = _props2.helperText,\r\n PopperProps = _props2.PopperProps,\r\n ClickAwayListenerProps = _props2.ClickAwayListenerProps,\r\n minDate = _props2.minDate,\r\n maxDate = _props2.maxDate,\r\n props = _objectWithoutProperties(_props2, ['edsContext', 'classes', 'id', 'ContainerProps', 'format', 'labels', 'disabled', 'error', 'required', 'fullWidth', 'size', 'startInputLabel', 'endInputLabel', 'startInputPlaceholder', 'endInputPlaceholder', 'StartInputProps', 'EndInputProps', 'StartFormControlProps', 'EndFormControlProps', 'StartInputLabelProps', 'EndInputLabelProps', 'FormHelperTextProps', 'helperText', 'PopperProps', 'ClickAwayListenerProps', 'minDate', 'maxDate']);\r\n\r\n var _state5 = this.state,\r\n isOpen = _state5.isOpen,\r\n selectedStart = _state5.selectedStart,\r\n selectedEnd = _state5.selectedEnd,\r\n isStartInputFocused = _state5.isStartInputFocused,\r\n isEndInputFocused = _state5.isEndInputFocused,\r\n lastFocusedField = _state5.lastFocusedField,\r\n startInputError = _state5.startInputError,\r\n endInputError = _state5.endInputError,\r\n errorHelperText = _state5.errorHelperText;\r\n\r\n // Figure out DRP directions based passed in prop or on app's direction\r\n\r\n var revMonths = props.reverseMonths;\r\n var drpDir = 'dir' in props ? props.dir : edsContext.dir;\r\n\r\n var internalError = startInputError || endInputError;\r\n\r\n var id = idProp || this.uuid;\r\n\r\n // EDSApplication-level locale\r\n var locale = edsContext.locale;\r\n\r\n var startInputLabel = startInputLabelProp || edsContext.formatMessage('component.DateRangePicker.startDate');\r\n var endInputLabel = endInputLabelProp || edsContext.formatMessage('component.DateRangePicker.endDate');\r\n\r\n var anchorEl = this.startInputContainerRef.current;\r\n\r\n var modifiers = this.getDayPickerModifiers();\r\n var numberOfMonths = this.getNumberOfMonths();\r\n\r\n var selectedDays = [selectedStart, { from: selectedStart, to: selectedEnd }, selectedEnd];\r\n\r\n var buttonLabels = Object.assign({\r\n previousMonth: edsContext.formatMessage('component.DateRangePicker.previousMonth'),\r\n nextMonth: edsContext.formatMessage('component.DateRangePicker.nextMonth')\r\n }, labels);\r\n\r\n var today = moment();\r\n\r\n var defaultProps = {\r\n navbarElement: React.createElement(Navbar, null),\r\n labels: buttonLabels,\r\n captionElement: function captionElement(_ref) {\r\n var date = _ref.date,\r\n localeUtils = _ref.localeUtils,\r\n localeCaptionProp = _ref.locale,\r\n rest = _objectWithoutProperties(_ref, ['date', 'localeUtils', 'locale']);\r\n\r\n return React.createElement(Caption, Object.assign({\r\n onChange: _this2.handleYearMonthChange,\r\n date: date,\r\n localeUtils: MomentLocaleUtils,\r\n locale: localeCaptionProp\r\n }, rest));\r\n },\r\n renderDay: function renderDay(day) {\r\n // We use a new div so we can apply our custom date range picker styles via class name\r\n var isToday = moment(day).isSame(today, 'day');\r\n return React.createElement(\r\n 'div',\r\n { className: cn('hedtech-day', { 'DayPicker-Today': props.highlightToday && isToday }) },\r\n day.toLocaleDateString(locale, {\r\n day: 'numeric'\r\n })\r\n );\r\n }\r\n };\r\n\r\n var shouldStartInputShrink = isStartInputFocused || isEndInputFocused || this.getInputDisplayString(Boundary.START, locale).length !== 0;\r\n var shouldEndInputShrink = isStartInputFocused || isEndInputFocused || this.getInputDisplayString(Boundary.END, locale).length !== 0;\r\n\r\n var shouldStartInputFakeFocus = isOpen && lastFocusedField === Boundary.START || isStartInputFocused;\r\n var shouldEndInputFakeFocus = isOpen && lastFocusedField === Boundary.END || isEndInputFocused;\r\n\r\n var startInput = React.createElement(\r\n FormControl,\r\n Object.assign({\r\n id: id + '-start-form-control',\r\n disabled: disabled,\r\n error: internalError || error,\r\n fullWidth: fullWidth,\r\n key: id + '-start-input',\r\n ref: this.startInputContainerRef,\r\n className: cn(classes.container, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small'))\r\n }, StartFormControlProps),\r\n React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n id: id + '-start-input-label',\r\n htmlFor: id + '-start-input',\r\n classes: {\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n },\r\n className: cn(_defineProperty({}, classes.inputLabelSmall, size === 'small')),\r\n shrink: shouldStartInputShrink,\r\n disabled: disabled,\r\n error: internalError || error,\r\n required: required\r\n }, StartInputLabelProps),\r\n startInputLabel\r\n ),\r\n React.createElement(Input, Object.assign({\r\n autoComplete: 'off',\r\n inputRef: this.startInputRef,\r\n id: id + '-start-input',\r\n classes: {\r\n root: cn(classes.inputRoot, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small')),\r\n input: cn(classes.input, classes.startInput, (_cn4 = {}, _defineProperty(_cn4, classes.inputFocusedError, internalError || error), _defineProperty(_cn4, classes.inputFocused, shouldStartInputFakeFocus), _defineProperty(_cn4, classes.smallDateRangePickerInputRootinput, size === 'small'), _cn4)),\r\n disabled: classes.inputDisabled\r\n },\r\n disableUnderline: true,\r\n value: this.getInputDisplayString(Boundary.START, locale),\r\n placeholder: startInputPlaceholder\r\n }, StartInputProps, {\r\n onClick: function onClick(e) {\r\n return _this2.handleInputClick(e);\r\n },\r\n onChange: function onChange(e) {\r\n return _this2.handleInputChange(e, Boundary.START, locale);\r\n },\r\n onFocus: function onFocus(e) {\r\n return _this2.handleInputFocus(e, Boundary.START, locale);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.handleInputBlur(e, Boundary.START, locale);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleOnKeyDown(e);\r\n },\r\n onMouseDown: function onMouseDown() {\r\n return _this2.handleInputMouseDown();\r\n }\r\n }))\r\n );\r\n\r\n var endInput = React.createElement(\r\n FormControl,\r\n Object.assign({\r\n id: id + '-end-form-control',\r\n disabled: disabled,\r\n error: internalError || error,\r\n fullWidth: fullWidth,\r\n key: id + '-end-input',\r\n className: cn(classes.container, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small'))\r\n }, EndFormControlProps),\r\n React.createElement(\r\n InputLabel,\r\n Object.assign({\r\n id: id + '-end-input-label',\r\n htmlFor: id + '-end-input',\r\n classes: {\r\n formControl: classes.inputLabelFormControl,\r\n shrink: classes.inputLabelShrink\r\n },\r\n className: cn(_defineProperty({}, classes.inputLabelSmall, size === 'small')),\r\n shrink: shouldEndInputShrink,\r\n disabled: disabled,\r\n error: internalError || error,\r\n required: required\r\n }, EndInputLabelProps),\r\n endInputLabel\r\n ),\r\n React.createElement(Input, Object.assign({\r\n autoComplete: 'off',\r\n inputRef: this.endInputRef,\r\n id: id + '-end-input',\r\n classes: {\r\n root: cn(classes.inputRoot, _defineProperty({}, classes.smallDateRangePickerInput, size === 'small')),\r\n input: cn(classes.input, classes.endInput, (_cn8 = {}, _defineProperty(_cn8, classes.inputFocusedError, internalError || error), _defineProperty(_cn8, classes.inputFocused, shouldEndInputFakeFocus), _cn8)),\r\n disabled: classes.inputDisabled\r\n },\r\n disableUnderline: true,\r\n value: this.getInputDisplayString(Boundary.END, locale),\r\n placeholder: endInputPlaceholder\r\n }, EndInputProps, {\r\n onClick: function onClick(e) {\r\n return _this2.handleInputClick(e);\r\n },\r\n onChange: function onChange(e) {\r\n return _this2.handleInputChange(e, Boundary.END);\r\n },\r\n onFocus: function onFocus(e) {\r\n return _this2.handleInputFocus(e, Boundary.END, locale);\r\n },\r\n onBlur: function onBlur(e) {\r\n return _this2.handleInputBlur(e, Boundary.END, locale);\r\n },\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleOnKeyDown(e);\r\n },\r\n onMouseDown: function onMouseDown() {\r\n return _this2.handleInputMouseDown();\r\n }\r\n }))\r\n );\r\n\r\n var inputArrowIcon = React.createElement(\r\n 'span',\r\n {\r\n id: id + '-arrow-icon',\r\n className: cn(classes.iconContainer, _defineProperty({}, classes.iconContainerDisabled, disabled)),\r\n key: id + '-icon'\r\n },\r\n drpDir === 'ltr' ? React.createElement(ArrowRight, null) : React.createElement(ArrowLeft, null)\r\n );\r\n\r\n return React.createElement(\r\n ClickAwayListener,\r\n Object.assign({\r\n onClickAway: function onClickAway() {\r\n return _this2.closeDateRangePicker();\r\n }\r\n }, ClickAwayListenerProps),\r\n React.createElement(\r\n 'div',\r\n Object.assign({\r\n className: cn(classes.container, _defineProperty({}, classes.inputContainerFullWidth, fullWidth))\r\n }, ContainerProps),\r\n React.createElement(\r\n 'div',\r\n {\r\n className: cn(classes.inputContainer, (_cn11 = {}, _defineProperty(_cn11, classes.inputContainerDisabled, disabled), _defineProperty(_cn11, classes.inputContainerError, internalError || error), _defineProperty(_cn11, classes.inputContainerFullWidth, fullWidth), _defineProperty(_cn11, classes.smallDateRangePicker, size === 'small'), _cn11)),\r\n role: 'presentation',\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleContainerKeyDown(e);\r\n }\r\n },\r\n [startInput, inputArrowIcon, endInput]\r\n ),\r\n (errorHelperText || helperText) && React.createElement(\r\n FormHelperText,\r\n Object.assign({\r\n disabled: disabled,\r\n error: internalError || error\r\n }, FormHelperTextProps),\r\n errorHelperText || helperText\r\n ),\r\n React.createElement(\r\n Popper,\r\n Object.assign({\r\n id: id + '-popper',\r\n open: isOpen,\r\n anchorEl: anchorEl,\r\n placement: 'bottom-start',\r\n disablePortal: true,\r\n onKeyDown: function onKeyDown(e) {\r\n return _this2.handleContainerKeyDown(e);\r\n },\r\n className: classes.popper\r\n }, PopperProps),\r\n React.createElement(\r\n 'div',\r\n {\r\n dir: drpDir,\r\n className: cn(classes.root, _defineProperty({}, classes.hideOutsideDays, !this.props.showOutsideDays))\r\n },\r\n React.createElement(DayPicker, Object.assign({\r\n id: id,\r\n className: cn('hedtech-DateRangePicker', classes.dateRangePickerRoot, _defineProperty({}, classes.singleMonth, numberOfMonths === 1))\r\n }, defaultProps, {\r\n parse: parseDate,\r\n numberOfMonths: numberOfMonths,\r\n selectedDays: selectedDays,\r\n modifiers: modifiers,\r\n month: this.getDayPickerMonth(),\r\n format: format,\r\n locale: locale,\r\n dir: drpDir,\r\n reverseMonths: revMonths,\r\n localeUtils: MomentLocaleUtils,\r\n fromMonth: minDate,\r\n toMonth: maxDate\r\n }, props, {\r\n onDayClick: this.handleDayChange,\r\n onDayMouseEnter: function onDayMouseEnter(day) {\r\n return _this2.handleDayMouseEnter(day, locale);\r\n },\r\n onDayMouseLeave: this.handleDayMouseLeave,\r\n onBlur: function onBlur(e) {\r\n // Following condition would validate whether focus is still on the calendar or not. If not, it will close the calendar.\r\n // e.relatedTarget : This would help us to get the current focus item from the DOM.\r\n if (!e.currentTarget.contains(e.relatedTarget)) {\r\n _this2.closeDateRangePicker();\r\n }\r\n }\r\n }))\r\n )\r\n )\r\n )\r\n );\r\n }\r\n }]);\r\n\r\n return DateRangePicker;\r\n}(React.Component);\r\n\r\nvar _initialiseProps = function _initialiseProps() {\r\n var _this3 = this;\r\n\r\n this.getInitialRange = function () {\r\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this3.props;\r\n var defaultValue = props.defaultValue,\r\n value = props.value;\r\n\r\n if (value != null) {\r\n return value;\r\n } else if (defaultValue != null) {\r\n return defaultValue;\r\n } else {\r\n return [null, null];\r\n }\r\n };\r\n\r\n this.getInitialOpenState = function () {\r\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _this3.props;\r\n var isOpen = props.isOpen;\r\n\r\n if (isOpen != null) {\r\n return isOpen;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n this.handleContainerKeyDown = function (event) {\r\n if (event.key !== 'Escape') {\r\n return;\r\n }\r\n\r\n // Swallow the event, in case someone is listening for the escape key on the body.\r\n event.stopPropagation();\r\n\r\n _this3.closeDateRangePicker();\r\n };\r\n\r\n this.openDateRangePicker = function () {\r\n // If calendar ui is already open, exit\r\n if (_this3.state.isOpen) {\r\n return;\r\n }\r\n\r\n _this3.setState({\r\n isOpen: true\r\n });\r\n };\r\n\r\n this.closeDateRangePicker = function () {\r\n // If calendar ui is already closed, exit\r\n if (!_this3.state.isOpen) {\r\n return;\r\n }\r\n _this3.setState({\r\n isOpen: false,\r\n\r\n // Clear out these variables\r\n startHoverString: null,\r\n endHoverString: null,\r\n hoverTo: null\r\n });\r\n };\r\n\r\n this.handleInputClick = function (e) {\r\n if (!_this3.props.disabled && !_this3.state.isOpen) {\r\n _this3.openDateRangePicker();\r\n }\r\n e.stopPropagation();\r\n };\r\n\r\n this.handleInputMouseDown = function (e) {\r\n // clicking in the field constitutes an explicit focus change. we update\r\n // the flag on \"mousedown\" instead of on \"click\", because it needs to be\r\n // set before onFocus is called (\"click\" triggers after \"focus\").\r\n _this3.setState({ wasLastFocusChangeDueToHover: false });\r\n };\r\n\r\n this.doesEndBoundaryOverlapStartBoundary = function (boundaryDate, boundary) {\r\n return boundary === Boundary.START ? false : _this3.doBoundaryDatesOverlap(boundaryDate, boundary);\r\n };\r\n\r\n this.isControlled = function () {\r\n return _this3.props.value !== undefined;\r\n };\r\n\r\n this.isInputEmpty = function (inputString) {\r\n return !inputString || inputString == null || inputString.length === 0;\r\n };\r\n\r\n this.isDateValidAndInRange = function (date) {\r\n return DateUtils.isDate(date) && DateUtils.isDayInRange(date, {\r\n from: _this3.props.minDate,\r\n to: _this3.props.maxDate\r\n });\r\n };\r\n\r\n this.getDateRangeForCallback = function (currDate, currBoundary) {\r\n var otherBoundary = _this3.getOtherBoundary(currBoundary);\r\n var otherDate = _this3.getStateKeysAndValuesForBoundary(otherBoundary).values.selectedValue;\r\n\r\n return currBoundary === Boundary.START ? [currDate, otherDate] : [otherDate, currDate];\r\n };\r\n\r\n this.getOtherBoundary = function (boundary) {\r\n return boundary === Boundary.START ? Boundary.END : Boundary.START;\r\n };\r\n\r\n this.doBoundaryDatesOverlap = function (date, boundary) {\r\n var otherBoundary = _this3.getOtherBoundary(boundary);\r\n var otherBoundaryDate = _this3.getStateKeysAndValuesForBoundary(otherBoundary).values.selectedValue;\r\n\r\n if (date == null || otherBoundaryDate == null) {\r\n return false;\r\n }\r\n\r\n if (boundary === Boundary.START) {\r\n var isAfter = DateUtils.isDayAfter(date, otherBoundaryDate);\r\n return isAfter;\r\n } else {\r\n var isBefore = DateUtils.isDayBefore(date, otherBoundaryDate);\r\n return isBefore;\r\n }\r\n };\r\n\r\n this.getStateKeysAndValuesForBoundary = function (boundary) {\r\n var controlledRange = _this3.props.value;\r\n\r\n if (boundary === Boundary.START) {\r\n return {\r\n keys: {\r\n hoverString: 'startHoverString',\r\n inputString: 'startInputString',\r\n isInputFocused: 'isStartInputFocused',\r\n selectedValue: 'selectedStart',\r\n error: 'startInputError'\r\n },\r\n values: {\r\n controlledValue: controlledRange != null ? controlledRange[0] : undefined,\r\n hoverString: _this3.state.startHoverString,\r\n inputString: _this3.state.startInputString,\r\n isInputFocused: _this3.state.isStartInputFocused,\r\n selectedValue: _this3.state.selectedStart,\r\n error: _this3.state.startInputError\r\n }\r\n };\r\n } else {\r\n return {\r\n keys: {\r\n hoverString: 'endHoverString',\r\n inputString: 'endInputString',\r\n isInputFocused: 'isEndInputFocused',\r\n selectedValue: 'selectedEnd',\r\n error: 'endInputError'\r\n },\r\n values: {\r\n controlledValue: controlledRange != null ? controlledRange[1] : undefined,\r\n hoverString: _this3.state.endHoverString,\r\n inputString: _this3.state.endInputString,\r\n isInputFocused: _this3.state.isEndInputFocused,\r\n selectedValue: _this3.state.selectedEnd,\r\n error: _this3.state.endInputError\r\n }\r\n };\r\n }\r\n };\r\n};\r\n\r\nDateRangePicker.propTypes = {\r\n /**\r\n * @ignore\r\n * This is the width of the viewport coming from the withWidth HOC\r\n */\r\n width: PropTypes.string,\r\n /**\r\n * @ignore\r\n * This function fetches resource string translations. It comes from the withEDSContext HOC.\r\n */\r\n edsContext: PropTypes.object,\r\n /**\r\n * @ignore\r\n * Helper variable for testing.\r\n */\r\n isOpen: PropTypes.bool,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * Properties applied to the top-level `div` element.\r\n */\r\n ContainerProps: PropTypes.object,\r\n\r\n // Generic props\r\n /**\r\n * The id of the `input` element. This is also used to create id's for internal components such as the the `FormControl`, `InputLabel` and `DayPicker`.\r\n */\r\n id: PropTypes.string,\r\n /**\r\n * The format of the date to accept and display.\r\n *\r\n * e.g. `M/D/YYYY`, `MM-D-YY`, `l`, `LL`, `ll`.\r\n */\r\n format: PropTypes.string,\r\n /**\r\n * If `fullWidth` is true, then render the input field full width.\r\n */\r\n fullWidth: PropTypes.bool,\r\n /**\r\n * Callback fired when the value is changed. This function sends back an `Array` of `Date`: ([startDate, endDate]) => setDates([startDate, endDate])\r\n * If no days are selected, it will pass `[null, null]`. If a start date is selected but not an end date, it will pass `[selectedDate, null]`. If both a start and end date are selected, it will pass `[startDate, endDate]`.\r\n */\r\n onChange: PropTypes.func,\r\n /**\r\n * The date range value. If you are controlling the state and want to initialize with empty dates, set the value to `[null, null]`. If a single boundary is known the array could look like either `[someDate, null]` or `[null, someDate]`. If both boundaries are known the array would look like, `[someDate, someOtherDate]`.\r\n *\r\n * **Note:** Sending in a completely empty array (`[]`) will cause an the DateRangePicker to throw an error.\r\n */\r\n value: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\r\n\r\n /**\r\n * The date range value for uncontrolled implementations.\r\n */\r\n defaultValue: PropTypes.arrayOf(PropTypes.instanceOf(Date)),\r\n /**\r\n * If true, the labels are displayed as required.\r\n */\r\n required: PropTypes.bool,\r\n /**\r\n * The maximum date possible to select. The selected date range must fall in between the `minDate` and `maxDate`. Default is December 31st, 10 years in the future.\r\n */\r\n maxDate: PropTypes.any,\r\n /**\r\n * The minimum date possible to select. The selected date range must fall in between the `minDate` and `maxDate`. Default is January 1st, 20 years in the past.\r\n */\r\n minDate: PropTypes.any,\r\n /**\r\n * Custom date function that parses the date. This is used to display date to the user in the input field.\r\n *\r\n * e.g.\r\n *\r\n * `(dateString: string, format: string, locale: string) => string`\r\n */\r\n parseDate: PropTypes.func,\r\n\r\n // DayPicker props\r\n /**\r\n * The month to display in the calendar at first render. This differs from the `month` prop, as it won’t re-render the calendar if its value changes.\r\n */\r\n initialMonth: PropTypes.instanceOf(Date),\r\n /**\r\n * Labels to use as `aria-label` HTML attributes for the previous and next month navigation buttons.\r\n */\r\n labels: PropTypes.object,\r\n /**\r\n * **DEPRECATED** Will be determined by the props passed to [`EDSApplication`](#/components/EDSApplication).\r\n *\r\n * Render the `DateRangePicker` right-to-left.\r\n */\r\n dir: PropTypes.oneOf(['ltr', 'rtl']),\r\n /**\r\n * Object of functions to format dates and to get the first day of the week. You can pass your own object for advanced [localization](http://react-day-picker.js.org/docs/localization/).\r\n */\r\n localeUtils: PropTypes.object,\r\n /**\r\n * An object of *day modifiers*. This will add a new CSS class name on the days that match the modifier. [View react-day-picker documentation](http://react-day-picker.js.org/docs/matching-days/).\r\n *\r\n * e.g.\r\n * `const modifiers = { birthday: new Date(2018, 8, 19) } => // Creates a day component with the class name: .DayPicker-Day--birthday`\r\n */\r\n modifiers: PropTypes.object,\r\n /**\r\n * An object of inline styles added to the day cells when a modifier is matched. Use this prop to style day cells inline instead of using CSS classes.\r\n */\r\n modifiersStyles: PropTypes.object,\r\n /**\r\n * @ignore\r\n *\r\n * The month to display in the calendar. This differs from the `initialMonth` prop, as it causes the calendar to re-render when its value changes.\r\n */\r\n month: PropTypes.instanceOf(Date),\r\n /**\r\n * An array containing the long month names to use in the month’s header. Defaults to the English month names.\r\n */\r\n months: PropTypes.arrayOf(PropTypes.string),\r\n\r\n /**\r\n * @ignore\r\n *\r\n * A React Element or React Component to render the navigation bar. It will receive the following props:\r\n *\r\n * - month: Date The currently displayed month\r\n * - previousMonth: Date\r\n * - nextMonth: Date\r\n * - onPreviousClick: () ⇒ void\r\n * - onNextClick: () ⇒ void\r\n */\r\n navbarElement: PropTypes.arrayOf(PropTypes.string),\r\n\r\n /**\r\n * The number of months to render.\r\n *\r\n * We recommend this prop to be using sparingly. In some situations,\r\n * where only one month should be shown to conserve screen space or issues arise with the visual layout\r\n * of the DateRangePicker calendar interface. Most common situations are when the `DateRangePicker` is\r\n * placed in a `Dialog` or `Table`.\r\n */\r\n numberOfMonths: PropTypes.number,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * When displaying multiple months, navigation will be paginated displaying the `numberOfMonths` at time instead of one.\r\n */\r\n pagedNavigation: PropTypes.bool,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Returns the content of a day cell. As default it returns day’s current date.\r\n */\r\n renderDay: PropTypes.oneOfType([PropTypes.elementType, PropTypes.func]),\r\n /**\r\n * @ignore\r\n *\r\n * Returns the content of the week element when showWeekNumbers is set. As default it returns the week number.\r\n */\r\n renderWeek: PropTypes.func,\r\n\r\n /**\r\n * **DEPRECATED** Will be determined by the props passed to [`EDSApplication`](#/components/EDSApplication).\r\n *\r\n * Render the months in reversed order. This prop should be used when `dir=\"rtl\"`.\r\n */\r\n reverseMonths: PropTypes.bool,\r\n /**\r\n * Day(s) that should appear as selected.\r\n */\r\n selectedDays: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.object, PropTypes.arrayOf(PropTypes.instanceOf(Date)), PropTypes.func]),\r\n /**\r\n * Day(s) that should appear as disabled.\r\n */\r\n disabledDays: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.object, PropTypes.arrayOf(PropTypes.instanceOf(Date)), PropTypes.func]),\r\n\r\n /**\r\n * @ignore\r\n * Display the days falling outside the current month.\r\n */\r\n showOutsideDays: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Display the weekday names in the calendar header.\r\n */\r\n showWeekDays: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Display the year's week number next to each week.\r\n */\r\n showWeekNumbers: PropTypes.bool,\r\n /**\r\n * @ignore\r\n * Display a button to switch to the current month using the provided string as a label.\r\n */\r\n todayButton: PropTypes.bool,\r\n /**\r\n * @ignore\r\n *\r\n * A React Element or React Component to render the weekday cells in the header. It will receive the following props:\r\n *\r\n * - weekday `number`\r\n * - className `string`\r\n * - localeUtils `object`\r\n * - locale `string`\r\n */\r\n weekdayElement: PropTypes.instanceOf(Date),\r\n /**\r\n * @ignore\r\n *\r\n * An array containing the long weekdays names to use in the month's header Defaults to the English weekdays names. Must start from Sunday.\r\n */\r\n weekdaysLong: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * @ignore\r\n *\r\n * An array containing the short weekdays names to use in the month's header. Defaults to the English weekdays names. Must start from Sunday.\r\n */\r\n weekdaysShort: PropTypes.arrayOf(PropTypes.string),\r\n\r\n // DayPicker EventHandlers\r\n /**\r\n * @ignore\r\n */\r\n onCaptionClick: PropTypes.func,\r\n\r\n /**\r\n * Event handler when the calendar gets the `blur` event.\r\n *\r\n * e.g.\r\n * (e: SyntheticEvent) ⇒ void\r\n */\r\n onBlur: PropTypes.func,\r\n /**\r\n * Event handler when the calendar gets the `focus` event.\r\n *\r\n * e.g.\r\n * `(e: SyntheticEvent) ⇒ void`\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * Event handler when the calendar gets the `keydown` event.\r\n *\r\n * e.g.\r\n * `(e: SyntheticEvent) ⇒ void`\r\n */\r\n onKeyDown: PropTypes.func,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Event handler when the user clicks on a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayClick: PropTypes.func,\r\n /**\r\n * Event handler when the day cell gets the `keydown` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayKeyDown: PropTypes.func,\r\n /**\r\n * Event handler when the day cell gets the `focus` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayFocus: PropTypes.func,\r\n /**\r\n * Event handler when the mouse button is pressed on a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseDown: PropTypes.func,\r\n /**\r\n * @ignore\r\n * Event handler when the mouse enters a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseEnter: PropTypes.func,\r\n /**\r\n * @ignore\r\n * Event handler when the mouse leave a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseLeave: PropTypes.func,\r\n /**\r\n * Event handler when the mouse button is released on a day cell.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayMouseUp: PropTypes.func,\r\n\r\n /**\r\n * Event handler when the day cell gets the `touchStart` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayTouchStart: PropTypes.func,\r\n /**\r\n * Event handler when the day cell gets the `touchEnd` event.\r\n *\r\n * e.g.\r\n * `(day: date, modifiers: Object, e: SyntheticEvent) ⇒ void`\r\n */\r\n onDayTouchEnd: PropTypes.func,\r\n\r\n /**\r\n * @ignore\r\n *\r\n * Event handler when the month is changed, i.e. clicking the navigation buttons or using the keyboard.\r\n *\r\n * e.g.\r\n * `(month: date) ⇒ void`\r\n */\r\n onMonthChange: PropTypes.func,\r\n\r\n /**\r\n * @ignore\r\n */\r\n onWeekClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onTodayButtonClick: PropTypes.func,\r\n\r\n // Public Methods\r\n /**\r\n * @ignore\r\n */\r\n showMonth: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showPreviousMonth: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showNextMonth: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showPreviousYear: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n showNextYear: PropTypes.func,\r\n\r\n // Input/FormControl props\r\n /**\r\n * If `true`, the input field will be displayed in an error state.\r\n */\r\n error: PropTypes.bool,\r\n /**\r\n * If true, the input will be disabled.\r\n */\r\n disabled: PropTypes.bool,\r\n /**\r\n * The label for the start input. Defaults to 'Start date'.\r\n */\r\n startInputLabel: PropTypes.string,\r\n /**\r\n * The label for the end input. Defaults to 'End date'.\r\n */\r\n endInputLabel: PropTypes.string,\r\n /**\r\n * The placeholder text for the start input.\r\n */\r\n startInputPlaceholder: PropTypes.string,\r\n /**\r\n * The placeholder text for the end input.\r\n */\r\n endInputPlaceholder: PropTypes.string,\r\n\r\n /**\r\n * Properties applied to the start [`Input`](https://material-ui.com/api/input/#input-api) element.\r\n * If you re-assign the `placeholder` property, it will override the `startInputPlaceholder` prop.\r\n */\r\n StartInputProps: PropTypes.object,\r\n /**\r\n * Properties applied to the start [`Input`](https://material-ui.com/api/input/#input-api) element.\r\n * If you re-assign the `placeholder` property, it will override the `endInputPlaceholder` prop.\r\n */\r\n EndInputProps: PropTypes.object,\r\n\r\n /**\r\n * Properties applied to the start [`FormControl`](#/components/FormControl) element.\r\n */\r\n StartFormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the end [`FormControl`](#/components/FormControl) element.\r\n */\r\n EndFormControlProps: PropTypes.object,\r\n /**\r\n * Properties applied to the start [`InputLabel`](#/components/FormControl) element.\r\n */\r\n StartInputLabelProps: PropTypes.object,\r\n /**\r\n * Properties applied to the end [`InputLabel`](#/components/FormControl) element.\r\n */\r\n EndInputLabelProps: PropTypes.object,\r\n\r\n // Popper props\r\n /**\r\n * Properties applied to the [`Poppper`](#/components/Popper) element.\r\n */\r\n PopperProps: PropTypes.object,\r\n\r\n /**\r\n * Properties applied to the [`ClickAwaysListener`](https://material-ui.com/api/click-away-listener/) element.\r\n */\r\n ClickAwayListenerProps: PropTypes.object,\r\n\r\n // FormHelperText props\r\n /**\r\n * The helper text content.\r\n */\r\n helperText: PropTypes.string,\r\n /**\r\n * Properties applied to the [`FormHelperText`](#/components/FormControl) element.\r\n */\r\n FormHelperTextProps: PropTypes.object,\r\n /**\r\n * The size of the `DateRangePicker`. Small size is recommended to be used within the `TableEditableCell` component.\r\n */\r\n size: PropTypes.oneOf(['small', 'medium']),\r\n\r\n /**\r\n * Highlight today's date in the calendar.\r\n */\r\n highlightToday: PropTypes.bool\r\n};\r\n\r\nDateRangePicker.defaultProps = {\r\n initialMonth: new Date(),\r\n format: 'L',\r\n showOutsideDays: false,\r\n maxDate: getDefaultMaxDate(),\r\n minDate: getDefaultMinDate(),\r\n StartInputProps: {},\r\n EndInputProps: {},\r\n parseDate: parseDate,\r\n size: 'medium',\r\n highlightToday: false\r\n};\r\n\r\nexport default withWidth()(withEDSContext(withStyles(styles)(DateRangePicker)));","var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }();\r\n\r\nfunction _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; }\r\n\r\nimport React, { useEffect, useRef, useState, useCallback } from 'react';\r\nimport cn from 'classnames';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport makeStyles from '../makeStyles';\r\nimport { useSpacing } from './../globalSpacing';\r\n\r\nimport { spacing60 } from '../styles/tokens';\r\n\r\nvar spanAllColumns = 'span 12';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n var _sidebar;\r\n\r\n return {\r\n root: {\r\n gridTemplateColumns: 'repeat(12, minmax(0, 1fr))'\r\n },\r\n content: _defineProperty({\r\n gridColumn: spanAllColumns\r\n }, theme.breakpoints.up('lg'), {\r\n gridColumn: 'span 8',\r\n marginRight: spacing60\r\n }),\r\n hiddenSidebar: {\r\n opacity: 0,\r\n height: 0,\r\n overflow: 'hidden',\r\n visibility: 'hidden'\r\n },\r\n sidebar: (_sidebar = {\r\n gridColumn: spanAllColumns\r\n }, _defineProperty(_sidebar, theme.breakpoints.up('sm'), {\r\n gridColumn: 'span 6'\r\n }), _defineProperty(_sidebar, theme.breakpoints.up('lg'), {\r\n gridColumn: '9 / span 4'\r\n }), _sidebar),\r\n fixedSidebar: _defineProperty({}, theme.breakpoints.up('lg'), {\r\n position: 'fixed',\r\n width: function width(p) {\r\n return p.rect && p.rect.width + 'px';\r\n },\r\n left: function left(p) {\r\n return p.rect && p.rect.left + 'px';\r\n },\r\n top: function top(p) {\r\n return p.sidebarTop;\r\n }\r\n }),\r\n stickySidebar: _defineProperty({}, theme.breakpoints.up('lg'), {\r\n position: 'sticky',\r\n top: function top(p) {\r\n return p.sidebarTop || 0;\r\n }\r\n }),\r\n sidebarFullWidthSm: _defineProperty({}, theme.breakpoints.only('sm'), {\r\n gridColumn: spanAllColumns\r\n }),\r\n sidebarFullWidthMd: _defineProperty({}, theme.breakpoints.between('sm', 'md'), {\r\n gridColumn: spanAllColumns\r\n })\r\n };\r\n});\r\n\r\n/**\r\n * A stationary column that remains visible at all times\r\n * while the rest of the page changes as a user scrolls, interacts, or progresses.\r\n * @done true\r\n * @updated true\r\n * @versionAdded v4.4.0\r\n * @template true\r\n * @examples\r\n * FixedSidebarLayoutExample\r\n * SidebarLayoutExampleWithComponents\r\n * StickySidebarLayoutExample\r\n */\r\nvar FixedSidebarLayout = React.forwardRef(function (props, ref) {\r\n var _useState = useState(),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n rect = _useState2[0],\r\n setRect = _useState2[1];\r\n\r\n var classes = useStyles({ rect: rect, sidebarTop: props.sidebarTop });\r\n var sidebarRef = useRef(null);\r\n var hiddenSidebarRef = useRef(null);\r\n\r\n var children = props.children,\r\n sidebar = props.sidebar,\r\n spacingOptions = props.spacingOptions,\r\n sidebarFullWidth = props.sidebarFullWidth,\r\n position = props.position;\r\n\r\n var _useSpacing = useSpacing(Object.assign({ outerSpacing: false }, spacingOptions)),\r\n _useSpacing2 = _slicedToArray(_useSpacing, 3),\r\n spacingStyles = _useSpacing2[0],\r\n setSpacingOptions = _useSpacing2[2];\r\n\r\n var handleResize = useCallback(function () {\r\n position === 'fixed' && setRect(hiddenSidebarRef.current.getBoundingClientRect());\r\n }, [position]);\r\n\r\n useEffect(function () {\r\n handleResize();\r\n window.addEventListener('resize', handleResize);\r\n\r\n return function () {\r\n return window.removeEventListener('resize', handleResize);\r\n };\r\n }, [handleResize]);\r\n\r\n useEffect(function () {\r\n setSpacingOptions(spacingOptions);\r\n }, [spacingOptions]); // eslint-disable-line\r\n\r\n useEffect(function () {\r\n position === 'fixed' && setRect(hiddenSidebarRef.current.getBoundingClientRect());\r\n }, [position]);\r\n\r\n return React.createElement(\r\n 'div',\r\n { ref: ref, className: cn(classes.root, props.classes && props.classes.root, spacingStyles) },\r\n React.createElement(\r\n 'section',\r\n { className: cn(classes.content, spacingStyles, props.classes && props.classes.content) },\r\n children\r\n ),\r\n React.createElement(\r\n 'section',\r\n { ref: sidebarRef, className: cn(classes.sidebar, props.classes && props.classes.sidebar, _defineProperty({}, classes.fixedSidebar, position === 'fixed'), _defineProperty({}, classes.sidebarFullWidthSm, sidebarFullWidth === 'sm'), _defineProperty({}, classes.sidebarFullWidthMd, sidebarFullWidth === 'md')) },\r\n React.createElement(\r\n 'div',\r\n { className: cn(_defineProperty({}, classes.stickySidebar, position === 'sticky')) },\r\n sidebar\r\n )\r\n ),\r\n position === 'fixed' && React.createElement('section', { className: cn(classes.sidebar, classes.hiddenSidebar), ref: hiddenSidebarRef })\r\n );\r\n});\r\n\r\nFixedSidebarLayout.muiName = 'FixedSidebarLayout';\r\n\r\nFixedSidebarLayout.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The content of the main section of the layout\r\n */\r\n children: PropTypes.node.isRequired,\r\n /**\r\n * The contents of the sidebar\r\n */\r\n sidebar: PropTypes.node.isRequired,\r\n /**\r\n * By default `top` is automatically calculated.\r\n * Use this prop to override or adjust the `top` as per your need.\r\n * Use CSS units like `rem` or `px`.\r\n */\r\n sidebarTop: PropTypes.string,\r\n /**\r\n * Sets how an element is positioned in a document.\r\n * * `fixed`: Assumes the same position as \"fixed\" on initial display.\r\n * * `sticky`: Scroll with its contents until it reaches the absolute coordinates specified by `sidebarTop` (or the very top of the page, is `sidebarTop` is not specified)\r\n */\r\n position: PropTypes.oneOf(['sticky', 'fixed']),\r\n /**\r\n * Use this prop to span the sidebar to span full width (12 columns) on small (sm) or medium (md) devices or screens.\r\n *\r\n * **NOTE:** On extra small (xs) devices, sidebar will always be full width.\r\n */\r\n sidebarFullWidth: PropTypes.oneOf(['sm', 'md']),\r\n /**\r\n * To control `FixedSidebarLayout` spacing.\r\n *\r\n * Available options are:\r\n *\r\n * * `spacing` (string): **'standard'** | 'none' | \\\r\n * * Controls the padding of the `Dialog` and grid gap between child elements\r\n * * `standard`: The default spacing\r\n * * `none`: Removes all spacing styles, allowing for complete style customization through the `classes` prop\r\n * * `object`: Allows for more fine-grained spacing customization. See [container customization documentation](#/utilities/spacing#using-customizations-for-fine-grained-container-spacing-control)\r\n * for more details.\r\n */\r\n spacingOptions: PropTypes.shape({\r\n spacing: PropTypes.oneOfType([PropTypes.string, PropTypes.object])\r\n })\r\n};\r\n\r\nFixedSidebarLayout.defaultProps = {\r\n sidebarFullWidth: 'sm',\r\n position: 'fixed',\r\n spacingOptions: {\r\n outerSpacing: false\r\n }\r\n};\r\n\r\nexport default FixedSidebarLayout;","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar TreeViewContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n TreeViewContext.displayName = 'TreeViewContext';\n}\n\nexport default TreeViewContext;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport TreeViewContext from './TreeViewContext';\nimport { withStyles } from '@material-ui/core/styles';\nimport { useControlled } from '@material-ui/core/utils';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n padding: 0,\n margin: 0,\n listStyle: 'none'\n }\n};\n\nfunction arrayDiff(arr1, arr2) {\n if (arr1.length !== arr2.length) return true;\n\n for (var i = 0; i < arr1.length; i += 1) {\n if (arr1[i] !== arr2[i]) return true;\n }\n\n return false;\n}\n\nvar findNextFirstChar = function findNextFirstChar(firstChars, startIndex, char) {\n for (var i = startIndex; i < firstChars.length; i += 1) {\n if (char === firstChars[i]) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar defaultExpandedDefault = [];\nvar defaultSelectedDefault = [];\nvar TreeView = React.forwardRef(function TreeView(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n defaultCollapseIcon = props.defaultCollapseIcon,\n defaultEndIcon = props.defaultEndIcon,\n _props$defaultExpande = props.defaultExpanded,\n defaultExpanded = _props$defaultExpande === void 0 ? defaultExpandedDefault : _props$defaultExpande,\n defaultExpandIcon = props.defaultExpandIcon,\n defaultParentIcon = props.defaultParentIcon,\n _props$defaultSelecte = props.defaultSelected,\n defaultSelected = _props$defaultSelecte === void 0 ? defaultSelectedDefault : _props$defaultSelecte,\n _props$disableSelecti = props.disableSelection,\n disableSelection = _props$disableSelecti === void 0 ? false : _props$disableSelecti,\n _props$multiSelect = props.multiSelect,\n multiSelect = _props$multiSelect === void 0 ? false : _props$multiSelect,\n expandedProp = props.expanded,\n onNodeSelect = props.onNodeSelect,\n onNodeToggle = props.onNodeToggle,\n selectedProp = props.selected,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"defaultCollapseIcon\", \"defaultEndIcon\", \"defaultExpanded\", \"defaultExpandIcon\", \"defaultParentIcon\", \"defaultSelected\", \"disableSelection\", \"multiSelect\", \"expanded\", \"onNodeSelect\", \"onNodeToggle\", \"selected\"]);\n\n var _React$useState = React.useState(null),\n tabbable = _React$useState[0],\n setTabbable = _React$useState[1];\n\n var _React$useState2 = React.useState(null),\n focused = _React$useState2[0],\n setFocused = _React$useState2[1];\n\n var nodeMap = React.useRef({});\n var firstCharMap = React.useRef({});\n var visibleNodes = React.useRef([]);\n\n var _useControlled = useControlled({\n controlled: expandedProp,\n default: defaultExpanded,\n name: 'TreeView'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n expanded = _useControlled2[0],\n setExpandedState = _useControlled2[1];\n\n var _useControlled3 = useControlled({\n controlled: selectedProp,\n default: defaultSelected,\n name: 'TreeView'\n }),\n _useControlled4 = _slicedToArray(_useControlled3, 2),\n selected = _useControlled4[0],\n setSelectedState = _useControlled4[1];\n /*\n * Status Helpers\n */\n\n\n var isExpanded = React.useCallback(function (id) {\n return Array.isArray(expanded) ? expanded.indexOf(id) !== -1 : false;\n }, [expanded]);\n var isSelected = React.useCallback(function (id) {\n return Array.isArray(selected) ? selected.indexOf(id) !== -1 : selected === id;\n }, [selected]);\n\n var isTabbable = function isTabbable(id) {\n return tabbable === id;\n };\n\n var isFocused = function isFocused(id) {\n return focused === id;\n };\n /*\n * Node Helpers\n */\n\n\n var getNextNode = function getNextNode(id) {\n var nodeIndex = visibleNodes.current.indexOf(id);\n\n if (nodeIndex !== -1 && nodeIndex + 1 < visibleNodes.current.length) {\n return visibleNodes.current[nodeIndex + 1];\n }\n\n return null;\n };\n\n var getPreviousNode = function getPreviousNode(id) {\n var nodeIndex = visibleNodes.current.indexOf(id);\n\n if (nodeIndex !== -1 && nodeIndex - 1 >= 0) {\n return visibleNodes.current[nodeIndex - 1];\n }\n\n return null;\n };\n\n var getLastNode = function getLastNode() {\n return visibleNodes.current[visibleNodes.current.length - 1];\n };\n\n var getFirstNode = function getFirstNode() {\n return visibleNodes.current[0];\n };\n\n var getParent = function getParent(id) {\n return nodeMap.current[id].parent;\n };\n\n var getNodesInRange = function getNodesInRange(a, b) {\n var aIndex = visibleNodes.current.indexOf(a);\n var bIndex = visibleNodes.current.indexOf(b);\n var start = Math.min(aIndex, bIndex);\n var end = Math.max(aIndex, bIndex);\n return visibleNodes.current.slice(start, end + 1);\n };\n /*\n * Focus Helpers\n */\n\n\n var focus = function focus(id) {\n if (id) {\n setTabbable(id);\n setFocused(id);\n }\n };\n\n var focusNextNode = function focusNextNode(id) {\n return focus(getNextNode(id));\n };\n\n var focusPreviousNode = function focusPreviousNode(id) {\n return focus(getPreviousNode(id));\n };\n\n var focusFirstNode = function focusFirstNode() {\n return focus(getFirstNode());\n };\n\n var focusLastNode = function focusLastNode() {\n return focus(getLastNode());\n };\n\n var focusByFirstCharacter = function focusByFirstCharacter(id, char) {\n var start;\n var index;\n var lowercaseChar = char.toLowerCase();\n var firstCharIds = [];\n var firstChars = []; // This really only works since the ids are strings\n\n Object.keys(firstCharMap.current).forEach(function (nodeId) {\n var firstChar = firstCharMap.current[nodeId];\n var map = nodeMap.current[nodeId];\n var visible = map.parent ? isExpanded(map.parent) : true;\n\n if (visible) {\n firstCharIds.push(nodeId);\n firstChars.push(firstChar);\n }\n }); // Get start index for search based on position of currentItem\n\n start = firstCharIds.indexOf(id) + 1;\n\n if (start === nodeMap.current.length) {\n start = 0;\n } // Check remaining slots in the menu\n\n\n index = findNextFirstChar(firstChars, start, lowercaseChar); // If not found in remaining slots, check from beginning\n\n if (index === -1) {\n index = findNextFirstChar(firstChars, 0, lowercaseChar);\n } // If match was found...\n\n\n if (index > -1) {\n focus(firstCharIds[index]);\n }\n };\n /*\n * Expansion Helpers\n */\n\n\n var toggleExpansion = function toggleExpansion(event) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : focused;\n var newExpanded;\n\n if (expanded.indexOf(value) !== -1) {\n newExpanded = expanded.filter(function (id) {\n return id !== value;\n });\n setTabbable(function (oldTabbable) {\n var map = nodeMap.current[oldTabbable];\n\n if (oldTabbable && (map && map.parent ? map.parent.id : null) === value) {\n return value;\n }\n\n return oldTabbable;\n });\n } else {\n newExpanded = [value].concat(_toConsumableArray(expanded));\n }\n\n if (onNodeToggle) {\n onNodeToggle(event, newExpanded);\n }\n\n setExpandedState(newExpanded);\n };\n\n var expandAllSiblings = function expandAllSiblings(event, id) {\n var map = nodeMap.current[id];\n var parent = nodeMap.current[map.parent];\n var diff;\n\n if (parent) {\n diff = parent.children.filter(function (child) {\n return !isExpanded(child);\n });\n } else {\n var topLevelNodes = nodeMap.current[-1].children;\n diff = topLevelNodes.filter(function (node) {\n return !isExpanded(node);\n });\n }\n\n var newExpanded = [].concat(_toConsumableArray(expanded), _toConsumableArray(diff));\n setExpandedState(newExpanded);\n\n if (onNodeToggle) {\n onNodeToggle(event, newExpanded);\n }\n };\n /*\n * Selection Helpers\n */\n\n\n var lastSelectedNode = React.useRef(null);\n var lastSelectionWasRange = React.useRef(false);\n var currentRangeSelection = React.useRef([]);\n\n var handleRangeArrowSelect = function handleRangeArrowSelect(event, nodes) {\n var base = selected;\n var start = nodes.start,\n next = nodes.next,\n current = nodes.current;\n\n if (!next || !current) {\n return;\n }\n\n if (currentRangeSelection.current.indexOf(current) === -1) {\n currentRangeSelection.current = [];\n }\n\n if (lastSelectionWasRange.current) {\n if (currentRangeSelection.current.indexOf(next) !== -1) {\n base = base.filter(function (id) {\n return id === start || id !== current;\n });\n currentRangeSelection.current = currentRangeSelection.current.filter(function (id) {\n return id === start || id !== current;\n });\n } else {\n base.push(next);\n currentRangeSelection.current.push(next);\n }\n } else {\n base.push(next);\n currentRangeSelection.current.push(current, next);\n }\n\n if (onNodeSelect) {\n onNodeSelect(event, base);\n }\n\n setSelectedState(base);\n };\n\n var handleRangeSelect = function handleRangeSelect(event, nodes) {\n var base = selected;\n var start = nodes.start,\n end = nodes.end; // If last selection was a range selection ignore nodes that were selected.\n\n if (lastSelectionWasRange.current) {\n base = selected.filter(function (id) {\n return currentRangeSelection.current.indexOf(id) === -1;\n });\n }\n\n var range = getNodesInRange(start, end);\n currentRangeSelection.current = range;\n var newSelected = base.concat(range);\n newSelected = newSelected.filter(function (id, i) {\n return newSelected.indexOf(id) === i;\n });\n\n if (onNodeSelect) {\n onNodeSelect(event, newSelected);\n }\n\n setSelectedState(newSelected);\n };\n\n var handleMultipleSelect = function handleMultipleSelect(event, value) {\n var newSelected = [];\n\n if (selected.indexOf(value) !== -1) {\n newSelected = selected.filter(function (id) {\n return id !== value;\n });\n } else {\n newSelected = [value].concat(_toConsumableArray(selected));\n }\n\n if (onNodeSelect) {\n onNodeSelect(event, newSelected);\n }\n\n setSelectedState(newSelected);\n };\n\n var handleSingleSelect = function handleSingleSelect(event, value) {\n var newSelected = multiSelect ? [value] : value;\n\n if (onNodeSelect) {\n onNodeSelect(event, newSelected);\n }\n\n setSelectedState(newSelected);\n };\n\n var selectNode = function selectNode(event, id) {\n var multiple = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n if (id) {\n if (multiple) {\n handleMultipleSelect(event, id);\n } else {\n handleSingleSelect(event, id);\n }\n\n lastSelectedNode.current = id;\n lastSelectionWasRange.current = false;\n currentRangeSelection.current = [];\n }\n };\n\n var selectRange = function selectRange(event, nodes) {\n var stacked = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var _nodes$start = nodes.start,\n start = _nodes$start === void 0 ? lastSelectedNode.current : _nodes$start,\n end = nodes.end,\n current = nodes.current;\n\n if (stacked) {\n handleRangeArrowSelect(event, {\n start: start,\n next: end,\n current: current\n });\n } else {\n handleRangeSelect(event, {\n start: start,\n end: end\n });\n }\n\n lastSelectionWasRange.current = true;\n };\n\n var rangeSelectToFirst = function rangeSelectToFirst(event, id) {\n if (!lastSelectedNode.current) {\n lastSelectedNode.current = id;\n }\n\n var start = lastSelectionWasRange.current ? lastSelectedNode.current : id;\n selectRange(event, {\n start: start,\n end: getFirstNode()\n });\n };\n\n var rangeSelectToLast = function rangeSelectToLast(event, id) {\n if (!lastSelectedNode.current) {\n lastSelectedNode.current = id;\n }\n\n var start = lastSelectionWasRange.current ? lastSelectedNode.current : id;\n selectRange(event, {\n start: start,\n end: getLastNode()\n });\n };\n\n var selectNextNode = function selectNextNode(event, id) {\n return selectRange(event, {\n end: getNextNode(id),\n current: id\n }, true);\n };\n\n var selectPreviousNode = function selectPreviousNode(event, id) {\n return selectRange(event, {\n end: getPreviousNode(id),\n current: id\n }, true);\n };\n\n var selectAllNodes = function selectAllNodes(event) {\n return selectRange(event, {\n start: getFirstNode(),\n end: getLastNode()\n });\n };\n /*\n * Mapping Helpers\n */\n\n\n var addNodeToNodeMap = function addNodeToNodeMap(id, childrenIds) {\n var currentMap = nodeMap.current[id];\n nodeMap.current[id] = _extends({}, currentMap, {\n children: childrenIds,\n id: id\n });\n childrenIds.forEach(function (childId) {\n var currentChildMap = nodeMap.current[childId];\n nodeMap.current[childId] = _extends({}, currentChildMap, {\n parent: id,\n id: childId\n });\n });\n };\n\n var getNodesToRemove = React.useCallback(function (id) {\n var map = nodeMap.current[id];\n var nodes = [];\n\n if (map) {\n nodes.push(id);\n\n if (map.children) {\n nodes.push.apply(nodes, _toConsumableArray(map.children));\n map.children.forEach(function (node) {\n nodes.push.apply(nodes, _toConsumableArray(getNodesToRemove(node)));\n });\n }\n }\n\n return nodes;\n }, []);\n var removeNodeFromNodeMap = React.useCallback(function (id) {\n var nodes = getNodesToRemove(id);\n\n var newMap = _extends({}, nodeMap.current);\n\n nodes.forEach(function (node) {\n var map = newMap[node];\n\n if (map) {\n if (map.parent) {\n var parentMap = newMap[map.parent];\n\n if (parentMap && parentMap.children) {\n var parentChildren = parentMap.children.filter(function (c) {\n return c !== node;\n });\n newMap[map.parent] = _extends({}, parentMap, {\n children: parentChildren\n });\n }\n }\n\n delete newMap[node];\n }\n });\n nodeMap.current = newMap;\n }, [getNodesToRemove]);\n\n var mapFirstChar = function mapFirstChar(id, firstChar) {\n firstCharMap.current[id] = firstChar;\n };\n\n var prevChildIds = React.useRef([]);\n\n var _React$useState3 = React.useState(false),\n childrenCalculated = _React$useState3[0],\n setChildrenCalculated = _React$useState3[1];\n\n React.useEffect(function () {\n var childIds = [];\n React.Children.forEach(children, function (child) {\n if (React.isValidElement(child) && child.props.nodeId) {\n childIds.push(child.props.nodeId);\n }\n });\n\n if (arrayDiff(prevChildIds.current, childIds)) {\n nodeMap.current[-1] = {\n parent: null,\n children: childIds\n };\n childIds.forEach(function (id, index) {\n if (index === 0) {\n setTabbable(id);\n }\n\n nodeMap.current[id] = {\n parent: null\n };\n });\n visibleNodes.current = nodeMap.current[-1].children;\n prevChildIds.current = childIds;\n setChildrenCalculated(true);\n }\n }, [children]);\n React.useEffect(function () {\n var buildVisible = function buildVisible(nodes) {\n var list = [];\n\n for (var i = 0; i < nodes.length; i += 1) {\n var item = nodes[i];\n list.push(item);\n var childs = nodeMap.current[item].children;\n\n if (isExpanded(item) && childs) {\n list = list.concat(buildVisible(childs));\n }\n }\n\n return list;\n };\n\n if (childrenCalculated) {\n visibleNodes.current = buildVisible(nodeMap.current[-1].children);\n }\n }, [expanded, childrenCalculated, isExpanded]);\n return React.createElement(TreeViewContext.Provider, {\n value: {\n icons: {\n defaultCollapseIcon: defaultCollapseIcon,\n defaultExpandIcon: defaultExpandIcon,\n defaultParentIcon: defaultParentIcon,\n defaultEndIcon: defaultEndIcon\n },\n focus: focus,\n focusFirstNode: focusFirstNode,\n focusLastNode: focusLastNode,\n focusNextNode: focusNextNode,\n focusPreviousNode: focusPreviousNode,\n focusByFirstCharacter: focusByFirstCharacter,\n expandAllSiblings: expandAllSiblings,\n toggleExpansion: toggleExpansion,\n isExpanded: isExpanded,\n isFocused: isFocused,\n isSelected: isSelected,\n selectNode: selectNode,\n selectRange: selectRange,\n selectNextNode: selectNextNode,\n selectPreviousNode: selectPreviousNode,\n rangeSelectToFirst: rangeSelectToFirst,\n rangeSelectToLast: rangeSelectToLast,\n selectAllNodes: selectAllNodes,\n isTabbable: isTabbable,\n multiSelect: multiSelect,\n selectionDisabled: disableSelection,\n getParent: getParent,\n mapFirstChar: mapFirstChar,\n addNodeToNodeMap: addNodeToNodeMap,\n removeNodeFromNodeMap: removeNodeFromNodeMap\n }\n }, React.createElement(\"ul\", _extends({\n role: \"tree\",\n \"aria-multiselectable\": multiSelect,\n className: clsx(classes.root, className),\n ref: ref\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? TreeView.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The default icon used to collapse the node.\n */\n defaultCollapseIcon: PropTypes.node,\n\n /**\n * The default icon displayed next to a end node. This is applied to all\n * tree nodes and can be overridden by the TreeItem `icon` prop.\n */\n defaultEndIcon: PropTypes.node,\n\n /**\n * Expanded node ids. (Uncontrolled)\n */\n defaultExpanded: PropTypes.arrayOf(PropTypes.string),\n\n /**\n * The default icon used to expand the node.\n */\n defaultExpandIcon: PropTypes.node,\n\n /**\n * The default icon displayed next to a parent node. This is applied to all\n * parent nodes and can be overridden by the TreeItem `icon` prop.\n */\n defaultParentIcon: PropTypes.node,\n\n /**\n * Selected node ids. (Uncontrolled)\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\n */\n defaultSelected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string]),\n\n /**\n * If `true` selection is disabled.\n */\n disableSelection: PropTypes.bool,\n\n /**\n * Expanded node ids. (Controlled)\n */\n expanded: PropTypes.arrayOf(PropTypes.string),\n\n /**\n * If true `ctrl` and `shift` will trigger multiselect.\n */\n multiSelect: PropTypes.bool,\n\n /**\n * Callback fired when tree items are selected/unselected.\n *\n * @param {object} event The event source of the callback\n * @param {(array|string)} value of the selected nodes. When `multiSelect` is true\n * this is an array of strings; when false (default) a string.\n */\n onNodeSelect: PropTypes.func,\n\n /**\n * Callback fired when tree items are expanded/collapsed.\n *\n * @param {object} event The event source of the callback.\n * @param {array} nodeIds The ids of the expanded nodes.\n */\n onNodeToggle: PropTypes.func,\n\n /**\n * Selected node ids. (Controlled)\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\n */\n selected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTreeView'\n})(TreeView);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiTreeView } from '@material-ui/lab/TreeView';\r\n\r\nimport ChevronDownIcon from '@ellucian/ds-icons/lib/ChevronDown';\r\nimport ChevronUpIcon from '@ellucian/ds-icons/lib/ChevronUp';\r\n\r\n// TreeView code @material-ui/lab@4.0.0-alpha.46:\r\n// https://github.com/mui-org/material-ui/blob/v4.9.6/packages/material-ui-lab/src/TreeView/TreeView.js\r\nfunction TreeView(props) {\r\n return React.createElement(MuiTreeView, Object.assign({\r\n defaultCollapseIcon: React.createElement(ChevronUpIcon, null),\r\n defaultExpandIcon: React.createElement(ChevronDownIcon, null)\r\n }, props));\r\n}\r\n\r\nTreeView.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The default icon used to collapse the node.\r\n */\r\n defaultCollapseIcon: PropTypes.node,\r\n /**\r\n * The default icon displayed next to a end node. This is applied to all\r\n * tree nodes and can be overridden by the TreeItem `icon` prop.\r\n */\r\n defaultEndIcon: PropTypes.node,\r\n /**\r\n * Expanded node ids. (Uncontrolled)\r\n */\r\n defaultExpanded: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * The default icon used to expand the node.\r\n */\r\n defaultExpandIcon: PropTypes.node,\r\n /**\r\n * The default icon displayed next to a parent node. This is applied to all\r\n * parent nodes and can be overridden by the TreeItem `icon` prop.\r\n */\r\n defaultParentIcon: PropTypes.node,\r\n /**\r\n * Selected node ids. (Uncontrolled)\r\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\r\n */\r\n defaultSelected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string]),\r\n /**\r\n * If `true` selection is disabled.\r\n */\r\n disableSelection: PropTypes.bool,\r\n /**\r\n * Expanded node ids. (Controlled)\r\n */\r\n expanded: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * If true `ctrl` and `shift` will trigger multiselect.\r\n */\r\n multiSelect: PropTypes.bool,\r\n /**\r\n * Callback fired when tree items are selected/unselected.\r\n *\r\n * @param {object} event The event source of the callback\r\n * @param {(array|string)} value of the selected nodes. When `multiSelect` is true\r\n * this is an array of strings; when false (default) a string.\r\n */\r\n onNodeSelect: PropTypes.func,\r\n /**\r\n * Callback fired when tree items are expanded/collapsed.\r\n *\r\n * @param {object} event The event source of the callback.\r\n * @param {array} nodeIds The ids of the expanded nodes.\r\n */\r\n onNodeToggle: PropTypes.func,\r\n /**\r\n * Selected node ids. (Controlled)\r\n * When `multiSelect` is true this takes an array of strings; when false (default) a string.\r\n */\r\n selected: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.string])\r\n};\r\n\r\nTreeView.muiName = 'TreeView';\r\nTreeView.displayName = 'TreeView';\r\n\r\nexport default TreeView;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n\n/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport Typography from '@material-ui/core/Typography';\nimport Collapse from '@material-ui/core/Collapse';\nimport { fade, withStyles, useTheme } from '@material-ui/core/styles';\nimport { useForkRef } from '@material-ui/core/utils';\nimport TreeViewContext from '../TreeView/TreeViewContext';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n listStyle: 'none',\n margin: 0,\n padding: 0,\n outline: 0,\n WebkitTapHighlightColor: 'transparent',\n '&:focus > $content $label': {\n backgroundColor: theme.palette.action.hover\n },\n '&$selected > $content $label': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.selectedOpacity)\n },\n '&$selected > $content $label:hover, &$selected:focus > $content $label': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Pseudo-class applied to the root element when expanded. */\n expanded: {},\n\n /* Pseudo-class applied to the root element when selected. */\n selected: {},\n\n /* Styles applied to the `role=\"group\"` element. */\n group: {\n margin: 0,\n padding: 0,\n marginLeft: 17\n },\n\n /* Styles applied to the tree node content. */\n content: {\n width: '100%',\n display: 'flex',\n alignItems: 'center',\n cursor: 'pointer'\n },\n\n /* Styles applied to the tree node icon and collapse/expand icon. */\n iconContainer: {\n marginRight: 4,\n width: 15,\n display: 'flex',\n flexShrink: 0,\n justifyContent: 'center',\n '& svg': {\n fontSize: 18\n }\n },\n\n /* Styles applied to the label element. */\n label: {\n width: '100%',\n paddingLeft: 4,\n position: 'relative',\n '&:hover': {\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n };\n};\n\nvar isPrintableCharacter = function isPrintableCharacter(str) {\n return str && str.length === 1 && str.match(/\\S/);\n};\n\nvar TreeItem = React.forwardRef(function TreeItem(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n collapseIcon = props.collapseIcon,\n endIcon = props.endIcon,\n expandIcon = props.expandIcon,\n iconProp = props.icon,\n label = props.label,\n nodeId = props.nodeId,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onKeyDown = props.onKeyDown,\n onMouseDown = props.onMouseDown,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"collapseIcon\", \"endIcon\", \"expandIcon\", \"icon\", \"label\", \"nodeId\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onMouseDown\", \"TransitionComponent\", \"TransitionProps\"]);\n\n var _React$useContext = React.useContext(TreeViewContext),\n contextIcons = _React$useContext.icons,\n focus = _React$useContext.focus,\n focusFirstNode = _React$useContext.focusFirstNode,\n focusLastNode = _React$useContext.focusLastNode,\n focusNextNode = _React$useContext.focusNextNode,\n focusPreviousNode = _React$useContext.focusPreviousNode,\n focusByFirstCharacter = _React$useContext.focusByFirstCharacter,\n selectNode = _React$useContext.selectNode,\n selectRange = _React$useContext.selectRange,\n selectNextNode = _React$useContext.selectNextNode,\n selectPreviousNode = _React$useContext.selectPreviousNode,\n rangeSelectToFirst = _React$useContext.rangeSelectToFirst,\n rangeSelectToLast = _React$useContext.rangeSelectToLast,\n selectAllNodes = _React$useContext.selectAllNodes,\n expandAllSiblings = _React$useContext.expandAllSiblings,\n toggleExpansion = _React$useContext.toggleExpansion,\n isExpanded = _React$useContext.isExpanded,\n isFocused = _React$useContext.isFocused,\n isSelected = _React$useContext.isSelected,\n isTabbable = _React$useContext.isTabbable,\n multiSelect = _React$useContext.multiSelect,\n selectionDisabled = _React$useContext.selectionDisabled,\n getParent = _React$useContext.getParent,\n mapFirstChar = _React$useContext.mapFirstChar,\n addNodeToNodeMap = _React$useContext.addNodeToNodeMap,\n removeNodeFromNodeMap = _React$useContext.removeNodeFromNodeMap;\n\n var nodeRef = React.useRef(null);\n var contentRef = React.useRef(null);\n var handleRef = useForkRef(nodeRef, ref);\n var icon = iconProp;\n var expandable = Boolean(Array.isArray(children) ? children.length : children);\n var expanded = isExpanded ? isExpanded(nodeId) : false;\n var focused = isFocused ? isFocused(nodeId) : false;\n var tabbable = isTabbable ? isTabbable(nodeId) : false;\n var selected = isSelected ? isSelected(nodeId) : false;\n var icons = contextIcons || {};\n var theme = useTheme();\n\n if (!icon) {\n if (expandable) {\n if (!expanded) {\n icon = expandIcon || icons.defaultExpandIcon;\n } else {\n icon = collapseIcon || icons.defaultCollapseIcon;\n }\n\n if (!icon) {\n icon = icons.defaultParentIcon;\n }\n } else {\n icon = endIcon || icons.defaultEndIcon;\n }\n }\n\n var handleClick = function handleClick(event) {\n if (!focused) {\n focus(nodeId);\n }\n\n var multiple = multiSelect && (event.shiftKey || event.ctrlKey || event.metaKey); // If already expanded and trying to toggle selection don't close\n\n if (expandable && !(multiple && isExpanded(nodeId))) {\n toggleExpansion(event, nodeId);\n }\n\n if (!selectionDisabled) {\n if (multiple) {\n if (event.shiftKey) {\n selectRange(event, {\n end: nodeId\n });\n } else {\n selectNode(event, nodeId, true);\n }\n } else {\n selectNode(event, nodeId);\n }\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var handleMouseDown = function handleMouseDown(event) {\n if (event.shiftKey || event.ctrlKey || event.metaKey) {\n event.preventDefault();\n }\n\n if (onMouseDown) {\n onMouseDown(event);\n }\n };\n\n var printableCharacter = function printableCharacter(event, key) {\n if (isPrintableCharacter(key)) {\n focusByFirstCharacter(nodeId, key);\n return true;\n }\n\n return false;\n };\n\n var handleNextArrow = function handleNextArrow(event) {\n if (expandable) {\n if (expanded) {\n focusNextNode(nodeId);\n } else {\n toggleExpansion(event);\n }\n }\n\n return true;\n };\n\n var handlePreviousArrow = function handlePreviousArrow(event) {\n if (expanded) {\n toggleExpansion(event, nodeId);\n return true;\n }\n\n var parent = getParent(nodeId);\n\n if (parent) {\n focus(parent);\n return true;\n }\n\n return false;\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n var flag = false;\n var key = event.key;\n\n if (event.altKey || event.currentTarget !== event.target) {\n return;\n }\n\n var ctrlPressed = event.ctrlKey || event.metaKey;\n\n switch (key) {\n case ' ':\n if (nodeRef.current === event.currentTarget) {\n if (multiSelect && event.shiftKey) {\n selectRange(event, {\n end: nodeId\n });\n } else if (multiSelect) {\n selectNode(event, nodeId, true);\n } else {\n selectNode(event, nodeId);\n }\n\n flag = true;\n }\n\n event.stopPropagation();\n break;\n\n case 'Enter':\n if (nodeRef.current === event.currentTarget && expandable) {\n toggleExpansion(event);\n flag = true;\n }\n\n event.stopPropagation();\n break;\n\n case 'ArrowDown':\n if (multiSelect && event.shiftKey) {\n selectNextNode(event, nodeId);\n }\n\n focusNextNode(nodeId);\n flag = true;\n break;\n\n case 'ArrowUp':\n if (multiSelect && event.shiftKey) {\n selectPreviousNode(event, nodeId);\n }\n\n focusPreviousNode(nodeId);\n flag = true;\n break;\n\n case 'ArrowRight':\n if (theme.direction === 'rtl') {\n flag = handlePreviousArrow(event);\n } else {\n flag = handleNextArrow(event);\n }\n\n break;\n\n case 'ArrowLeft':\n if (theme.direction === 'rtl') {\n flag = handleNextArrow(event);\n } else {\n flag = handlePreviousArrow(event);\n }\n\n break;\n\n case 'Home':\n if (multiSelect && ctrlPressed && event.shiftKey) {\n rangeSelectToFirst(event, nodeId);\n }\n\n focusFirstNode();\n flag = true;\n break;\n\n case 'End':\n if (multiSelect && ctrlPressed && event.shiftKey) {\n rangeSelectToLast(event, nodeId);\n }\n\n focusLastNode();\n flag = true;\n break;\n\n default:\n if (key === '*') {\n expandAllSiblings(event, nodeId);\n flag = true;\n } else if (multiSelect && ctrlPressed && key.toLowerCase() === 'a') {\n selectAllNodes(event);\n flag = true;\n } else if (isPrintableCharacter(key)) {\n flag = printableCharacter(event, key);\n }\n\n }\n\n if (flag) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleFocus = function handleFocus(event) {\n if (!focused && tabbable) {\n focus(nodeId);\n }\n\n if (onFocus) {\n onFocus(event);\n }\n };\n\n React.useEffect(function () {\n var childIds = React.Children.map(children, function (child) {\n return child.props.nodeId;\n }) || [];\n\n if (addNodeToNodeMap) {\n addNodeToNodeMap(nodeId, childIds);\n }\n }, [children, nodeId, addNodeToNodeMap]);\n React.useEffect(function () {\n if (removeNodeFromNodeMap) {\n return function () {\n removeNodeFromNodeMap(nodeId);\n };\n }\n\n return undefined;\n }, [nodeId, removeNodeFromNodeMap]);\n React.useEffect(function () {\n if (mapFirstChar && label) {\n mapFirstChar(nodeId, contentRef.current.textContent.substring(0, 1).toLowerCase());\n }\n }, [mapFirstChar, nodeId, label]);\n React.useEffect(function () {\n if (focused) {\n nodeRef.current.focus();\n }\n }, [focused]);\n return React.createElement(\"li\", _extends({\n className: clsx(classes.root, className, expanded && classes.expanded, selected && classes.selected),\n role: \"treeitem\",\n onKeyDown: handleKeyDown,\n onFocus: handleFocus,\n \"aria-expanded\": expandable ? expanded : null,\n \"aria-selected\": !selectionDisabled && isSelected ? isSelected(nodeId) : undefined,\n ref: handleRef,\n tabIndex: tabbable ? 0 : -1\n }, other), React.createElement(\"div\", {\n className: classes.content,\n onClick: handleClick,\n onMouseDown: handleMouseDown,\n ref: contentRef\n }, React.createElement(\"div\", {\n className: classes.iconContainer\n }, icon), React.createElement(Typography, {\n component: \"div\",\n className: classes.label\n }, label)), children && React.createElement(TransitionComponent, _extends({\n unmountOnExit: true,\n className: classes.group,\n in: expanded,\n component: \"ul\",\n role: \"group\"\n }, TransitionProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? TreeItem.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The icon used to collapse the node.\n */\n collapseIcon: PropTypes.node,\n\n /**\n * The icon displayed next to a end node.\n */\n endIcon: PropTypes.node,\n\n /**\n * The icon used to expand the node.\n */\n expandIcon: PropTypes.node,\n\n /**\n * The icon to display next to the tree node's label.\n */\n icon: PropTypes.node,\n\n /**\n * The tree node label.\n */\n label: PropTypes.node,\n\n /**\n * The id of the node.\n */\n nodeId: PropTypes.string.isRequired,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTreeItem'\n})(TreeItem);","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { default as MuiTreeItem } from '@material-ui/lab/TreeItem';\r\n\r\nimport { default as withStyles } from '../../styles';\r\nimport { spacing20, spacing40 } from '../../styles/tokens';\r\n\r\nvar styles = function styles(theme) {\r\n return {\r\n root: {\r\n '&:focus > $content $label': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.text.primary\r\n },\r\n '&$selected > $content $label': {\r\n backgroundColor: theme.palette.action.active,\r\n color: theme.palette.text.white\r\n },\r\n '&$selected > $content $label:hover, &$selected:focus > $content $label': {\r\n backgroundColor: theme.palette.action.hover,\r\n color: theme.palette.text.white\r\n }\r\n },\r\n expanded: {},\r\n selected: {},\r\n group: {},\r\n content: {},\r\n iconContainer: {\r\n marginLeft: spacing40,\r\n marginRight: spacing20\r\n },\r\n label: {\r\n padding: spacing20,\r\n paddingRight: spacing40,\r\n '&:hover': {\r\n backgroundColor: theme.palette.grey[250],\r\n color: theme.palette.text.primary\r\n }\r\n }\r\n };\r\n};\r\n\r\n// TreeItem code @material-ui/lab@4.0.0-alpha.46:\r\n// https://github.com/mui-org/material-ui/blob/v4.9.6/packages/material-ui-lab/src/TreeItem/TreeItem.js\r\nfunction TreeItem(props) {\r\n return React.createElement(MuiTreeItem, props);\r\n}\r\n\r\nTreeItem.propTypes = {\r\n /**\r\n * The content of the component.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * @ignore\r\n */\r\n className: PropTypes.string,\r\n /**\r\n * The icon used to collapse the node.\r\n */\r\n collapseIcon: PropTypes.node,\r\n /**\r\n * The icon displayed next to a end node.\r\n */\r\n endIcon: PropTypes.node,\r\n /**\r\n * The icon used to expand the node.\r\n */\r\n expandIcon: PropTypes.node,\r\n /**\r\n * The icon to display next to the tree node's label.\r\n */\r\n icon: PropTypes.node,\r\n /**\r\n * The tree node label.\r\n */\r\n label: PropTypes.node,\r\n /**\r\n * The id of the node.\r\n */\r\n nodeId: PropTypes.string.isRequired,\r\n /**\r\n * @ignore\r\n */\r\n onClick: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onFocus: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onKeyDown: PropTypes.func,\r\n /**\r\n * @ignore\r\n */\r\n onMouseDown: PropTypes.func,\r\n /**\r\n * The component used for the transition.\r\n */\r\n TransitionComponent: PropTypes.elementType,\r\n /**\r\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\r\n */\r\n TransitionProps: PropTypes.object\r\n};\r\n\r\nTreeItem.muiName = 'TreeItem';\r\nTreeItem.displayName = 'TreeItem';\r\n\r\nexport default withStyles(styles)(TreeItem);","function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\r\n\r\nimport React from 'react';\r\nimport PropTypes from 'prop-types';\r\n\r\nimport Paper from '../Paper';\r\nimport Typography from '../Typography';\r\nimport TreeView from './internal/TreeView';\r\nimport TreeItem from './internal/TreeItem';\r\n\r\nimport makeStyles from '../makeStyles';\r\nimport { borderWidthThin, spacing60 } from '../styles/tokens';\r\n\r\nvar useStyles = makeStyles(function (theme) {\r\n return {\r\n root: {\r\n display: 'flex',\r\n width: '100%',\r\n height: '100%'\r\n },\r\n sideMenuRoot: {\r\n borderRight: borderWidthThin + ' solid ' + theme.palette.grey[300],\r\n overflow: 'hidden',\r\n display: 'flex',\r\n flexDirection: 'column'\r\n },\r\n sideTitle: {\r\n padding: spacing60,\r\n borderBottom: borderWidthThin + ' solid ' + theme.palette.grey[300]\r\n },\r\n sideMenuTreeViewContainer: {\r\n overflow: 'auto',\r\n paddingBottom: spacing60\r\n },\r\n sideMenuTreeView: {},\r\n contentRoot: {\r\n padding: spacing60,\r\n width: '100%',\r\n height: '100%',\r\n overflowY: 'auto'\r\n }\r\n };\r\n});\r\n\r\n/**\r\n * A layout container that has a side menu and content area\r\n * @done false\r\n * @updated true\r\n * @versionAdded v5.1.0\r\n * @template true\r\n * @examples\r\n * MasterDetailExample\r\n */\r\nvar MasterDetail = React.forwardRef(function (props, ref) {\r\n var children = props.children,\r\n menu = props.menu,\r\n title = props.title,\r\n TitleTypographyProps = props.TitleTypographyProps,\r\n onNodeSelect = props.onNodeSelect,\r\n defaultExpanded = props.defaultExpanded,\r\n defaultSelected = props.defaultSelected,\r\n rest = _objectWithoutProperties(props, ['children', 'menu', 'title', 'TitleTypographyProps', 'onNodeSelect', 'defaultExpanded', 'defaultSelected']);\r\n\r\n var localClasses = useStyles();\r\n\r\n // Similar to this: https://material-ui.com/components/tree-view/#rich-object\r\n var generateMenu = function generateMenu() {\r\n var generateChildren = function generateChildren(items) {\r\n var treeItems = items.length > 0 && items.map(function (_ref) {\r\n var label = _ref.label,\r\n nodeId = _ref.nodeId,\r\n childrenProp = _ref.children,\r\n itemRest = _objectWithoutProperties(_ref, ['label', 'nodeId', 'children']);\r\n\r\n return React.createElement(\r\n TreeItem,\r\n Object.assign({ key: nodeId + '-' + label, label: label, nodeId: nodeId }, itemRest),\r\n childrenProp && generateChildren(childrenProp)\r\n );\r\n });\r\n return treeItems;\r\n };\r\n\r\n return React.createElement(\r\n TreeView,\r\n {\r\n onNodeSelect: onNodeSelect,\r\n className: localClasses.sideMenuTreeView,\r\n defaultExpanded: defaultExpanded,\r\n defaultSelected: defaultSelected\r\n },\r\n menu.map(function (child) {\r\n var label = child.label,\r\n nodeId = child.nodeId,\r\n childrenProp = child.children,\r\n childProps = _objectWithoutProperties(child, ['label', 'nodeId', 'children']);\r\n\r\n return React.createElement(\r\n TreeItem,\r\n Object.assign({ key: nodeId + '-' + label, label: label, nodeId: nodeId }, childProps),\r\n childrenProp && generateChildren(childrenProp)\r\n );\r\n })\r\n );\r\n };\r\n return React.createElement(\r\n Paper,\r\n Object.assign({ ref: ref, className: localClasses.root }, rest),\r\n React.createElement(\r\n 'div',\r\n { className: localClasses.sideMenuRoot },\r\n React.createElement(\r\n Typography,\r\n Object.assign({ variant: 'h2', className: localClasses.sideTitle }, TitleTypographyProps),\r\n title\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: localClasses.sideMenuTreeViewContainer },\r\n generateMenu()\r\n )\r\n ),\r\n React.createElement(\r\n 'div',\r\n { className: localClasses.contentRoot },\r\n children\r\n )\r\n );\r\n});\r\n\r\nMasterDetail.muiName = 'MasterDetail';\r\n\r\nMasterDetail.propTypes = {\r\n /**\r\n * Override or extend the styles applied to the component.\r\n */\r\n classes: PropTypes.object,\r\n /**\r\n * The content of the detail view.\r\n */\r\n children: PropTypes.node,\r\n /**\r\n * The title of the master view.\r\n */\r\n title: PropTypes.string,\r\n /**\r\n * Props applied to the `Typography` element of the `title` prop.\r\n */\r\n TitleTypographyProps: PropTypes.object,\r\n /**\r\n * The structure and content of the master tree.\r\n *\r\n * Accepts an array of objects, one for each node in the tree. Object format:\r\n *\r\n * * `label`: {string} (required) The node label.\r\n * * `nodeId`: {string} (required) The id of the node. Provided to `onNodeSelect` when the node is selected.\r\n * * `onClick`: {function} Callback that's invoked when the node is clicked.\r\n * * `children`: {array} The children of this node. Accepts an array with the same structure as the parent `menu`.\r\n */\r\n menu: PropTypes.array,\r\n /**\r\n * Callback fired when tree items are selected/unselected.\r\n *\r\n * `@param {object} event`: The event source of the callback\r\n *\r\n * `@param {string} value`: The `nodeId` of the selected node.\r\n */\r\n onNodeSelect: PropTypes.func,\r\n /**\r\n * The nodes that should be automatically expanded when the tree is rendered. Accepts an array of `nodeId`s.\r\n */\r\n defaultExpanded: PropTypes.arrayOf(PropTypes.string),\r\n /**\r\n * The node that should be selected by default when the tree is rendered. Accepts a `nodeId`.\r\n */\r\n defaultSelected: PropTypes.string\r\n};\r\n\r\nexport default MasterDetail;","import { makeStyles } from '@material-ui/core/styles';\r\n\r\nexport default makeStyles;","import { withStyles as MuiWithStyles } from '@material-ui/core/styles';\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 1 for internal team use to\r\n * override the MUI base styles.\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 1 }, options);\r\n return MuiWithStyles(styles, defaultOptions);\r\n};\r\n\r\nexport default withStyles;","/* eslint-disable no-underscore-dangle */\r\n\r\n// note: this was taken, more or less verbatim, from MUI's generator script:\r\n// https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/createGenerateClassName.js\r\n\r\nimport { nanoid } from 'nanoid';\r\n\r\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g;\r\n\r\nfunction safePrefix(classNamePrefix) {\r\n var prefix = String(classNamePrefix);\r\n if (prefix.length >= 256) {\r\n console.warn('Material-UI: the class name prefix is too long: ' + prefix + '.');\r\n }\r\n // Sanitize the string as will be used to prefix the generated class name.\r\n return prefix.replace(escapeRegex, '-');\r\n}\r\n\r\n// Returns a function which generates unique class names based on counters.\r\n// When new generator function is created, rule counter is reset.\r\n// We need to reset the rule counter for SSR for each request.\r\n//\r\n// It's inspired by\r\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\r\nvar classGenerator = function createGenerateClassName() {\r\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n\r\n\r\n // the default length of nono-id ids is 21 characters, which guarantees uniqueness for\r\n // for 1 billion years, more or less; given our specific requirements (a transitory css id that\r\n // will only have to ensure that two sets of values need to be unique, 10 characters are enough;\r\n // they'll ensure that 17 years of uniqueness\r\n //\r\n // see this id collision caclulator for details - https://zelark.github.io/nano-id-cc/\r\n var _options$dangerouslyU = options.dangerouslyUseGlobalCSS,\r\n dangerouslyUseGlobalCSS = _options$dangerouslyU === undefined ? false : _options$dangerouslyU,\r\n _options$productionPr = options.productionPrefix,\r\n productionPrefix = _options$productionPr === undefined ? 'jss' : _options$productionPr,\r\n _options$seed = options.seed,\r\n seed = _options$seed === undefined ? nanoid(10) : _options$seed;\r\n\r\n var ruleCounter = 0;\r\n\r\n return function (rule, styleSheet) {\r\n\r\n // default name\r\n var name = rule.key + '-' + seed + ruleCounter;\r\n\r\n ruleCounter += 1;\r\n\r\n if (ruleCounter > 1e10) {\r\n console.warn(['Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));\r\n };\r\n\r\n // Code branch the whole block at the expense of more code.\r\n if (dangerouslyUseGlobalCSS) {\r\n\r\n if (styleSheet) {\r\n if (styleSheet.options.name) {\r\n name = styleSheet.options.name + '-' + rule.key;\r\n } else if (styleSheet.options.classNamePrefix && process.env.NODE_ENV !== 'production') {\r\n var prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n name = prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n } else if (styleSheet && styleSheet.options.classNamePrefix) {\r\n var _prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n\r\n name = _prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n\r\n return name;\r\n };\r\n};\r\n\r\nexport default classGenerator();","/* CTA taupe base color */\r\nexport var colorCtaTaupeBase = \"#72665B\";\r\n/* CTA blue tint color */\r\nexport var colorCtaBlueTint = \"#F2F8FC\";\r\n/* CTA iris active color */\r\nexport var colorCtaIrisActive = \"#3A3B87\";\r\n/* CTA green hover color */\r\nexport var colorCtaGreenHover = \"#046D44\";\r\n/* CTA plum active color */\r\nexport var colorCtaPlumActive = \"#502F5E\";\r\n/* CTA green base color */\r\nexport var colorCtaGreenBase = \"#00834F\";\r\n/* Brand Neutral 250 color */\r\nexport var colorBrandNeutral250 = \"#E9E9E9\";\r\n/* CTA taupe tint color */\r\nexport var colorCtaTaupeTint = \"#F8F7F7\";\r\n/* CTA taupe hover color */\r\nexport var colorCtaTaupeHover = \"#5F564E\";\r\n/* CTA blue active color */\r\nexport var colorCtaBlueActive = \"#0A4982\";\r\n/* Brand Neutral 100 color */\r\nexport var colorBrandNeutral100 = \"#FFFFFF\";\r\n/* Brand Neutral 200 color */\r\nexport var colorBrandNeutral200 = \"#F8F8F8\";\r\n/* Brand CTA hover color */\r\nexport var colorBrandCtaHover = \"#065AA5\";\r\n/* Brand Neutral 300 color */\r\nexport var colorBrandNeutral300 = \"#D9D9D9\";\r\n/* Brand secondary base color */\r\nexport var colorBrandSecondary = \"#51ABFF\";\r\n/* CTA iris base color */\r\nexport var colorCtaIrisBase = \"#5353D1\";\r\n/* Brand Neutral 400 color */\r\nexport var colorBrandNeutral400 = \"#B2B3B7\";\r\n/* CTA green tint color */\r\nexport var colorCtaGreenTint = \"#F2F9F6\";\r\n/* CTA plum base color */\r\nexport var colorCtaPlumBase = \"#783F8C\";\r\n/* Brand Neutral 500 color */\r\nexport var colorBrandNeutral500 = \"#5B5E65\";\r\n/* Brand CTA active color */\r\nexport var colorBrandCtaActive = \"#0A4982\";\r\n/* Brand Neutral 600 color */\r\nexport var colorBrandNeutral600 = \"#151618\";\r\n/* CTA blue hover color */\r\nexport var colorCtaBlueHover = \"#065AA5\";\r\n/* CTA taupe active color */\r\nexport var colorCtaTaupeActive = \"#4D4640\";\r\n/* CTA blue base color */\r\nexport var colorCtaBlueBase = \"#026BC8\";\r\n/* CTA iris tint color */\r\nexport var colorCtaIrisTint = \"#F6F6FD\";\r\n/* CTA plum hover color */\r\nexport var colorCtaPlumHover = \"#643775\";\r\n/* CTA plum tint color */\r\nexport var colorCtaPlumTint = \"#F8F5F9\";\r\n/* CTA green active color */\r\nexport var colorCtaGreenActive = \"#085739\";\r\n/* CTA iris hover color */\r\nexport var colorCtaIrisHover = \"#4747AC\";\r\n/* Brand CTA base color */\r\nexport var colorBrandCtaBase = \"#026BC8\";\r\n/* Brand primary base color */\r\nexport var colorBrandPrimary = \"#5353D1\";\r\nexport var fountain400 = \"#90C9FF\";\r\nexport var iris300 = \"#B0B0EA\";\r\nexport var fountain500 = \"#70BAFF\";\r\nexport var iris400 = \"#9191E2\";\r\nexport var kiwi100 = \"#F4FAEF\";\r\nexport var iris500 = \"#7272D9\";\r\nexport var kiwi200 = \"#E1F2D3\";\r\nexport var fountain600 = \"#51ABFF\";\r\nexport var kiwi300 = \"#CEEAB7\";\r\nexport var colorBackgroundHeaderBarItemSelected = \"#21226E\";\r\nexport var iris600 = \"#5353D1\";\r\nexport var kiwi400 = \"#BBE29B\";\r\nexport var tangerine100 = \"#FFF4EB\";\r\nexport var kiwi500 = \"#A8D97E\";\r\nexport var tangerine200 = \"#FFDFC8\";\r\n/* Fill color to be used behind white warning icon. */\r\nexport var colorFillAlertWarning = \"#EFC728\";\r\nexport var kiwi600 = \"#95D162\";\r\nexport var tangerine300 = \"#FFCAA4\";\r\nexport var tangerine400 = \"#FFB581\";\r\n/* Global divider color. */\r\nexport var colorBackgroundDivider = \"#B2B3B7\";\r\nexport var tangerine500 = \"#FFA15D\";\r\nexport var tangerine600 = \"#FF8C3A\";\r\nexport var colorFillLogoAlternativeText = \"#454647\";\r\n/* Fill color to be used behind white success icon. */\r\nexport var colorFillAlertSuccess = \"#00AF69\";\r\nexport var meadow100 = \"#E8F9F5\";\r\nexport var saffron100 = \"#FDF9EA\";\r\nexport var saffron200 = \"#FBEFC3\";\r\nexport var meadow200 = \"#BFEDE2\";\r\n/* Default background color that should be applied to all pages other than login and dashboard pages. */\r\nexport var colorBackgroundDefault = \"#F8F8F8\";\r\nexport var colorFillLogoPreferred = \"#FFFFFF\";\r\nexport var saffron300 = \"#F8E59C\";\r\nexport var meadow300 = \"#96E2CF\";\r\n/* Background color for warning alerts and notifications. */\r\nexport var colorBackgroundAlertWarning = \"#F5F2E7\";\r\nexport var saffron400 = \"#F5DB75\";\r\n/* Fill color to be used behind white neutral/information icon. */\r\nexport var colorFillAlertNeutral = \"#51ABFF\";\r\nexport var meadow400 = \"#6CD6BC\";\r\n/* Fill color to be used behind white error icon. */\r\nexport var colorFillAlertError = \"#D42828\";\r\nexport var saffron500 = \"#F2D14F\";\r\nexport var meadow500 = \"#43CBA9\";\r\nexport var saffron600 = \"#EFC728\";\r\nexport var meadow600 = \"#1ABF96\";\r\nexport var colorBackgroundHeaderBarItemHover = \"#2E2E93\";\r\nexport var purple100 = \"#F8EEF6\";\r\nexport var purple200 = \"#ECCCE6\";\r\n/* Background color for default alerts and notifications. */\r\nexport var colorBackgroundAlertDefault = \"#F8F8F8\";\r\nexport var purple300 = \"#DFAAD6\";\r\n/* Background color for success alerts and notifications. */\r\nexport var colorBackgroundAlertSuccess = \"#EAF7F2\";\r\nexport var purple400 = \"#D389C6\";\r\nexport var purple500 = \"#C667B6\";\r\nexport var purple600 = \"#BA46A6\";\r\nexport var colorFillLogoAlternativePowerButton = \"#5353D1\";\r\n/* Background color for neutral alerts and notifications. */\r\nexport var colorBackgroundAlertNeutral = \"#EFF7FF\";\r\nexport var fountain100 = \"#EFF7FF\";\r\n/* Background color for error alerts and notifications. */\r\nexport var colorBackgroundAlertError = \"#FFEEED\";\r\nexport var fountain200 = \"#CEE7FF\";\r\nexport var iris100 = \"#EEEEFA\";\r\nexport var fountain300 = \"#AFD8FF\";\r\nexport var iris200 = \"#CFCFF2\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThin = \"0.063rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThick = \"0.125rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThicker = \"0.1875rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nexport var borderWidthThickest = \"0.25rem\";\r\n/* Global focus color for better accessibility. */\r\nexport var colorBorderGlobalFocus = \"#51ABFF\";\r\n/* Global error state border color. */\r\nexport var colorGlobalBorderError = \"#D42828\";\r\n/* Global default state border color. */\r\nexport var colorGlobalBorderDefault = \"#B2B3B7\";\r\n/* Global disabled state border color. */\r\nexport var colorGlobalBorderDisabled = \"#B2B3B7\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertSuccess = \"#00AF69\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertWarning = \"#EFC728\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertNeutral = \"#51ABFF\";\r\n/* Border color for success alerts and notifications. */\r\nexport var colorBorderAlertError = \"#D42828\";\r\n/* 0 second */\r\nexport var durationNone = \"0s\";\r\n/* .1 second */\r\nexport var durationFast = \".1s\";\r\n/* .15 seconds */\r\nexport var durationFastAlt = \".15s\";\r\n/* .3 seconds */\r\nexport var durationMedium = \".3s\";\r\n/* .5 seconds */\r\nexport var durationSlow = \".5s\";\r\nexport var fontFamilyDefault = \"'Noto Sans', Helvetica, Arial, sans-serif\";\r\nexport var fontFamilyHeader = \"'Roboto', Helvetica, Arial, sans-serif\";\r\nexport var fontFamilyCondensed = \"'Roboto Condensed', 'Impact', 'Franklin Gothic Bold', sans-serif\";\r\nexport var fontFamilyMonospace = \"'Courier New', Courier, monospace\";\r\n/* Large body text. */\r\nexport var fontSizeLarge = \"1rem\";\r\n/* h5 small font size. */\r\nexport var fontSizeHeader5Small = \"0.75rem\";\r\n/* h4 small font size. */\r\nexport var fontSizeHeader4Small = \"0.875rem\";\r\n/* h3 small font size. */\r\nexport var fontSizeHeader3Small = \"1rem\";\r\n/* Default body text. */\r\nexport var fontSizeDefault = \"0.875rem\";\r\n/* h2 small font size. */\r\nexport var fontSizeHeader2Small = \"1.375rem\";\r\n/* h1 small font size. */\r\nexport var fontSizeHeader1Small = \"1.75rem\";\r\n/* h1 font size. */\r\nexport var fontSizeHeader1 = \"2rem\";\r\n/* h2 font size. */\r\nexport var fontSizeHeader2 = \"1.5rem\";\r\n/* h3 font size. */\r\nexport var fontSizeHeader3 = \"1.125rem\";\r\n/* h4 font size. */\r\nexport var fontSizeHeader4 = \"1rem\";\r\n/* Small body text. */\r\nexport var fontSizeSmall = \"0.75rem\";\r\n/* h5 font size. */\r\nexport var fontSizeHeader5 = \"0.875rem\";\r\n/* h6 font size. */\r\nexport var fontSizeHeader6 = \"0.75rem\";\r\n/* Light font weight. */\r\nexport var fontWeightLight = 300;\r\n/* Normal or regular font weight. */\r\nexport var fontWeightNormal = 400;\r\n/* Bold font weight. */\r\nexport var fontWeightBold = 700;\r\n/* Minimum accessible line height value. */\r\nexport var lineHeightDefault = 1.5;\r\nexport var lineHeightParagraphLarge = \"1.375\";\r\nexport var lineHeightParagraphMedium = \"1.43\";\r\nexport var lineHeightHeader1 = \"1.17\";\r\nexport var lineHeightHeader2 = \"1.23\";\r\nexport var lineHeightHeader3 = \"1.33\";\r\nexport var lineHeightHeader4 = \"1.33\";\r\nexport var lineHeightParagraphSmall = \"1.5\";\r\nexport var lineHeightReset = \"1\";\r\nexport var lineHeightHeader2Small = \"1.25\";\r\n/* Screens smaller than 480px. */\r\nexport var mqXSmall = \"only screen and (min-width: 0px) and (max-width: 479px)\";\r\n/* Screens smaller than 768px. */\r\nexport var mqSmallDown = \"only screen and (min-width: 0px) and (max-width: 767px)\";\r\n/* Screens 480px or larger. */\r\nexport var mqSmall = \"only screen and (min-width: 480px)\";\r\n/* Screens smaller than 992px. */\r\nexport var mqMediumDown = \"only screen and (min-width: 0px) and (max-width: 991px)\";\r\n/* Screens 768px or larger. */\r\nexport var mqMedium = \"only screen and (min-width: 768px)\";\r\n/* Screens 992px or larger. */\r\nexport var mqLarge = \"only screen and (min-width: 992px)\";\r\n/* 20% of transparency of an element */\r\nexport var opacity2 = \"0.2\";\r\n/* 30% of transparency of an element */\r\nexport var opacity3 = \"0.3\";\r\n/* 40% of transparency of an element */\r\nexport var opacity4 = \"0.4\";\r\n/* 70% of transparency of an element */\r\nexport var opacity7 = \"0.7\";\r\n/* 80% of transparency of an element */\r\nexport var opacity8 = \"0.8\";\r\n/* Generic reset border radius for global use. */\r\nexport var borderRadiusReset = \"0\";\r\n/* Circle border radius for global use. */\r\nexport var borderRadiusCircle = \"50%\";\r\n/* Generic extra small border radius value. */\r\nexport var borderRadiusXSmall = \"0.125rem\";\r\n/* Generic small border radius value. */\r\nexport var borderRadiusSmall = \"0.25rem\";\r\n/* Generic medium border radius value. */\r\nexport var borderRadiusMedium = \"0.375rem\";\r\n/* Generic large border radius value. */\r\nexport var borderRadiusLarge = \"1rem\";\r\n/* Generic extra large border radius value. */\r\nexport var borderRadiusXLarge = \"6.25rem\";\r\nexport var boxShadowReset = \"none\";\r\n/* Focus state border, inset. */\r\nexport var boxShadowFocusInset = \"inset 0 0 0 0.125rem #51ABFF\";\r\n/* Focus state border, default outset. */\r\nexport var boxShadowFocus = \"0 0 0 0.125rem #51ABFF\";\r\n/* Error state border, outset. */\r\nexport var boxShadowError = \"0 0 0 0.063rem #D42828\";\r\nexport var sizingXLarge = \"2.5rem\";\r\n/* Height used to span the entire height of its children. */\r\nexport var heightFluid = \"100%\";\r\n/* Width used to span the entirety of its parent container. */\r\nexport var widthFluid = \"100%\";\r\nexport var sizingSmall = \"1rem\";\r\nexport var sizingXxSmall = \"0.25rem\";\r\n/* Height of small input fields. */\r\nexport var heightInputFieldsSmall = \"2.375rem\";\r\nexport var sizingXSmall = \"0.5rem\";\r\nexport var sizingMedium = \"1.5rem\";\r\nexport var sizingXxLarge1 = \"4rem\";\r\n/* Height of input fields. */\r\nexport var heightInputFields = \"3.375rem\";\r\nexport var sizingLarge = \"2rem\";\r\n/* Width of input fields that are not full width. */\r\nexport var widthInputFields = \"20.9375rem\";\r\nexport var sizingXxLarge = \"3rem\";\r\n/* Height of the HeaderBar component. */\r\nexport var heightHeaderBar = \"4rem\";\r\n/* */\r\nexport var spacing30 = \"0.5rem\";\r\n/* */\r\nexport var spacing20 = \"0.25rem\";\r\n/* */\r\nexport var spacing10 = \"0.125rem\";\r\n/* */\r\nexport var spacing90 = \"4.5rem\";\r\n/* */\r\nexport var spacing80 = \"3rem\";\r\n/* */\r\nexport var spacing70 = \"2.5rem\";\r\n/* Padding around TextField, DatePicker, and TimePicker component inputs. */\r\nexport var paddingTextField = \"1.375rem 1rem .625rem 1rem\";\r\n/* */\r\nexport var spacing60 = \"2rem\";\r\n/* */\r\nexport var spacing50 = \"1.5rem\";\r\n/* */\r\nexport var spacing40 = \"1rem\";\r\n/* */\r\nexport var spacingInsetShort20 = \"0.5rem 1rem\";\r\n/* */\r\nexport var spacingInsetTall60 = \"4.5rem 3rem\";\r\n/* */\r\nexport var spacingInsetShort10 = \"0.25rem 0.5rem\";\r\n/* */\r\nexport var spacingInsetTall50 = \"3rem 2rem\";\r\n/* */\r\nexport var spacingInsetTall40 = \"2.25rem 1.5rem\";\r\n/* */\r\nexport var spacingInsetTall30 = \"1.5rem 1rem\";\r\n/* */\r\nexport var spacingInsetTall20 = \"0.75rem 0.5rem\";\r\n/* */\r\nexport var spacingInsetTall10 = \"0.375rem 0.25rem\";\r\n/* */\r\nexport var spacingInset70 = \"4rem\";\r\n/* */\r\nexport var spacingInset60 = \"3rem\";\r\n/* */\r\nexport var spacingInset50 = \"2rem\";\r\n/* */\r\nexport var spacingInset40 = \"1.5rem\";\r\n/* */\r\nexport var spacingInset30 = \"1rem\";\r\n/* */\r\nexport var spacingInset20 = \"0.5rem\";\r\n/* */\r\nexport var spacingInset10 = \"0.25rem\";\r\n/* */\r\nexport var spacingInsetShort60 = \"2rem 3rem\";\r\n/* */\r\nexport var spacingInsetShort50 = \"1.25rem 2.5rem\";\r\n/* */\r\nexport var spacingInsetShort40 = \"1rem 2rem\";\r\n/* */\r\nexport var spacingInsetShort30 = \"0.75rem 1.5rem\";\r\n/* */\r\nexport var layout10 = \"1rem\";\r\n/* */\r\nexport var layout20 = \"1.5rem\";\r\n/* */\r\nexport var layout30 = \"2rem\";\r\n/* */\r\nexport var layout40 = \"3rem\";\r\n/* */\r\nexport var layout50 = \"4rem\";\r\n/* */\r\nexport var layout60 = \"6rem\";\r\n/* */\r\nexport var layout70 = \"7.5rem\";\r\nexport var colorTextSecondary = \"#5B5E65\";\r\nexport var colorTextDisabled = \"#5B5E65\";\r\n/* Text color for warning and draft notifications. */\r\nexport var colorTextAlertWarning = \"#8A6A00\";\r\nexport var colorTextPrimary = \"#151618\";\r\n/* Text color for default notifications. */\r\nexport var colorTextAlertDefault = \"#5B5E65\";\r\nexport var colorTextNeutral250 = \"#E9E9E9\";\r\n/* Text color for success notifications. */\r\nexport var colorTextAlertSuccess = \"#00804D\";\r\nexport var colorTextError = \"#D42828\";\r\nexport var colorTextNeutral100 = \"#FFFFFF\";\r\n/* Text color for hint, neutral and pending notifications. */\r\nexport var colorTextAlertNeutral = \"#2874BB\";\r\nexport var colorTextNeutral200 = \"#F8F8F8\";\r\n/* Text color for error and failure notifications. */\r\nexport var colorTextAlertError = \"#D42828\";\r\nexport var colorTextNeutral300 = \"#D9D9D9\";\r\nexport var colorTextNeutral400 = \"#B2B3B7\";\r\nexport var colorTextNeutral500 = \"#5B5E65\";\r\nexport var colorTextNeutral600 = \"#151618\";\r\nexport var zIndexDropdown = 1450;\r\nexport var zIndexMegaMenu = 1500;\r\nexport var zIndexDefault = 1;\r\nexport var zIndexDrawer = 1200;\r\nexport var zIndexAppBar = 1100;\r\nexport var zIndexTooltip = 1500;\r\nexport var zIndexInlineAlert = 1425;\r\nexport var zIndexActionMenu = 1450;\r\nexport var zIndexHeaderBar = 1500;\r\nexport var zIndexBackdrop = 1500;\r\nexport var zIndexSmall = 2;\r\nexport var zIndexDatePicker = 1050;\r\nexport var zIndexModal = 1500;\r\nexport var zIndexPageAlert = 1475;\r\nexport var zIndexMobileStepper = 1000;\r\nexport var zIndexSnackbar = 1600;\r\nexport var zIndexTextFieldLabel = 1;\r\nexport var zIndexHeaderBarDropdown = 1450;","import { withStyles as MuiWithStyles } from '@material-ui/core/styles';\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 2 for consuming teams to\r\n * override the EDS 2 base styles\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 2 }, options);\r\n return MuiWithStyles(styles, defaultOptions);\r\n};\r\n\r\nexport default withStyles;","import { useTheme } from '@material-ui/core/styles';\r\n\r\nexport default useTheme;","import useMediaQuery from '@material-ui/core/useMediaQuery';\r\n\r\nexport default useMediaQuery;","function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\r\n\r\nimport useTheme from '../useTheme';\r\nimport useMediaQuery from '../useMediaQuery';\r\n\r\n/**\r\n * Be careful using this hook. It only works because the number of\r\n * breakpoints in theme is static. It will break once you change the number of\r\n * breakpoints. See https://reactjs.org/docs/hooks-rules.html#only-call-hooks-at-the-top-level\r\n * https://material-ui.com/components/use-media-query/#migrating-from-withwidth\r\n */\r\n\r\n/**\r\n * This method returns the size of the viewport on which an app is running.\r\n * Return value would be one of 'xs', 'sm', 'md', 'lg', 'xl'.\r\n */\r\nvar useWidth = function useWidth() {\r\n var theme = useTheme();\r\n var keys = [].concat(_toConsumableArray(theme.breakpoints.keys)).reverse();\r\n\r\n return keys.reduce(function (output, key) {\r\n // eslint-disable-next-line react-hooks/rules-of-hooks\r\n var matches = useMediaQuery(theme.breakpoints.up(key));\r\n return !output && matches ? key : output;\r\n }, null) || 'xs';\r\n};\r\n\r\nexport default useWidth;","import withWidth, { isWidthUp, isWidthDown } from '@material-ui/core/withWidth';\r\n\r\nexport default withWidth;\r\nexport { isWidthUp, isWidthDown };","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.i18n = undefined;\r\n\r\nvar _ar_SA = require('./ar_SA/ar_SA.json');\r\n\r\nvar _ar_SA2 = _interopRequireDefault(_ar_SA);\r\n\r\nvar _es = require('./es/es.json');\r\n\r\nvar _es2 = _interopRequireDefault(_es);\r\n\r\nvar _en_GB = require('./en_GB/en_GB.json');\r\n\r\nvar _en_GB2 = _interopRequireDefault(_en_GB);\r\n\r\nvar _en_AU = require('./en_AU/en_AU.json');\r\n\r\nvar _en_AU2 = _interopRequireDefault(_en_AU);\r\n\r\nvar _en_US = require('./en_US/en_US.json');\r\n\r\nvar _en_US2 = _interopRequireDefault(_en_US);\r\n\r\nvar _fr = require('./fr/fr.json');\r\n\r\nvar _fr2 = _interopRequireDefault(_fr);\r\n\r\nvar _fr_CA = require('./fr_CA/fr_CA.json');\r\n\r\nvar _fr_CA2 = _interopRequireDefault(_fr_CA);\r\n\r\nvar _pt = require('./pt/pt.json');\r\n\r\nvar _pt2 = _interopRequireDefault(_pt);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nvar i18n = exports.i18n = {\r\n ar_SA: Object.assign({}, _ar_SA2.default),\r\n en_US: Object.assign({}, _en_US2.default),\r\n en_GB: Object.assign({}, _en_GB2.default),\r\n en_AU: Object.assign({}, _en_AU2.default),\r\n es: Object.assign({}, _es2.default),\r\n fr: Object.assign({}, _fr2.default),\r\n fr_CA: Object.assign({}, _fr_CA2.default),\r\n pt: Object.assign({}, _pt2.default)\r\n};","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _nanoid = require('nanoid');\r\n\r\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g; /* eslint-disable no-underscore-dangle */\r\n\r\n// note: this was taken, more or less verbatim, from MUI's generator script:\r\n// https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/styles/createGenerateClassName.js\r\n\r\nfunction safePrefix(classNamePrefix) {\r\n var prefix = String(classNamePrefix);\r\n if (prefix.length >= 256) {\r\n console.warn('Material-UI: the class name prefix is too long: ' + prefix + '.');\r\n }\r\n // Sanitize the string as will be used to prefix the generated class name.\r\n return prefix.replace(escapeRegex, '-');\r\n}\r\n\r\n// Returns a function which generates unique class names based on counters.\r\n// When new generator function is created, rule counter is reset.\r\n// We need to reset the rule counter for SSR for each request.\r\n//\r\n// It's inspired by\r\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\r\nvar classGenerator = function createGenerateClassName() {\r\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\r\n\r\n\r\n // the default length of nono-id ids is 21 characters, which guarantees uniqueness for\r\n // for 1 billion years, more or less; given our specific requirements (a transitory css id that\r\n // will only have to ensure that two sets of values need to be unique, 10 characters are enough;\r\n // they'll ensure that 17 years of uniqueness\r\n //\r\n // see this id collision caclulator for details - https://zelark.github.io/nano-id-cc/\r\n var _options$dangerouslyU = options.dangerouslyUseGlobalCSS,\r\n dangerouslyUseGlobalCSS = _options$dangerouslyU === undefined ? false : _options$dangerouslyU,\r\n _options$productionPr = options.productionPrefix,\r\n productionPrefix = _options$productionPr === undefined ? 'jss' : _options$productionPr,\r\n _options$seed = options.seed,\r\n seed = _options$seed === undefined ? (0, _nanoid.nanoid)(10) : _options$seed;\r\n\r\n var ruleCounter = 0;\r\n\r\n return function (rule, styleSheet) {\r\n\r\n // default name\r\n var name = rule.key + '-' + seed + ruleCounter;\r\n\r\n ruleCounter += 1;\r\n\r\n if (ruleCounter > 1e10) {\r\n console.warn(['Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));\r\n };\r\n\r\n // Code branch the whole block at the expense of more code.\r\n if (dangerouslyUseGlobalCSS) {\r\n\r\n if (styleSheet) {\r\n if (styleSheet.options.name) {\r\n name = styleSheet.options.name + '-' + rule.key;\r\n } else if (styleSheet.options.classNamePrefix && process.env.NODE_ENV !== 'production') {\r\n var prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n name = prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n }\r\n } else if (process.env.NODE_ENV === 'production') {\r\n name = '' + productionPrefix + seed + ruleCounter;\r\n } else if (styleSheet && styleSheet.options.classNamePrefix) {\r\n var _prefix = safePrefix(styleSheet.options.classNamePrefix);\r\n\r\n name = _prefix + '-' + rule.key + '-' + seed + ruleCounter;\r\n }\r\n\r\n return name;\r\n };\r\n};\r\n\r\nexports.default = classGenerator();","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _withStylesInternal = require('./withStylesInternal');\r\n\r\nObject.defineProperty(exports, 'default', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_withStylesInternal).default;\r\n }\r\n});\r\n\r\nvar _withStyles = require('./withStyles');\r\n\r\nObject.defineProperty(exports, 'withStyles', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_withStyles).default;\r\n }\r\n});\r\n\r\nvar _classNameGenerator = require('./classNameGenerator');\r\n\r\nObject.defineProperty(exports, 'classNameGenerator', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_classNameGenerator).default;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n/* CTA taupe base color */\r\nvar colorCtaTaupeBase = exports.colorCtaTaupeBase = \"#72665B\";\r\n/* CTA blue tint color */\r\nvar colorCtaBlueTint = exports.colorCtaBlueTint = \"#F2F8FC\";\r\n/* CTA iris active color */\r\nvar colorCtaIrisActive = exports.colorCtaIrisActive = \"#3A3B87\";\r\n/* CTA green hover color */\r\nvar colorCtaGreenHover = exports.colorCtaGreenHover = \"#046D44\";\r\n/* CTA plum active color */\r\nvar colorCtaPlumActive = exports.colorCtaPlumActive = \"#502F5E\";\r\n/* CTA green base color */\r\nvar colorCtaGreenBase = exports.colorCtaGreenBase = \"#00834F\";\r\n/* Brand Neutral 250 color */\r\nvar colorBrandNeutral250 = exports.colorBrandNeutral250 = \"#E9E9E9\";\r\n/* CTA taupe tint color */\r\nvar colorCtaTaupeTint = exports.colorCtaTaupeTint = \"#F8F7F7\";\r\n/* CTA taupe hover color */\r\nvar colorCtaTaupeHover = exports.colorCtaTaupeHover = \"#5F564E\";\r\n/* CTA blue active color */\r\nvar colorCtaBlueActive = exports.colorCtaBlueActive = \"#0A4982\";\r\n/* Brand Neutral 100 color */\r\nvar colorBrandNeutral100 = exports.colorBrandNeutral100 = \"#FFFFFF\";\r\n/* Brand Neutral 200 color */\r\nvar colorBrandNeutral200 = exports.colorBrandNeutral200 = \"#F8F8F8\";\r\n/* Brand CTA hover color */\r\nvar colorBrandCtaHover = exports.colorBrandCtaHover = \"#065AA5\";\r\n/* Brand Neutral 300 color */\r\nvar colorBrandNeutral300 = exports.colorBrandNeutral300 = \"#D9D9D9\";\r\n/* Brand secondary base color */\r\nvar colorBrandSecondary = exports.colorBrandSecondary = \"#51ABFF\";\r\n/* CTA iris base color */\r\nvar colorCtaIrisBase = exports.colorCtaIrisBase = \"#5353D1\";\r\n/* Brand Neutral 400 color */\r\nvar colorBrandNeutral400 = exports.colorBrandNeutral400 = \"#B2B3B7\";\r\n/* CTA green tint color */\r\nvar colorCtaGreenTint = exports.colorCtaGreenTint = \"#F2F9F6\";\r\n/* CTA plum base color */\r\nvar colorCtaPlumBase = exports.colorCtaPlumBase = \"#783F8C\";\r\n/* Brand Neutral 500 color */\r\nvar colorBrandNeutral500 = exports.colorBrandNeutral500 = \"#5B5E65\";\r\n/* Brand CTA active color */\r\nvar colorBrandCtaActive = exports.colorBrandCtaActive = \"#0A4982\";\r\n/* Brand Neutral 600 color */\r\nvar colorBrandNeutral600 = exports.colorBrandNeutral600 = \"#151618\";\r\n/* CTA blue hover color */\r\nvar colorCtaBlueHover = exports.colorCtaBlueHover = \"#065AA5\";\r\n/* CTA taupe active color */\r\nvar colorCtaTaupeActive = exports.colorCtaTaupeActive = \"#4D4640\";\r\n/* CTA blue base color */\r\nvar colorCtaBlueBase = exports.colorCtaBlueBase = \"#026BC8\";\r\n/* CTA iris tint color */\r\nvar colorCtaIrisTint = exports.colorCtaIrisTint = \"#F6F6FD\";\r\n/* CTA plum hover color */\r\nvar colorCtaPlumHover = exports.colorCtaPlumHover = \"#643775\";\r\n/* CTA plum tint color */\r\nvar colorCtaPlumTint = exports.colorCtaPlumTint = \"#F8F5F9\";\r\n/* CTA green active color */\r\nvar colorCtaGreenActive = exports.colorCtaGreenActive = \"#085739\";\r\n/* CTA iris hover color */\r\nvar colorCtaIrisHover = exports.colorCtaIrisHover = \"#4747AC\";\r\n/* Brand CTA base color */\r\nvar colorBrandCtaBase = exports.colorBrandCtaBase = \"#026BC8\";\r\n/* Brand primary base color */\r\nvar colorBrandPrimary = exports.colorBrandPrimary = \"#5353D1\";\r\nvar fountain400 = exports.fountain400 = \"#90C9FF\";\r\nvar iris300 = exports.iris300 = \"#B0B0EA\";\r\nvar fountain500 = exports.fountain500 = \"#70BAFF\";\r\nvar iris400 = exports.iris400 = \"#9191E2\";\r\nvar kiwi100 = exports.kiwi100 = \"#F4FAEF\";\r\nvar iris500 = exports.iris500 = \"#7272D9\";\r\nvar kiwi200 = exports.kiwi200 = \"#E1F2D3\";\r\nvar fountain600 = exports.fountain600 = \"#51ABFF\";\r\nvar kiwi300 = exports.kiwi300 = \"#CEEAB7\";\r\nvar colorBackgroundHeaderBarItemSelected = exports.colorBackgroundHeaderBarItemSelected = \"#21226E\";\r\nvar iris600 = exports.iris600 = \"#5353D1\";\r\nvar kiwi400 = exports.kiwi400 = \"#BBE29B\";\r\nvar tangerine100 = exports.tangerine100 = \"#FFF4EB\";\r\nvar kiwi500 = exports.kiwi500 = \"#A8D97E\";\r\nvar tangerine200 = exports.tangerine200 = \"#FFDFC8\";\r\n/* Fill color to be used behind white warning icon. */\r\nvar colorFillAlertWarning = exports.colorFillAlertWarning = \"#EFC728\";\r\nvar kiwi600 = exports.kiwi600 = \"#95D162\";\r\nvar tangerine300 = exports.tangerine300 = \"#FFCAA4\";\r\nvar tangerine400 = exports.tangerine400 = \"#FFB581\";\r\n/* Global divider color. */\r\nvar colorBackgroundDivider = exports.colorBackgroundDivider = \"#B2B3B7\";\r\nvar tangerine500 = exports.tangerine500 = \"#FFA15D\";\r\nvar tangerine600 = exports.tangerine600 = \"#FF8C3A\";\r\nvar colorFillLogoAlternativeText = exports.colorFillLogoAlternativeText = \"#454647\";\r\n/* Fill color to be used behind white success icon. */\r\nvar colorFillAlertSuccess = exports.colorFillAlertSuccess = \"#00AF69\";\r\nvar meadow100 = exports.meadow100 = \"#E8F9F5\";\r\nvar saffron100 = exports.saffron100 = \"#FDF9EA\";\r\nvar saffron200 = exports.saffron200 = \"#FBEFC3\";\r\nvar meadow200 = exports.meadow200 = \"#BFEDE2\";\r\n/* Default background color that should be applied to all pages other than login and dashboard pages. */\r\nvar colorBackgroundDefault = exports.colorBackgroundDefault = \"#F8F8F8\";\r\nvar colorFillLogoPreferred = exports.colorFillLogoPreferred = \"#FFFFFF\";\r\nvar saffron300 = exports.saffron300 = \"#F8E59C\";\r\nvar meadow300 = exports.meadow300 = \"#96E2CF\";\r\n/* Background color for warning alerts and notifications. */\r\nvar colorBackgroundAlertWarning = exports.colorBackgroundAlertWarning = \"#F5F2E7\";\r\nvar saffron400 = exports.saffron400 = \"#F5DB75\";\r\n/* Fill color to be used behind white neutral/information icon. */\r\nvar colorFillAlertNeutral = exports.colorFillAlertNeutral = \"#51ABFF\";\r\nvar meadow400 = exports.meadow400 = \"#6CD6BC\";\r\n/* Fill color to be used behind white error icon. */\r\nvar colorFillAlertError = exports.colorFillAlertError = \"#D42828\";\r\nvar saffron500 = exports.saffron500 = \"#F2D14F\";\r\nvar meadow500 = exports.meadow500 = \"#43CBA9\";\r\nvar saffron600 = exports.saffron600 = \"#EFC728\";\r\nvar meadow600 = exports.meadow600 = \"#1ABF96\";\r\nvar colorBackgroundHeaderBarItemHover = exports.colorBackgroundHeaderBarItemHover = \"#2E2E93\";\r\nvar purple100 = exports.purple100 = \"#F8EEF6\";\r\nvar purple200 = exports.purple200 = \"#ECCCE6\";\r\n/* Background color for default alerts and notifications. */\r\nvar colorBackgroundAlertDefault = exports.colorBackgroundAlertDefault = \"#F8F8F8\";\r\nvar purple300 = exports.purple300 = \"#DFAAD6\";\r\n/* Background color for success alerts and notifications. */\r\nvar colorBackgroundAlertSuccess = exports.colorBackgroundAlertSuccess = \"#EAF7F2\";\r\nvar purple400 = exports.purple400 = \"#D389C6\";\r\nvar purple500 = exports.purple500 = \"#C667B6\";\r\nvar purple600 = exports.purple600 = \"#BA46A6\";\r\nvar colorFillLogoAlternativePowerButton = exports.colorFillLogoAlternativePowerButton = \"#5353D1\";\r\n/* Background color for neutral alerts and notifications. */\r\nvar colorBackgroundAlertNeutral = exports.colorBackgroundAlertNeutral = \"#EFF7FF\";\r\nvar fountain100 = exports.fountain100 = \"#EFF7FF\";\r\n/* Background color for error alerts and notifications. */\r\nvar colorBackgroundAlertError = exports.colorBackgroundAlertError = \"#FFEEED\";\r\nvar fountain200 = exports.fountain200 = \"#CEE7FF\";\r\nvar iris100 = exports.iris100 = \"#EEEEFA\";\r\nvar fountain300 = exports.fountain300 = \"#AFD8FF\";\r\nvar iris200 = exports.iris200 = \"#CFCFF2\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThin = exports.borderWidthThin = \"0.063rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThick = exports.borderWidthThick = \"0.125rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThicker = exports.borderWidthThicker = \"0.1875rem\";\r\n/* Border width tokens should only be used within the border property. */\r\nvar borderWidthThickest = exports.borderWidthThickest = \"0.25rem\";\r\n/* Global focus color for better accessibility. */\r\nvar colorBorderGlobalFocus = exports.colorBorderGlobalFocus = \"#51ABFF\";\r\n/* Global error state border color. */\r\nvar colorGlobalBorderError = exports.colorGlobalBorderError = \"#D42828\";\r\n/* Global default state border color. */\r\nvar colorGlobalBorderDefault = exports.colorGlobalBorderDefault = \"#B2B3B7\";\r\n/* Global disabled state border color. */\r\nvar colorGlobalBorderDisabled = exports.colorGlobalBorderDisabled = \"#B2B3B7\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertSuccess = exports.colorBorderAlertSuccess = \"#00AF69\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertWarning = exports.colorBorderAlertWarning = \"#EFC728\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertNeutral = exports.colorBorderAlertNeutral = \"#51ABFF\";\r\n/* Border color for success alerts and notifications. */\r\nvar colorBorderAlertError = exports.colorBorderAlertError = \"#D42828\";\r\n/* 0 second */\r\nvar durationNone = exports.durationNone = \"0s\";\r\n/* .1 second */\r\nvar durationFast = exports.durationFast = \".1s\";\r\n/* .15 seconds */\r\nvar durationFastAlt = exports.durationFastAlt = \".15s\";\r\n/* .3 seconds */\r\nvar durationMedium = exports.durationMedium = \".3s\";\r\n/* .5 seconds */\r\nvar durationSlow = exports.durationSlow = \".5s\";\r\nvar fontFamilyDefault = exports.fontFamilyDefault = \"'Noto Sans', Helvetica, Arial, sans-serif\";\r\nvar fontFamilyHeader = exports.fontFamilyHeader = \"'Roboto', Helvetica, Arial, sans-serif\";\r\nvar fontFamilyCondensed = exports.fontFamilyCondensed = \"'Roboto Condensed', 'Impact', 'Franklin Gothic Bold', sans-serif\";\r\nvar fontFamilyMonospace = exports.fontFamilyMonospace = \"'Courier New', Courier, monospace\";\r\n/* Large body text. */\r\nvar fontSizeLarge = exports.fontSizeLarge = \"1rem\";\r\n/* h5 small font size. */\r\nvar fontSizeHeader5Small = exports.fontSizeHeader5Small = \"0.75rem\";\r\n/* h4 small font size. */\r\nvar fontSizeHeader4Small = exports.fontSizeHeader4Small = \"0.875rem\";\r\n/* h3 small font size. */\r\nvar fontSizeHeader3Small = exports.fontSizeHeader3Small = \"1rem\";\r\n/* Default body text. */\r\nvar fontSizeDefault = exports.fontSizeDefault = \"0.875rem\";\r\n/* h2 small font size. */\r\nvar fontSizeHeader2Small = exports.fontSizeHeader2Small = \"1.375rem\";\r\n/* h1 small font size. */\r\nvar fontSizeHeader1Small = exports.fontSizeHeader1Small = \"1.75rem\";\r\n/* h1 font size. */\r\nvar fontSizeHeader1 = exports.fontSizeHeader1 = \"2rem\";\r\n/* h2 font size. */\r\nvar fontSizeHeader2 = exports.fontSizeHeader2 = \"1.5rem\";\r\n/* h3 font size. */\r\nvar fontSizeHeader3 = exports.fontSizeHeader3 = \"1.125rem\";\r\n/* h4 font size. */\r\nvar fontSizeHeader4 = exports.fontSizeHeader4 = \"1rem\";\r\n/* Small body text. */\r\nvar fontSizeSmall = exports.fontSizeSmall = \"0.75rem\";\r\n/* h5 font size. */\r\nvar fontSizeHeader5 = exports.fontSizeHeader5 = \"0.875rem\";\r\n/* h6 font size. */\r\nvar fontSizeHeader6 = exports.fontSizeHeader6 = \"0.75rem\";\r\n/* Light font weight. */\r\nvar fontWeightLight = exports.fontWeightLight = 300;\r\n/* Normal or regular font weight. */\r\nvar fontWeightNormal = exports.fontWeightNormal = 400;\r\n/* Bold font weight. */\r\nvar fontWeightBold = exports.fontWeightBold = 700;\r\n/* Minimum accessible line height value. */\r\nvar lineHeightDefault = exports.lineHeightDefault = 1.5;\r\nvar lineHeightParagraphLarge = exports.lineHeightParagraphLarge = \"1.375\";\r\nvar lineHeightParagraphMedium = exports.lineHeightParagraphMedium = \"1.43\";\r\nvar lineHeightHeader1 = exports.lineHeightHeader1 = \"1.17\";\r\nvar lineHeightHeader2 = exports.lineHeightHeader2 = \"1.23\";\r\nvar lineHeightHeader3 = exports.lineHeightHeader3 = \"1.33\";\r\nvar lineHeightHeader4 = exports.lineHeightHeader4 = \"1.33\";\r\nvar lineHeightParagraphSmall = exports.lineHeightParagraphSmall = \"1.5\";\r\nvar lineHeightReset = exports.lineHeightReset = \"1\";\r\nvar lineHeightHeader2Small = exports.lineHeightHeader2Small = \"1.25\";\r\n/* Screens smaller than 480px. */\r\nvar mqXSmall = exports.mqXSmall = \"only screen and (min-width: 0px) and (max-width: 479px)\";\r\n/* Screens smaller than 768px. */\r\nvar mqSmallDown = exports.mqSmallDown = \"only screen and (min-width: 0px) and (max-width: 767px)\";\r\n/* Screens 480px or larger. */\r\nvar mqSmall = exports.mqSmall = \"only screen and (min-width: 480px)\";\r\n/* Screens smaller than 992px. */\r\nvar mqMediumDown = exports.mqMediumDown = \"only screen and (min-width: 0px) and (max-width: 991px)\";\r\n/* Screens 768px or larger. */\r\nvar mqMedium = exports.mqMedium = \"only screen and (min-width: 768px)\";\r\n/* Screens 992px or larger. */\r\nvar mqLarge = exports.mqLarge = \"only screen and (min-width: 992px)\";\r\n/* 20% of transparency of an element */\r\nvar opacity2 = exports.opacity2 = \"0.2\";\r\n/* 30% of transparency of an element */\r\nvar opacity3 = exports.opacity3 = \"0.3\";\r\n/* 40% of transparency of an element */\r\nvar opacity4 = exports.opacity4 = \"0.4\";\r\n/* 70% of transparency of an element */\r\nvar opacity7 = exports.opacity7 = \"0.7\";\r\n/* 80% of transparency of an element */\r\nvar opacity8 = exports.opacity8 = \"0.8\";\r\n/* Generic reset border radius for global use. */\r\nvar borderRadiusReset = exports.borderRadiusReset = \"0\";\r\n/* Circle border radius for global use. */\r\nvar borderRadiusCircle = exports.borderRadiusCircle = \"50%\";\r\n/* Generic extra small border radius value. */\r\nvar borderRadiusXSmall = exports.borderRadiusXSmall = \"0.125rem\";\r\n/* Generic small border radius value. */\r\nvar borderRadiusSmall = exports.borderRadiusSmall = \"0.25rem\";\r\n/* Generic medium border radius value. */\r\nvar borderRadiusMedium = exports.borderRadiusMedium = \"0.375rem\";\r\n/* Generic large border radius value. */\r\nvar borderRadiusLarge = exports.borderRadiusLarge = \"1rem\";\r\n/* Generic extra large border radius value. */\r\nvar borderRadiusXLarge = exports.borderRadiusXLarge = \"6.25rem\";\r\nvar boxShadowReset = exports.boxShadowReset = \"none\";\r\n/* Focus state border, inset. */\r\nvar boxShadowFocusInset = exports.boxShadowFocusInset = \"inset 0 0 0 0.125rem #51ABFF\";\r\n/* Focus state border, default outset. */\r\nvar boxShadowFocus = exports.boxShadowFocus = \"0 0 0 0.125rem #51ABFF\";\r\n/* Error state border, outset. */\r\nvar boxShadowError = exports.boxShadowError = \"0 0 0 0.063rem #D42828\";\r\nvar sizingXLarge = exports.sizingXLarge = \"2.5rem\";\r\n/* Height used to span the entire height of its children. */\r\nvar heightFluid = exports.heightFluid = \"100%\";\r\n/* Width used to span the entirety of its parent container. */\r\nvar widthFluid = exports.widthFluid = \"100%\";\r\nvar sizingSmall = exports.sizingSmall = \"1rem\";\r\nvar sizingXxSmall = exports.sizingXxSmall = \"0.25rem\";\r\n/* Height of small input fields. */\r\nvar heightInputFieldsSmall = exports.heightInputFieldsSmall = \"2.375rem\";\r\nvar sizingXSmall = exports.sizingXSmall = \"0.5rem\";\r\nvar sizingMedium = exports.sizingMedium = \"1.5rem\";\r\nvar sizingXxLarge1 = exports.sizingXxLarge1 = \"4rem\";\r\n/* Height of input fields. */\r\nvar heightInputFields = exports.heightInputFields = \"3.375rem\";\r\nvar sizingLarge = exports.sizingLarge = \"2rem\";\r\n/* Width of input fields that are not full width. */\r\nvar widthInputFields = exports.widthInputFields = \"20.9375rem\";\r\nvar sizingXxLarge = exports.sizingXxLarge = \"3rem\";\r\n/* Height of the HeaderBar component. */\r\nvar heightHeaderBar = exports.heightHeaderBar = \"4rem\";\r\n/* */\r\nvar spacing30 = exports.spacing30 = \"0.5rem\";\r\n/* */\r\nvar spacing20 = exports.spacing20 = \"0.25rem\";\r\n/* */\r\nvar spacing10 = exports.spacing10 = \"0.125rem\";\r\n/* */\r\nvar spacing90 = exports.spacing90 = \"4.5rem\";\r\n/* */\r\nvar spacing80 = exports.spacing80 = \"3rem\";\r\n/* */\r\nvar spacing70 = exports.spacing70 = \"2.5rem\";\r\n/* Padding around TextField, DatePicker, and TimePicker component inputs. */\r\nvar paddingTextField = exports.paddingTextField = \"1.375rem 1rem .625rem 1rem\";\r\n/* */\r\nvar spacing60 = exports.spacing60 = \"2rem\";\r\n/* */\r\nvar spacing50 = exports.spacing50 = \"1.5rem\";\r\n/* */\r\nvar spacing40 = exports.spacing40 = \"1rem\";\r\n/* */\r\nvar spacingInsetShort20 = exports.spacingInsetShort20 = \"0.5rem 1rem\";\r\n/* */\r\nvar spacingInsetTall60 = exports.spacingInsetTall60 = \"4.5rem 3rem\";\r\n/* */\r\nvar spacingInsetShort10 = exports.spacingInsetShort10 = \"0.25rem 0.5rem\";\r\n/* */\r\nvar spacingInsetTall50 = exports.spacingInsetTall50 = \"3rem 2rem\";\r\n/* */\r\nvar spacingInsetTall40 = exports.spacingInsetTall40 = \"2.25rem 1.5rem\";\r\n/* */\r\nvar spacingInsetTall30 = exports.spacingInsetTall30 = \"1.5rem 1rem\";\r\n/* */\r\nvar spacingInsetTall20 = exports.spacingInsetTall20 = \"0.75rem 0.5rem\";\r\n/* */\r\nvar spacingInsetTall10 = exports.spacingInsetTall10 = \"0.375rem 0.25rem\";\r\n/* */\r\nvar spacingInset70 = exports.spacingInset70 = \"4rem\";\r\n/* */\r\nvar spacingInset60 = exports.spacingInset60 = \"3rem\";\r\n/* */\r\nvar spacingInset50 = exports.spacingInset50 = \"2rem\";\r\n/* */\r\nvar spacingInset40 = exports.spacingInset40 = \"1.5rem\";\r\n/* */\r\nvar spacingInset30 = exports.spacingInset30 = \"1rem\";\r\n/* */\r\nvar spacingInset20 = exports.spacingInset20 = \"0.5rem\";\r\n/* */\r\nvar spacingInset10 = exports.spacingInset10 = \"0.25rem\";\r\n/* */\r\nvar spacingInsetShort60 = exports.spacingInsetShort60 = \"2rem 3rem\";\r\n/* */\r\nvar spacingInsetShort50 = exports.spacingInsetShort50 = \"1.25rem 2.5rem\";\r\n/* */\r\nvar spacingInsetShort40 = exports.spacingInsetShort40 = \"1rem 2rem\";\r\n/* */\r\nvar spacingInsetShort30 = exports.spacingInsetShort30 = \"0.75rem 1.5rem\";\r\n/* */\r\nvar layout10 = exports.layout10 = \"1rem\";\r\n/* */\r\nvar layout20 = exports.layout20 = \"1.5rem\";\r\n/* */\r\nvar layout30 = exports.layout30 = \"2rem\";\r\n/* */\r\nvar layout40 = exports.layout40 = \"3rem\";\r\n/* */\r\nvar layout50 = exports.layout50 = \"4rem\";\r\n/* */\r\nvar layout60 = exports.layout60 = \"6rem\";\r\n/* */\r\nvar layout70 = exports.layout70 = \"7.5rem\";\r\nvar colorTextSecondary = exports.colorTextSecondary = \"#5B5E65\";\r\nvar colorTextDisabled = exports.colorTextDisabled = \"#5B5E65\";\r\n/* Text color for warning and draft notifications. */\r\nvar colorTextAlertWarning = exports.colorTextAlertWarning = \"#8A6A00\";\r\nvar colorTextPrimary = exports.colorTextPrimary = \"#151618\";\r\n/* Text color for default notifications. */\r\nvar colorTextAlertDefault = exports.colorTextAlertDefault = \"#5B5E65\";\r\nvar colorTextNeutral250 = exports.colorTextNeutral250 = \"#E9E9E9\";\r\n/* Text color for success notifications. */\r\nvar colorTextAlertSuccess = exports.colorTextAlertSuccess = \"#00804D\";\r\nvar colorTextError = exports.colorTextError = \"#D42828\";\r\nvar colorTextNeutral100 = exports.colorTextNeutral100 = \"#FFFFFF\";\r\n/* Text color for hint, neutral and pending notifications. */\r\nvar colorTextAlertNeutral = exports.colorTextAlertNeutral = \"#2874BB\";\r\nvar colorTextNeutral200 = exports.colorTextNeutral200 = \"#F8F8F8\";\r\n/* Text color for error and failure notifications. */\r\nvar colorTextAlertError = exports.colorTextAlertError = \"#D42828\";\r\nvar colorTextNeutral300 = exports.colorTextNeutral300 = \"#D9D9D9\";\r\nvar colorTextNeutral400 = exports.colorTextNeutral400 = \"#B2B3B7\";\r\nvar colorTextNeutral500 = exports.colorTextNeutral500 = \"#5B5E65\";\r\nvar colorTextNeutral600 = exports.colorTextNeutral600 = \"#151618\";\r\nvar zIndexDropdown = exports.zIndexDropdown = 1450;\r\nvar zIndexMegaMenu = exports.zIndexMegaMenu = 1500;\r\nvar zIndexDefault = exports.zIndexDefault = 1;\r\nvar zIndexDrawer = exports.zIndexDrawer = 1200;\r\nvar zIndexAppBar = exports.zIndexAppBar = 1100;\r\nvar zIndexTooltip = exports.zIndexTooltip = 1500;\r\nvar zIndexInlineAlert = exports.zIndexInlineAlert = 1425;\r\nvar zIndexActionMenu = exports.zIndexActionMenu = 1450;\r\nvar zIndexHeaderBar = exports.zIndexHeaderBar = 1500;\r\nvar zIndexBackdrop = exports.zIndexBackdrop = 1500;\r\nvar zIndexSmall = exports.zIndexSmall = 2;\r\nvar zIndexDatePicker = exports.zIndexDatePicker = 1050;\r\nvar zIndexModal = exports.zIndexModal = 1500;\r\nvar zIndexPageAlert = exports.zIndexPageAlert = 1475;\r\nvar zIndexMobileStepper = exports.zIndexMobileStepper = 1000;\r\nvar zIndexSnackbar = exports.zIndexSnackbar = 1600;\r\nvar zIndexTextFieldLabel = exports.zIndexTextFieldLabel = 1;\r\nvar zIndexHeaderBarDropdown = exports.zIndexHeaderBarDropdown = 1450;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 2 for consuming teams to\r\n * override the EDS 2 base styles\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 2 }, options);\r\n return (0, _styles.withStyles)(styles, defaultOptions);\r\n};\r\n\r\nexports.default = withStyles;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\n/**\r\n * Wraps MUI withStyles and injects an index of 1 for internal team use to\r\n * override the MUI base styles.\r\n * @param {Object} styles Contains JSS classnames and styles\r\n * @param {Object} options Configuration options\r\n */\r\nvar withStyles = function withStyles(styles, options) {\r\n var defaultOptions = Object.assign({ index: 1 }, options);\r\n return (0, _styles.withStyles)(styles, defaultOptions);\r\n};\r\n\r\nexports.default = withStyles;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _tokens = require('@ellucian/react-design-system/core/styles/tokens');\r\n\r\nvar palette = {\r\n // Iris\r\n primary: {\r\n main: _tokens.colorBrandPrimary,\r\n contrastText: _tokens.colorTextNeutral100\r\n },\r\n // Fountain\r\n secondary: {\r\n main: _tokens.colorBrandSecondary,\r\n contrastText: _tokens.colorTextNeutral100\r\n },\r\n // CTA Blue\r\n ctaColor: {\r\n base: _tokens.colorCtaBlueBase,\r\n hover: _tokens.colorCtaBlueHover,\r\n active: _tokens.colorCtaBlueActive,\r\n tint: _tokens.colorCtaBlueTint\r\n },\r\n // Disabled\r\n disabled: {\r\n background: _tokens.colorBrandNeutral400\r\n },\r\n // Global Focus\r\n focus: _tokens.colorBorderGlobalFocus,\r\n // Status: Error, Warning, Pending, Success\r\n status: {\r\n default: {\r\n text: _tokens.colorTextAlertDefault,\r\n background: _tokens.colorBackgroundAlertDefault\r\n },\r\n error: {\r\n text: _tokens.colorTextAlertError,\r\n background: _tokens.colorBackgroundAlertError,\r\n fill: _tokens.colorFillAlertError\r\n },\r\n success: {\r\n text: _tokens.colorTextAlertSuccess,\r\n background: _tokens.colorBackgroundAlertSuccess,\r\n fill: _tokens.colorFillAlertSuccess\r\n },\r\n neutral: {\r\n text: _tokens.colorTextAlertNeutral,\r\n background: _tokens.colorBackgroundAlertNeutral,\r\n fill: _tokens.colorFillAlertNeutral\r\n },\r\n warning: {\r\n text: _tokens.colorTextAlertWarning,\r\n background: _tokens.colorBackgroundAlertWarning,\r\n fill: _tokens.colorFillAlertWarning\r\n }\r\n },\r\n common: {\r\n black: _tokens.colorBrandNeutral600,\r\n white: _tokens.colorBrandNeutral100\r\n },\r\n text: {\r\n primary: _tokens.colorTextPrimary,\r\n secondary: _tokens.colorTextSecondary,\r\n disabled: _tokens.colorTextDisabled,\r\n white: _tokens.colorTextNeutral100\r\n },\r\n background: {\r\n default: _tokens.colorBackgroundDefault\r\n },\r\n tertiary: {\r\n purple: {\r\n 100: '#F8EEF6',\r\n 200: '#ECCCE6',\r\n 300: '#DFAAD6',\r\n 400: '#D389C6',\r\n 500: '#C667B6',\r\n 600: '#BA46A6'\r\n },\r\n iris: {\r\n 100: '#EEEEFA',\r\n 200: '#CFCFF2',\r\n 300: '#B0B0EA',\r\n 400: '#9191E2',\r\n 500: '#7272D9',\r\n 600: '#5353D1'\r\n },\r\n fountain: {\r\n 100: '#EFF7FF',\r\n 200: '#CEE7FF',\r\n 300: '#AFD8FF',\r\n 400: '#90C9FF',\r\n 500: '#70BAFF',\r\n 600: '#51ABFF'\r\n },\r\n meadow: {\r\n 100: '#E8F9F5',\r\n 200: '#BFEDE2',\r\n 300: '#96E2CF',\r\n 400: '#6CD6BC',\r\n 500: '#43CBA9',\r\n 600: '#1ABF96'\r\n },\r\n kiwi: {\r\n 100: '#F4FAEF',\r\n 200: '#E1F2D3',\r\n 300: '#CEEAB7',\r\n 400: '#BBE29B',\r\n 500: '#A8D97E',\r\n 600: '#95D162'\r\n },\r\n saffron: {\r\n 100: '#FDF9EA',\r\n 200: '#FBEFC3',\r\n 300: '#F8E59C',\r\n 400: '#F5DB75',\r\n 500: '#F2D14F',\r\n 600: '#EFC728'\r\n },\r\n tangerine: {\r\n 100: '#FFF4EB',\r\n 200: '#FFDFC8',\r\n 300: '#FFCAA4',\r\n 400: '#FFB581',\r\n 500: '#FFA15D',\r\n 600: '#FF8C3A'\r\n }\r\n }\r\n}; // Ellucian's Default theme\r\nexports.default = palette;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\nvar _lightTheme = require('./light/light-theme.js');\r\n\r\nvar _lightTheme2 = _interopRequireDefault(_lightTheme);\r\n\r\nvar _darkTheme = require('./dark/dark-theme.js');\r\n\r\nvar _darkTheme2 = _interopRequireDefault(_darkTheme);\r\n\r\nvar _cloneDeep = require('lodash/cloneDeep');\r\n\r\nvar _cloneDeep2 = _interopRequireDefault(_cloneDeep);\r\n\r\nvar _merge = require('lodash/merge');\r\n\r\nvar _merge2 = _interopRequireDefault(_merge);\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\n/**\r\n * Creates an Ethos theme, based on one of our standard themes.\r\n *\r\n * @example Create a theme that overrides the large breakpoint value\r\n *\r\n * createEDSTheme('light', {\r\n * breakpoints: {\r\n * values: {\r\n * lg: '1500',\r\n * }\r\n * }\r\n * })\r\n *\r\n * @since v0.0.13\r\n *\r\n * @param {theme} baseTheme The theme to use as the basis of new new theme. Valid values: 'light', 'dark'.\r\n * @param {object} [overrides] Overrides to the base theme\r\n * @return {object} The Ethos theme\r\n */\r\nfunction createEDSTheme(baseTheme, overrides) {\r\n\r\n var theme = (0, _cloneDeep2.default)(_lightTheme2.default);\r\n var themeOptions = (0, _cloneDeep2.default)(_lightTheme.lightThemeOptions);\r\n\r\n // grab the baseline theme\r\n switch (baseTheme) {\r\n case 'light':\r\n break;\r\n case 'dark':\r\n theme = (0, _cloneDeep2.default)(_darkTheme2.default);\r\n themeOptions = (0, _cloneDeep2.default)(_darkTheme.darkThemeOptions);\r\n break;\r\n default:\r\n console.warn('createEDSTheme: Invalid base theme specified: ' + baseTheme + '. Defaulting to light theme.');\r\n break;\r\n\r\n }\r\n\r\n // apply any overrides\r\n if (overrides) {\r\n theme = (0, _styles.createMuiTheme)((0, _merge2.default)(themeOptions, overrides));\r\n }\r\n\r\n return theme;\r\n}\r\n\r\nexports.default = createEDSTheme;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.darkThemeOptions = exports.default = undefined;\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\n// This is a copy of lightTheme -- needs to be changed\r\nvar darkThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n palette: {\r\n primary: {\r\n light: '#8a80ff',\r\n main: '#5353d1',\r\n dark: '#012a9f',\r\n contrastText: '#ffffff'\r\n },\r\n secondary: {\r\n light: '#5b97fc',\r\n main: '#026ab8',\r\n dark: '#004097',\r\n contrastText: '#ffffff'\r\n }\r\n },\r\n typography: {\r\n fontFamily: \"'Noto Sans', Helvetica, Arial, sans-serif\"\r\n }\r\n};\r\n\r\nvar darkTheme = (0, _styles.createMuiTheme)(darkThemeOptions);\r\n\r\nexports.default = darkTheme;\r\nexports.darkThemeOptions = darkThemeOptions;","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\n\r\nvar _createEDSTheme = require('./createEDSTheme');\r\n\r\nObject.defineProperty(exports, 'createEDSTheme', {\r\n enumerable: true,\r\n get: function get() {\r\n return _interopRequireDefault(_createEDSTheme).default;\r\n }\r\n});\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","'use strict';\r\n\r\nObject.defineProperty(exports, \"__esModule\", {\r\n value: true\r\n});\r\nexports.lightThemeOptions = exports.default = undefined;\r\n\r\nvar _toolbar;\r\n\r\nvar _styles = require('@material-ui/core/styles');\r\n\r\nvar _createBreakpoints = require('@material-ui/core/styles/createBreakpoints');\r\n\r\nvar _createBreakpoints2 = _interopRequireDefault(_createBreakpoints);\r\n\r\nvar _palette = require('../common/palette');\r\n\r\nvar _palette2 = _interopRequireDefault(_palette);\r\n\r\nvar _tokens = require('@ellucian/react-design-system/core/styles/tokens');\r\n\r\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\r\n\r\nfunction _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; }\r\n\r\n// Breakpoints must be defined in ascending order of viewport size. These breakpoints are used to calculate the size of the viewport in useWidth() hook.\r\n// If values are \"NOT\" in ascending order then useWidth() hook will fail to return correct value.\r\nvar breakpoints = (0, _createBreakpoints2.default)({\r\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\r\n values: {\r\n xs: 0,\r\n sm: 480,\r\n md: 768,\r\n lg: 992,\r\n xl: 1920\r\n }\r\n});\r\n\r\nvar lightThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n breakpoints: breakpoints,\r\n mixins: {\r\n toolbar: (_toolbar = {\r\n minHeight: _tokens.sizingXxLarge1\r\n }, _defineProperty(_toolbar, breakpoints.up('xs') + ' and (orientation: landscape)', {\r\n minHeight: _tokens.sizingXxLarge1\r\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\r\n minHeight: _tokens.sizingXxLarge1\r\n }), _toolbar)\r\n },\r\n overrides: {\r\n MuiFormLabel: {\r\n root: {\r\n color: _tokens.colorBrandNeutral500,\r\n '&$disabled:hover': {\r\n cursor: 'not-allowed'\r\n },\r\n '&$error': {\r\n color: _tokens.colorBrandNeutral500\r\n },\r\n '&$focused': {\r\n color: _tokens.colorBrandNeutral500\r\n }\r\n },\r\n asterisk: {\r\n '&$error': {\r\n color: _tokens.colorBrandNeutral500\r\n }\r\n }\r\n },\r\n MuiInput: {\r\n formControl: {\r\n 'label + &': {\r\n marginTop: 0,\r\n width: '100%'\r\n }\r\n }\r\n },\r\n // Hover and selected states are same across\r\n MuiMenuItem: {\r\n root: {\r\n '&:hover': {\r\n color: _tokens.colorBrandNeutral100\r\n },\r\n '&$selected': {\r\n color: _tokens.colorBrandNeutral100\r\n }\r\n }\r\n }\r\n },\r\n palette: Object.assign({\r\n action: {\r\n active: _tokens.colorBrandCtaActive, // cta blue 800\r\n hover: _tokens.colorBrandCtaHover, // cta blue 700\r\n base: _tokens.colorBrandCtaBase, // cta blue 600\r\n disabled: _tokens.colorBrandNeutral400\r\n },\r\n grey: {\r\n 100: _tokens.colorBrandNeutral100,\r\n 200: _tokens.colorBrandNeutral200,\r\n 250: _tokens.colorBrandNeutral250,\r\n 300: _tokens.colorBrandNeutral300,\r\n 400: _tokens.colorBrandNeutral400,\r\n 500: _tokens.colorBrandNeutral500,\r\n 600: _tokens.colorBrandNeutral600\r\n }\r\n }, _palette2.default),\r\n\r\n spacing: 4,\r\n\r\n typography: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: 14, // fontSizeDefault, MUI converts to rem for us\r\n fontWeightLight: _tokens.fontWeightLight,\r\n fontWeightRegular: _tokens.fontWeightNormal,\r\n fontWeightBold: _tokens.fontWeightBold,\r\n\r\n h1: _defineProperty({\r\n fontFamily: _tokens.fontFamilyHeader,\r\n fontSize: _tokens.fontSizeHeader1,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader1Small\r\n }),\r\n h2: _defineProperty({\r\n fontFamily: _tokens.fontFamilyHeader,\r\n fontSize: _tokens.fontSizeHeader2,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader2Small\r\n }),\r\n h3: _defineProperty({\r\n fontFamily: _tokens.fontFamilyHeader,\r\n fontSize: _tokens.fontSizeHeader3,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n letterSpacing: '0.03125rem',\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader3Small\r\n }),\r\n h4: _defineProperty({\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader4,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader4Small\r\n }),\r\n h5: _defineProperty({\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontWeight: _tokens.fontWeightBold,\r\n fontSize: _tokens.fontSizeHeader5,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: _tokens.fontSizeHeader5Small\r\n }),\r\n h6: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader6,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle1: { // set to h5 styles in case anyone uses this\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader5,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle2: { // set to h6 styles in case anyone uses this\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeHeader6,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body1: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeLarge,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body2: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeDefault,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body3: {\r\n fontFamily: _tokens.fontFamilyDefault,\r\n fontSize: _tokens.fontSizeSmall,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: 'initial',\r\n textTransform: 'initial'\r\n },\r\n button: {\r\n fontFamily: _tokens.fontFamilyCondensed,\r\n fontSize: _tokens.fontSizeLarge,\r\n fontWeight: _tokens.fontWeightBold,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n caption: {\r\n fontFamily: _tokens.fontFamilyCondensed,\r\n fontSize: _tokens.fontSizeDefault,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n overline: { // set to caption styles in case anyone uses this\r\n fontFamily: _tokens.fontFamilyCondensed,\r\n fontSize: _tokens.fontSizeDefault,\r\n fontWeight: _tokens.fontWeightNormal,\r\n lineHeight: _tokens.lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n }\r\n },\r\n zIndex: {\r\n textFieldLabel: _tokens.zIndexTextFieldLabel,\r\n dropdown: _tokens.zIndexDropdown,\r\n headerBarDropdown: _tokens.zIndexHeaderBarDropdown,\r\n actionMenu: _tokens.zIndexActionMenu,\r\n megaMenu: _tokens.zIndexMegaMenu,\r\n inlineAlert: _tokens.zIndexInlineAlert,\r\n pageAlert: _tokens.zIndexPageAlert,\r\n headerBar: _tokens.zIndexHeaderBar,\r\n modal: _tokens.zIndexModal,\r\n drawer: _tokens.zIndexDrawer,\r\n backdrop: _tokens.zIndexBackdrop\r\n }\r\n};\r\n\r\nvar lightTheme = (0, _styles.createMuiTheme)(lightThemeOptions);\r\n\r\nexports.default = lightTheme;\r\nexports.lightThemeOptions = lightThemeOptions;","/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","import { Dispatcher } from 'Flux';\r\nclass AppDispatcher extends Dispatcher {\r\n constructor() {\r\n super();\r\n }\r\n dispatch(obj) {\r\n super.dispatch(obj);\r\n }\r\n dispatchAsync(promise, types, payload) {\r\n const { request, success, failure } = types;\r\n super.dispatch({ type: request, payload: Object.assign({}, payload) });\r\n promise.then((response) => super.dispatch({\r\n payload: Object.assign({}, payload, { response }),\r\n type: success\r\n }), (error) => super.dispatch({\r\n payload: Object.assign({}, payload, { error }),\r\n type: failure\r\n }));\r\n }\r\n register(callback) {\r\n return super.register(callback);\r\n }\r\n}\r\nexport default new AppDispatcher();\r\n","import AppDispatcher from '../AppDispatcher';\r\nimport { LayoutStatus } from '../../types/LayoutStatus';\r\nimport Requests from '../../requests/LayoutRequests';\r\nconst LayoutActions = {\r\n getCountCart() {\r\n AppDispatcher.dispatchAsync(Requests.getCountCart(), {\r\n failure: LayoutStatus.ErrorGetCountCart,\r\n request: LayoutStatus.FetchGetCountCart,\r\n success: LayoutStatus.SuccessGetCountCart\r\n }, {});\r\n },\r\n hidePageLoader() {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessHidePageLoader });\r\n },\r\n resetTimeout() {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessResetTimeout, payload: null });\r\n },\r\n setAlert(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetAlert, payload: { value } });\r\n },\r\n setCountCart(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetCountCart, payload: { value } });\r\n },\r\n setLayoutReady(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetLayoutReady, payload: { value } });\r\n },\r\n setLoading(value) {\r\n if (value) {\r\n console.warn('setLoading function was deprecated, use the showPageLoader function.');\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessShowPageLoader });\r\n }\r\n else {\r\n console.warn('setLoading function was deprecated, use the hidePageLoader function.');\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessHidePageLoader });\r\n }\r\n },\r\n setLogData(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetLogData, payload: { value } });\r\n },\r\n setRedirectCode(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetRedirectCode, payload: { value } });\r\n },\r\n setReloadTheme(value) {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessSetReloadTheme, payload: { value } });\r\n },\r\n setTimeout(sessionTimeout, tokenTimeout, sessionTimeoutType, tokenTimeoutType) {\r\n AppDispatcher.dispatch({\r\n type: LayoutStatus.SuccessSetTimeout,\r\n payload: { sessionTimeout, tokenTimeout, sessionTimeoutType, tokenTimeoutType }\r\n });\r\n },\r\n showPageLoader() {\r\n AppDispatcher.dispatch({ type: LayoutStatus.SuccessShowPageLoader });\r\n }\r\n};\r\nexport default LayoutActions;\r\n","export var LayoutEventStatus;\r\n(function (LayoutEventStatus) {\r\n LayoutEventStatus[\"ChangeAlert\"] = \"ChangeAlert\";\r\n LayoutEventStatus[\"ChangeCountCart\"] = \"ChangeCountCart\";\r\n LayoutEventStatus[\"ChangeLayoutReady\"] = \"ChangeLayoutReady\";\r\n LayoutEventStatus[\"ChangeLoading\"] = \"ChangeLoading\";\r\n LayoutEventStatus[\"ChangeLogData\"] = \"ChangeLogData\";\r\n LayoutEventStatus[\"ChangeRedirectCode\"] = \"ChangeRedirectCode\";\r\n LayoutEventStatus[\"ChangeReloadTheme\"] = \"ChangeReloadTheme\";\r\n LayoutEventStatus[\"ChangeTimeout\"] = \"ChangeTimeout\";\r\n LayoutEventStatus[\"Error\"] = \"LayoutError\";\r\n})(LayoutEventStatus || (LayoutEventStatus = {}));\r\n","export var TimeoutType;\r\n(function (TimeoutType) {\r\n TimeoutType[TimeoutType[\"Absolute\"] = 1] = \"Absolute\";\r\n TimeoutType[TimeoutType[\"Refresh\"] = 2] = \"Refresh\";\r\n})(TimeoutType || (TimeoutType = {}));\r\n","import { EventEmitter } from 'events';\r\nimport { CartItemType } from '../../types/Student/ICartItem';\r\nimport { LayoutEventStatus } from '../../types/LayoutEventStatus';\r\nimport { LayoutStatus } from '../../types/LayoutStatus';\r\nimport { TimeoutType } from '../../types/TimeoutType';\r\nimport AppDispatcher from '../AppDispatcher';\r\nclass LayoutStoreEmitter extends EventEmitter {\r\n constructor() {\r\n super();\r\n this.abortController = new AbortController();\r\n this.alert = undefined;\r\n this.authMode = undefined;\r\n this.countCart = 0;\r\n this.cultures = undefined;\r\n this.hasProfile = false;\r\n this.isAuthenticated = false;\r\n this.layoutReady = false;\r\n this.loaders = {};\r\n this.loading = false;\r\n this.logData = undefined;\r\n this.menuOptions = undefined;\r\n this.permissions = undefined;\r\n this.redirectCode = 0;\r\n this.resources = {};\r\n this.theme = undefined;\r\n this.sessionTimeout = -1;\r\n this.sessionTimeoutType = TimeoutType.Refresh;\r\n this.tokenTimeout = -1;\r\n this.tokenTimeoutType = TimeoutType.Absolute;\r\n this.dateTimeout = new Date();\r\n this.error = false;\r\n this.errorMessage = undefined;\r\n }\r\n getSignal() {\r\n return this.abortController.signal;\r\n }\r\n abort() {\r\n try {\r\n this.abortController.abort();\r\n this.abortController = new AbortController();\r\n }\r\n catch (_a) {\r\n console.warn('The request was not aborted');\r\n }\r\n }\r\n addAlertListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeAlert, callback);\r\n }\r\n removeAlertListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeAlert, callback);\r\n }\r\n emitAlert() {\r\n this.emit(LayoutEventStatus.ChangeAlert);\r\n }\r\n getAlert() {\r\n return this.alert;\r\n }\r\n setAlert(alert) {\r\n this.alert = alert;\r\n }\r\n getAuthMode() {\r\n return this.authMode;\r\n }\r\n setAuthMode(value) {\r\n this.authMode = value;\r\n }\r\n addCountCartListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeCountCart, callback);\r\n }\r\n removeCountCartListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeCountCart, callback);\r\n }\r\n emitCountCart() {\r\n this.emit(LayoutEventStatus.ChangeCountCart);\r\n }\r\n getCountCart() {\r\n return this.countCart;\r\n }\r\n getCartItems() {\r\n return this.cartItems;\r\n }\r\n setCountCart(value, cartItems) {\r\n this.cartItems = cartItems;\r\n this.countCart = value;\r\n }\r\n getCultures() {\r\n if (!this.cultures) {\r\n const culturesStorage = window.sessionStorage.getItem('pc_cultures');\r\n if (culturesStorage) {\r\n this.cultures = JSON.parse(culturesStorage);\r\n }\r\n }\r\n if (this.cultures) {\r\n return this.cultures;\r\n }\r\n else {\r\n return this.getDefaultCutlure();\r\n }\r\n }\r\n getDefaultCutlure() {\r\n return {\r\n amDesignator: 'AM',\r\n currencyCulture: 'en-us',\r\n currencySymbol: '$',\r\n dateTimeCulture: 'en-us',\r\n firstDayOfWeek: 0,\r\n isRightToLeft: false,\r\n numberCulture: 'en-us',\r\n pmDesignator: 'PM',\r\n shortDatePattern: 'M/d/yyyy',\r\n shortTimePattern: 'hh:mm A',\r\n uiCulture: 'en-us'\r\n };\r\n }\r\n setCultures(value) {\r\n this.cultures = value;\r\n if (this.cultures) {\r\n window.sessionStorage.setItem('pc_cultures', JSON.stringify(this.cultures));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_cultures');\r\n }\r\n }\r\n getHasProfile() {\r\n return this.hasProfile;\r\n }\r\n setHasProfile(value) {\r\n this.hasProfile = value;\r\n }\r\n getIsAuthenticated() {\r\n const isAuthenticatedStorage = window.sessionStorage.getItem('pc_auth');\r\n if (isAuthenticatedStorage) {\r\n this.isAuthenticated = isAuthenticatedStorage === '1' ? true : false;\r\n }\r\n return this.isAuthenticated;\r\n }\r\n setIsAuthenticated(value) {\r\n this.isAuthenticated = value;\r\n window.sessionStorage.setItem('pc_auth', this.isAuthenticated ? '1' : '0');\r\n }\r\n addLogDataListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeLogData, callback);\r\n }\r\n removeLogDataListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeLogData, callback);\r\n }\r\n emitLogData() {\r\n this.emit(LayoutEventStatus.ChangeLogData);\r\n }\r\n getLogData() {\r\n return this.logData;\r\n }\r\n setLogData(logData) {\r\n this.logData = logData;\r\n }\r\n addLayoutReadyListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeLayoutReady, callback);\r\n }\r\n removeLayoutReadyListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeLayoutReady, callback);\r\n }\r\n emitLayoutReady() {\r\n this.emit(LayoutEventStatus.ChangeLayoutReady);\r\n }\r\n getLayoutReady() {\r\n return this.layoutReady;\r\n }\r\n setLayoutReady(value) {\r\n this.layoutReady = value;\r\n }\r\n getLoader(key) {\r\n return this.loaders[key];\r\n }\r\n setLoader(key, value) {\r\n this.loaders[key] = value;\r\n }\r\n setLoadersOff() {\r\n const loaderKeys = Object.keys(this.loaders);\r\n loaderKeys.forEach(key => this.loaders[key] = false);\r\n }\r\n addLoadingListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeLoading, callback);\r\n }\r\n removeLoadingListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeLoading, callback);\r\n }\r\n emitLoading() {\r\n this.emit(LayoutEventStatus.ChangeLoading);\r\n }\r\n getLoading() {\r\n return this.loading;\r\n }\r\n setLoading(loading) {\r\n this.loading = loading;\r\n }\r\n getMenuOptions() {\r\n if (!this.menuOptions) {\r\n const menuStorage = window.sessionStorage.getItem('pc_menu');\r\n if (menuStorage) {\r\n this.menuOptions = JSON.parse(menuStorage);\r\n }\r\n }\r\n return this.menuOptions;\r\n }\r\n setMenuOptions(value) {\r\n this.menuOptions = value;\r\n if (this.menuOptions) {\r\n window.sessionStorage.setItem('pc_menu', JSON.stringify(this.menuOptions));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_menu');\r\n }\r\n }\r\n getPermissions() {\r\n return this.permissions;\r\n }\r\n setPermissions(value) {\r\n this.permissions = value;\r\n }\r\n addRedirectCodeListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeRedirectCode, callback);\r\n }\r\n removeRedirectCodeListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeRedirectCode, callback);\r\n }\r\n emitRedirectCode() {\r\n this.emit(LayoutEventStatus.ChangeRedirectCode);\r\n }\r\n getRedirectCode() {\r\n return this.redirectCode;\r\n }\r\n setRedirectCode(redirectCode) {\r\n this.redirectCode = redirectCode;\r\n }\r\n getResources() {\r\n return this.resources.View;\r\n }\r\n setResources(value) {\r\n this.resources.View = value;\r\n }\r\n getResourcesLayout() {\r\n if (!this.resources.Layout) {\r\n const layoutResourcesStorage = window.sessionStorage.getItem('pc_res_lay');\r\n if (layoutResourcesStorage) {\r\n this.resources.Layout = JSON.parse(layoutResourcesStorage);\r\n }\r\n }\r\n return this.resources.Layout;\r\n }\r\n setResourcesLayout(value) {\r\n this.resources.Layout = value;\r\n if (this.resources.Layout) {\r\n window.sessionStorage.setItem('pc_res_lay', JSON.stringify(this.resources.Layout));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_res_lay');\r\n }\r\n }\r\n getResourcesByKey(key) {\r\n return this.resources[key];\r\n }\r\n setResourcesByKey(key, value) {\r\n this.resources[key] = value;\r\n }\r\n addReloadThemeListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeReloadTheme, callback);\r\n }\r\n removeReloadThemeListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeReloadTheme, callback);\r\n }\r\n emitReloadTheme() {\r\n this.emit(LayoutEventStatus.ChangeReloadTheme);\r\n }\r\n getTheme() {\r\n if (!this.theme) {\r\n const themeStorage = window.sessionStorage.getItem('pc_theme');\r\n if (themeStorage) {\r\n this.theme = JSON.parse(themeStorage);\r\n }\r\n }\r\n return this.theme;\r\n }\r\n setTheme(value) {\r\n this.theme = value;\r\n if (this.theme) {\r\n window.sessionStorage.setItem('pc_theme', JSON.stringify(this.theme));\r\n }\r\n else {\r\n window.sessionStorage.removeItem('pc_theme');\r\n }\r\n }\r\n addTimeoutListener(callback) {\r\n this.addListener(LayoutEventStatus.ChangeTimeout, callback);\r\n }\r\n removeTimeoutListener(callback) {\r\n this.removeListener(LayoutEventStatus.ChangeTimeout, callback);\r\n }\r\n emitTimeout() {\r\n this.emit(LayoutEventStatus.ChangeTimeout);\r\n }\r\n getTimeout() {\r\n let minTimeout = -1;\r\n if (this.sessionTimeout !== -1 && this.tokenTimeout !== -1) {\r\n minTimeout = this.sessionTimeout <= this.tokenTimeout ? this.sessionTimeout : this.tokenTimeout;\r\n }\r\n else if (this.sessionTimeout !== -1) {\r\n minTimeout = this.sessionTimeout;\r\n }\r\n else if (this.tokenTimeout !== -1) {\r\n minTimeout = this.tokenTimeout;\r\n }\r\n this.dateTimeout = new Date();\r\n return minTimeout;\r\n }\r\n resetTimeout() {\r\n if (this.tokenTimeout !== -1 && this.tokenTimeoutType === TimeoutType.Absolute) {\r\n const newDate = new Date();\r\n const pastTime = (newDate.getTime() - this.dateTimeout.getTime());\r\n const remainingTime = this.tokenTimeout - (pastTime / 1000);\r\n this.dateTimeout = newDate;\r\n this.tokenTimeout = remainingTime > 0 ? remainingTime : 0;\r\n }\r\n }\r\n setTimeout(sessionTimeout, tokenTimeout, sessionTimeoutType, tokenTimeoutType) {\r\n this.sessionTimeout = sessionTimeout;\r\n this.sessionTimeoutType = sessionTimeoutType ? sessionTimeoutType : this.sessionTimeoutType;\r\n this.tokenTimeout = tokenTimeout;\r\n this.tokenTimeoutType = tokenTimeoutType ? tokenTimeoutType : this.tokenTimeoutType;\r\n }\r\n addErrorListener(callback) {\r\n this.addListener(LayoutEventStatus.Error, callback);\r\n }\r\n removeErrorListener(callback) {\r\n this.removeListener(LayoutEventStatus.Error, callback);\r\n }\r\n emitError() {\r\n this.emit(LayoutEventStatus.Error);\r\n }\r\n getError() {\r\n return this.error;\r\n }\r\n getErrorMessage() {\r\n return this.errorMessage;\r\n }\r\n setError(error, errorMessage) {\r\n this.error = error;\r\n this.errorMessage = errorMessage;\r\n }\r\n}\r\nconst LayoutStore = new LayoutStoreEmitter();\r\nAppDispatcher.register((callback) => {\r\n switch (callback.type) {\r\n case LayoutStatus.SuccessGetCountCart:\r\n if (callback.payload.response) {\r\n const result = JSON.parse(callback.payload.response);\r\n if (result.status) {\r\n let cartItemList = result.data;\r\n const menuOptions = LayoutStore.getMenuOptions();\r\n if (cartItemList && cartItemList.length > 0 && menuOptions) {\r\n let registrationUrl;\r\n let conEdRegistrationUrl;\r\n menuOptions.forEach(optionMenu => {\r\n if (optionMenu.options) {\r\n optionMenu.options.forEach(option => {\r\n if (option.id === 'CoursesId') {\r\n registrationUrl = option.url;\r\n }\r\n if (option.id === 'ConEdCoursesId') {\r\n conEdRegistrationUrl = option.url;\r\n }\r\n });\r\n }\r\n });\r\n if (!registrationUrl) {\r\n cartItemList = cartItemList.filter(cartItem => cartItem.type !== CartItemType.Traditional);\r\n }\r\n if (!conEdRegistrationUrl) {\r\n cartItemList = cartItemList.filter(cartItem => cartItem.type !== CartItemType.ContinuingEducation);\r\n }\r\n }\r\n else {\r\n cartItemList = [];\r\n }\r\n let overallCountCart = 0;\r\n if (cartItemList.length > 0) {\r\n cartItemList.forEach(cartItem => {\r\n overallCountCart += cartItem.count;\r\n });\r\n }\r\n LayoutStore.setCountCart(overallCountCart, cartItemList);\r\n LayoutStore.emitCountCart();\r\n }\r\n }\r\n break;\r\n case LayoutStatus.SuccessSetAlert:\r\n LayoutStore.setAlert(callback.payload.value);\r\n LayoutStore.emitAlert();\r\n break;\r\n case LayoutStatus.SuccessSetCountCart:\r\n LayoutStore.emitCountCart();\r\n break;\r\n case LayoutStatus.SuccessSetLayoutReady:\r\n LayoutStore.setLayoutReady(callback.payload.value);\r\n LayoutStore.emitLayoutReady();\r\n break;\r\n case LayoutStatus.SuccessHidePageLoader:\r\n LayoutStore.setLoading(false);\r\n LayoutStore.emitLoading();\r\n break;\r\n case LayoutStatus.SuccessShowPageLoader:\r\n LayoutStore.setLoading(true);\r\n LayoutStore.emitLoading();\r\n break;\r\n case LayoutStatus.SuccessSetLogData:\r\n LayoutStore.setLogData(callback.payload.value);\r\n LayoutStore.emitLogData();\r\n break;\r\n case LayoutStatus.SuccessSetRedirectCode:\r\n LayoutStore.setRedirectCode(callback.payload.value);\r\n LayoutStore.emitRedirectCode();\r\n break;\r\n case LayoutStatus.SuccessSetReloadTheme:\r\n LayoutStore.setTheme(callback.payload.value);\r\n LayoutStore.emitReloadTheme();\r\n break;\r\n case LayoutStatus.SuccessResetTimeout:\r\n LayoutStore.resetTimeout();\r\n LayoutStore.emitTimeout();\r\n break;\r\n case LayoutStatus.SuccessSetTimeout:\r\n LayoutStore.setTimeout(callback.payload.sessionTimeout, callback.payload.tokenTimeout, callback.payload.sessionTimeoutType, callback.payload.tokenTimeoutType);\r\n LayoutStore.emitTimeout();\r\n break;\r\n case LayoutStatus.ErrorGetCountCart:\r\n if (callback.payload.response) {\r\n LayoutStore.setError(true, callback.payload.response);\r\n }\r\n break;\r\n default:\r\n break;\r\n }\r\n});\r\nexport default LayoutStore;\r\n","const hdnBaseAddress = document.getElementById('hdnBaseAddress');\r\nconst webUrl = hdnBaseAddress ? hdnBaseAddress.value : '';\r\nconst siteConfigurationMissing = document.getElementById('siteConfigurationMissing');\r\nconst Constants = {\r\n defaultActionColor: 'blue',\r\n faviconCDN: 'https://cdn.elluciancloud.com/assets/EDS2/0.0.8/favicon/favicon.ico',\r\n headersRequestsJson: {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json'\r\n },\r\n imagesCDN: 'https://cdn.elluciancloud.com/assets/EDS2/4.4.0/img',\r\n peoplePictureUrl: `${webUrl}/People/Picture/`,\r\n siteConfigurationMissing: siteConfigurationMissing ? (siteConfigurationMissing.value === 'true') : false,\r\n webUrl: webUrl\r\n};\r\nexport default Constants;\r\n","import moment from 'moment';\r\nconst Format = {\r\n toJson(json) {\r\n if (typeof json === 'string') {\r\n return JSON.parse(json);\r\n }\r\n return json;\r\n },\r\n toMask(textFormat) {\r\n let mask = [];\r\n for (const character of textFormat) {\r\n switch (character) {\r\n case 'X':\r\n mask.push(/[0-9a-zA-Z]/);\r\n break;\r\n case '#':\r\n case '0':\r\n mask.push(/\\d/);\r\n break;\r\n default:\r\n mask.push(character);\r\n break;\r\n }\r\n }\r\n return mask;\r\n },\r\n toPhone(value, format, formatChar) {\r\n if (format && value && formatChar) {\r\n let formattedNumber = '';\r\n let iNumber = 0;\r\n for (const fChar of format) {\r\n if (fChar === formatChar) {\r\n if (iNumber < value.length) {\r\n formattedNumber = `${formattedNumber}${value[iNumber]}`;\r\n iNumber++;\r\n }\r\n }\r\n else {\r\n formattedNumber = `${formattedNumber}${fChar}`;\r\n }\r\n }\r\n if (iNumber < value.length) {\r\n for (let iRest = iNumber; iRest < value.length; iRest++) {\r\n formattedNumber = `${formattedNumber}${value[iRest]}`;\r\n }\r\n }\r\n return formattedNumber;\r\n }\r\n else {\r\n return value;\r\n }\r\n },\r\n toShortDate(dateFormat, date) {\r\n return date ? moment(date, dateFormat.toUpperCase()).format('YYYY-MM-DD') : '';\r\n },\r\n toString(format, args) {\r\n return format.replace(/{(\\d+)}/g, (_match, value) => (typeof args[value] !== 'undefined') && args[value] !== null ? args[value] : '');\r\n },\r\n toSumRem(rem) {\r\n let result = 0;\r\n rem.forEach(value => result += Number(value.replace('rem', '')));\r\n return `${result}rem`;\r\n }\r\n};\r\nexport default Format;\r\n","import { LogType } from '../types/LogType';\r\nconst LogData = {\r\n fromException(functionName, e) {\r\n return {\r\n functionName: functionName,\r\n message: `Code: ${e.code}; Name: ${e.name}; Message: ${e.message}; Stack: ${e.stack}`,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n fromResponse(functionName, response) {\r\n return {\r\n functionName: functionName,\r\n message: `Status: ${response.status}; StatusText: ${response.statusText}; Url: ${response.url}`,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n fromComponentException(functionName, e, info) {\r\n return {\r\n functionName: functionName,\r\n message: `Code: ${e.code}; Name: ${e.name}; Message: ${e.message}; Stack: ${e.stack}; ComponentStack: ${info.componentStack}`,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n fromMessage(functionName, message) {\r\n return {\r\n functionName: functionName,\r\n message: message,\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n badJsonResult(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'JsonResult has bad structure',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n layoutNoReady(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'Layout was not ready.',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n noPermissions(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'Permissions object is null.',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n },\r\n noResources(functionName) {\r\n return {\r\n functionName: functionName,\r\n message: 'Resources object is null.',\r\n timestamp: new Date(),\r\n type: LogType.GenericError\r\n };\r\n }\r\n};\r\nexport default LogData;\r\n","import Constants from './Constants';\r\nconst Redirect = {\r\n refreshPage: () => {\r\n window.location.assign(window.location.href);\r\n },\r\n toADFSLogin: (username) => {\r\n if (username) {\r\n window.location.assign(`${Constants.webUrl}/ADFS/Authentication?username=${username}`);\r\n }\r\n else {\r\n window.location.assign(`${Constants.webUrl}/ADFS/Authentication`);\r\n }\r\n },\r\n toError: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error`);\r\n },\r\n toError400: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error400`);\r\n },\r\n toError401: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error401`);\r\n },\r\n toError403: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error403`);\r\n },\r\n toError404: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error404`);\r\n },\r\n toError500: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error500`);\r\n },\r\n toError503: () => {\r\n window.location.assign(`${Constants.webUrl}/Errors/Error503`);\r\n },\r\n toHome: () => {\r\n window.location.assign(`${Constants.webUrl}/Home`);\r\n },\r\n toLogin: () => {\r\n window.location.assign(`${Constants.webUrl}/Home/LogIn`);\r\n },\r\n toLogout: () => {\r\n window.location.assign(`${Constants.webUrl}/Home/LogOut`);\r\n },\r\n toLogoutWithReturnUrl: () => {\r\n window.location.assign(`${Constants.webUrl}/Home/LogOutWithReturnUrl`);\r\n },\r\n toSAMLLogin: () => {\r\n window.location.assign(`${Constants.webUrl}/SSO/SAML`);\r\n }\r\n};\r\nexport default Redirect;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EdsErrorPage from '@ellucian/react-design-system/core/es/ErrorPage';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport Format from '../../../helpers/Format';\r\nconst styles = createStyles({\r\n errorPageContainer: {\r\n height: `calc(100vh - ${Format.toSumRem([Tokens.spacing85, Tokens.spacing85])})`\r\n }\r\n});\r\nconst ErrorPage = (props) => {\r\n const { classes } = props, rest = __rest(props, [\"classes\"]);\r\n return (React.createElement(\"div\", { className: classes.errorPageContainer },\r\n React.createElement(EdsErrorPage, Object.assign({}, rest))));\r\n};\r\nexport default withStyles(styles)(ErrorPage);\r\n","import React from 'react';\r\nimport ErrorPage from '../ErrorPage';\r\nimport Layout, { withLayout } from '../Layout';\r\nconst Error = () => {\r\n const hdnTitle = document.getElementById('hdnTitle');\r\n let title;\r\n if (hdnTitle) {\r\n title = hdnTitle.value;\r\n hdnTitle.remove();\r\n }\r\n const hdnMessage = document.getElementById('hdnMessage');\r\n let message;\r\n if (hdnMessage) {\r\n message = hdnMessage.value;\r\n hdnMessage.remove();\r\n }\r\n return (React.createElement(Layout, { idModule: \"\", idPage: \"\", noPadding: true, noServer: true },\r\n React.createElement(ErrorPage, { errorTitle: title || '', errorType: \"500\", id: \"ErrorPage\", message: message || '', noHeader: true })));\r\n};\r\nconst ErrorWithLayout = withLayout(Error);\r\nexport default ErrorWithLayout;\r\n","import React from 'react';\r\nimport EdsTextLink from '@ellucian/react-design-system/core/es/TextLink';\r\nconst TextLink = (props) => (React.createElement(EdsTextLink, Object.assign({}, props)));\r\nexport default TextLink;\r\n","import React from 'react';\r\nimport TextLink from '../../core/TextLink';\r\nimport ErrorPage from '../ErrorPage';\r\nimport Layout, { withLayout } from '../Layout';\r\nimport LogData from '../../../helpers/LogData';\r\nimport Redirect from '../../../helpers/Redirect';\r\nimport LayoutActions from '../../../flux/actions/LayoutActions';\r\nimport LayoutStore from '../../../flux/stores/LayoutStore';\r\nclass SpecifcError extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.hideAllLoaders = () => {\r\n this.setState({\r\n isLoading: false\r\n });\r\n };\r\n this.resolveLayoutReady = () => {\r\n try {\r\n const { resources } = this.state;\r\n if (resources) {\r\n document.title = resources.lblPageTitle;\r\n this.setState({\r\n isAuthenticated: LayoutStore.getIsAuthenticated(),\r\n isLoading: false\r\n }, LayoutActions.hidePageLoader);\r\n }\r\n else {\r\n this.logError(LogData.noResources(this.resolveLayoutReady.name));\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.resolveLayoutReady.name, e));\r\n }\r\n };\r\n this.onLayoutReady = () => {\r\n const ready = LayoutStore.getLayoutReady();\r\n const resources = LayoutStore.getResources();\r\n if (ready) {\r\n this.setState({\r\n resources: resources\r\n }, this.resolveLayoutReady);\r\n }\r\n else {\r\n this.logError(LogData.layoutNoReady(this.onLayoutReady.name));\r\n this.redirectError(500);\r\n }\r\n };\r\n this.idModule = 'Errors';\r\n const hdnIdPage = document.getElementById('hdnIdPage');\r\n if (hdnIdPage && hdnIdPage.value) {\r\n this.idPage = hdnIdPage.value;\r\n hdnIdPage.remove();\r\n }\r\n else {\r\n this.idPage = '';\r\n Redirect.toError();\r\n }\r\n this.state = this.getInitialState();\r\n LayoutStore.addLayoutReadyListener(this.onLayoutReady);\r\n }\r\n getInitialState() {\r\n let isLoading = true;\r\n let resources;\r\n if (this.state) {\r\n isLoading = this.state.isLoading;\r\n resources = this.state.resources;\r\n }\r\n return {\r\n isAuthenticated: false,\r\n isLoading: isLoading,\r\n resources: resources\r\n };\r\n }\r\n redirectToHome() {\r\n Redirect.toHome();\r\n }\r\n logError(logData) {\r\n this.hideAllLoaders();\r\n LayoutActions.setLogData(logData);\r\n }\r\n redirectError(code) {\r\n this.hideAllLoaders();\r\n LayoutActions.setRedirectCode(code);\r\n }\r\n componentWillUnmount() {\r\n LayoutStore.removeLayoutReadyListener(this.onLayoutReady);\r\n }\r\n render() {\r\n const { homeButtonRequireAuth } = this.props;\r\n const { isAuthenticated, isLoading, resources } = this.state;\r\n let contentPage;\r\n if (resources && !isLoading) {\r\n let errorCode = '500';\r\n switch (this.idPage) {\r\n case 'Error400':\r\n errorCode = '400';\r\n break;\r\n case 'Error401':\r\n errorCode = '401';\r\n break;\r\n case 'Error403':\r\n case 'ExpiredInvitation':\r\n case 'InvalidInvitation':\r\n case 'InvalidToken':\r\n errorCode = '403';\r\n break;\r\n case 'Error404':\r\n errorCode = '404';\r\n break;\r\n case 'Error500':\r\n errorCode = '500';\r\n break;\r\n case 'Error503':\r\n errorCode = '503';\r\n break;\r\n }\r\n const hasAction = !homeButtonRequireAuth || (homeButtonRequireAuth && (this.idPage !== 'Error401' || isAuthenticated));\r\n contentPage = (React.createElement(ErrorPage, { action: hasAction ? (React.createElement(TextLink, { href: \"#\", id: \"btnGoHome\", onClick: this.redirectToHome }, resources.lblGoToHome)) : null, errorTitle: resources.lblTitle, errorType: errorCode, hasAction: hasAction, id: \"ErrorPage\", message: resources.lblText, noHeader: true }));\r\n }\r\n return (React.createElement(Layout, { idModule: this.idModule, idPage: this.idPage, noPadding: true }, contentPage));\r\n }\r\n}\r\nconst SpecifcErrorWithLayout = withLayout(SpecifcError);\r\nexport default SpecifcErrorWithLayout;\r\n","// Ellucian's Default theme\r\nimport { colorBackgroundAlertDefault, colorBackgroundAlertError, colorBackgroundAlertNeutral, colorBackgroundAlertSuccess, colorBackgroundAlertWarning, colorBackgroundDefault, colorBorderGlobalFocus, colorBrandNeutral100, colorBrandNeutral400, colorBrandNeutral600, colorBrandPrimary, colorBrandSecondary, colorCtaBlueActive, colorCtaBlueBase, colorCtaBlueHover, colorCtaBlueTint, colorFillAlertError, colorFillAlertNeutral, colorFillAlertSuccess, colorFillAlertWarning, colorTextAlertDefault, colorTextAlertError, colorTextAlertNeutral, colorTextAlertSuccess, colorTextAlertWarning, colorTextDisabled, colorTextNeutral100, colorTextPrimary, colorTextSecondary } from '@ellucian/react-design-system/core/styles/tokens';\r\n\r\nvar palette = {\r\n // Iris\r\n primary: {\r\n main: colorBrandPrimary,\r\n contrastText: colorTextNeutral100\r\n },\r\n // Fountain\r\n secondary: {\r\n main: colorBrandSecondary,\r\n contrastText: colorTextNeutral100\r\n },\r\n // CTA Blue\r\n ctaColor: {\r\n base: colorCtaBlueBase,\r\n hover: colorCtaBlueHover,\r\n active: colorCtaBlueActive,\r\n tint: colorCtaBlueTint\r\n },\r\n // Disabled\r\n disabled: {\r\n background: colorBrandNeutral400\r\n },\r\n // Global Focus\r\n focus: colorBorderGlobalFocus,\r\n // Status: Error, Warning, Pending, Success\r\n status: {\r\n default: {\r\n text: colorTextAlertDefault,\r\n background: colorBackgroundAlertDefault\r\n },\r\n error: {\r\n text: colorTextAlertError,\r\n background: colorBackgroundAlertError,\r\n fill: colorFillAlertError\r\n },\r\n success: {\r\n text: colorTextAlertSuccess,\r\n background: colorBackgroundAlertSuccess,\r\n fill: colorFillAlertSuccess\r\n },\r\n neutral: {\r\n text: colorTextAlertNeutral,\r\n background: colorBackgroundAlertNeutral,\r\n fill: colorFillAlertNeutral\r\n },\r\n warning: {\r\n text: colorTextAlertWarning,\r\n background: colorBackgroundAlertWarning,\r\n fill: colorFillAlertWarning\r\n }\r\n },\r\n common: {\r\n black: colorBrandNeutral600,\r\n white: colorBrandNeutral100\r\n },\r\n text: {\r\n primary: colorTextPrimary,\r\n secondary: colorTextSecondary,\r\n disabled: colorTextDisabled,\r\n white: colorTextNeutral100\r\n },\r\n background: {\r\n default: colorBackgroundDefault\r\n },\r\n tertiary: {\r\n purple: {\r\n 100: '#F8EEF6',\r\n 200: '#ECCCE6',\r\n 300: '#DFAAD6',\r\n 400: '#D389C6',\r\n 500: '#C667B6',\r\n 600: '#BA46A6'\r\n },\r\n iris: {\r\n 100: '#EEEEFA',\r\n 200: '#CFCFF2',\r\n 300: '#B0B0EA',\r\n 400: '#9191E2',\r\n 500: '#7272D9',\r\n 600: '#5353D1'\r\n },\r\n fountain: {\r\n 100: '#EFF7FF',\r\n 200: '#CEE7FF',\r\n 300: '#AFD8FF',\r\n 400: '#90C9FF',\r\n 500: '#70BAFF',\r\n 600: '#51ABFF'\r\n },\r\n meadow: {\r\n 100: '#E8F9F5',\r\n 200: '#BFEDE2',\r\n 300: '#96E2CF',\r\n 400: '#6CD6BC',\r\n 500: '#43CBA9',\r\n 600: '#1ABF96'\r\n },\r\n kiwi: {\r\n 100: '#F4FAEF',\r\n 200: '#E1F2D3',\r\n 300: '#CEEAB7',\r\n 400: '#BBE29B',\r\n 500: '#A8D97E',\r\n 600: '#95D162'\r\n },\r\n saffron: {\r\n 100: '#FDF9EA',\r\n 200: '#FBEFC3',\r\n 300: '#F8E59C',\r\n 400: '#F5DB75',\r\n 500: '#F2D14F',\r\n 600: '#EFC728'\r\n },\r\n tangerine: {\r\n 100: '#FFF4EB',\r\n 200: '#FFDFC8',\r\n 300: '#FFCAA4',\r\n 400: '#FFB581',\r\n 500: '#FFA15D',\r\n 600: '#FF8C3A'\r\n }\r\n }\r\n};\r\n\r\nexport default palette;","var _toolbar;\r\n\r\nfunction _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; }\r\n\r\nimport { createMuiTheme } from '@material-ui/core/styles';\r\nimport createBreakpoints from '@material-ui/core/styles/createBreakpoints';\r\nimport colorPalette from '../common/palette';\r\nimport { colorBrandCtaActive, colorBrandCtaBase, colorBrandCtaHover, colorBrandNeutral100, colorBrandNeutral200, colorBrandNeutral250, colorBrandNeutral300, colorBrandNeutral400, colorBrandNeutral500, colorBrandNeutral600, fontSizeHeader1, fontSizeHeader1Small, fontSizeHeader2, fontSizeHeader2Small, fontSizeHeader3, fontSizeHeader3Small, fontSizeHeader4, fontSizeHeader4Small, fontSizeHeader5, fontSizeHeader5Small, fontSizeHeader6, fontSizeLarge, fontSizeSmall, fontSizeDefault, fontFamilyDefault, fontFamilyHeader, fontFamilyCondensed, fontWeightLight, fontWeightNormal, fontWeightBold, lineHeightDefault, sizingXxLarge1, zIndexTextFieldLabel, zIndexDrawer, zIndexDropdown, zIndexHeaderBarDropdown, zIndexMegaMenu, zIndexInlineAlert, zIndexPageAlert, zIndexActionMenu, zIndexHeaderBar, zIndexModal, zIndexBackdrop } from '@ellucian/react-design-system/core/styles/tokens';\r\n\r\n// Breakpoints must be defined in ascending order of viewport size. These breakpoints are used to calculate the size of the viewport in useWidth() hook.\r\n// If values are \"NOT\" in ascending order then useWidth() hook will fail to return correct value.\r\nvar breakpoints = createBreakpoints({\r\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\r\n values: {\r\n xs: 0,\r\n sm: 480,\r\n md: 768,\r\n lg: 992,\r\n xl: 1920\r\n }\r\n});\r\n\r\nvar lightThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n breakpoints: breakpoints,\r\n mixins: {\r\n toolbar: (_toolbar = {\r\n minHeight: sizingXxLarge1\r\n }, _defineProperty(_toolbar, breakpoints.up('xs') + ' and (orientation: landscape)', {\r\n minHeight: sizingXxLarge1\r\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\r\n minHeight: sizingXxLarge1\r\n }), _toolbar)\r\n },\r\n overrides: {\r\n MuiFormLabel: {\r\n root: {\r\n color: colorBrandNeutral500,\r\n '&$disabled:hover': {\r\n cursor: 'not-allowed'\r\n },\r\n '&$error': {\r\n color: colorBrandNeutral500\r\n },\r\n '&$focused': {\r\n color: colorBrandNeutral500\r\n }\r\n },\r\n asterisk: {\r\n '&$error': {\r\n color: colorBrandNeutral500\r\n }\r\n }\r\n },\r\n MuiInput: {\r\n formControl: {\r\n 'label + &': {\r\n marginTop: 0,\r\n width: '100%'\r\n }\r\n }\r\n },\r\n // Hover and selected states are same across\r\n MuiMenuItem: {\r\n root: {\r\n '&:hover': {\r\n color: colorBrandNeutral100\r\n },\r\n '&$selected': {\r\n color: colorBrandNeutral100\r\n }\r\n }\r\n }\r\n },\r\n palette: Object.assign({\r\n action: {\r\n active: colorBrandCtaActive, // cta blue 800\r\n hover: colorBrandCtaHover, // cta blue 700\r\n base: colorBrandCtaBase, // cta blue 600\r\n disabled: colorBrandNeutral400\r\n },\r\n grey: {\r\n 100: colorBrandNeutral100,\r\n 200: colorBrandNeutral200,\r\n 250: colorBrandNeutral250,\r\n 300: colorBrandNeutral300,\r\n 400: colorBrandNeutral400,\r\n 500: colorBrandNeutral500,\r\n 600: colorBrandNeutral600\r\n }\r\n }, colorPalette),\r\n\r\n spacing: 4,\r\n\r\n typography: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: 14, // fontSizeDefault, MUI converts to rem for us\r\n fontWeightLight: fontWeightLight,\r\n fontWeightRegular: fontWeightNormal,\r\n fontWeightBold: fontWeightBold,\r\n\r\n h1: _defineProperty({\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeHeader1,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader1Small\r\n }),\r\n h2: _defineProperty({\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeHeader2,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.03125rem'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader2Small\r\n }),\r\n h3: _defineProperty({\r\n fontFamily: fontFamilyHeader,\r\n fontSize: fontSizeHeader3,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n letterSpacing: '0.03125rem',\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader3Small\r\n }),\r\n h4: _defineProperty({\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader4,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader4Small\r\n }),\r\n h5: _defineProperty({\r\n fontFamily: fontFamilyDefault,\r\n fontWeight: fontWeightBold,\r\n fontSize: fontSizeHeader5,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n }, breakpoints.down('sm'), {\r\n fontSize: fontSizeHeader5Small\r\n }),\r\n h6: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader6,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle1: { // set to h5 styles in case anyone uses this\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader5,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n subtitle2: { // set to h6 styles in case anyone uses this\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeHeader6,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body1: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeLarge,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body2: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em'\r\n },\r\n body3: {\r\n fontFamily: fontFamilyDefault,\r\n fontSize: fontSizeSmall,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: 'initial',\r\n textTransform: 'initial'\r\n },\r\n button: {\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeLarge,\r\n fontWeight: fontWeightBold,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n caption: {\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n },\r\n overline: { // set to caption styles in case anyone uses this\r\n fontFamily: fontFamilyCondensed,\r\n fontSize: fontSizeDefault,\r\n fontWeight: fontWeightNormal,\r\n lineHeight: lineHeightDefault,\r\n wordSpacing: '0.16em',\r\n letterSpacing: '0.0625rem',\r\n textTransform: 'uppercase'\r\n }\r\n },\r\n zIndex: {\r\n textFieldLabel: zIndexTextFieldLabel,\r\n dropdown: zIndexDropdown,\r\n headerBarDropdown: zIndexHeaderBarDropdown,\r\n actionMenu: zIndexActionMenu,\r\n megaMenu: zIndexMegaMenu,\r\n inlineAlert: zIndexInlineAlert,\r\n pageAlert: zIndexPageAlert,\r\n headerBar: zIndexHeaderBar,\r\n modal: zIndexModal,\r\n drawer: zIndexDrawer,\r\n backdrop: zIndexBackdrop\r\n }\r\n};\r\n\r\nvar lightTheme = createMuiTheme(lightThemeOptions);\r\n\r\nexport { lightTheme as default, lightThemeOptions };","import { createMuiTheme } from '@material-ui/core/styles';\r\n\r\n// This is a copy of lightTheme -- needs to be changed\r\nvar darkThemeOptions = {\r\n props: {\r\n MuiButtonBase: {\r\n disableRipple: true // Disable ripple effect on components\r\n }\r\n },\r\n palette: {\r\n primary: {\r\n light: '#8a80ff',\r\n main: '#5353d1',\r\n dark: '#012a9f',\r\n contrastText: '#ffffff'\r\n },\r\n secondary: {\r\n light: '#5b97fc',\r\n main: '#026ab8',\r\n dark: '#004097',\r\n contrastText: '#ffffff'\r\n }\r\n },\r\n typography: {\r\n fontFamily: \"'Noto Sans', Helvetica, Arial, sans-serif\"\r\n }\r\n};\r\n\r\nvar darkTheme = createMuiTheme(darkThemeOptions);\r\n\r\nexport { darkTheme as default, darkThemeOptions };","import { createMuiTheme } from '@material-ui/core/styles';\r\nimport lightTheme, { lightThemeOptions } from './light/light-theme.js';\r\nimport darkTheme, { darkThemeOptions } from './dark/dark-theme.js';\r\nimport cloneDeep from 'lodash/cloneDeep';\r\nimport merge from 'lodash/merge';\r\n\r\n/**\r\n * Creates an Ethos theme, based on one of our standard themes.\r\n *\r\n * @example Create a theme that overrides the large breakpoint value\r\n *\r\n * createEDSTheme('light', {\r\n * breakpoints: {\r\n * values: {\r\n * lg: '1500',\r\n * }\r\n * }\r\n * })\r\n *\r\n * @since v0.0.13\r\n *\r\n * @param {theme} baseTheme The theme to use as the basis of new new theme. Valid values: 'light', 'dark'.\r\n * @param {object} [overrides] Overrides to the base theme\r\n * @return {object} The Ethos theme\r\n */\r\nfunction createEDSTheme(baseTheme, overrides) {\r\n\r\n var theme = cloneDeep(lightTheme);\r\n var themeOptions = cloneDeep(lightThemeOptions);\r\n\r\n // grab the baseline theme\r\n switch (baseTheme) {\r\n case 'light':\r\n break;\r\n case 'dark':\r\n theme = cloneDeep(darkTheme);\r\n themeOptions = cloneDeep(darkThemeOptions);\r\n break;\r\n default:\r\n console.warn('createEDSTheme: Invalid base theme specified: ' + baseTheme + '. Defaulting to light theme.');\r\n break;\r\n\r\n }\r\n\r\n // apply any overrides\r\n if (overrides) {\r\n theme = createMuiTheme(merge(themeOptions, overrides));\r\n }\r\n\r\n return theme;\r\n}\r\n\r\nexport default createEDSTheme;","import EdsCreateEDSTheme from '@ellucian/react-design-system/core/es/themes/createEDSTheme';\r\nconst createEDSTheme = (baseTheme, overrides) => EdsCreateEDSTheme(baseTheme, overrides);\r\nexport default createEDSTheme;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsAlert from '@ellucian/react-design-system/core/es/Alert';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = (theme) => createStyles({\r\n overModal: {\r\n top: 0,\r\n zIndex: Number(Tokens.zIndexModal) + 1\r\n },\r\n pageTop: {\r\n [theme.breakpoints.only('xs')]: {\r\n left: 0,\r\n right: 0\r\n }\r\n }\r\n});\r\nconst Alert = (props, ref) => {\r\n const { children, classes, overModal, type } = props, rest = __rest(props, [\"children\", \"classes\", \"overModal\", \"type\"]);\r\n const classOverrides = omit(classes, ['overModal']);\r\n if (overModal) {\r\n classOverrides.pageTop = classnames(classes.pageTop, classes.overModal);\r\n }\r\n return (React.createElement(EdsAlert, Object.assign({ alertType: type, classes: classOverrides, ref: ref }, rest), children));\r\n};\r\nconst AlertFRC = forwardRef(Alert);\r\nAlertFRC.displayName = 'AlertFRC';\r\nAlertFRC.defaultProps = {\r\n id: '',\r\n userDismissable: false\r\n};\r\nexport default withStyles(styles, { name: 'AlertWS' })(AlertFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EDSApplication from '@ellucian/react-design-system/core/es/EDSApplication';\r\nconst Application = (props) => {\r\n const { children, dir } = props, rest = __rest(props, [\"children\", \"dir\"]);\r\n return (React.createElement(EDSApplication, Object.assign({ dir: dir }, rest),\r\n React.createElement(\"div\", { dir: dir }, children)));\r\n};\r\nexport default Application;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport cn from 'classnames';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsIcon from '@ellucian/ds-icons/lib/es6/Icon';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n default: {\r\n color: Tokens.colorBrandNeutral400\r\n },\r\n defaultBg: {\r\n background: Tokens.colorBrandNeutral400\r\n },\r\n error: {\r\n color: Tokens.colorTextAlertError\r\n },\r\n errorBg: {\r\n background: Tokens.colorFillAlertError\r\n },\r\n iconBackground: {\r\n alignItems: 'center',\r\n borderRadius: Tokens.borderRadiusCircle,\r\n color: Tokens.colorBrandNeutral100,\r\n display: 'inline-flex',\r\n height: '1.8125rem',\r\n justifyContent: 'center',\r\n verticalAlign: 'middle',\r\n width: '1.8125rem'\r\n },\r\n info: {\r\n color: Tokens.colorTextAlertNeutral\r\n },\r\n infoBg: {\r\n background: Tokens.colorFillAlertNeutral\r\n },\r\n marginBottom2Icon: {\r\n marginBottom: Tokens.spacing35\r\n },\r\n marginBottomIcon: {\r\n marginBottom: Tokens.spacing30\r\n },\r\n marginLeft2Icon: {\r\n marginLeft: Tokens.spacing35\r\n },\r\n marginLeftIcon: {\r\n marginLeft: Tokens.spacing30\r\n },\r\n marginRight2Icon: {\r\n marginRight: Tokens.spacing35\r\n },\r\n marginRightIcon: {\r\n marginRight: Tokens.spacing30\r\n },\r\n marginTop2Icon: {\r\n marginTop: Tokens.spacing35\r\n },\r\n marginTopIcon: {\r\n marginTop: Tokens.spacing30\r\n },\r\n middle: {\r\n display: 'inline-flex',\r\n verticalAlign: 'middle'\r\n },\r\n neutral: {\r\n color: Tokens.colorBrandNeutral100\r\n },\r\n neutralBg: {\r\n background: Tokens.colorBrandNeutral100\r\n },\r\n success: {\r\n color: Tokens.colorTextAlertSuccess\r\n },\r\n successBg: {\r\n background: Tokens.colorFillAlertSuccess\r\n },\r\n warning: {\r\n color: Tokens.colorTextAlertWarning\r\n },\r\n warningBg: {\r\n background: Tokens.colorFillAlertWarning\r\n },\r\n xLarge: {\r\n height: `${Tokens.sizingXLarge}${Tokens.important}`,\r\n width: `${Tokens.sizingXLarge}${Tokens.important}`\r\n },\r\n xxLarge: {\r\n height: `${Tokens.sizingXxLarge}${Tokens.important}`,\r\n width: `${Tokens.sizingXxLarge}${Tokens.important}`\r\n },\r\n xxLarge1: {\r\n height: `${Tokens.sizingXxLarge1}${Tokens.important}`,\r\n width: `${Tokens.sizingXxLarge1}${Tokens.important}`\r\n }\r\n});\r\nconst Icon = (props, ref) => {\r\n const { className, classes, iconWithBackground, marginBottom, marginBottom2, marginLeft, marginLeft2, marginRight, marginRight2, marginTop, marginTop2, size, type, verticalAlign } = props, rest = __rest(props, [\"className\", \"classes\", \"iconWithBackground\", \"marginBottom\", \"marginBottom2\", \"marginLeft\", \"marginLeft2\", \"marginRight\", \"marginRight2\", \"marginTop\", \"marginTop2\", \"size\", \"type\", \"verticalAlign\"]);\r\n let classIcon;\r\n let classIconDiv;\r\n if (type) {\r\n switch (type) {\r\n case 'error':\r\n classIcon = iconWithBackground ? classes.errorBg : classes.error;\r\n break;\r\n case 'info':\r\n classIcon = iconWithBackground ? classes.infoBg : classes.info;\r\n break;\r\n case 'success':\r\n classIcon = iconWithBackground ? classes.successBg : classes.success;\r\n break;\r\n case 'warning':\r\n classIcon = iconWithBackground ? classes.warningBg : classes.warning;\r\n break;\r\n case 'neutral':\r\n classIcon = iconWithBackground ? classes.neutralBg : classes.neutral;\r\n break;\r\n case 'default':\r\n classIcon = iconWithBackground ? classes.defaultBg : classes.default;\r\n break;\r\n }\r\n }\r\n if (marginBottom) {\r\n classIcon = cn(classIcon, classes.marginBottomIcon);\r\n }\r\n else if (marginBottom2) {\r\n classIcon = cn(classIcon, classes.marginBottom2Icon);\r\n }\r\n if (marginLeft) {\r\n classIcon = cn(classIcon, classes.marginLeftIcon);\r\n }\r\n else if (marginLeft2) {\r\n classIcon = cn(classIcon, classes.marginLeft2Icon);\r\n }\r\n if (marginRight) {\r\n classIcon = cn(classIcon, classes.marginRightIcon);\r\n }\r\n else if (marginRight2) {\r\n classIcon = cn(classIcon, classes.marginRight2Icon);\r\n }\r\n if (marginTop) {\r\n classIcon = cn(classIcon, classes.marginTopIcon);\r\n }\r\n else if (marginTop2) {\r\n classIcon = cn(classIcon, classes.marginTop2Icon);\r\n }\r\n if (size) {\r\n switch (size) {\r\n case 'xLarge':\r\n classIcon = cn(classIcon, classes.xLarge);\r\n break;\r\n case 'xxLarge':\r\n classIcon = cn(classIcon, classes.xxLarge);\r\n break;\r\n case 'xxLarge1':\r\n classIcon = cn(classIcon, classes.xxLarge1);\r\n break;\r\n }\r\n }\r\n if (className) {\r\n classIcon = cn(classIcon, className);\r\n }\r\n if (iconWithBackground || verticalAlign) {\r\n if (verticalAlign === 'middle') {\r\n classIconDiv = cn(classIcon, classes.middle);\r\n }\r\n else if (iconWithBackground) {\r\n classIconDiv = cn(classIcon, classes.iconBackground);\r\n }\r\n else {\r\n classIconDiv = classIcon;\r\n }\r\n return (React.createElement(\"div\", { className: classIconDiv },\r\n React.createElement(EdsIcon, Object.assign({ ref: ref }, rest))));\r\n }\r\n return (React.createElement(EdsIcon, Object.assign({ className: classIcon, ref: ref }, rest)));\r\n};\r\nconst IconFRC = forwardRef(Icon);\r\nIconFRC.displayName = 'IconFRC';\r\nexport default withStyles(styles, { name: 'IconWS' })(IconFRC);\r\n","import React from 'react';\r\nimport EdsGrid from '@ellucian/react-design-system/core/es/Grid';\r\nconst defaultProps = {\r\n component: 'div',\r\n container: false,\r\n item: false\r\n};\r\nconst defaultPropsContainer = Object.assign({ alignContent: 'stretch', alignItems: 'stretch', direction: 'row', justify: 'flex-start', wrap: 'wrap' }, defaultProps);\r\nconst defaultPropsItem = Object.assign({ lg: false, md: false, sm: false, xl: false, xs: false, zeroMinWidth: false }, defaultProps);\r\nconst Grid = (props) => {\r\n const { container, item } = props;\r\n let defaultPropsGrid = {};\r\n if (container) {\r\n defaultPropsGrid = defaultPropsContainer;\r\n }\r\n else if (item) {\r\n defaultPropsGrid = defaultPropsItem;\r\n }\r\n else {\r\n defaultPropsGrid = defaultProps;\r\n }\r\n return (React.createElement(EdsGrid, Object.assign({}, defaultPropsGrid, props)));\r\n};\r\nexport default Grid;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport React, { forwardRef } from 'react';\r\nimport Grid from '../Grid';\r\nimport EdsTypography from '@ellucian/react-design-system/core/es/Typography';\r\nimport Icon from '../Icon';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n baseline: {\r\n verticalAlign: 'baseline'\r\n },\r\n block: {\r\n display: 'block'\r\n },\r\n bottom: {\r\n verticalAlign: 'bottom'\r\n },\r\n inheritVerticalAlign: {\r\n verticalAlign: 'inherit'\r\n },\r\n inline: {\r\n display: 'inline'\r\n },\r\n inlineBlock: {\r\n display: 'inline-block'\r\n },\r\n light: {\r\n fontWeight: Tokens.fontWeightLight\r\n },\r\n middle: {\r\n verticalAlign: 'middle'\r\n },\r\n normal: {\r\n fontWeight: Tokens.fontWeightNormal\r\n },\r\n sizeInherit: {\r\n fontSize: 'inherit'\r\n },\r\n strong: {\r\n fontWeight: Tokens.fontWeightBold\r\n },\r\n top: {\r\n verticalAlign: 'top'\r\n }\r\n});\r\nconst Text = (props, ref) => {\r\n const { IconProps, children, classes, className, component, display, size, verticalAlign, verticalAlignIcon, weight } = props, rest = __rest(props, [\"IconProps\", \"children\", \"classes\", \"className\", \"component\", \"display\", \"size\", \"verticalAlign\", \"verticalAlignIcon\", \"weight\"]);\r\n let classText = '';\r\n let customComponent;\r\n let variant;\r\n switch (size) {\r\n case 'inherit':\r\n classText = classes.sizeInherit;\r\n variant = 'body2';\r\n break;\r\n case 'h1':\r\n variant = 'h1';\r\n break;\r\n case 'h2':\r\n variant = 'h2';\r\n break;\r\n case 'h3':\r\n variant = 'h3';\r\n break;\r\n case 'h4':\r\n variant = 'h4';\r\n break;\r\n case 'large':\r\n variant = 'body1';\r\n break;\r\n case 'small':\r\n variant = 'body3';\r\n break;\r\n default:\r\n variant = 'body2';\r\n }\r\n if (!Boolean(customComponent)) {\r\n customComponent = component;\r\n }\r\n switch (weight) {\r\n case 'light':\r\n classText = classnames(classText, classes.light);\r\n break;\r\n case 'strong':\r\n classText = classnames(classText, classes.strong);\r\n break;\r\n default:\r\n classText = classnames(classText, classes.normal);\r\n }\r\n if (IconProps) {\r\n classText = classnames(classText, classes.inline);\r\n }\r\n else {\r\n switch (display) {\r\n case 'inline':\r\n classText = classnames(classText, classes.inline);\r\n break;\r\n case 'inline-block':\r\n classText = classnames(classText, classes.inlineBlock);\r\n break;\r\n default:\r\n classText = classnames(classText, classes.block);\r\n }\r\n }\r\n switch (verticalAlign) {\r\n case 'inherit':\r\n classText = classnames(classText, classes.inheritVerticalAlign);\r\n break;\r\n case 'top':\r\n classText = classnames(classText, classes.top);\r\n break;\r\n case 'middle':\r\n classText = classnames(classText, classes.middle);\r\n break;\r\n case 'bottom':\r\n classText = classnames(classText, classes.bottom);\r\n break;\r\n case 'baseline':\r\n classText = classnames(classText, classes.baseline);\r\n break;\r\n }\r\n if (className) {\r\n classText = classnames(classText, className);\r\n }\r\n const typographyComponent = (React.createElement(EdsTypography, Object.assign({ className: classText, component: customComponent, ref: ref, variant: variant }, rest), children));\r\n if (IconProps) {\r\n return (React.createElement(Grid, { container: true, spacing: 0, wrap: \"nowrap\", alignItems: verticalAlignIcon },\r\n React.createElement(Grid, { item: true },\r\n React.createElement(Icon, Object.assign({ marginRight2: true, verticalAlign: \"middle\" }, IconProps))),\r\n React.createElement(Grid, { item: true, xs: true }, typographyComponent)));\r\n }\r\n return (React.createElement(React.Fragment, null, typographyComponent));\r\n};\r\nconst TextFRC = forwardRef(Text);\r\nTextFRC.displayName = 'TextFRC';\r\nTextFRC.defaultProps = {\r\n align: 'inherit',\r\n color: 'initial',\r\n display: 'block',\r\n gutterBottom: false,\r\n size: 'default',\r\n weight: 'normal'\r\n};\r\nexport default withStyles(styles)(TextFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsButton from '@ellucian/react-design-system/core/es/Button';\r\nimport Icon from '../Icon';\r\nimport Text from '../Text';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nimport Tokens from '../styles/Tokens';\r\nimport { isWidthDown, withWidth } from '../withWidth/withWidth';\r\nconst styles = createStyles({\r\n centerAlign: {\r\n textAlign: 'center'\r\n },\r\n childrenContainer: {\r\n alignItems: 'center',\r\n display: 'flex',\r\n justifyContent: 'center'\r\n },\r\n contained: {},\r\n containedSecondary: {},\r\n disabled: {},\r\n inheritAlign: {\r\n textAlign: 'inherit'\r\n },\r\n justifyAlign: {\r\n textAlign: 'justify'\r\n },\r\n leftAlign: {\r\n textAlign: 'left'\r\n },\r\n rightAlign: {\r\n textAlign: 'right'\r\n },\r\n root: {},\r\n text: {},\r\n textInline: {\r\n textAlign: 'center',\r\n width: Tokens.widthFluid\r\n },\r\n sizeDefault: {},\r\n sizeLarge: {}\r\n});\r\nconst Button = (props, ref) => {\r\n const { IconProps, TextProps, align, children, classes, disabled, fluid, loading, noTextCover, textVariantStyling, variant, width } = props, rest = __rest(props, [\"IconProps\", \"TextProps\", \"align\", \"children\", \"classes\", \"disabled\", \"fluid\", \"loading\", \"noTextCover\", \"textVariantStyling\", \"variant\", \"width\"]);\r\n const isXSmall = isWidthDown('xs', width);\r\n const isTextInlineButton = variant === 'text' && textVariantStyling === 'inline';\r\n const isTextStandaloneButton = variant === 'text' && textVariantStyling !== 'inline';\r\n const classOverrides = omit(classes, ['centerAlign', 'childrenContainer', 'inheritAlign',\r\n 'justifyAlign', 'leftAlign', 'rightAlign', 'textInline']);\r\n if (align) {\r\n switch (align) {\r\n case 'center':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.centerAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.centerAlign);\r\n break;\r\n case 'inherit':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.inheritAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.inheritAlign);\r\n break;\r\n case 'justify':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.justifyAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.justifyAlign);\r\n break;\r\n case 'left':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.leftAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.leftAlign);\r\n break;\r\n case 'right':\r\n classOverrides.textInline = classnames(classOverrides.textInline, classes.rightAlign);\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.rightAlign);\r\n break;\r\n }\r\n }\r\n if (isXSmall && isTextStandaloneButton) {\r\n classOverrides.textStandalone = classnames(classOverrides.textStandalone, classes.textInline);\r\n }\r\n const contentButton = (React.createElement(React.Fragment, null, IconProps || loading ? (React.createElement(\"span\", { className: classes.childrenContainer },\r\n loading ? (React.createElement(Icon, { marginRight: true, name: \"spinner\", spin: true })) : (IconProps && (React.createElement(Icon, Object.assign({ marginRight: true }, IconProps)))),\r\n React.createElement(\"span\", null, children))) : (React.createElement(\"span\", null, children))));\r\n const button = (React.createElement(EdsButton, Object.assign({ classes: classOverrides, disabled: loading ? true : disabled, fluid: !isXSmall\r\n || fluid !== undefined\r\n || isTextInlineButton ? fluid : true, textVariantStyling: textVariantStyling, variant: variant, ref: ref }, rest), contentButton));\r\n if (!noTextCover && isTextInlineButton) {\r\n return (React.createElement(Text, Object.assign({ component: \"span\", ref: ref }, TextProps), button));\r\n }\r\n else {\r\n return (React.createElement(React.Fragment, null, button));\r\n }\r\n};\r\nconst ButtonFRC = forwardRef(Button);\r\nButtonFRC.displayName = 'ButtonFRC';\r\nButtonFRC.defaultProps = {\r\n id: ''\r\n};\r\nexport default withStyles(styles, { name: 'ButtonWS' })(withWidth()(ButtonFRC));\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport { ButtonGroup as EdsButtonGroup } from '@ellucian/react-design-system/core/es/Button';\r\nimport { Tokens } from '../styles';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = (theme) => createStyles({\r\n root: {\r\n [theme.breakpoints.only('xs')]: {\r\n width: Tokens.widthFluid\r\n },\r\n '& button': {\r\n [theme.breakpoints.only('xs')]: {\r\n marginLeft: 0,\r\n marginRight: 0\r\n }\r\n },\r\n width: 'auto'\r\n },\r\n toggleGroup: {\r\n '& > button:first-child': {\r\n borderBottomRightRadius: 0,\r\n borderTopRightRadius: 0\r\n },\r\n '& > button:last-child': {\r\n borderBottomLeftRadius: 0,\r\n borderTopLeftRadius: 0\r\n },\r\n '& > button:not(:first-child):not(:last-child)': {\r\n borderBottomLeftRadius: 0,\r\n borderBottomRightRadius: 0,\r\n borderTopLeftRadius: 0,\r\n borderTopRightRadius: 0\r\n },\r\n '& button': {\r\n marginLeft: 0,\r\n marginRight: 0\r\n },\r\n display: 'flex',\r\n flexWrap: 'nowrap'\r\n }\r\n});\r\nconst ButtonGroup = (props, ref) => {\r\n const { children, classes, toggle } = props, rest = __rest(props, [\"children\", \"classes\", \"toggle\"]);\r\n const classOverrides = omit(classes, ['toggleGroup']);\r\n if (toggle) {\r\n classOverrides.root = classnames(classes.root, classes.toggleGroup);\r\n }\r\n return (React.createElement(EdsButtonGroup, Object.assign({ classes: classOverrides, ref: ref }, rest), children));\r\n};\r\nconst ButtonGroupFRC = forwardRef(ButtonGroup);\r\nButtonGroupFRC.displayName = 'ButtonGroupFRC';\r\nexport default withStyles(styles, { name: 'ButtonGroupWS' })(ButtonGroupFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React, { forwardRef } from 'react';\r\nimport EdsIconButton from '@ellucian/react-design-system/core/es/IconButton';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n notSelectedStatus: {\r\n border: `${Tokens.borderWidthThin} solid ${Tokens.colorBrandNeutral300}`\r\n },\r\n root: {\r\n '& *': {\r\n pointerEvents: 'none'\r\n }\r\n },\r\n selectedStatus: {\r\n backgroundColor: Tokens.colorBrandNeutral300\r\n }\r\n});\r\nconst IconButton = (props, ref) => {\r\n const { children, classes, selected, title } = props, rest = __rest(props, [\"children\", \"classes\", \"selected\", \"title\"]);\r\n const classOverrides = omit(classes, ['notSelectedStatus', 'selectedStatus']);\r\n if (selected === true) {\r\n classOverrides.root = classnames(classes.root, classes.selectedStatus);\r\n }\r\n else if (selected === false) {\r\n classOverrides.root = classnames(classes.root, classes.notSelectedStatus);\r\n }\r\n return (React.createElement(EdsIconButton, Object.assign({ \"aria-label\": title, classes: classOverrides, title: title, ref: ref }, rest), children));\r\n};\r\nconst IconButtonFRC = forwardRef(IconButton);\r\nIconButtonFRC.displayName = 'IconButtonFRC';\r\nexport default withStyles(styles, { name: 'IconButtonWS' })(IconButtonFRC);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React, { forwardRef } from 'react';\r\nimport EdsTooltip from '@ellucian/react-design-system/core/es/Tooltip';\r\nconst Tooltip = (props, ref) => {\r\n const { children } = props, rest = __rest(props, [\"children\"]);\r\n return (React.createElement(EdsTooltip, Object.assign({ ref: ref }, rest), children));\r\n};\r\nconst TooltipFRC = forwardRef(Tooltip);\r\nTooltipFRC.displayName = 'TooltipFRC';\r\nexport default TooltipFRC;\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EdsDialog, { DialogActions as EdsDialogActions, DialogContent as EdsDialogContent, DialogTitle as EdsDialogTitle } from '@ellucian/react-design-system/core/es/Dialog';\r\nimport withMobileDialog from '@ellucian/react-design-system/core/es/withMobileDialog';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n modalContent: {\r\n padding: Tokens.spacing40\r\n }\r\n});\r\nconst Modal = (props) => {\r\n const { children, classes, disableHeaderTypography, disableSpacing, footer, header, id, noContentPadding } = props, rest = __rest(props, [\"children\", \"classes\", \"disableHeaderTypography\", \"disableSpacing\", \"footer\", \"header\", \"id\", \"noContentPadding\"]);\r\n let modalHeader;\r\n if (header) {\r\n modalHeader = (React.createElement(EdsDialogTitle, { disableTypography: disableHeaderTypography, id: `title${id}` }, header));\r\n }\r\n let modalBody;\r\n if (children) {\r\n modalBody = (React.createElement(EdsDialogContent, { classes: { root: noContentPadding ? undefined : classes.modalContent } }, children));\r\n }\r\n let modalFooter;\r\n if (footer) {\r\n modalFooter = (React.createElement(EdsDialogActions, { disableSpacing: disableSpacing }, footer));\r\n }\r\n return (React.createElement(EdsDialog, Object.assign({ \"aria-labelledby\": `title${id}`, id: id }, rest),\r\n modalHeader,\r\n modalBody,\r\n modalFooter));\r\n};\r\nexport default withMobileDialog()(withStyles(styles)(Modal));\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport withWidth, { isWidthDown } from '../withWidth';\n/**\n * Dialog will responsively be full screen *at or below* the given breakpoint\n * (defaults to 'sm' for mobile devices).\n * Notice that this Higher-order Component is incompatible with server-side rendering.\n */\n\nvar withMobileDialog = function withMobileDialog() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return function (Component) {\n var _options$breakpoint = options.breakpoint,\n breakpoint = _options$breakpoint === void 0 ? 'sm' : _options$breakpoint;\n\n function WithMobileDialog(props) {\n return /*#__PURE__*/React.createElement(Component, _extends({\n fullScreen: isWidthDown(breakpoint, props.width)\n }, props));\n }\n\n process.env.NODE_ENV !== \"production\" ? WithMobileDialog.propTypes = {\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']).isRequired\n } : void 0;\n return withWidth()(WithMobileDialog);\n };\n};\n\nexport default withMobileDialog;","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport classnames from 'classnames';\r\nimport omit from 'lodash/omit';\r\nimport React from 'react';\r\nimport EdsBackdrop from '@ellucian/react-design-system/core/es/Backdrop';\r\nimport EdsCircularProgress from '@ellucian/react-design-system/core/es/CircularProgress';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = (theme) => createStyles({\r\n customPageLoader: {\r\n color: theme.palette.primary.main\r\n },\r\n overModal: {\r\n 'z-index': `${Number(Tokens.zIndexModal) + 1}${Tokens.important}`\r\n }\r\n});\r\nconst PageLoader = (props) => {\r\n const { classes, id, isDefault, open, overModal } = props, rest = __rest(props, [\"classes\", \"id\", \"isDefault\", \"open\", \"overModal\"]);\r\n const classOverrides = omit(classes, ['overModal', 'customPageLoader']);\r\n if (overModal) {\r\n classOverrides.root = classnames(classes.root, classes.overModal);\r\n }\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(EdsBackdrop, { classes: classOverrides, open: open },\r\n React.createElement(EdsCircularProgress, Object.assign({ className: !isDefault ? classes.customPageLoader : undefined, id: id, ize: 50, role: \"progressbar\" }, rest)))));\r\n};\r\nexport default withStyles(styles)(PageLoader);\r\n","var __rest = (this && this.__rest) || function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n};\r\nimport React from 'react';\r\nimport EdsSnackbar from '@ellucian/react-design-system/core/es/Snackbar';\r\nconst Snackbar = (props) => {\r\n const { children, type } = props, rest = __rest(props, [\"children\", \"type\"]);\r\n return (React.createElement(EdsSnackbar, Object.assign({ variant: type }, rest), children));\r\n};\r\nexport default Snackbar;\r\n","import classnames from 'classnames';\r\nimport React from 'react';\r\nimport EdsFooter from '@ellucian/react-design-system/core/es/Footer';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n footer: {\r\n width: Tokens.widthFluid\r\n }\r\n});\r\nconst Footer = (props) => {\r\n const { children, classes, className, id, text } = props;\r\n let classFooter = classes.footer;\r\n if (className) {\r\n classFooter = classnames(classFooter, className);\r\n }\r\n return (React.createElement(\"div\", { className: classFooter },\r\n React.createElement(EdsFooter, { footerText: text, id: id }, children)));\r\n};\r\nexport default withStyles(styles)(Footer);\r\n","import classnames from 'classnames';\r\nimport React from 'react';\r\nimport EdsPageHeader from '@ellucian/react-design-system/core/es/PageHeader';\r\nimport Grid from '../Grid';\r\nimport Tokens from '../styles/Tokens';\r\nimport { createStyles, withStyles } from '../styles/withStyles';\r\nconst styles = createStyles({\r\n h1: {},\r\n pageHeaderWhite: {\r\n color: Tokens.colorBrandNeutral100\r\n }\r\n});\r\nconst PageHeader = (props) => {\r\n const { classes, id, text, white } = props;\r\n const classOverrides = {\r\n h1: classes.h1\r\n };\r\n if (white) {\r\n classOverrides.h1 = classnames(classes.h1, classes.pageHeaderWhite);\r\n }\r\n return (React.createElement(Grid, { container: true },\r\n React.createElement(Grid, { item: true },\r\n React.createElement(EdsPageHeader, { classes: classOverrides, id: id, text: text }))));\r\n};\r\nexport default withStyles(styles)(PageHeader);\r\n","import React from 'react';\r\nimport Footer from '../../core/Footer';\r\nimport Grid from '../../core/Grid';\r\nimport PageHeader from '../../core/PageHeader';\r\nimport Constants from '../../../helpers/Constants';\r\nimport Format from '../../../helpers/Format';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport LayoutStore from '../../../flux/stores/LayoutStore';\r\nconst minWidthSS = '320px!important';\r\nconst styles = (theme) => createStyles({\r\n '@global': {\r\n '#root > div': {\r\n '& > header > nav': {\r\n '& > div > div:nth-child(3)': {\r\n '& > div > div > div > div > div > a': {\r\n '& > div': {\r\n '& > div': {\r\n [theme.breakpoints.up('sm')]: {\r\n maxWidth: '136px',\r\n textOverflow: 'ellipsis',\r\n whiteSpace: 'nowrap'\r\n }\r\n },\r\n [theme.breakpoints.up('sm')]: {\r\n overflow: 'hidden'\r\n }\r\n }\r\n },\r\n left: 'auto',\r\n position: 'absolute',\r\n right: 0\r\n },\r\n '& > div > div:nth-child(4)': {\r\n minWidth: minWidthSS\r\n },\r\n minWidth: minWidthSS,\r\n right: 'auto!important'\r\n },\r\n height: Tokens.heightFluid\r\n },\r\n '.rbc-event-label': {\r\n display: 'none'\r\n },\r\n '.ss-app': {\r\n display: 'flex',\r\n flexDirection: 'column',\r\n height: 'inherit',\r\n minWidth: minWidthSS,\r\n overflowX: 'hidden',\r\n overflowY: 'hidden',\r\n WebkitOverflowScrolling: 'touch'\r\n },\r\n '.static-element': {\r\n position: 'sticky',\r\n top: Tokens.spacing05\r\n },\r\n '@keyframes blinker': {\r\n '0%, 50%, 100%': { opacity: 0 },\r\n '25%, 75%': { opacity: 1 }\r\n },\r\n '@keyframes slidein': {\r\n from: {\r\n opacity: 0\r\n },\r\n to: {\r\n opacity: 1\r\n }\r\n }\r\n },\r\n containerContentPage: {\r\n [theme.breakpoints.down('md')]: {\r\n paddingLeft: Tokens.sizingXxLarge,\r\n paddingRight: Tokens.sizingXxLarge\r\n },\r\n [theme.breakpoints.only('xs')]: {\r\n paddingLeft: Tokens.spacing50,\r\n paddingRight: Tokens.spacing50\r\n },\r\n paddingLeft: '130px',\r\n paddingRight: '130px'\r\n },\r\n containerMain: {\r\n height: Tokens.heightFluid\r\n },\r\n contentPage: {\r\n height: 'inherit',\r\n marginBottom: Tokens.spacing70\r\n },\r\n main: {\r\n backgroundPosition: 'top',\r\n backgroundRepeat: 'no-repeat',\r\n backgroundSize: 'cover',\r\n height: Tokens.heightFluid,\r\n overflowX: 'hidden',\r\n overflowY: 'auto',\r\n WebkitOverflowScrolling: 'touch'\r\n },\r\n topMain: {\r\n minHeight: Tokens.spacing85\r\n }\r\n});\r\nconst ContentPage = (props) => {\r\n const { backgroundImageUrl, buildVersion, buildYear, classes, contentPage, headerTitle, navTabs, noPadding, withBackgroundImage, withFooter } = props;\r\n let styleMain;\r\n if (withBackgroundImage) {\r\n const backgroundDefaultUrl = `${Constants.imagesCDN}/bg/PowerCampus-Background.png`;\r\n const gradient = 'linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.65) 100%), ';\r\n styleMain = {\r\n backgroundImage: `${backgroundImageUrl ? gradient : ''}url(${backgroundImageUrl ? backgroundImageUrl : backgroundDefaultUrl})`\r\n };\r\n }\r\n const layoutResources = LayoutStore.getResourcesLayout();\r\n return (React.createElement(React.Fragment, null,\r\n React.createElement(\"div\", { className: classes.topMain }),\r\n React.createElement(\"main\", { id: \"mainContent\", className: classes.main, style: styleMain },\r\n React.createElement(Grid, { className: classes.main, container: true, direction: \"column\", justify: \"space-between\", wrap: \"nowrap\", spacing: 0 },\r\n React.createElement(Grid, { item: true },\r\n React.createElement(Grid, { container: true, className: noPadding ? undefined : classes.containerContentPage, spacing: 0 },\r\n React.createElement(Grid, { item: true, className: classes.contentPage, id: \"contentPage\", xs: 12 },\r\n headerTitle ? (React.createElement(PageHeader, { id: \"lblPageHeader\", text: headerTitle, white: withBackgroundImage && Boolean(backgroundImageUrl) })) : undefined,\r\n navTabs,\r\n React.createElement(Grid, { container: true, spacing: 0 },\r\n React.createElement(Grid, { item: true, xs: true }, contentPage))))),\r\n React.createElement(Grid, { item: true }, withFooter\r\n && layoutResources\r\n && layoutResources.footer\r\n && buildVersion\r\n && buildYear ? (React.createElement(Footer, { id: \"footerContent\", text: Format.toString(layoutResources.footer.formatText, [buildVersion, buildYear]) })) : undefined)))));\r\n};\r\nexport default withStyles(styles)(ContentPage);\r\n","import LayoutActions from '../flux/actions/LayoutActions';\r\nimport LogData from '../helpers/LogData';\r\nconst Storage = {\r\n loadFromStorage(key) {\r\n try {\r\n const stateFromStorage = localStorage.getItem(key);\r\n if (stateFromStorage == null) {\r\n return undefined;\r\n }\r\n return JSON.parse(stateFromStorage);\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.loadFromStorage.name, e));\r\n }\r\n },\r\n saveToStorage(key, value) {\r\n try {\r\n const stateFromStorage = JSON.stringify(value);\r\n localStorage.setItem(key, stateFromStorage);\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.saveToStorage.name, e));\r\n }\r\n },\r\n removeFromStorage(key) {\r\n try {\r\n localStorage.removeItem(key);\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.removeFromStorage.name, e));\r\n }\r\n },\r\n clearStorage() {\r\n try {\r\n localStorage.clear();\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(this.clearStorage.name, e));\r\n }\r\n }\r\n};\r\nexport default Storage;\r\n","const StorageKeys = {\r\n urlAdvisees: 'urlAdvisees',\r\n urlChecklist: 'urlChecklist',\r\n urlDegreeReq: 'urlDegreeReq'\r\n};\r\nexport default StorageKeys;\r\n","export var NotificationType;\r\n(function (NotificationType) {\r\n NotificationType[NotificationType[\"PermissionRequest\"] = 1] = \"PermissionRequest\";\r\n})(NotificationType || (NotificationType = {}));\r\n","import React from 'react';\r\nimport EdsBadge, { NotificationBadge as EdsNotificationBadge } from '@ellucian/react-design-system/core/es/Badge';\r\nimport EdsHeaderBar, { HeaderBarLogo as EdsHeaderBarLogo } from '@ellucian/react-design-system/core/es/HeaderBar';\r\nimport EdsLogo from '@ellucian/react-design-system/core/es/Logo';\r\nimport Icon from '../../core/Icon';\r\nimport Text from '../../core/Text';\r\nimport { withWidth } from '../../core/withWidth';\r\nimport Format from '../../../helpers/Format';\r\nimport Storage from '../../../storage';\r\nimport StorageKeys from '../../../storage/StorageKeys';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport { CartItemType } from '../../../types/Student/ICartItem';\r\nimport { NotificationType } from '../../../types/INotification';\r\nimport LayoutStore from '../../../flux/stores/LayoutStore';\r\nconst styles = ((theme) => createStyles({\r\n badgeCart: {\r\n [theme.breakpoints.up('sm')]: {\r\n right: '-30.4px'\r\n },\r\n minWidth: '0rem',\r\n position: 'absolute',\r\n right: 0,\r\n top: 0\r\n },\r\n badgeCartContainer: {\r\n [theme.breakpoints.up('sm')]: {\r\n width: `calc(${Tokens.widthFluid} - 32px)`\r\n },\r\n '& > span': {\r\n [theme.breakpoints.up('sm')]: {\r\n width: Tokens.widthFluid\r\n }\r\n }\r\n },\r\n badgeCartText: {\r\n [theme.breakpoints.only('xs')]: {\r\n width: '90vw'\r\n }\r\n },\r\n customLogo: {\r\n display: 'inline-block',\r\n fill: Tokens.colorFillLogoPreferred,\r\n height: Tokens.sizingXxLarge1,\r\n padding: Tokens.spacing40\r\n },\r\n customLogoContainer: {\r\n padding: '0rem'\r\n },\r\n edsLogo: {\r\n '& svg': {\r\n width: '5.625rem'\r\n },\r\n minWidth: '0rem!important',\r\n padding: '0rem!important'\r\n },\r\n iconListMenu: {\r\n marginRight: Tokens.spacing50\r\n }\r\n}));\r\nconst defaultProps = {\r\n countCart: -1,\r\n homeUrl: '/',\r\n isAuthenticated: false,\r\n logOutUrl: '/Home/LogOut',\r\n profileUrl: '/Account/Profile',\r\n resources: undefined,\r\n valueSelected: ''\r\n};\r\nconst NavBar = (props) => {\r\n const { cartItems, classes, countCart, displayName, homeUrl, isAuthenticated, layoutPermissions, logoAlternateText, logoUrl, logOutUrl, menuOptions, notifications, profileUrl, resources, showCart, showNotifications, valueSelected, width } = props;\r\n const getCartKey = (cartItem) => {\r\n let cartKey = '';\r\n if (resources) {\r\n switch (cartItem.type) {\r\n case CartItemType.Traditional:\r\n cartKey = `btnCartItem_${cartItem.value}`;\r\n break;\r\n case CartItemType.ContinuingEducation:\r\n cartKey = 'btnConEdCartItem';\r\n break;\r\n }\r\n }\r\n return cartKey;\r\n };\r\n const getCartLabel = (cartItem) => {\r\n let cartLabel = '';\r\n if (resources) {\r\n switch (cartItem.type) {\r\n case CartItemType.Traditional:\r\n cartLabel = cartItem.description;\r\n break;\r\n case CartItemType.ContinuingEducation:\r\n cartLabel = resources.utilityNav.cartMessages.lblContinuingEducation;\r\n break;\r\n }\r\n }\r\n return cartLabel;\r\n };\r\n const getCartSingleLabel = (cartItem) => {\r\n let cartLabel = '';\r\n if (resources) {\r\n switch (cartItem.type) {\r\n case CartItemType.Traditional:\r\n cartLabel = `${resources.utilityNav.lblCart}: ${cartItem.description}`;\r\n break;\r\n case CartItemType.ContinuingEducation:\r\n cartLabel = `${resources.utilityNav.lblCart}: ${resources.utilityNav.cartMessages.lblContinuingEducation}`;\r\n break;\r\n }\r\n }\r\n return cartLabel;\r\n };\r\n const lstMenuOptions = [];\r\n const lstUtilityOptions = [];\r\n const lstMegaMenuOptions = [];\r\n let registrationUrl;\r\n let conEdRegistrationUrl;\r\n let enrollmentUrl;\r\n if (menuOptions && menuOptions !== null) {\r\n let items;\r\n menuOptions.forEach(optionMenu => {\r\n if (optionMenu.isVisible) {\r\n if (optionMenu.options && optionMenu.options.length > 0) {\r\n items = [];\r\n optionMenu.options.forEach(optionSubMenu => {\r\n if (optionSubMenu.id === 'CoursesId') {\r\n registrationUrl = optionSubMenu.url;\r\n }\r\n if (optionSubMenu.id === 'ConEdCoursesId') {\r\n conEdRegistrationUrl = optionSubMenu.url;\r\n }\r\n if (optionSubMenu.id === 'EnrollmentId') {\r\n enrollmentUrl = optionSubMenu.url;\r\n }\r\n if (items && optionSubMenu.isVisible) {\r\n items.push({\r\n content: (React.createElement(\"span\", { className: \"megamenu-option-second-level\", id: `${optionMenu.id.replace(' ', '')}_${optionSubMenu.id.replace(' ', '')}` }, optionSubMenu.text)),\r\n isCustom: optionSubMenu.isCustom,\r\n key: optionSubMenu.id,\r\n value: optionSubMenu.url\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n items = undefined;\r\n }\r\n lstMenuOptions.push({\r\n active: optionMenu.id === valueSelected,\r\n content: (React.createElement(\"span\", { className: \"megamenu-option-first-level\", id: optionMenu.id.replace(' ', '') }, optionMenu.text)),\r\n isCustom: optionMenu.isCustom,\r\n items: items,\r\n key: optionMenu.id,\r\n value: optionMenu.url\r\n });\r\n }\r\n });\r\n }\r\n if (resources && isAuthenticated) {\r\n let cartIcon;\r\n if (showCart &&\r\n (registrationUrl || conEdRegistrationUrl)\r\n && countCart !== undefined\r\n && countCart !== null\r\n && countCart >= 0) {\r\n if (countCart > 0) {\r\n cartIcon = (React.createElement(EdsNotificationBadge, { badgeContent: countCart },\r\n React.createElement(Icon, { name: \"cart\" })));\r\n }\r\n else {\r\n cartIcon = (React.createElement(Icon, { name: \"cart\" }));\r\n }\r\n }\r\n if (cartIcon && cartItems) {\r\n if (cartItems && cartItems.length > 0) {\r\n if (cartItems.length === 1) {\r\n lstUtilityOptions.push({\r\n content: cartIcon,\r\n items: undefined,\r\n key: getCartKey(cartItems[0]),\r\n label: getCartSingleLabel(cartItems[0])\r\n });\r\n }\r\n else {\r\n lstUtilityOptions.push({\r\n content: cartIcon,\r\n items: cartItems.map(cartItem => ({\r\n content: (React.createElement(\"span\", { className: classes.badgeCartContainer },\r\n React.createElement(EdsBadge, { badgeContent: cartItem.count, classes: { badge: classes.badgeCart } },\r\n React.createElement(\"span\", { className: classes.badgeCartText }, getCartLabel(cartItem))))),\r\n key: getCartKey(cartItem)\r\n })),\r\n key: 'btnCartItemList',\r\n label: resources.utilityNav.lblCart\r\n });\r\n }\r\n }\r\n else {\r\n lstUtilityOptions.push({\r\n content: cartIcon,\r\n items: undefined,\r\n key: 'btnCart',\r\n label: resources.utilityNav.lblCart\r\n });\r\n }\r\n }\r\n if (showNotifications && notifications && notifications.length > 0) {\r\n lstUtilityOptions.push({\r\n content: (React.createElement(EdsNotificationBadge, { badgeContent: notifications.length > 0 ? notifications.length : undefined },\r\n React.createElement(Icon, { name: \"notification\" }))),\r\n items: notifications.map((notification, iNotif) => {\r\n let notificationText = '';\r\n switch (notification.notificationType) {\r\n case NotificationType.PermissionRequest:\r\n notificationText = Format.toString(resources.utilityNav.notificationMessages.formatPermissionRequest, [notification.personFrom]);\r\n break;\r\n }\r\n return {\r\n content: (React.createElement(Text, null, notificationText)),\r\n key: `btnNotification_${iNotif}_${notification.notificationType}_${notification.personIdFrom}`\r\n };\r\n }),\r\n key: 'btnNotifications',\r\n label: resources.utilityNav.lblNotifications\r\n });\r\n }\r\n const accountMenu = [];\r\n let megaMenuAccount;\r\n if (width !== 'xs') {\r\n megaMenuAccount = {\r\n content: resources.utilityNav.lblProfile,\r\n items: [],\r\n key: 'account-menu'\r\n };\r\n }\r\n if (layoutPermissions && layoutPermissions.hasProfileClaim) {\r\n accountMenu.push({\r\n content: (React.createElement(React.Fragment, null,\r\n React.createElement(Icon, { name: \"user\", className: classes.iconListMenu }),\r\n React.createElement(\"span\", { id: \"lblUtilityProfile\" }, resources.utilityNav.profileMenu.lblProfile))),\r\n key: 'btnProfile'\r\n });\r\n if (megaMenuAccount && megaMenuAccount.items) {\r\n megaMenuAccount.items.push({\r\n content: (React.createElement(\"span\", { id: \"lblMegaMenuProfile\" }, resources.utilityNav.profileMenu.lblProfile)),\r\n key: 'btnMegaMenuProfile'\r\n });\r\n }\r\n }\r\n accountMenu.push({\r\n content: (React.createElement(React.Fragment, null,\r\n React.createElement(Icon, { name: \"sign-out\", className: classes.iconListMenu }),\r\n React.createElement(\"span\", { id: \"lblUtilityLogOut\" }, resources.utilityNav.profileMenu.lblLogOut))),\r\n key: 'btnLogOut'\r\n });\r\n if (megaMenuAccount && megaMenuAccount.items) {\r\n megaMenuAccount.items.push({\r\n content: (React.createElement(\"span\", { id: \"lblMegaMenuLogOut\" }, resources.utilityNav.profileMenu.lblLogOut)),\r\n key: 'btnMegaMenuLogOut'\r\n });\r\n }\r\n lstUtilityOptions.push({\r\n content: (React.createElement(Icon, { name: \"user\" })),\r\n contentLabel: displayName,\r\n items: accountMenu,\r\n key: 'profile-utility',\r\n label: resources.utilityNav.lblProfile\r\n });\r\n if (megaMenuAccount) {\r\n lstMegaMenuOptions.push(megaMenuAccount);\r\n }\r\n }\r\n const onItemSelected = (item) => {\r\n if (item.key) {\r\n const parts = item.key.split('_');\r\n switch (parts[0]) {\r\n case 'btnNotification':\r\n switch (parts[2]) {\r\n case '1':\r\n if (enrollmentUrl) {\r\n LayoutStore.abort();\r\n window.location.assign(`${enrollmentUrl}`);\r\n }\r\n break;\r\n }\r\n break;\r\n case 'btnCart':\r\n LayoutStore.abort();\r\n if (registrationUrl) {\r\n window.location.assign(registrationUrl);\r\n }\r\n else if (conEdRegistrationUrl) {\r\n window.location.assign(`${conEdRegistrationUrl}/Cart`);\r\n }\r\n break;\r\n case 'btnCartItem':\r\n LayoutStore.abort();\r\n if (registrationUrl) {\r\n window.location.assign(`${registrationUrl}/${parts[1]}`);\r\n }\r\n break;\r\n case 'btnConEdCartItem':\r\n LayoutStore.abort();\r\n if (conEdRegistrationUrl) {\r\n window.location.assign(`${conEdRegistrationUrl}/Cart`);\r\n }\r\n break;\r\n case 'btnMegaMenuLogOut':\r\n case 'btnLogOut':\r\n LayoutStore.abort();\r\n LayoutStore.setIsAuthenticated(false);\r\n LayoutStore.setMenuOptions(undefined);\r\n LayoutStore.setResourcesLayout(undefined);\r\n Storage.removeFromStorage(StorageKeys.urlAdvisees);\r\n window.location.assign(logOutUrl);\r\n break;\r\n case 'btnMegaMenuProfile':\r\n case 'btnProfile':\r\n LayoutStore.abort();\r\n window.location.assign(profileUrl);\r\n break;\r\n default:\r\n if (item.value) {\r\n if (item.isCustom) {\r\n window.open(item.value);\r\n }\r\n else {\r\n LayoutStore.abort();\r\n window.location.assign(item.value);\r\n }\r\n }\r\n break;\r\n }\r\n }\r\n };\r\n const logo = logoUrl ? (React.createElement(EdsHeaderBarLogo, { classes: { root: classes.customLogoContainer } },\r\n React.createElement(\"a\", { href: homeUrl, id: \"logoNavBar\" },\r\n React.createElement(\"img\", { alt: logoAlternateText, className: classes.customLogo, role: \"img\", src: logoUrl })))) : (React.createElement(EdsHeaderBarLogo, null,\r\n React.createElement(\"a\", { href: homeUrl, id: \"logoNavBar\" },\r\n React.createElement(EdsLogo, { className: classes.edsLogo }))));\r\n return (React.createElement(EdsHeaderBar, { autoGenerateMenus: true, logo: logo, megaMenuBadge: Boolean((countCart && countCart > 0) || (notifications && notifications.length > 0)), megaMenuDefinition: lstMegaMenuOptions, menuDefinition: lstMenuOptions, menuItemsLabel: resources ? resources.utilityNav.lblMegaMenuTitle : '', position: \"fixed\", showSearch: false, utilityDefinition: lstUtilityOptions, onItemSelected: onItemSelected }));\r\n};\r\nNavBar.defaultProps = defaultProps;\r\nexport default withStyles(styles)(withWidth()(NavBar));\r\n","export var ResultType;\r\n(function (ResultType) {\r\n ResultType[\"error\"] = \"error\";\r\n ResultType[\"info\"] = \"info\";\r\n ResultType[\"success\"] = \"success\";\r\n ResultType[\"warning\"] = \"warning\";\r\n})(ResultType || (ResultType = {}));\r\n","import LayoutActions from '../flux/actions/LayoutActions';\r\nimport LogData from '../helpers/LogData';\r\nimport { ResultType } from '../types/ResultType';\r\nimport Format from './Format';\r\nconst Resolver = (json, functionName, onCatch) => {\r\n let result;\r\n try {\r\n result = Format.toJson(json);\r\n if (result && !result.status) {\r\n if (result.code) {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setRedirectCode(result.code);\r\n }\r\n else if (result.log) {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setAlert({ messageType: ResultType.error });\r\n }\r\n else {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setLogData(LogData.badJsonResult(functionName));\r\n }\r\n }\r\n }\r\n catch (e) {\r\n if (onCatch) {\r\n onCatch();\r\n }\r\n LayoutActions.setLogData(LogData.fromException(functionName, e));\r\n }\r\n return result;\r\n};\r\nexport default Resolver;\r\n","import { Tokens } from '../react/core/styles';\r\nimport Constants from './Constants';\r\nconst ThemeHelper = {\r\n getDefaultEmpty() {\r\n return {\r\n actionColor: '',\r\n backgroundUrl: '',\r\n faviconUrl: '',\r\n logoAlternateText: '',\r\n logoUrl: '',\r\n primaryColor: '',\r\n secondaryColor: '',\r\n studyingCalendarColor: '',\r\n teachingCalendarColor: ''\r\n };\r\n },\r\n getDefaultValues() {\r\n return {\r\n actionColor: Constants.defaultActionColor,\r\n backgroundUrl: '',\r\n faviconUrl: '',\r\n logoAlternateText: '',\r\n logoUrl: '',\r\n primaryColor: Tokens.colorBrandPrimary,\r\n secondaryColor: Tokens.colorBrandSecondary,\r\n studyingCalendarColor: Tokens.tangerine600,\r\n teachingCalendarColor: Tokens.purple600\r\n };\r\n },\r\n withDefaultValues(theme) {\r\n if (theme) {\r\n const themeSettingsWithDefaults = Object.assign({}, theme);\r\n const defaultTheme = this.getDefaultValues();\r\n if (!themeSettingsWithDefaults.primaryColor) {\r\n themeSettingsWithDefaults.primaryColor = defaultTheme.primaryColor;\r\n }\r\n if (!themeSettingsWithDefaults.secondaryColor) {\r\n themeSettingsWithDefaults.secondaryColor = defaultTheme.secondaryColor;\r\n }\r\n if (!themeSettingsWithDefaults.actionColor) {\r\n themeSettingsWithDefaults.actionColor = defaultTheme.actionColor;\r\n }\r\n if (!themeSettingsWithDefaults.studyingCalendarColor) {\r\n themeSettingsWithDefaults.studyingCalendarColor = defaultTheme.studyingCalendarColor;\r\n }\r\n if (!themeSettingsWithDefaults.teachingCalendarColor) {\r\n themeSettingsWithDefaults.teachingCalendarColor = defaultTheme.teachingCalendarColor;\r\n }\r\n return themeSettingsWithDefaults;\r\n }\r\n return this.getDefaultValues();\r\n },\r\n hasHTML5ColorCompatibility() {\r\n try {\r\n const color = document.createElement('input');\r\n color.setAttribute('type', 'color');\r\n return color.type !== 'text';\r\n }\r\n catch (_a) {\r\n return false;\r\n }\r\n }\r\n};\r\nexport default ThemeHelper;\r\n","import React from 'react';\r\nimport { clearInterval, clearTimeout, setInterval, setTimeout } from 'timers';\r\nimport { IconSprite as EdsIconSprite } from '@ellucian/ds-icons/lib';\r\nimport createEDSTheme from '../../core/themes/createEDSTheme';\r\nimport Alert from '../../core/Alert';\r\nimport Application from '../../core/Application';\r\nimport Button from '../../core/Button';\r\nimport Grid from '../../core/Grid';\r\nimport Icon from '../../core/Icon';\r\nimport IconButton from '../../core/IconButton';\r\nimport Modal from '../../core/Modal';\r\nimport PageLoader from '../../core/PageLoader';\r\nimport Snackbar from '../../core/Snackbar';\r\nimport Text from '../../core/Text';\r\nimport Tooltip from '../../core/Tooltip';\r\nimport ContentPage from '../ContentPage';\r\nimport NavBar from '../NavBar';\r\nimport Tokens from '../../core/styles/Tokens';\r\nimport { CtaColors } from '../../core/styles/Tokens';\r\nimport { createStyles, withStyles } from '../../core/styles/withStyles';\r\nimport { LogType } from '../../../types/LogType';\r\nimport { ResultType } from '../../../types/ResultType';\r\nimport Constants from '../../../helpers/Constants';\r\nimport LogData from '../../../helpers/LogData';\r\nimport Format from '../../../helpers/Format';\r\nimport Redirect from '../../../helpers/Redirect';\r\nimport Resolver from '../../../helpers/Resolver';\r\nimport ThemeHelper from '../../../helpers/ThemeHelper';\r\nimport Requests from '../../../requests/LayoutRequests';\r\nimport Actions from '../../../flux/actions/LayoutActions';\r\nimport Store from '../../../flux/stores/LayoutStore';\r\nconst styles = createStyles({\r\n privacyLink: {\r\n color: Tokens.colorBrandCtaBase,\r\n flexBasis: '100%',\r\n fontFamily: Tokens.fontFamilyDefault,\r\n fontSize: Tokens.fontSizeDefault,\r\n textAlign: 'center',\r\n textDecoration: 'underline',\r\n padding: `0 ${Tokens.spacing10}`,\r\n '&:hover': {\r\n color: Tokens.colorBrandCtaHover,\r\n textDecoration: 'underline',\r\n cursor: 'pointer'\r\n },\r\n '&:active': {\r\n color: Tokens.colorBrandCtaActive,\r\n textDecoration: 'underline'\r\n },\r\n '&:focus': {\r\n outline: 'none',\r\n textDecoration: 'underline',\r\n borderRadius: Tokens.borderRadiusSmall,\r\n boxShadow: `0 0 0 ${Tokens.borderWidthThick} ${Tokens.colorBorderGlobalFocus}`\r\n }\r\n }\r\n});\r\nclass Layout extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.onCloseTimeoutNotification = () => {\r\n try {\r\n this.setState({\r\n openTimeoutNotification: false\r\n });\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.onCloseTimeoutNotification.name, e));\r\n }\r\n };\r\n this.onExtendTimeoutNotification = () => {\r\n try {\r\n this.clearTimeoutSession();\r\n this.setState({\r\n isLoadingTimeoutNotification: true\r\n });\r\n Requests.getIsAuthenticated(this.resolveGetIsAuthenticated);\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.onExtendTimeoutNotification.name, e));\r\n }\r\n };\r\n this.setMegaMenuSuffix = (element) => {\r\n if (element.id && !element.id.endsWith('_megamenu')) {\r\n element.id = `${element.id}_megamenu`;\r\n }\r\n };\r\n this.setMegaMenuIds = () => {\r\n try {\r\n const megaMenuElementsFirstLevel = document.querySelectorAll('.megamenu-section span.megamenu-option-first-level');\r\n if (megaMenuElementsFirstLevel) {\r\n megaMenuElementsFirstLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n const megaMenuElementsSecondLevel = document.querySelectorAll('.megamenu-section span.megamenu-option-second-level');\r\n if (megaMenuElementsSecondLevel) {\r\n megaMenuElementsSecondLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n this.setMegaMenuIdsMobile();\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.setMegaMenuIds.name, e));\r\n }\r\n };\r\n this.setMegaMenuIdsMobile = () => {\r\n try {\r\n const megaMenuElementsMobileFirstLevel = document.querySelectorAll('.megamenu-menu-list span.megamenu-option-first-level');\r\n if (megaMenuElementsMobileFirstLevel) {\r\n megaMenuElementsMobileFirstLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n const megaMenuElementsMobileSecondLevel = document.querySelectorAll('.megamenu-menu-list span.megamenu-option-first-level');\r\n if (megaMenuElementsMobileSecondLevel) {\r\n megaMenuElementsMobileSecondLevel.forEach(this.setMegaMenuSuffix);\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.setMegaMenuIds.name, e));\r\n }\r\n };\r\n this.setPrivacyPolicy = () => {\r\n try {\r\n const { classes } = this.props;\r\n const { cultures } = this.state;\r\n let privacyLink = document.getElementById('lnkEllucianPrivacyPolicy');\r\n if (!privacyLink) {\r\n let megamenuFooter;\r\n megamenuFooter = document.querySelector('.megamenu-footer');\r\n if (megamenuFooter) {\r\n if (megamenuFooter.innerHTML.startsWith(' div');\r\n }\r\n if (megamenuFooter) {\r\n privacyLink = document.createElement('a');\r\n privacyLink.id = 'lnkEllucianPrivacyPolicy';\r\n privacyLink.href = 'https://www.ellucian.com/privacy';\r\n privacyLink.innerText = 'Privacy Notice';\r\n if (cultures === null || cultures === void 0 ? void 0 : cultures.uiCulture) {\r\n if (cultures.uiCulture.startsWith('es')) {\r\n privacyLink.href = 'https://www.ellucian.com/es/politica-de-privacidad';\r\n privacyLink.innerText = 'Aviso de Privacidad';\r\n }\r\n }\r\n privacyLink.target = '_blank';\r\n privacyLink.className = classes.privacyLink;\r\n megamenuFooter.appendChild(privacyLink);\r\n megamenuFooter.style.justifyContent = 'center';\r\n megamenuFooter.style.flexWrap = 'wrap';\r\n }\r\n }\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.setPrivacyPolicy.name, e));\r\n }\r\n };\r\n this.callbackObserver = (mutationRecord) => {\r\n if ((mutationRecord === null || mutationRecord === void 0 ? void 0 : mutationRecord.length) > 0) {\r\n const mutationType = mutationRecord.find(m => m.attributeName === 'style');\r\n if (mutationType) {\r\n this.setState({\r\n overModal: Boolean(mutationType.target.style) && mutationType.target.style.cssText === 'overflow: hidden;'\r\n });\r\n }\r\n }\r\n };\r\n this.clearTimeoutSessionCounter = () => {\r\n try {\r\n if (this.timeoutSessionCounter !== undefined) {\r\n this.timeoutSessionCounter.unref();\r\n clearInterval(this.timeoutSessionCounter);\r\n this.timeoutSessionCounter = undefined;\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.clearTimeoutSessionCounter.name, e));\r\n }\r\n };\r\n this.clearTimeoutNotification = () => {\r\n try {\r\n if (this.timeoutNotification !== undefined) {\r\n this.timeoutNotification.unref();\r\n clearTimeout(this.timeoutNotification);\r\n this.timeoutNotification = undefined;\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.clearTimeoutNotification.name, e));\r\n }\r\n };\r\n this.clearTimeoutSession = () => {\r\n try {\r\n if (this.timeoutSession !== undefined) {\r\n this.timeoutSession.unref();\r\n clearTimeout(this.timeoutSession);\r\n this.timeoutSession = undefined;\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.clearTimeoutSession.name, e));\r\n }\r\n };\r\n this.countTimeoutSessionCounter = () => {\r\n try {\r\n const { sessionCount } = this.state;\r\n if (sessionCount > 0) {\r\n this.setState({\r\n sessionCount: sessionCount - 1\r\n });\r\n }\r\n else {\r\n this.clearTimeoutSessionCounter();\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.countTimeoutSessionCounter.name, e));\r\n }\r\n };\r\n this.displayNotificationTimeout = () => {\r\n try {\r\n this.setState({\r\n sessionCount: this.notificationTimeout\r\n }, () => {\r\n this.setState({\r\n openTimeoutNotification: true\r\n });\r\n });\r\n this.clearTimeoutSession();\r\n const timeout = Store.getTimeout();\r\n if (timeout >= 0) {\r\n this.timeoutSession = setTimeout(this.redirectToLogout, (this.notificationTimeout * 1000) + 1000);\r\n }\r\n this.timeoutSessionCounter = setInterval(this.countTimeoutSessionCounter, 1000);\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.displayNotificationTimeout.name, e));\r\n }\r\n };\r\n this.redirectToLogout = () => {\r\n if (this.isADFS) {\r\n Redirect.refreshPage();\r\n }\r\n else if (this.isSAML) {\r\n Redirect.toSAMLLogin();\r\n }\r\n else {\r\n Redirect.toLogoutWithReturnUrl();\r\n }\r\n };\r\n this.resolveGetInitialLoadData = (json) => {\r\n try {\r\n const result = Resolver(json, this.resolveGetInitialLoadData.name);\r\n if (result === null || result === void 0 ? void 0 : result.status) {\r\n const { idMainModule, idMainPage, idModule, idPage, showCart } = this.props;\r\n const isAuthenticated = result.data.isAuthenticated;\r\n if (isAuthenticated) {\r\n if (showCart) {\r\n Actions.getCountCart();\r\n }\r\n const sessionTimeOut = result.data.sessionTimeout !== undefined ? result.data.sessionTimeout : -1;\r\n const tokenTimeout = result.data.tokenTimeout !== undefined ? result.data.tokenTimeout : -1;\r\n this.isADFS = Boolean(result.data.isADFS);\r\n this.isSAML = Boolean(result.data.isSAML);\r\n this.notificationTimeout = result.data.notificationTimeout || 0;\r\n Actions.setTimeout(sessionTimeOut, tokenTimeout, this.props.sessionTimeoutType, this.props.tokenTimeoutType);\r\n }\r\n const displayName = result.data.displayName;\r\n const layoutPermissions = result.data.layoutPermissions;\r\n let theme = result.data.theme;\r\n const cultures = result.data.cultures;\r\n const menu = result.data.options;\r\n const resources = result.data.resources;\r\n const layoutResources = result.data.layoutResources;\r\n if ((resources === null || resources === void 0 ? void 0 : resources.lblPageTitle) && (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblPageTitleGeneral) && layoutResources.lblPageTitleGeneral) {\r\n resources.lblPageTitle = `${layoutResources.lblPageTitleGeneral}${resources.lblPageTitle}`;\r\n }\r\n if (menu) {\r\n const moduleSelected = idMainModule ? `${idMainModule}Id` : `${idModule}Id`;\r\n const pageSelected = idMainPage ? `${idMainPage}Id` : `${idPage}Id`;\r\n menu.forEach(item => {\r\n if (item.id === moduleSelected) {\r\n if (item.options) {\r\n item.options.forEach(suboption => {\r\n if (suboption.id === pageSelected) {\r\n if (resources) {\r\n if (!resources.lblPageTitle) {\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblPageTitleGeneral) {\r\n resources.lblPageTitle = `${layoutResources.lblPageTitleGeneral}${suboption.text}`;\r\n }\r\n else {\r\n resources.lblPageTitle = suboption.text;\r\n }\r\n }\r\n if (!resources.lblHeaderTitle) {\r\n resources.lblHeaderTitle = suboption.text;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n }\r\n });\r\n }\r\n Store.setAuthMode(result.data.authMode);\r\n Store.setHasProfile(result.data.hasProfile);\r\n Store.setIsAuthenticated(isAuthenticated);\r\n Store.setMenuOptions(menu);\r\n Store.setPermissions(result.data.permissions);\r\n Store.setResources(result.data.resources);\r\n Store.setResourcesLayout(layoutResources);\r\n if (Boolean(cultures)) {\r\n Store.setCultures(cultures);\r\n this.setHTMLAttributes(cultures);\r\n }\r\n else {\r\n this.setHTMLAttributes(this.state.cultures);\r\n }\r\n Store.setTheme(theme);\r\n if (!Boolean(theme)) {\r\n theme = ThemeHelper.getDefaultEmpty();\r\n }\r\n const newUITheme = this.getUITheme(theme);\r\n let componentTranslations;\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.component) {\r\n const componentKeys = Object.keys(layoutResources.component);\r\n if (componentKeys.length > 0) {\r\n componentTranslations = {};\r\n let elementKeys;\r\n let componentName;\r\n let propName;\r\n for (const componentKey of componentKeys) {\r\n elementKeys = Object.keys(layoutResources.component[componentKey]);\r\n for (const elementKey of elementKeys) {\r\n componentName = `${componentKey[0].toUpperCase()}${componentKey.substr(1, componentKey.length - 1)}`;\r\n propName = `component.${componentName}.${elementKey}`;\r\n componentTranslations[propName] = layoutResources.component[componentKey][elementKey];\r\n }\r\n }\r\n }\r\n }\r\n this.setState({\r\n buildVersion: result.data.buildVersion,\r\n buildYear: result.data.buildYear,\r\n componentTranslations: componentTranslations,\r\n cultures: cultures !== null && cultures !== void 0 ? cultures : this.state.cultures,\r\n displayName: displayName,\r\n isAuthenticated: isAuthenticated,\r\n layoutPermissions: layoutPermissions,\r\n layoutResources: layoutResources,\r\n menuOptions: menu,\r\n notifications: result.data.notifications,\r\n resources: resources,\r\n sessionCount: this.notificationTimeout,\r\n themeEds: newUITheme,\r\n themeSettings: theme\r\n }, () => this.setState({\r\n ready: true\r\n }, () => {\r\n Actions.setLayoutReady(true);\r\n this.setMegaMenuIds();\r\n }));\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.resolveGetInitialLoadData.name, e));\r\n }\r\n };\r\n this.resolveGetIsAuthenticated = (json) => {\r\n try {\r\n const result = Resolver(json, this.resolveGetIsAuthenticated.name, this.redirectToLogout);\r\n if ((result === null || result === void 0 ? void 0 : result.status) && result.data) {\r\n this.setState({\r\n isLoadingTimeoutNotification: false,\r\n openTimeoutNotification: false\r\n });\r\n }\r\n else {\r\n this.clearTimeoutSession();\r\n this.clearTimeoutSessionCounter();\r\n this.clearTimeoutNotification();\r\n this.onCloseTimeoutNotification();\r\n this.redirectToLogout();\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.resolveGetIsAuthenticated.name, e));\r\n }\r\n };\r\n this.onAlertChange = () => {\r\n const alert = Store.getAlert();\r\n if (alert) {\r\n this.setState({\r\n alert: alert,\r\n loading: false,\r\n showMessage: true\r\n });\r\n }\r\n else {\r\n this.setState({\r\n alert: undefined,\r\n loading: false,\r\n showMessage: false\r\n });\r\n }\r\n };\r\n this.onCloseAlert = () => {\r\n this.setState({\r\n showMessage: false\r\n });\r\n };\r\n this.onCountCartChange = () => {\r\n this.setState({\r\n cartItems: Store.getCartItems(),\r\n countCart: Store.getCountCart()\r\n });\r\n };\r\n this.onError = () => {\r\n const error = Store.getError();\r\n const errorMessage = Store.getErrorMessage();\r\n if (error && errorMessage) {\r\n this.logError(LogData.fromMessage(this.onError.name, errorMessage));\r\n }\r\n };\r\n this.onLoadingChange = () => {\r\n const loading = Store.getLoading();\r\n this.setState({\r\n loading: loading\r\n });\r\n };\r\n this.onLogDataChange = () => {\r\n const { idModule, idPage } = this.props;\r\n const { layoutResources } = this.state;\r\n const alert = {\r\n message: 'There was an error in PowerCampus. Try again.',\r\n messageType: ResultType.error\r\n };\r\n const logData = Store.getLogData();\r\n if (logData) {\r\n logData.idModule = idModule;\r\n logData.idPage = idPage;\r\n switch (logData.type) {\r\n case LogType.GenericError:\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblError) {\r\n alert.message = layoutResources.lblError;\r\n }\r\n break;\r\n case LogType.CustomError:\r\n if (logData.userMessage) {\r\n alert.message = logData.userMessage;\r\n }\r\n break;\r\n }\r\n Requests.postError(logData);\r\n }\r\n this.setState({\r\n alert: alert,\r\n loading: false,\r\n logData: logData,\r\n showMessage: true\r\n });\r\n };\r\n this.onRedirectCodeChange = () => {\r\n const redirectCode = Store.getRedirectCode();\r\n if (redirectCode) {\r\n this.setState({\r\n loading: true\r\n });\r\n switch (redirectCode) {\r\n case -1:\r\n Redirect.toError();\r\n break;\r\n case 400:\r\n Redirect.toError400();\r\n break;\r\n case 401:\r\n Redirect.toError401();\r\n break;\r\n case 403:\r\n Redirect.toError403();\r\n break;\r\n case 404:\r\n Redirect.toError404();\r\n break;\r\n case 500:\r\n Redirect.toError500();\r\n break;\r\n case 503:\r\n Redirect.toError503();\r\n break;\r\n default:\r\n Redirect.toError500();\r\n break;\r\n }\r\n }\r\n };\r\n this.onReloadThemeChange = () => {\r\n const theme = Store.getTheme();\r\n const newUITheme = this.getUITheme(theme);\r\n this.setState({\r\n themeEds: newUITheme,\r\n themeSettings: theme\r\n });\r\n };\r\n this.onSetTimeout = () => {\r\n this.clearTimeoutSession();\r\n this.clearTimeoutSessionCounter();\r\n this.clearTimeoutNotification();\r\n this.onCloseTimeoutNotification();\r\n const timeout = Store.getTimeout();\r\n if (timeout >= 0) {\r\n if (this.notificationTimeout && this.notificationTimeout > 0) {\r\n this.timeoutNotification = setTimeout(this.displayNotificationTimeout, ((timeout - this.notificationTimeout) * 1000));\r\n }\r\n else {\r\n this.timeoutSession = setTimeout(this.redirectToLogout, (timeout * 1000));\r\n }\r\n }\r\n };\r\n document.title = '';\r\n this.notificationTimeout = 0;\r\n this.isADFS = false;\r\n this.isSAML = false;\r\n this.state = this.getInitialState();\r\n const target = document.getElementsByTagName('body');\r\n if ((target === null || target === void 0 ? void 0 : target.length) > 0) {\r\n this.bodyStyleObserver = new MutationObserver(this.callbackObserver);\r\n const config = {\r\n attributeFilter: ['style'],\r\n attributeOldValue: true,\r\n attributes: true\r\n };\r\n this.bodyStyleObserver.observe(target[0], config);\r\n }\r\n Store.addAlertListener(this.onAlertChange);\r\n Store.addCountCartListener(this.onCountCartChange);\r\n Store.addErrorListener(this.onError);\r\n Store.addLoadingListener(this.onLoadingChange);\r\n Store.addLogDataListener(this.onLogDataChange);\r\n Store.addRedirectCodeListener(this.onRedirectCodeChange);\r\n Store.addReloadThemeListener(this.onReloadThemeChange);\r\n Store.addTimeoutListener(this.onSetTimeout);\r\n window.onresize = () => {\r\n this.setPrivacyPolicy();\r\n this.setMegaMenuIds();\r\n };\r\n }\r\n getInitialState() {\r\n const themeSettings = Store.getTheme();\r\n return {\r\n countCart: -1,\r\n cultures: Store.getCultures(),\r\n isAuthenticated: Store.getIsAuthenticated(),\r\n isLoadingTimeoutNotification: false,\r\n layoutResources: Store.getResourcesLayout(),\r\n loading: false,\r\n logData: undefined,\r\n menuOptions: Store.getMenuOptions(),\r\n openTimeoutNotification: false,\r\n ready: false,\r\n sessionCount: this.notificationTimeout,\r\n showMessage: false,\r\n themeEds: themeSettings ? this.getUITheme(themeSettings) : undefined,\r\n themeSettings: themeSettings\r\n };\r\n }\r\n logError(logData) {\r\n Actions.setLogData(logData);\r\n }\r\n getUITheme(theme) {\r\n const oldMetaTheme = document.getElementById('dynamic-theme');\r\n const oldLinkFavicon = document.getElementById('dynamic-favicon');\r\n const metaTheme = document.createElement('meta');\r\n metaTheme.id = 'dynamic-theme';\r\n metaTheme.name = 'theme-color';\r\n const linkFavicon = document.createElement('link');\r\n linkFavicon.id = 'dynamic-favicon';\r\n linkFavicon.rel = 'icon';\r\n const newUITheme = createEDSTheme('light');\r\n if (theme) {\r\n if (theme.primaryColor || theme.secondaryColor) {\r\n newUITheme.palette.primary.main = theme.primaryColor ? theme.primaryColor.toUpperCase() : Tokens.colorBrandPrimary;\r\n newUITheme.palette.secondary.main = theme.secondaryColor ? theme.secondaryColor.toUpperCase() : Tokens.colorBrandSecondary;\r\n metaTheme.content = newUITheme.palette.primary.main;\r\n }\r\n else {\r\n metaTheme.content = Tokens.colorBrandPrimary;\r\n }\r\n if (theme.actionColor) {\r\n newUITheme.palette.ctaColor = CtaColors[theme.actionColor];\r\n }\r\n if (theme.faviconUrl) {\r\n linkFavicon.href = theme.faviconUrl;\r\n }\r\n else {\r\n linkFavicon.href = Constants.faviconCDN;\r\n }\r\n }\r\n else {\r\n metaTheme.content = Tokens.colorBrandPrimary;\r\n linkFavicon.href = Constants.faviconCDN;\r\n }\r\n if (oldMetaTheme) {\r\n document.head.removeChild(oldMetaTheme);\r\n }\r\n if (oldLinkFavicon) {\r\n document.head.removeChild(oldLinkFavicon);\r\n }\r\n document.head.appendChild(metaTheme);\r\n document.head.appendChild(linkFavicon);\r\n return newUITheme;\r\n }\r\n setHTMLAttributes(cultures) {\r\n const htmlTag = document.getElementsByTagName('html');\r\n if ((htmlTag === null || htmlTag === void 0 ? void 0 : htmlTag.length) > 0 && cultures.uiCulture) {\r\n htmlTag[0].lang = cultures.uiCulture;\r\n htmlTag[0].dir = cultures.isRightToLeft ? 'rtl' : 'ltr';\r\n }\r\n }\r\n componentDidMount() {\r\n try {\r\n const { idModule, idPage, noServer } = this.props;\r\n if (!noServer) {\r\n Actions.showPageLoader();\r\n Requests.getInitialLoadData(idModule, idPage, this.resolveGetInitialLoadData);\r\n }\r\n }\r\n catch (e) {\r\n this.logError(LogData.fromException(this.componentDidMount.name, e));\r\n }\r\n }\r\n componentWillUnmount() {\r\n if (this.bodyStyleObserver) {\r\n this.bodyStyleObserver.disconnect();\r\n }\r\n if (this.timeoutSession !== undefined) {\r\n clearTimeout(this.timeoutSession);\r\n }\r\n Store.removeAlertListener(this.onAlertChange);\r\n Store.removeCountCartListener(this.onCountCartChange);\r\n Store.removeErrorListener(this.onError);\r\n Store.removeLoadingListener(this.onLoadingChange);\r\n Store.removeLogDataListener(this.onLogDataChange);\r\n Store.removeRedirectCodeListener(this.onRedirectCodeChange);\r\n Store.removeTimeoutListener(this.onSetTimeout);\r\n }\r\n render() {\r\n var _a;\r\n const { children, idMainModule, idModule, hideHeader, noPadding, noServer, showCart, showNotifications, withBackgroundImage, withFooter } = this.props;\r\n const { alert, buildVersion, buildYear, cartItems, componentTranslations, countCart, cultures, displayName, isAuthenticated, isLoadingTimeoutNotification, layoutPermissions, loading, menuOptions, notifications, overModal, openTimeoutNotification: openNotificationTimeout, ready, resources, layoutResources, sessionCount, showMessage, themeEds, themeSettings } = this.state;\r\n let pageAlert;\r\n if (alert) {\r\n if (alert.snackbar) {\r\n pageAlert = (React.createElement(Snackbar, { action: layoutResources ? (React.createElement(Tooltip, { title: layoutResources.lblClose },\r\n React.createElement(IconButton, { color: \"white\", id: \"btnClosePageMessage\", \"aria-label\": layoutResources.lblClose, onClick: this.onCloseAlert },\r\n React.createElement(Icon, { name: \"close\" })))) : undefined, ContentProps: {\r\n 'aria-describedby': 'pageMessage'\r\n }, message: (React.createElement(\"span\", { id: \"pageMessage\" }, alert.message\r\n || (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblError)\r\n || 'There was an error in PowerCampus. Try again.')), open: showMessage, type: alert.message ? alert.messageType : ResultType.error, onClose: this.onCloseAlert }));\r\n }\r\n else {\r\n pageAlert = (React.createElement(Alert, { id: \"pageAlert\", open: showMessage, overModal: overModal, text: alert.message\r\n || (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblError)\r\n || 'There was an error in PowerCampus. Try again.', type: alert.message ? alert.messageType : ResultType.error, userDismissable: true, variant: \"page\", onClose: this.onCloseAlert }));\r\n }\r\n }\r\n let timeoutSessionModal;\r\n if (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.timeoutNotification) {\r\n timeoutSessionModal = (React.createElement(Modal, { disableBackdropClick: true, disableEscapeKeyDown: true, footer: (React.createElement(Button, { loading: isLoadingTimeoutNotification, id: \"btnExtendSession\", onClick: this.onExtendTimeoutNotification }, layoutResources.timeoutNotification.btnExtendSession)), id: \"TimeoutNotification\", header: layoutResources.timeoutNotification.lblNotificationTitle, open: openNotificationTimeout, showTitleBarClose: !isLoadingTimeoutNotification, onClose: this.onCloseTimeoutNotification },\r\n React.createElement(Grid, { container: true, spacing: 0 },\r\n React.createElement(Grid, { item: true, xs: true },\r\n React.createElement(Text, null, Format.toString(layoutResources.timeoutNotification.formatNotificationMessage, [sessionCount]))))));\r\n }\r\n let headerTitle;\r\n let navTabs;\r\n if (ready) {\r\n if (!hideHeader) {\r\n headerTitle = resources.lblHeaderTitle;\r\n }\r\n this.setPrivacyPolicy();\r\n }\r\n const dir = (cultures === null || cultures === void 0 ? void 0 : cultures.isRightToLeft) ? 'rtl' : 'ltr';\r\n return (React.createElement(Application, { dir: dir, labelOverrides: componentTranslations, theme: themeEds },\r\n React.createElement(EdsIconSprite, null),\r\n (themeEds && themeSettings) || noServer ? (React.createElement(React.Fragment, null,\r\n React.createElement(NavBar, { cartItems: cartItems, countCart: countCart, displayName: displayName, homeUrl: `${Constants.webUrl}/Home`, isAuthenticated: isAuthenticated, layoutPermissions: layoutPermissions, logoAlternateText: themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.logoAlternateText, logOutUrl: `${Constants.webUrl}/Home/LogOut`, logoUrl: themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.logoUrl, menuOptions: menuOptions, notifications: notifications, profileUrl: `${Constants.webUrl}/Account/Profile`, showCart: showCart, showNotifications: showNotifications, resources: (_a = layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.navBar) !== null && _a !== void 0 ? _a : undefined, valueSelected: idMainModule ? `${idMainModule}Id` : `${idModule}Id` }),\r\n React.createElement(\"div\", { className: \"ss-app\" },\r\n React.createElement(ContentPage, { backgroundImageUrl: themeSettings === null || themeSettings === void 0 ? void 0 : themeSettings.backgroundUrl, buildVersion: buildVersion, buildYear: buildYear, contentPage: children, headerTitle: headerTitle, isAuthenticated: isAuthenticated, navTabs: navTabs, noPadding: noPadding, withBackgroundImage: withBackgroundImage, withFooter: withFooter })))) : undefined,\r\n React.createElement(PageLoader, { id: \"pageLoader\", isDefault: Boolean(themeEds && themeSettings), open: loading, overModal: overModal, title: (layoutResources === null || layoutResources === void 0 ? void 0 : layoutResources.lblLoading) || '' }),\r\n pageAlert,\r\n timeoutSessionModal));\r\n }\r\n}\r\nconst LayoutWithStyles = withStyles(styles)(Layout);\r\nexport default LayoutWithStyles;\r\n","import React from 'react';\r\nimport { ResultType } from '../../../types/ResultType';\r\nimport LogData from '../../../helpers/LogData';\r\nimport LayoutActions from '../../../flux/actions/LayoutActions';\r\nclass DSErrorBoundary extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.showError = (message) => {\r\n LayoutActions.setAlert({ message: message, messageType: ResultType.error });\r\n };\r\n this.state = this.getInitialState();\r\n }\r\n getInitialState() {\r\n return {\r\n componentError: false\r\n };\r\n }\r\n static getDerivedStateFromError() {\r\n return {\r\n componentError: true\r\n };\r\n }\r\n logError(logData) {\r\n LayoutActions.setLogData(logData);\r\n }\r\n redirectError(code) {\r\n LayoutActions.setRedirectCode(code);\r\n }\r\n componentDidCatch(error, info) {\r\n this.logError(LogData.fromComponentException(this.componentDidCatch.name, error, info));\r\n this.showError();\r\n this.redirectError(500);\r\n }\r\n render() {\r\n const { children } = this.props;\r\n return (React.createElement(React.Fragment, null, children));\r\n }\r\n}\r\nexport default DSErrorBoundary;\r\n","import React from 'react';\r\nimport DSErrorBoundary from '../DSErrorBoundary';\r\nconst withLayout = (WrappedComponent) => {\r\n class LayoutWrap extends React.Component {\r\n render() {\r\n return (React.createElement(DSErrorBoundary, null,\r\n React.createElement(WrappedComponent, Object.assign({}, this.props))));\r\n }\r\n }\r\n return LayoutWrap;\r\n};\r\nexport default withLayout;\r\n","export const heightReset = '0rem';\r\nexport const important = '!important';\r\nexport const nonBreakingSpace = ' ';\r\nexport const spacing0 = '0rem';\r\nexport const spacing05 = '0.0625rem';\r\nexport const spacing34 = '0.625rem';\r\nexport const spacing35 = '0.75rem';\r\nexport const spacing55 = '1.75rem';\r\nexport const spacing85 = '4rem';\r\nexport const spacingReset = '0';\r\nexport const widthReset = '0rem';\r\n","// Ellucian's CTA Colors\r\nimport { colorCtaBlueBase, colorCtaBlueHover, colorCtaBlueActive, colorCtaBlueTint, colorCtaGreenBase, colorCtaGreenHover, colorCtaGreenActive, colorCtaGreenTint, colorCtaIrisBase, colorCtaIrisHover, colorCtaIrisActive, colorCtaIrisTint, colorCtaPlumBase, colorCtaPlumHover, colorCtaPlumActive, colorCtaPlumTint, colorCtaTaupeBase, colorCtaTaupeHover, colorCtaTaupeActive, colorCtaTaupeTint } from '@ellucian/react-design-system/core/styles/tokens';\r\n\r\nvar ctaColor = {\r\n blue: {\r\n base: colorCtaBlueBase,\r\n hover: colorCtaBlueHover,\r\n active: colorCtaBlueActive,\r\n tint: colorCtaBlueTint\r\n },\r\n green: {\r\n base: colorCtaGreenBase,\r\n hover: colorCtaGreenHover,\r\n active: colorCtaGreenActive,\r\n tint: colorCtaGreenTint\r\n },\r\n iris: {\r\n base: colorCtaIrisBase,\r\n hover: colorCtaIrisHover,\r\n active: colorCtaIrisActive,\r\n tint: colorCtaIrisTint\r\n },\r\n plum: {\r\n base: colorCtaPlumBase,\r\n hover: colorCtaPlumHover,\r\n active: colorCtaPlumActive,\r\n tint: colorCtaPlumTint\r\n },\r\n taupe: {\r\n base: colorCtaTaupeBase,\r\n hover: colorCtaTaupeHover,\r\n active: colorCtaTaupeActive,\r\n tint: colorCtaTaupeTint\r\n }\r\n};\r\n\r\nexport default ctaColor;","import * as Tokens from '@ellucian/react-design-system/core/es/styles/tokens';\r\nimport * as InternalTokens from './internalTokens';\r\nexport { default as CtaColors } from '@ellucian/react-design-system/core/es/themes/common/ctaColors';\r\nexport default Object.assign(Object.assign({}, Tokens), InternalTokens);\r\n","import { LogType } from '../types/LogType';\r\nimport LogData from '../helpers/LogData';\r\nimport Constants from './Constants';\r\nimport Redirect from './Redirect';\r\nimport LayoutActions from '../flux/actions/LayoutActions';\r\nimport LayoutStore from '../flux/stores/LayoutStore';\r\nconst onRejectRequest = (info) => {\r\n console.warn('The request was rejected');\r\n console.debug(info);\r\n};\r\nconst onCatchRequest = (ex, functionName) => {\r\n if (ex.code !== 20) {\r\n const logData = LogData.fromException(functionName, ex);\r\n logData.type = LogType.NoConnection;\r\n LayoutActions.setLogData(logData);\r\n Redirect.toError500();\r\n }\r\n};\r\nconst onResolveRequest = (response, functionName, resolver) => {\r\n if (!(response && response.ok)) {\r\n LayoutActions.setLogData(LogData.fromResponse(functionName, response));\r\n }\r\n else if (response.redirected) {\r\n if (response.url.indexOf('LogIn?ReturnUrl') >= 0) {\r\n window.location.assign(window.location.href);\r\n }\r\n else if (response.url.indexOf('Error400') >= 0) {\r\n Redirect.toError400();\r\n }\r\n else if (response.url.indexOf('Error401') >= 0) {\r\n Redirect.toError401();\r\n }\r\n else if (response.url.indexOf('Error403') >= 0) {\r\n Redirect.toError403();\r\n }\r\n else if (response.url.indexOf('Error404') >= 0) {\r\n Redirect.toError404();\r\n }\r\n else if (response.url.indexOf('Error500') >= 0) {\r\n Redirect.toError500();\r\n }\r\n else if (response.url.indexOf('Error503') >= 0) {\r\n Redirect.toError503();\r\n }\r\n }\r\n else {\r\n LayoutActions.resetTimeout();\r\n if (resolver) {\r\n response.json()\r\n .then(resolver)\r\n .catch(ex => {\r\n LayoutActions.setLogData(LogData.fromResponse(functionName, ex));\r\n });\r\n }\r\n }\r\n};\r\nconst Request = {\r\n get(functionName, url, resolver, resolveError, signal) {\r\n try {\r\n fetch(`${Constants.webUrl}${url}`, {\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'get',\r\n signal: signal ? signal : LayoutStore.getSignal()\r\n })\r\n .then(response => onResolveRequest(response, functionName, resolver), onRejectRequest)\r\n .catch(ex => onCatchRequest(ex, functionName));\r\n if (resolveError) {\r\n console.warn('resolveError parameter was deprecated.');\r\n }\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(functionName, e));\r\n }\r\n },\r\n post(functionName, url, data, resolver, resolveError, signal) {\r\n try {\r\n fetch(`${Constants.webUrl}${url}`, {\r\n body: JSON.stringify(data),\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'post',\r\n signal: signal ? signal : LayoutStore.getSignal()\r\n })\r\n .then(response => onResolveRequest(response, functionName, resolver), onRejectRequest)\r\n .catch(ex => onCatchRequest(ex, functionName));\r\n if (resolveError) {\r\n console.warn('resolveError parameter was deprecated.');\r\n }\r\n }\r\n catch (e) {\r\n LayoutActions.setLogData(LogData.fromException(functionName, e));\r\n }\r\n }\r\n};\r\nexport default Request;\r\n","import Constants from '../helpers/Constants';\r\nimport Request from '../helpers/Request';\r\nimport LayoutActions from '../flux/actions/LayoutActions';\r\nconst LayoutRequests = {\r\n getCountCart() {\r\n return fetch(`${Constants.webUrl}/Cart/Count`, {\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'get'\r\n })\r\n .then(response => {\r\n if (response && response.ok) {\r\n LayoutActions.resetTimeout();\r\n return response.json();\r\n }\r\n else {\r\n throw new DOMException('Error in getCountCart');\r\n }\r\n })\r\n .catch(error => console.error(error));\r\n },\r\n getInitialLoadData(idModule, idPage, resolver, resolveError) {\r\n const data = { idModule: encodeURI(idModule), idPage: encodeURI(idPage) };\r\n Request.post(this.getInitialLoadData.name, '/Layout/InitialLoadData', data, resolver, resolveError);\r\n },\r\n getIsAuthenticated(resolver) {\r\n Request.post(this.getIsAuthenticated.name, '/SignIn/IsAuthenticated', null, resolver);\r\n },\r\n getResources(idModule, idPage, resolver, resolveError, signal) {\r\n Request.get(this.getResources.name, `/Layout/Resources/${encodeURI(idModule)}/${encodeURI(idPage)}`, resolver, resolveError, signal);\r\n },\r\n getPermissions(idModule, idPage, resolver, resolveError) {\r\n Request.get(this.getPermissions.name, `/Layout/Permissions/${encodeURI(idModule)}/${encodeURI(idPage)}`, resolver, resolveError);\r\n },\r\n postError(logData) {\r\n try {\r\n fetch(`${Constants.webUrl}/Logging/Error`, {\r\n body: JSON.stringify(logData),\r\n cache: 'no-cache',\r\n credentials: 'same-origin',\r\n headers: Constants.headersRequestsJson,\r\n method: 'post'\r\n })\r\n .then(response => {\r\n if (response && response.ok) {\r\n LayoutActions.resetTimeout();\r\n }\r\n else {\r\n throw new Error('Failed to register the error.');\r\n }\r\n })\r\n .catch(e => {\r\n throw e;\r\n });\r\n }\r\n catch (e) {\r\n throw e;\r\n }\r\n }\r\n};\r\nexport default LayoutRequests;\r\n","export var LayoutStatus;\r\n(function (LayoutStatus) {\r\n LayoutStatus[\"ErrorGetCountCart\"] = \"ErrorGetCountCart\";\r\n LayoutStatus[\"FetchGetCountCart\"] = \"FetchGetCountCart\";\r\n LayoutStatus[\"SuccessGetCountCart\"] = \"SuccessGetCountCart\";\r\n LayoutStatus[\"SuccessHidePageLoader\"] = \"SuccessHidePageLoader\";\r\n LayoutStatus[\"SuccessSetAlert\"] = \"SuccessSetAlert\";\r\n LayoutStatus[\"SuccessSetCountCart\"] = \"SuccessSetCountCart\";\r\n LayoutStatus[\"SuccessSetLayoutReady\"] = \"SuccessSetLayoutReady\";\r\n LayoutStatus[\"SuccessSetLogData\"] = \"SuccessSetLogData\";\r\n LayoutStatus[\"SuccessSetRedirectCode\"] = \"SuccessSetRedirectCode\";\r\n LayoutStatus[\"SuccessSetReloadTheme\"] = \"SuccessSetReloadTheme\";\r\n LayoutStatus[\"SuccessShowPageLoader\"] = \"SuccessShowPageLoader\";\r\n LayoutStatus[\"SuccessResetTimeout\"] = \"SuccessResetTimeout\";\r\n LayoutStatus[\"SuccessSetTimeout\"] = \"SuccessSetTimeout\";\r\n})(LayoutStatus || (LayoutStatus = {}));\r\n","export var LogType;\r\n(function (LogType) {\r\n LogType[LogType[\"GenericError\"] = 1] = \"GenericError\";\r\n LogType[LogType[\"NoConnection\"] = 2] = \"NoConnection\";\r\n LogType[LogType[\"CustomError\"] = 3] = \"CustomError\";\r\n})(LogType || (LogType = {}));\r\n","export var CartItemType;\r\n(function (CartItemType) {\r\n CartItemType[CartItemType[\"Traditional\"] = 0] = \"Traditional\";\r\n CartItemType[CartItemType[\"ContinuingEducation\"] = 1] = \"ContinuingEducation\";\r\n})(CartItemType || (CartItemType = {}));\r\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nvar _default = blue;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar common = {\n black: '#000',\n white: '#fff'\n};\nvar _default = common;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nvar _default = green;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#d5d5d5',\n A200: '#aaaaaa',\n A400: '#303030',\n A700: '#616161'\n};\nvar _default = grey;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar indigo = {\n 50: '#e8eaf6',\n 100: '#c5cae9',\n 200: '#9fa8da',\n 300: '#7986cb',\n 400: '#5c6bc0',\n 500: '#3f51b5',\n 600: '#3949ab',\n 700: '#303f9f',\n 800: '#283593',\n 900: '#1a237e',\n A100: '#8c9eff',\n A200: '#536dfe',\n A400: '#3d5afe',\n A700: '#304ffe'\n};\nvar _default = indigo;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nvar _default = orange;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar pink = {\n 50: '#fce4ec',\n 100: '#f8bbd0',\n 200: '#f48fb1',\n 300: '#f06292',\n 400: '#ec407a',\n 500: '#e91e63',\n 600: '#d81b60',\n 700: '#c2185b',\n 800: '#ad1457',\n 900: '#880e4f',\n A100: '#ff80ab',\n A200: '#ff4081',\n A400: '#f50057',\n A700: '#c51162'\n};\nvar _default = pink;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nvar _default = red;\nexports.default = _default;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Fade from '../Fade';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n // Improve scrollable dialog support.\n zIndex: -1,\n position: 'fixed',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n },\n\n /* Styles applied to the root element if `invisible={true}`. */\n invisible: {\n backgroundColor: 'transparent'\n }\n};\nvar Backdrop = React.forwardRef(function Backdrop(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$invisible = props.invisible,\n invisible = _props$invisible === void 0 ? false : _props$invisible,\n open = props.open,\n transitionDuration = props.transitionDuration,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Fade : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"invisible\", \"open\", \"transitionDuration\", \"TransitionComponent\"]);\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: open,\n timeout: transitionDuration\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: clsx(classes.root, className, invisible && classes.invisible),\n \"aria-hidden\": true,\n ref: ref\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? Backdrop.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is open.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiBackdrop'\n})(Backdrop);","import { Children, cloneElement, isValidElement } from 'react';\n/**\n * Given `this.props.children`, return an object mapping key to child.\n *\n * @param {*} children `this.props.children`\n * @return {object} Mapping of key to child\n */\n\nexport function getChildMapping(children, mapFn) {\n var mapper = function mapper(child) {\n return mapFn && isValidElement(child) ? mapFn(child) : child;\n };\n\n var result = Object.create(null);\n if (children) Children.map(children, function (c) {\n return c;\n }).forEach(function (child) {\n // run the map function here instead so that the key is the computed one\n result[child.key] = mapper(child);\n });\n return result;\n}\n/**\n * When you're adding or removing children some may be added or removed in the\n * same render pass. We want to show *both* since we want to simultaneously\n * animate elements in and out. This function takes a previous set of keys\n * and a new set of keys and merges them with its best guess of the correct\n * ordering. In the future we may expose some of the utilities in\n * ReactMultiChild to make this easy, but for now React itself does not\n * directly have this concept of the union of prevChildren and nextChildren\n * so we implement it here.\n *\n * @param {object} prev prev children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @param {object} next next children as returned from\n * `ReactTransitionChildMapping.getChildMapping()`.\n * @return {object} a key set that contains all keys in `prev` and all keys\n * in `next` in a reasonable order.\n */\n\nexport function mergeChildMappings(prev, next) {\n prev = prev || {};\n next = next || {};\n\n function getValueForKey(key) {\n return key in next ? next[key] : prev[key];\n } // For each key of `next`, the list of keys to insert before that key in\n // the combined list\n\n\n var nextKeysPending = Object.create(null);\n var pendingKeys = [];\n\n for (var prevKey in prev) {\n if (prevKey in next) {\n if (pendingKeys.length) {\n nextKeysPending[prevKey] = pendingKeys;\n pendingKeys = [];\n }\n } else {\n pendingKeys.push(prevKey);\n }\n }\n\n var i;\n var childMapping = {};\n\n for (var nextKey in next) {\n if (nextKeysPending[nextKey]) {\n for (i = 0; i < nextKeysPending[nextKey].length; i++) {\n var pendingNextKey = nextKeysPending[nextKey][i];\n childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);\n }\n }\n\n childMapping[nextKey] = getValueForKey(nextKey);\n } // Finally, add the keys which didn't appear before any key in `next`\n\n\n for (i = 0; i < pendingKeys.length; i++) {\n childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);\n }\n\n return childMapping;\n}\n\nfunction getProp(child, prop, props) {\n return props[prop] != null ? props[prop] : child.props[prop];\n}\n\nexport function getInitialChildMapping(props, onExited) {\n return getChildMapping(props.children, function (child) {\n return cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n appear: getProp(child, 'appear', props),\n enter: getProp(child, 'enter', props),\n exit: getProp(child, 'exit', props)\n });\n });\n}\nexport function getNextChildMapping(nextProps, prevChildMapping, onExited) {\n var nextChildMapping = getChildMapping(nextProps.children);\n var children = mergeChildMappings(prevChildMapping, nextChildMapping);\n Object.keys(children).forEach(function (key) {\n var child = children[key];\n if (!isValidElement(child)) return;\n var hasPrev = (key in prevChildMapping);\n var hasNext = (key in nextChildMapping);\n var prevChild = prevChildMapping[key];\n var isLeaving = isValidElement(prevChild) && !prevChild.props.in; // item is new (entering)\n\n if (hasNext && (!hasPrev || isLeaving)) {\n // console.log('entering', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: true,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n } else if (!hasNext && hasPrev && !isLeaving) {\n // item is old (exiting)\n // console.log('leaving', key)\n children[key] = cloneElement(child, {\n in: false\n });\n } else if (hasNext && hasPrev && isValidElement(prevChild)) {\n // item hasn't changed transition states\n // copy over the last transition props;\n // console.log('unchanged', key)\n children[key] = cloneElement(child, {\n onExited: onExited.bind(null, child),\n in: prevChild.props.in,\n exit: getProp(child, 'exit', nextProps),\n enter: getProp(child, 'enter', nextProps)\n });\n }\n });\n return children;\n}","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `` component manages a set of transition components\n * (`` and ``) in a list. Like with the transition\n * components, `` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the ``.\n *\n * Note that `` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `` renders a `` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;","import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport useEventCallback from '../utils/useEventCallback';\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * @ignore - internal component.\n */\n\nfunction Ripple(props) {\n var classes = props.classes,\n _props$pulsate = props.pulsate,\n pulsate = _props$pulsate === void 0 ? false : _props$pulsate,\n rippleX = props.rippleX,\n rippleY = props.rippleY,\n rippleSize = props.rippleSize,\n inProp = props.in,\n _props$onExited = props.onExited,\n onExited = _props$onExited === void 0 ? function () {} : _props$onExited,\n timeout = props.timeout;\n\n var _React$useState = React.useState(false),\n leaving = _React$useState[0],\n setLeaving = _React$useState[1];\n\n var rippleClassName = clsx(classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);\n var rippleStyles = {\n width: rippleSize,\n height: rippleSize,\n top: -(rippleSize / 2) + rippleY,\n left: -(rippleSize / 2) + rippleX\n };\n var childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);\n var handleExited = useEventCallback(onExited); // Ripple is used for user feedback (e.g. click or press) so we want to apply styles with the highest priority\n\n useEnhancedEffect(function () {\n if (!inProp) {\n // react-transition-group#onExit\n setLeaving(true); // react-transition-group#onExited\n\n var timeoutId = setTimeout(handleExited, timeout);\n return function () {\n clearTimeout(timeoutId);\n };\n }\n\n return undefined;\n }, [handleExited, inProp, timeout]);\n return /*#__PURE__*/React.createElement(\"span\", {\n className: rippleClassName,\n style: rippleStyles\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: childClassName\n }));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? Ripple.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n in: PropTypes.bool,\n\n /**\n * @ignore - injected from TransitionGroup\n */\n onExited: PropTypes.func,\n\n /**\n * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.\n */\n pulsate: PropTypes.bool,\n\n /**\n * Diameter of the ripple.\n */\n rippleSize: PropTypes.number,\n\n /**\n * Horizontal position of the ripple center.\n */\n rippleX: PropTypes.number,\n\n /**\n * Vertical position of the ripple center.\n */\n rippleY: PropTypes.number,\n\n /**\n * exit delay\n */\n timeout: PropTypes.number.isRequired\n} : void 0;\nexport default Ripple;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { TransitionGroup } from 'react-transition-group';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Ripple from './Ripple';\nvar DURATION = 550;\nexport var DELAY_RIPPLE = 80;\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n zIndex: 0,\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n borderRadius: 'inherit'\n },\n\n /* Styles applied to the internal `Ripple` components `ripple` class. */\n ripple: {\n opacity: 0,\n position: 'absolute'\n },\n\n /* Styles applied to the internal `Ripple` components `rippleVisible` class. */\n rippleVisible: {\n opacity: 0.3,\n transform: 'scale(1)',\n animation: \"$enter \".concat(DURATION, \"ms \").concat(theme.transitions.easing.easeInOut)\n },\n\n /* Styles applied to the internal `Ripple` components `ripplePulsate` class. */\n ripplePulsate: {\n animationDuration: \"\".concat(theme.transitions.duration.shorter, \"ms\")\n },\n\n /* Styles applied to the internal `Ripple` components `child` class. */\n child: {\n opacity: 1,\n display: 'block',\n width: '100%',\n height: '100%',\n borderRadius: '50%',\n backgroundColor: 'currentColor'\n },\n\n /* Styles applied to the internal `Ripple` components `childLeaving` class. */\n childLeaving: {\n opacity: 0,\n animation: \"$exit \".concat(DURATION, \"ms \").concat(theme.transitions.easing.easeInOut)\n },\n\n /* Styles applied to the internal `Ripple` components `childPulsate` class. */\n childPulsate: {\n position: 'absolute',\n left: 0,\n top: 0,\n animation: \"$pulsate 2500ms \".concat(theme.transitions.easing.easeInOut, \" 200ms infinite\")\n },\n '@keyframes enter': {\n '0%': {\n transform: 'scale(0)',\n opacity: 0.1\n },\n '100%': {\n transform: 'scale(1)',\n opacity: 0.3\n }\n },\n '@keyframes exit': {\n '0%': {\n opacity: 1\n },\n '100%': {\n opacity: 0\n }\n },\n '@keyframes pulsate': {\n '0%': {\n transform: 'scale(1)'\n },\n '50%': {\n transform: 'scale(0.92)'\n },\n '100%': {\n transform: 'scale(1)'\n }\n }\n };\n};\n/**\n * @ignore - internal component.\n *\n * TODO v5: Make private\n */\n\nvar TouchRipple = React.forwardRef(function TouchRipple(props, ref) {\n var _props$center = props.center,\n centerProp = _props$center === void 0 ? false : _props$center,\n classes = props.classes,\n className = props.className,\n other = _objectWithoutProperties(props, [\"center\", \"classes\", \"className\"]);\n\n var _React$useState = React.useState([]),\n ripples = _React$useState[0],\n setRipples = _React$useState[1];\n\n var nextKey = React.useRef(0);\n var rippleCallback = React.useRef(null);\n React.useEffect(function () {\n if (rippleCallback.current) {\n rippleCallback.current();\n rippleCallback.current = null;\n }\n }, [ripples]); // Used to filter out mouse emulated events on mobile.\n\n var ignoringMouseDown = React.useRef(false); // We use a timer in order to only show the ripples for touch \"click\" like events.\n // We don't want to display the ripple for touch scroll events.\n\n var startTimer = React.useRef(null); // This is the hook called once the previous timeout is ready.\n\n var startTimerCommit = React.useRef(null);\n var container = React.useRef(null);\n React.useEffect(function () {\n return function () {\n clearTimeout(startTimer.current);\n };\n }, []);\n var startCommit = React.useCallback(function (params) {\n var pulsate = params.pulsate,\n rippleX = params.rippleX,\n rippleY = params.rippleY,\n rippleSize = params.rippleSize,\n cb = params.cb;\n setRipples(function (oldRipples) {\n return [].concat(_toConsumableArray(oldRipples), [/*#__PURE__*/React.createElement(Ripple, {\n key: nextKey.current,\n classes: classes,\n timeout: DURATION,\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize\n })]);\n });\n nextKey.current += 1;\n rippleCallback.current = cb;\n }, [classes]);\n var start = React.useCallback(function () {\n var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var cb = arguments.length > 2 ? arguments[2] : undefined;\n var _options$pulsate = options.pulsate,\n pulsate = _options$pulsate === void 0 ? false : _options$pulsate,\n _options$center = options.center,\n center = _options$center === void 0 ? centerProp || options.pulsate : _options$center,\n _options$fakeElement = options.fakeElement,\n fakeElement = _options$fakeElement === void 0 ? false : _options$fakeElement;\n\n if (event.type === 'mousedown' && ignoringMouseDown.current) {\n ignoringMouseDown.current = false;\n return;\n }\n\n if (event.type === 'touchstart') {\n ignoringMouseDown.current = true;\n }\n\n var element = fakeElement ? null : container.current;\n var rect = element ? element.getBoundingClientRect() : {\n width: 0,\n height: 0,\n left: 0,\n top: 0\n }; // Get the size of the ripple\n\n var rippleX;\n var rippleY;\n var rippleSize;\n\n if (center || event.clientX === 0 && event.clientY === 0 || !event.clientX && !event.touches) {\n rippleX = Math.round(rect.width / 2);\n rippleY = Math.round(rect.height / 2);\n } else {\n var _ref = event.touches ? event.touches[0] : event,\n clientX = _ref.clientX,\n clientY = _ref.clientY;\n\n rippleX = Math.round(clientX - rect.left);\n rippleY = Math.round(clientY - rect.top);\n }\n\n if (center) {\n 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.\n\n if (rippleSize % 2 === 0) {\n rippleSize += 1;\n }\n } else {\n var sizeX = Math.max(Math.abs((element ? element.clientWidth : 0) - rippleX), rippleX) * 2 + 2;\n var sizeY = Math.max(Math.abs((element ? element.clientHeight : 0) - rippleY), rippleY) * 2 + 2;\n rippleSize = Math.sqrt(Math.pow(sizeX, 2) + Math.pow(sizeY, 2));\n } // Touche devices\n\n\n if (event.touches) {\n // check that this isn't another touchstart due to multitouch\n // otherwise we will only clear a single timer when unmounting while two\n // are running\n if (startTimerCommit.current === null) {\n // Prepare the ripple effect.\n startTimerCommit.current = function () {\n startCommit({\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize,\n cb: cb\n });\n }; // Delay the execution of the ripple effect.\n\n\n startTimer.current = setTimeout(function () {\n if (startTimerCommit.current) {\n startTimerCommit.current();\n startTimerCommit.current = null;\n }\n }, DELAY_RIPPLE); // We have to make a tradeoff with this value.\n }\n } else {\n startCommit({\n pulsate: pulsate,\n rippleX: rippleX,\n rippleY: rippleY,\n rippleSize: rippleSize,\n cb: cb\n });\n }\n }, [centerProp, startCommit]);\n var pulsate = React.useCallback(function () {\n start({}, {\n pulsate: true\n });\n }, [start]);\n var stop = React.useCallback(function (event, cb) {\n clearTimeout(startTimer.current); // The touch interaction occurs too quickly.\n // We still want to show ripple effect.\n\n if (event.type === 'touchend' && startTimerCommit.current) {\n event.persist();\n startTimerCommit.current();\n startTimerCommit.current = null;\n startTimer.current = setTimeout(function () {\n stop(event, cb);\n });\n return;\n }\n\n startTimerCommit.current = null;\n setRipples(function (oldRipples) {\n if (oldRipples.length > 0) {\n return oldRipples.slice(1);\n }\n\n return oldRipples;\n });\n rippleCallback.current = cb;\n }, []);\n React.useImperativeHandle(ref, function () {\n return {\n pulsate: pulsate,\n start: start,\n stop: stop\n };\n }, [pulsate, start, stop]);\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, className),\n ref: container\n }, other), /*#__PURE__*/React.createElement(TransitionGroup, {\n component: null,\n exit: true\n }, ripples));\n});\nprocess.env.NODE_ENV !== \"production\" ? TouchRipple.propTypes = {\n /**\n * If `true`, the ripple starts at the center of the component\n * rather than at the point of interaction.\n */\n center: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n flip: false,\n name: 'MuiTouchRipple'\n})(React.memo(TouchRipple));","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport clsx from 'clsx';\nimport { elementTypeAcceptingRef, refType } from '@material-ui/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport withStyles from '../styles/withStyles';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport TouchRipple from './TouchRipple';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n textDecoration: 'none',\n // So we take precedent over the style of a native element.\n color: 'inherit',\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n\n },\n '&$disabled': {\n pointerEvents: 'none',\n // Disable link interactions\n cursor: 'default'\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if keyboard focused. */\n focusVisible: {}\n};\n/**\n * `ButtonBase` contains as few styles as possible.\n * It aims to be a simple building block for creating a button.\n * It contains a load of style reset and some focus/ripple logic.\n */\n\nvar ButtonBase = React.forwardRef(function ButtonBase(props, ref) {\n var action = props.action,\n buttonRefProp = props.buttonRef,\n _props$centerRipple = props.centerRipple,\n centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n component = _props$component === void 0 ? 'button' : _props$component,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableRipple = props.disableRipple,\n disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple,\n _props$disableTouchRi = props.disableTouchRipple,\n disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi,\n _props$focusRipple = props.focusRipple,\n focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple,\n focusVisibleClassName = props.focusVisibleClassName,\n onBlur = props.onBlur,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onFocusVisible = props.onFocusVisible,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n onMouseDown = props.onMouseDown,\n onMouseLeave = props.onMouseLeave,\n onMouseUp = props.onMouseUp,\n onTouchEnd = props.onTouchEnd,\n onTouchMove = props.onTouchMove,\n onTouchStart = props.onTouchStart,\n onDragLeave = props.onDragLeave,\n _props$tabIndex = props.tabIndex,\n tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex,\n TouchRippleProps = props.TouchRippleProps,\n _props$type = props.type,\n type = _props$type === void 0 ? 'button' : _props$type,\n other = _objectWithoutProperties(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\"]);\n\n var buttonRef = React.useRef(null);\n\n function getButtonNode() {\n // #StrictMode ready\n return ReactDOM.findDOMNode(buttonRef.current);\n }\n\n var rippleRef = React.useRef(null);\n\n var _React$useState = React.useState(false),\n focusVisible = _React$useState[0],\n setFocusVisible = _React$useState[1];\n\n if (disabled && focusVisible) {\n setFocusVisible(false);\n }\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n React.useImperativeHandle(action, function () {\n return {\n focusVisible: function focusVisible() {\n setFocusVisible(true);\n buttonRef.current.focus();\n }\n };\n }, []);\n React.useEffect(function () {\n if (focusVisible && focusRipple && !disableRipple) {\n rippleRef.current.pulsate();\n }\n }, [disableRipple, focusRipple, focusVisible]);\n\n function useRippleHandler(rippleAction, eventCallback) {\n var skipRippleAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : disableTouchRipple;\n return useEventCallback(function (event) {\n if (eventCallback) {\n eventCallback(event);\n }\n\n var ignore = skipRippleAction;\n\n if (!ignore && rippleRef.current) {\n rippleRef.current[rippleAction](event);\n }\n\n return true;\n });\n }\n\n var handleMouseDown = useRippleHandler('start', onMouseDown);\n var handleDragLeave = useRippleHandler('stop', onDragLeave);\n var handleMouseUp = useRippleHandler('stop', onMouseUp);\n var handleMouseLeave = useRippleHandler('stop', function (event) {\n if (focusVisible) {\n event.preventDefault();\n }\n\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n });\n var handleTouchStart = useRippleHandler('start', onTouchStart);\n var handleTouchEnd = useRippleHandler('stop', onTouchEnd);\n var handleTouchMove = useRippleHandler('stop', onTouchMove);\n var handleBlur = useRippleHandler('stop', function (event) {\n if (focusVisible) {\n onBlurVisible(event);\n setFocusVisible(false);\n }\n\n if (onBlur) {\n onBlur(event);\n }\n }, false);\n var handleFocus = useEventCallback(function (event) {\n // Fix for https://github.com/facebook/react/issues/7769\n if (!buttonRef.current) {\n buttonRef.current = event.currentTarget;\n }\n\n if (isFocusVisible(event)) {\n setFocusVisible(true);\n\n if (onFocusVisible) {\n onFocusVisible(event);\n }\n }\n\n if (onFocus) {\n onFocus(event);\n }\n });\n\n var isNonNativeButton = function isNonNativeButton() {\n var button = getButtonNode();\n return component && component !== 'button' && !(button.tagName === 'A' && button.href);\n };\n /**\n * IE 11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat\n */\n\n\n var keydownRef = React.useRef(false);\n var handleKeyDown = useEventCallback(function (event) {\n // Check if key is already down to avoid repeats being counted as multiple activations\n if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') {\n keydownRef.current = true;\n event.persist();\n rippleRef.current.stop(event, function () {\n rippleRef.current.start(event);\n });\n }\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n } // Keyboard accessibility for non interactive elements\n\n\n if (event.target === event.currentTarget && isNonNativeButton() && event.key === 'Enter' && !disabled) {\n event.preventDefault();\n\n if (onClick) {\n onClick(event);\n }\n }\n });\n var handleKeyUp = useEventCallback(function (event) {\n // calling preventDefault in keyUp on a will not dispatch a click event if Space is pressed\n // https://codesandbox.io/s/button-keyup-preventdefault-dn7f0\n if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {\n keydownRef.current = false;\n event.persist();\n rippleRef.current.stop(event, function () {\n rippleRef.current.pulsate(event);\n });\n }\n\n if (onKeyUp) {\n onKeyUp(event);\n } // Keyboard accessibility for non interactive elements\n\n\n if (onClick && event.target === event.currentTarget && isNonNativeButton() && event.key === ' ' && !event.defaultPrevented) {\n onClick(event);\n }\n });\n var ComponentProp = component;\n\n if (ComponentProp === 'button' && other.href) {\n ComponentProp = 'a';\n }\n\n var buttonProps = {};\n\n if (ComponentProp === 'button') {\n buttonProps.type = type;\n buttonProps.disabled = disabled;\n } else {\n if (ComponentProp !== 'a' || !other.href) {\n buttonProps.role = 'button';\n }\n\n buttonProps['aria-disabled'] = disabled;\n }\n\n var handleUserRef = useForkRef(buttonRefProp, ref);\n var handleOwnRef = useForkRef(focusVisibleRef, buttonRef);\n var handleRef = useForkRef(handleUserRef, handleOwnRef);\n\n var _React$useState2 = React.useState(false),\n mountedState = _React$useState2[0],\n setMountedState = _React$useState2[1];\n\n React.useEffect(function () {\n setMountedState(true);\n }, []);\n var enableTouchRipple = mountedState && !disableRipple && !disabled;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (enableTouchRipple && !rippleRef.current) {\n 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'));\n }\n }, [enableTouchRipple]);\n }\n\n return /*#__PURE__*/React.createElement(ComponentProp, _extends({\n className: clsx(classes.root, className, focusVisible && [classes.focusVisible, focusVisibleClassName], disabled && classes.disabled),\n onBlur: handleBlur,\n onClick: onClick,\n onFocus: handleFocus,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n onMouseDown: handleMouseDown,\n onMouseLeave: handleMouseLeave,\n onMouseUp: handleMouseUp,\n onDragLeave: handleDragLeave,\n onTouchEnd: handleTouchEnd,\n onTouchMove: handleTouchMove,\n onTouchStart: handleTouchStart,\n ref: handleRef,\n tabIndex: disabled ? -1 : tabIndex\n }, buttonProps, other), children, enableTouchRipple ?\n /*#__PURE__*/\n\n /* TouchRipple is only needed client-side, x2 boost on the server. */\n React.createElement(TouchRipple, _extends({\n ref: rippleRef,\n center: centerRipple\n }, TouchRippleProps)) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? ButtonBase.propTypes = {\n /**\n * A ref for imperative actions.\n * It currently only supports `focusVisible()` action.\n */\n action: refType,\n\n /**\n * @ignore\n *\n * Use that prop to pass a ref to the native button component.\n * @deprecated Use `ref` instead.\n */\n buttonRef: refType,\n\n /**\n * If `true`, the ripples will be centered.\n * They won't start at the cursor interaction position.\n */\n centerRipple: PropTypes.bool,\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n\n /**\n * If `true`, the base button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `focusVisibleClassName`.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If `true`, the touch ripple effect will be disabled.\n */\n disableTouchRipple: PropTypes.bool,\n\n /**\n * If `true`, the base button will have a keyboard focus ripple.\n * `disableRipple` must also be `false`.\n */\n focusRipple: PropTypes.bool,\n\n /**\n * This prop can help a person know which element has the keyboard focus.\n * The class name will be applied when the element gain the focus through a keyboard interaction.\n * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).\n * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n * if needed.\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onDragLeave: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * Callback fired when the component is focused with a keyboard.\n * We trigger a `onFocus` callback too.\n */\n onFocusVisible: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseUp: PropTypes.func,\n\n /**\n * @ignore\n */\n onTouchEnd: PropTypes.func,\n\n /**\n * @ignore\n */\n onTouchMove: PropTypes.func,\n\n /**\n * @ignore\n */\n onTouchStart: PropTypes.func,\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Props applied to the `TouchRipple` element.\n */\n TouchRippleProps: PropTypes.object,\n\n /**\n * Used to control the button's purpose.\n * This prop passes the value to the `type` attribute of the native button component.\n */\n type: PropTypes.oneOf(['submit', 'reset', 'button'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiButtonBase'\n})(ButtonBase);","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport ownerDocument from '../utils/ownerDocument';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport { elementAcceptingRef, exactProp } from '@material-ui/utils';\n\nfunction mapEventPropToEvent(eventProp) {\n return eventProp.substring(2).toLowerCase();\n}\n\nfunction clickedRootScrollbar(event) {\n return document.documentElement.clientWidth < event.clientX || document.documentElement.clientHeight < event.clientY;\n}\n/**\n * Listen for click events that occur somewhere in the document, outside of the element itself.\n * For instance, if you need to hide a menu when people click anywhere else on your page.\n */\n\n\nfunction ClickAwayListener(props) {\n var children = props.children,\n _props$disableReactTr = props.disableReactTree,\n disableReactTree = _props$disableReactTr === void 0 ? false : _props$disableReactTr,\n _props$mouseEvent = props.mouseEvent,\n mouseEvent = _props$mouseEvent === void 0 ? 'onClick' : _props$mouseEvent,\n onClickAway = props.onClickAway,\n _props$touchEvent = props.touchEvent,\n touchEvent = _props$touchEvent === void 0 ? 'onTouchEnd' : _props$touchEvent;\n var movedRef = React.useRef(false);\n var nodeRef = React.useRef(null);\n var mountedRef = React.useRef(false);\n var syntheticEventRef = React.useRef(false);\n React.useEffect(function () {\n mountedRef.current = true;\n return function () {\n mountedRef.current = false;\n };\n }, []); // can be removed once we drop support for non ref forwarding class components\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n nodeRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(children.ref, handleOwnRef); // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviours like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n\n var handleClickAway = useEventCallback(function (event) {\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n var insideReactTree = syntheticEventRef.current;\n syntheticEventRef.current = false; // 1. IE 11 support, which trigger the handleClickAway even after the unbind\n // 2. The child might render null.\n // 3. Behave like a blur listener.\n\n if (!mountedRef.current || !nodeRef.current || clickedRootScrollbar(event)) {\n return;\n } // Do not act if user performed touchmove\n\n\n if (movedRef.current) {\n movedRef.current = false;\n return;\n }\n\n var insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js\n\n if (event.composedPath) {\n insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;\n } else {\n // TODO v6 remove dead logic https://caniuse.com/#search=composedPath.\n var doc = ownerDocument(nodeRef.current);\n insideDOM = !doc.documentElement.contains(event.target) || nodeRef.current.contains(event.target);\n }\n\n if (!insideDOM && (disableReactTree || !insideReactTree)) {\n onClickAway(event);\n }\n }); // Keep track of mouse/touch events that bubbled up through the portal.\n\n var createHandleSynthetic = function createHandleSynthetic(handlerName) {\n return function (event) {\n syntheticEventRef.current = true;\n var childrenPropsHandler = children.props[handlerName];\n\n if (childrenPropsHandler) {\n childrenPropsHandler(event);\n }\n };\n };\n\n var childrenProps = {\n ref: handleRef\n };\n\n if (touchEvent !== false) {\n childrenProps[touchEvent] = createHandleSynthetic(touchEvent);\n }\n\n React.useEffect(function () {\n if (touchEvent !== false) {\n var mappedTouchEvent = mapEventPropToEvent(touchEvent);\n var doc = ownerDocument(nodeRef.current);\n\n var handleTouchMove = function handleTouchMove() {\n movedRef.current = true;\n };\n\n doc.addEventListener(mappedTouchEvent, handleClickAway);\n doc.addEventListener('touchmove', handleTouchMove);\n return function () {\n doc.removeEventListener(mappedTouchEvent, handleClickAway);\n doc.removeEventListener('touchmove', handleTouchMove);\n };\n }\n\n return undefined;\n }, [handleClickAway, touchEvent]);\n\n if (mouseEvent !== false) {\n childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);\n }\n\n React.useEffect(function () {\n if (mouseEvent !== false) {\n var mappedMouseEvent = mapEventPropToEvent(mouseEvent);\n var doc = ownerDocument(nodeRef.current);\n doc.addEventListener(mappedMouseEvent, handleClickAway);\n return function () {\n doc.removeEventListener(mappedMouseEvent, handleClickAway);\n };\n }\n\n return undefined;\n }, [handleClickAway, mouseEvent]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, React.cloneElement(children, childrenProps));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? ClickAwayListener.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The wrapped element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n */\n disableReactTree: PropTypes.bool,\n\n /**\n * The mouse event to listen to. You can disable the listener by providing `false`.\n */\n mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),\n\n /**\n * Callback fired when a \"click away\" event is detected.\n */\n onClickAway: PropTypes.func.isRequired,\n\n /**\n * The touch event to listen to. You can disable the listener by providing `false`.\n */\n touchEvent: PropTypes.oneOf(['onTouchEnd', 'onTouchStart', false])\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);\n}\n\nexport default ClickAwayListener;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport withStyles from '../styles/withStyles';\nimport { duration } from '../styles/transitions';\nimport { getTransitionProps } from '../transitions/utils';\nimport useTheme from '../styles/useTheme';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the container element. */\n container: {\n height: 0,\n overflow: 'hidden',\n transition: theme.transitions.create('height')\n },\n\n /* Styles applied to the container element when the transition has entered. */\n entered: {\n height: 'auto',\n overflow: 'visible'\n },\n\n /* Styles applied to the container element when the transition has exited and `collapsedHeight` != 0px. */\n hidden: {\n visibility: 'hidden'\n },\n\n /* Styles applied to the outer wrapper element. */\n wrapper: {\n // Hack to get children with a negative margin to not falsify the height computation.\n display: 'flex'\n },\n\n /* Styles applied to the inner wrapper element. */\n wrapperInner: {\n width: '100%'\n }\n };\n};\n/**\n * The Collapse transition is used by the\n * [Vertical Stepper](/components/steppers/#vertical-stepper) StepContent component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Collapse = React.forwardRef(function Collapse(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$collapsedHeigh = props.collapsedHeight,\n collapsedHeightProp = _props$collapsedHeigh === void 0 ? '0px' : _props$collapsedHeigh,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExiting = props.onExiting,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? duration.standard : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"collapsedHeight\", \"component\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExiting\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var timer = React.useRef();\n var wrapperRef = React.useRef(null);\n var autoTransitionDuration = React.useRef();\n var collapsedHeight = typeof collapsedHeightProp === 'number' ? \"\".concat(collapsedHeightProp, \"px\") : collapsedHeightProp;\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n\n var handleEnter = function handleEnter(node, isAppearing) {\n node.style.height = collapsedHeight;\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleEntering = function handleEntering(node, isAppearing) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration;\n\n if (timeout === 'auto') {\n var duration2 = theme.transitions.getAutoHeightDuration(wrapperHeight);\n node.style.transitionDuration = \"\".concat(duration2, \"ms\");\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : \"\".concat(transitionDuration, \"ms\");\n }\n\n node.style.height = \"\".concat(wrapperHeight, \"px\");\n\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n };\n\n var handleEntered = function handleEntered(node, isAppearing) {\n node.style.height = 'auto';\n\n if (onEntered) {\n onEntered(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n node.style.height = \"\".concat(wrapperHeight, \"px\");\n\n if (onExit) {\n onExit(node);\n }\n };\n\n var handleExiting = function handleExiting(node) {\n var wrapperHeight = wrapperRef.current ? wrapperRef.current.clientHeight : 0;\n\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration;\n\n if (timeout === 'auto') {\n var duration2 = theme.transitions.getAutoHeightDuration(wrapperHeight);\n node.style.transitionDuration = \"\".concat(duration2, \"ms\");\n autoTransitionDuration.current = duration2;\n } else {\n node.style.transitionDuration = typeof transitionDuration === 'string' ? transitionDuration : \"\".concat(transitionDuration, \"ms\");\n }\n\n node.style.height = collapsedHeight;\n\n if (onExiting) {\n onExiting(node);\n }\n };\n\n var addEndListener = function addEndListener(_, next) {\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTransitionDuration.current || 0);\n }\n };\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: inProp,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExiting: handleExiting,\n addEndListener: addEndListener,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.container, className, {\n 'entered': classes.entered,\n 'exited': !inProp && collapsedHeight === '0px' && classes.hidden\n }[state]),\n style: _extends({\n minHeight: collapsedHeight\n }, style),\n ref: ref\n }, childProps), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.wrapper,\n ref: wrapperRef\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classes.wrapperInner\n }, children)));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Collapse.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content node to be collapsed.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The height of the container when collapsed.\n */\n collapsedHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nCollapse.muiSupportAuto = true;\nexport default withStyles(styles, {\n name: 'MuiCollapse'\n})(Collapse);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\nvar styles = {\n entering: {\n opacity: 1\n },\n entered: {\n opacity: 1\n }\n};\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Fade transition is used by the [Modal](/components/modal/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Fade = React.forwardRef(function Fade(props, ref) {\n var children = props.children,\n inProp = props.in,\n onEnter = props.onEnter,\n onExit = props.onExit,\n style = props.style,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n other = _objectWithoutProperties(props, [\"children\", \"in\", \"onEnter\", \"onExit\", \"style\", \"TransitionComponent\", \"timeout\"]);\n\n var theme = useTheme();\n var handleRef = useForkRef(children.ref, ref);\n\n var handleEnter = function handleEnter(node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('opacity', transitionProps);\n node.style.transition = theme.transitions.create('opacity', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n onEnter: handleEnter,\n onExit: handleExit,\n timeout: timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n style: _extends(_extends(_extends({\n opacity: 0,\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state]), style), children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Fade.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Fade;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n var backgroundColor = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n backgroundColor: backgroundColor,\n borderTopLeftRadius: theme.shape.borderRadius,\n borderTopRightRadius: theme.shape.borderRadius,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n '&:hover': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.13)' : 'rgba(255, 255, 255, 0.13)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: backgroundColor\n }\n },\n '&$focused': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.09)'\n },\n '&$disabled': {\n backgroundColor: light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)'\n }\n },\n\n /* Styles applied to the root element if color secondary. */\n colorSecondary: {\n '&$underline:after': {\n borderBottomColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if `disableUnderline={false}`. */\n underline: {\n '&:after': {\n borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&$focused:after': {\n transform: 'scaleX(1)'\n },\n '&$error:after': {\n borderBottomColor: theme.palette.error.main,\n transform: 'scaleX(1)' // error is always underlined in red\n\n },\n '&:before': {\n borderBottom: \"1px solid \".concat(bottomLineColor),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&:hover:before': {\n borderBottom: \"1px solid \".concat(theme.palette.text.primary)\n },\n '&$disabled:before': {\n borderBottomStyle: 'dotted'\n }\n },\n\n /* Pseudo-class applied to the root element if the component is focused. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {\n paddingLeft: 12\n },\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {\n paddingRight: 12\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: '27px 12px 10px',\n '&$marginDense': {\n paddingTop: 23,\n paddingBottom: 6\n }\n },\n\n /* Styles applied to the `input` element. */\n input: {\n padding: '27px 12px 10px',\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.type === 'dark' ? '0 0 0 100px #266798 inset' : null,\n WebkitTextFillColor: theme.palette.type === 'dark' ? '#fff' : null,\n caretColor: theme.palette.type === 'dark' ? '#fff' : null,\n borderTopLeftRadius: 'inherit',\n borderTopRightRadius: 'inherit'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 23,\n paddingBottom: 6\n },\n\n /* Styles applied to the `input` if in ``. */\n inputHiddenLabel: {\n paddingTop: 18,\n paddingBottom: 19,\n '&$inputMarginDense': {\n paddingTop: 10,\n paddingBottom: 11\n }\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n padding: 0\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {\n paddingLeft: 0\n },\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {\n paddingRight: 0\n }\n };\n};\nvar FilledInput = React.forwardRef(function FilledInput(props, ref) {\n var disableUnderline = props.disableUnderline,\n classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n classes: _extends(_extends({}, classes), {}, {\n root: clsx(classes.root, !disableUnderline && classes.underline),\n underline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? FilledInput.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nFilledInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiFilledInput'\n})(FilledInput);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { isFilled, isAdornedStart } from '../InputBase/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport isMuiElement from '../utils/isMuiElement';\nimport FormControlContext from './FormControlContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'inline-flex',\n flexDirection: 'column',\n position: 'relative',\n // Reset fieldset default style.\n minWidth: 0,\n padding: 0,\n margin: 0,\n border: 0,\n verticalAlign: 'top' // Fix alignment issue on Safari.\n\n },\n\n /* Styles applied to the root element if `margin=\"normal\"`. */\n marginNormal: {\n marginTop: 16,\n marginBottom: 8\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 8,\n marginBottom: 4\n },\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n }\n};\n/**\n * Provides context such as filled/focused/error/required for form inputs.\n * Relying on the context provides high flexibility and ensures that the state always stays\n * consistent across the children of the `FormControl`.\n * This context is used by the following components:\n *\n * - FormLabel\n * - FormHelperText\n * - Input\n * - InputLabel\n *\n * You can find one composition example below and more going to [the demos](/components/text-fields/#components).\n *\n * ```jsx\n * \n * Email address\n * \n * We'll never share your email.\n * \n * ```\n *\n * ⚠️Only one input can be used within a FormControl.\n */\n\nvar FormControl = React.forwardRef(function FormControl(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n visuallyFocused = props.focused,\n _props$hiddenLabel = props.hiddenLabel,\n hiddenLabel = _props$hiddenLabel === void 0 ? false : _props$hiddenLabel,\n _props$margin = props.margin,\n margin = _props$margin === void 0 ? 'none' : _props$margin,\n _props$required = props.required,\n required = _props$required === void 0 ? false : _props$required,\n size = props.size,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"fullWidth\", \"focused\", \"hiddenLabel\", \"margin\", \"required\", \"size\", \"variant\"]);\n\n var _React$useState = React.useState(function () {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n var initialAdornedStart = false;\n\n if (children) {\n React.Children.forEach(children, function (child) {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n\n var input = isMuiElement(child, ['Select']) ? child.props.input : child;\n\n if (input && isAdornedStart(input.props)) {\n initialAdornedStart = true;\n }\n });\n }\n\n return initialAdornedStart;\n }),\n adornedStart = _React$useState[0],\n setAdornedStart = _React$useState[1];\n\n var _React$useState2 = React.useState(function () {\n // We need to iterate through the children and find the Input in order\n // to fully support server-side rendering.\n var initialFilled = false;\n\n if (children) {\n React.Children.forEach(children, function (child) {\n if (!isMuiElement(child, ['Input', 'Select'])) {\n return;\n }\n\n if (isFilled(child.props, true)) {\n initialFilled = true;\n }\n });\n }\n\n return initialFilled;\n }),\n filled = _React$useState2[0],\n setFilled = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n _focused = _React$useState3[0],\n setFocused = _React$useState3[1];\n\n var focused = visuallyFocused !== undefined ? visuallyFocused : _focused;\n\n if (disabled && focused) {\n setFocused(false);\n }\n\n var registerEffect;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var registeredInput = React.useRef(false);\n\n registerEffect = function registerEffect() {\n if (registeredInput.current) {\n console.error(['Material-UI: There are multiple InputBase components inside a FormControl.', 'This is not supported. It might cause infinite rendering loops.', 'Only use one InputBase.'].join('\\n'));\n }\n\n registeredInput.current = true;\n return function () {\n registeredInput.current = false;\n };\n };\n }\n\n var onFilled = React.useCallback(function () {\n setFilled(true);\n }, []);\n var onEmpty = React.useCallback(function () {\n setFilled(false);\n }, []);\n var childContext = {\n adornedStart: adornedStart,\n setAdornedStart: setAdornedStart,\n color: color,\n disabled: disabled,\n error: error,\n filled: filled,\n focused: focused,\n fullWidth: fullWidth,\n hiddenLabel: hiddenLabel,\n margin: (size === 'small' ? 'dense' : undefined) || margin,\n onBlur: function onBlur() {\n setFocused(false);\n },\n onEmpty: onEmpty,\n onFilled: onFilled,\n onFocus: function onFocus() {\n setFocused(true);\n },\n registerEffect: registerEffect,\n required: required,\n variant: variant\n };\n return /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, margin !== 'none' && classes[\"margin\".concat(capitalize(margin))], fullWidth && classes.fullWidth),\n ref: ref\n }, other), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormControl.propTypes = {\n /**\n * The contents of the form control.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the label, input and helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the component will be displayed in focused state.\n */\n focused: PropTypes.bool,\n\n /**\n * If `true`, the component will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * If `true`, the label will be hidden.\n * This is used to increase density for a `FilledInput`.\n * Be sure to add `aria-label` to the `input` element.\n */\n hiddenLabel: PropTypes.bool,\n\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n */\n margin: PropTypes.oneOf(['none', 'dense', 'normal']),\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool,\n\n /**\n * The size of the text field.\n */\n size: PropTypes.oneOf(['small', 'medium']),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormControl'\n})(FormControl);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar FormControlContext = React.createContext();\n\nif (process.env.NODE_ENV !== 'production') {\n FormControlContext.displayName = 'FormControlContext';\n}\n\nexport function useFormControl() {\n return React.useContext(FormControlContext);\n}\nexport default FormControlContext;","export default function formControlState(_ref) {\n var props = _ref.props,\n states = _ref.states,\n muiFormControl = _ref.muiFormControl;\n return states.reduce(function (acc, state) {\n acc[state] = props[state];\n\n if (muiFormControl) {\n if (typeof props[state] === 'undefined') {\n acc[state] = muiFormControl[state];\n }\n }\n\n return acc;\n }, {});\n}","import * as React from 'react';\nimport FormControlContext from './FormControlContext';\nexport default function useFormControl() {\n return React.useContext(FormControlContext);\n}","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({\n color: theme.palette.text.secondary\n }, theme.typography.caption), {}, {\n textAlign: 'left',\n marginTop: 3,\n margin: 0,\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n }),\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n marginTop: 4\n },\n\n /* Styles applied to the root element if `variant=\"filled\"` or `variant=\"outlined\"`. */\n contained: {\n marginLeft: 14,\n marginRight: 14\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {}\n };\n};\nvar FormHelperText = React.forwardRef(function FormHelperText(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'p' : _props$component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n margin = props.margin,\n required = props.required,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"margin\", \"required\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant', 'margin', 'disabled', 'error', 'filled', 'focused', 'required']\n });\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, (fcs.variant === 'filled' || fcs.variant === 'outlined') && classes.contained, className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required, fcs.margin === 'dense' && classes.marginDense),\n ref: ref\n }, other), children === ' ' ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n }) : children);\n});\nprocess.env.NODE_ENV !== \"production\" ? FormHelperText.propTypes = {\n /**\n * The content of the component.\n *\n * If `' '` is provided, the component reserves one line height for displaying a future message.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the helper text should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, helper text should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the helper text should use filled classes key.\n */\n filled: PropTypes.bool,\n\n /**\n * If `true`, the helper text should use focused classes key.\n */\n focused: PropTypes.bool,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n\n /**\n * If `true`, the helper text should use required classes key.\n */\n required: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormHelperText'\n})(FormHelperText);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({\n color: theme.palette.text.secondary\n }, theme.typography.body1), {}, {\n lineHeight: 1,\n padding: 0,\n '&$focused': {\n color: theme.palette.primary.main\n },\n '&$disabled': {\n color: theme.palette.text.disabled\n },\n '&$error': {\n color: theme.palette.error.main\n }\n }),\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {\n '&$focused': {\n color: theme.palette.secondary.main\n }\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `filled={true}`. */\n filled: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {},\n\n /* Styles applied to the asterisk element. */\n asterisk: {\n '&$error': {\n color: theme.palette.error.main\n }\n }\n };\n};\nvar FormLabel = React.forwardRef(function FormLabel(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n color = props.color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'label' : _props$component,\n disabled = props.disabled,\n error = props.error,\n filled = props.filled,\n focused = props.focused,\n required = props.required,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"disabled\", \"error\", \"filled\", \"focused\", \"required\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']\n });\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(fcs.color || 'primary'))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fcs.filled && classes.filled, fcs.focused && classes.focused, fcs.required && classes.required),\n ref: ref\n }, other), children, fcs.required && /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true,\n className: clsx(classes.asterisk, fcs.error && classes.error)\n }, \"\\u2009\", '*'));\n});\nprocess.env.NODE_ENV !== \"production\" ? FormLabel.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, the label should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label should be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the label should use filled classes key.\n */\n filled: PropTypes.bool,\n\n /**\n * If `true`, the input of this label is focused (used by `FormGroup` components).\n */\n focused: PropTypes.bool,\n\n /**\n * If `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiFormLabel'\n})(FormLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getScale(value) {\n return \"scale(\".concat(value, \", \").concat(Math.pow(value, 2), \")\");\n}\n\nvar styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n/**\n * The Grow transition is used by the [Tooltip](/components/tooltips/) and\n * [Popover](/components/popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Grow = React.forwardRef(function Grow(props, ref) {\n var children = props.children,\n inProp = props.in,\n onEnter = props.onEnter,\n onExit = props.onExit,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? 'auto' : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"in\", \"onEnter\", \"onExit\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var timer = React.useRef();\n var autoTimeout = React.useRef();\n var handleRef = useForkRef(children.ref, ref);\n var theme = useTheme();\n\n var handleEnter = function handleEnter(node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var _getTransitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n }),\n transitionDuration = _getTransitionProps.duration,\n delay = _getTransitionProps.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay\n })].join(',');\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var _getTransitionProps2 = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n }),\n transitionDuration = _getTransitionProps2.duration,\n delay = _getTransitionProps2.delay;\n\n var duration;\n\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n\n node.style.transition = [theme.transitions.create('opacity', {\n duration: duration,\n delay: delay\n }), theme.transitions.create('transform', {\n duration: duration * 0.666,\n delay: delay || duration * 0.333\n })].join(',');\n node.style.opacity = '0';\n node.style.transform = getScale(0.75);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n var addEndListener = function addEndListener(_, next) {\n if (timeout === 'auto') {\n timer.current = setTimeout(next, autoTimeout.current || 0);\n }\n };\n\n React.useEffect(function () {\n return function () {\n clearTimeout(timer.current);\n };\n }, []);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n onEnter: handleEnter,\n onExit: handleExit,\n addEndListener: addEndListener,\n timeout: timeout === 'auto' ? null : timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n style: _extends(_extends(_extends({\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state]), style), children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nGrow.muiSupportAuto = true;\nexport default Grow;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 12,\n borderRadius: '50%',\n overflow: 'visible',\n // Explicitly set the default value to solve a bug on IE 11.\n color: theme.palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n backgroundColor: fade(theme.palette.action.active, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&$disabled': {\n backgroundColor: 'transparent',\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `edge=\"start\"`. */\n edgeStart: {\n marginLeft: -12,\n '$sizeSmall&': {\n marginLeft: -3\n }\n },\n\n /* Styles applied to the root element if `edge=\"end\"`. */\n edgeEnd: {\n marginRight: -12,\n '$sizeSmall&': {\n marginRight: -3\n }\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: 3,\n fontSize: theme.typography.pxToRem(18)\n },\n\n /* Styles applied to the children container element. */\n label: {\n width: '100%',\n display: 'flex',\n alignItems: 'inherit',\n justifyContent: 'inherit'\n }\n };\n};\n/**\n * Refer to the [Icons](/components/icons/) section of the documentation\n * regarding the available icon options.\n */\n\nvar IconButton = React.forwardRef(function IconButton(props, ref) {\n var _props$edge = props.edge,\n edge = _props$edge === void 0 ? false : _props$edge,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"edge\", \"children\", \"classes\", \"className\", \"color\", \"disabled\", \"disableFocusRipple\", \"size\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, color !== 'default' && classes[\"color\".concat(capitalize(color))], disabled && classes.disabled, size === \"small\" && classes[\"size\".concat(capitalize(size))], {\n 'start': classes.edgeStart,\n 'end': classes.edgeEnd\n }[edge]),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes = {\n /**\n * The icon element.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var found = React.Children.toArray(props.children).some(function (child) {\n return React.isValidElement(child) && child.props.onClick;\n });\n\n if (found) {\n 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'));\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\n /**\n * If `true`, the button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n * `disableRipple` must also be true.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n */\n edge: PropTypes.oneOf(['start', 'end', false]),\n\n /**\n * The size of the button.\n * `small` is equivalent to the dense button styling.\n */\n size: PropTypes.oneOf(['small', 'medium'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiIconButton'\n})(IconButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Typography from '../Typography';\nimport withStyles from '../styles/withStyles';\nimport FormControlContext, { useFormControl } from '../FormControl/FormControlContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n height: '0.01em',\n // Fix IE 11 flexbox alignment. To remove at some point.\n maxHeight: '2em',\n alignItems: 'center',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the root element if `variant=\"filled\"`. */\n filled: {\n '&$positionStart:not($hiddenLabel)': {\n marginTop: 16\n }\n },\n\n /* Styles applied to the root element if `position=\"start\"`. */\n positionStart: {\n marginRight: 8\n },\n\n /* Styles applied to the root element if `position=\"end\"`. */\n positionEnd: {\n marginLeft: 8\n },\n\n /* Styles applied to the root element if `disablePointerEvents=true`. */\n disablePointerEvents: {\n pointerEvents: 'none'\n },\n\n /* Styles applied if the adornment is used inside . */\n hiddenLabel: {},\n\n /* Styles applied if the adornment is used inside . */\n marginDense: {}\n};\nvar InputAdornment = React.forwardRef(function InputAdornment(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disablePointer = props.disablePointerEvents,\n disablePointerEvents = _props$disablePointer === void 0 ? false : _props$disablePointer,\n _props$disableTypogra = props.disableTypography,\n disableTypography = _props$disableTypogra === void 0 ? false : _props$disableTypogra,\n position = props.position,\n variantProp = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"disablePointerEvents\", \"disableTypography\", \"position\", \"variant\"]);\n\n var muiFormControl = useFormControl() || {};\n var variant = variantProp;\n\n if (variantProp && muiFormControl.variant) {\n if (process.env.NODE_ENV !== 'production') {\n if (variantProp === muiFormControl.variant) {\n console.error('Material-UI: The `InputAdornment` variant infers the variant prop ' + 'you do not have to provide one.');\n }\n }\n }\n\n if (muiFormControl && !variant) {\n variant = muiFormControl.variant;\n }\n\n return /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, disablePointerEvents && classes.disablePointerEvents, muiFormControl.hiddenLabel && classes.hiddenLabel, variant === 'filled' && classes.filled, {\n 'start': classes.positionStart,\n 'end': classes.positionEnd\n }[position], muiFormControl.margin === 'dense' && classes.marginDense),\n ref: ref\n }, other), typeof children === 'string' && !disableTypography ? /*#__PURE__*/React.createElement(Typography, {\n color: \"textSecondary\"\n }, children) : children));\n});\nprocess.env.NODE_ENV !== \"production\" ? InputAdornment.propTypes = {\n /**\n * The content of the component, normally an `IconButton` or string.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Disable pointer events on the root.\n * This allows for the content of the adornment to focus the input on click.\n */\n disablePointerEvents: PropTypes.bool,\n\n /**\n * If children is a string then disable wrapping in a Typography component.\n */\n disableTypography: PropTypes.bool,\n\n /**\n * @ignore\n */\n muiFormControl: PropTypes.object,\n\n /**\n * The position this adornment should appear relative to the `Input`.\n */\n position: PropTypes.oneOf(['start', 'end']),\n\n /**\n * The variant to use.\n * Note: If you are using the `TextField` component or the `FormControl` component\n * you do not have to set this manually.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputAdornment'\n})(InputAdornment);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getStyleValue(computedStyle, property) {\n return parseInt(computedStyle[property], 10) || 0;\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar styles = {\n /* Styles applied to the shadow textarea element. */\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nvar TextareaAutosize = React.forwardRef(function TextareaAutosize(props, ref) {\n var onChange = props.onChange,\n rows = props.rows,\n rowsMax = props.rowsMax,\n _props$rowsMin = props.rowsMin,\n rowsMinProp = _props$rowsMin === void 0 ? 1 : _props$rowsMin,\n style = props.style,\n value = props.value,\n other = _objectWithoutProperties(props, [\"onChange\", \"rows\", \"rowsMax\", \"rowsMin\", \"style\", \"value\"]);\n\n var rowsMin = rows || rowsMinProp;\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef(null);\n var handleRef = useForkRef(ref, inputRef);\n var shadowRef = React.useRef(null);\n var renders = React.useRef(0);\n\n var _React$useState = React.useState({}),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var syncHeight = React.useCallback(function () {\n var input = inputRef.current;\n var computedStyle = window.getComputedStyle(input);\n var inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n\n var boxSizing = computedStyle['box-sizing'];\n var padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');\n var border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content\n\n var innerHeight = inputShallow.scrollHeight - padding; // Measure height of a textarea with a single row\n\n inputShallow.value = 'x';\n var singleRowHeight = inputShallow.scrollHeight - padding; // The height of the outer content\n\n var outerHeight = innerHeight;\n\n if (rowsMin) {\n outerHeight = Math.max(Number(rowsMin) * singleRowHeight, outerHeight);\n }\n\n if (rowsMax) {\n outerHeight = Math.min(Number(rowsMax) * singleRowHeight, outerHeight);\n }\n\n outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.\n\n var outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n var overflow = Math.abs(outerHeight - innerHeight) <= 1;\n setState(function (prevState) {\n // Need a large enough difference to update the height.\n // This prevents infinite rendering loop.\n if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {\n renders.current += 1;\n return {\n overflow: overflow,\n outerHeightStyle: outerHeightStyle\n };\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (renders.current === 20) {\n console.error(['Material-UI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\\n'));\n }\n }\n\n return prevState;\n });\n }, [rowsMax, rowsMin, props.placeholder]);\n React.useEffect(function () {\n var handleResize = debounce(function () {\n renders.current = 0;\n syncHeight();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [syncHeight]);\n useEnhancedEffect(function () {\n syncHeight();\n });\n React.useEffect(function () {\n renders.current = 0;\n }, [value]);\n\n var handleChange = function handleChange(event) {\n renders.current = 0;\n\n if (!isControlled) {\n syncHeight();\n }\n\n if (onChange) {\n onChange(event);\n }\n };\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: rowsMin,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough difference to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : null\n }, style)\n }, other)), /*#__PURE__*/React.createElement(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends(_extends({}, styles.shadow), style)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n\n /**\n * Use `rowsMin` instead. The prop will be removed in v5.\n *\n * @deprecated\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display.\n */\n rowsMin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport default TextareaAutosize;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\n/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport formControlState from '../FormControl/formControlState';\nimport FormControlContext, { useFormControl } from '../FormControl/FormControlContext';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nimport useForkRef from '../utils/useForkRef';\nimport TextareaAutosize from '../TextareaAutosize';\nimport { isFilled } from './utils';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var placeholder = {\n color: 'currentColor',\n opacity: light ? 0.42 : 0.5,\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n var placeholderHidden = {\n opacity: '0 !important'\n };\n var placeholderVisible = {\n opacity: light ? 0.42 : 0.5\n };\n return {\n '@global': {\n '@keyframes mui-auto-fill': {\n from: {}\n },\n '@keyframes mui-auto-fill-cancel': {\n from: {}\n }\n },\n\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body1), {}, {\n color: theme.palette.text.primary,\n lineHeight: '1.1876em',\n // Reset (19px), match the native input line-height\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n '&$disabled': {\n color: theme.palette.text.disabled,\n cursor: 'default'\n }\n }),\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {},\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {},\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n '&$marginDense': {\n paddingTop: 4 - 1\n }\n },\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n },\n\n /* Styles applied to the `input` element. */\n input: {\n font: 'inherit',\n color: 'currentColor',\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.1876em',\n // Reset (19px), match the native input line-height\n margin: 0,\n // Reset for Safari\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n // Fix IE 11 width issue\n animationName: 'mui-auto-fill-cancel',\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholder,\n // IE 11\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n '-webkit-appearance': 'none'\n },\n // Show and hide the placeholder logic\n 'label[data-shrink=false] + $formControl &': {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholderHidden,\n // IE 11\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus:-ms-input-placeholder': placeholderVisible,\n // IE 11\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n\n },\n '&$disabled': {\n opacity: 1 // Reset iOS opacity\n\n },\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: 'mui-auto-fill'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 4 - 1\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n height: 'auto',\n resize: 'none',\n padding: 0\n },\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {\n // Improve type search style.\n '-moz-appearance': 'textfield',\n '-webkit-appearance': 'textfield'\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {},\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {},\n\n /* Styles applied to the `input` element if `hiddenLabel={true}`. */\n inputHiddenLabel: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\n\nvar InputBase = React.forwardRef(function InputBase(props, ref) {\n var ariaDescribedby = props['aria-describedby'],\n autoComplete = props.autoComplete,\n autoFocus = props.autoFocus,\n classes = props.classes,\n className = props.className,\n color = props.color,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n endAdornment = props.endAdornment,\n error = props.error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n id = props.id,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$inputProps = props.inputProps,\n inputPropsProp = _props$inputProps === void 0 ? {} : _props$inputProps,\n inputRefProp = props.inputRef,\n margin = props.margin,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n placeholder = props.placeholder,\n readOnly = props.readOnly,\n renderSuffix = props.renderSuffix,\n rows = props.rows,\n rowsMax = props.rowsMax,\n rowsMin = props.rowsMin,\n startAdornment = props.startAdornment,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n valueProp = props.value,\n other = _objectWithoutProperties(props, [\"aria-describedby\", \"autoComplete\", \"autoFocus\", \"classes\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"endAdornment\", \"error\", \"fullWidth\", \"id\", \"inputComponent\", \"inputProps\", \"inputRef\", \"margin\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onKeyUp\", \"placeholder\", \"readOnly\", \"renderSuffix\", \"rows\", \"rowsMax\", \"rowsMin\", \"startAdornment\", \"type\", \"value\"]);\n\n var value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef();\n var handleInputRefWarning = React.useCallback(function (instance) {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && instance.nodeName !== 'INPUT' && !instance.focus) {\n console.error(['Material-UI: You have provided a `inputComponent` to the input component', 'that does not correctly handle the `inputRef` prop.', 'Make sure the `inputRef` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n var handleInputPropsRefProp = useForkRef(inputPropsProp.ref, handleInputRefWarning);\n var handleInputRefProp = useForkRef(inputRefProp, handleInputPropsRefProp);\n var handleInputRef = useForkRef(inputRef, handleInputRefProp);\n\n var _React$useState = React.useState(false),\n focused = _React$useState[0],\n setFocused = _React$useState[1];\n\n var muiFormControl = useFormControl();\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n\n return undefined;\n }, [muiFormControl]);\n }\n\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['color', 'disabled', 'error', 'hiddenLabel', 'margin', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused; // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n\n React.useEffect(function () {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n var onFilled = muiFormControl && muiFormControl.onFilled;\n var onEmpty = muiFormControl && muiFormControl.onEmpty;\n var checkDirty = React.useCallback(function (obj) {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(function () {\n if (isControlled) {\n checkDirty({\n value: value\n });\n }\n }, [value, checkDirty, isControlled]);\n\n var handleFocus = function handleFocus(event) {\n // Fix a bug with IE 11 where the focus/blur events are triggered\n // while the input is disabled.\n if (fcs.disabled) {\n event.stopPropagation();\n return;\n }\n\n if (onFocus) {\n onFocus(event);\n }\n\n if (inputPropsProp.onFocus) {\n inputPropsProp.onFocus(event);\n }\n\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n if (onBlur) {\n onBlur(event);\n }\n\n if (inputPropsProp.onBlur) {\n inputPropsProp.onBlur(event);\n }\n\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n\n var handleChange = function handleChange(event) {\n if (!isControlled) {\n var element = event.target || inputRef.current;\n\n if (element == null) {\n throw new TypeError('Material-UI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://material-ui.com/r/input-component-ref-interface for more info.');\n }\n\n checkDirty({\n value: element.value\n });\n }\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n if (inputPropsProp.onChange) {\n inputPropsProp.onChange.apply(inputPropsProp, [event].concat(args));\n } // Perform in the willUpdate\n\n\n if (onChange) {\n onChange.apply(void 0, [event].concat(args));\n }\n }; // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n\n\n React.useEffect(function () {\n checkDirty(inputRef.current);\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n var handleClick = function handleClick(event) {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var InputComponent = inputComponent;\n\n var inputProps = _extends(_extends({}, inputPropsProp), {}, {\n ref: handleInputRef\n });\n\n if (typeof InputComponent !== 'string') {\n inputProps = _extends(_extends({\n // Rename ref to inputRef as we don't know the\n // provided `inputComponent` structure.\n inputRef: handleInputRef,\n type: type\n }, inputProps), {}, {\n ref: null\n });\n } else if (multiline) {\n if (rows && !rowsMax && !rowsMin) {\n InputComponent = 'textarea';\n } else {\n inputProps = _extends({\n rows: rows,\n rowsMax: rowsMax\n }, inputProps);\n InputComponent = TextareaAutosize;\n }\n } else {\n inputProps = _extends({\n type: type\n }, inputProps);\n }\n\n var handleAutoFill = function handleAutoFill(event) {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty(event.animationName === 'mui-auto-fill-cancel' ? inputRef.current : {\n value: 'x'\n });\n };\n\n React.useEffect(function () {\n if (muiFormControl) {\n muiFormControl.setAdornedStart(Boolean(startAdornment));\n }\n }, [muiFormControl, startAdornment]);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"color\".concat(capitalize(fcs.color || 'primary'))], className, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, fcs.margin === 'dense' && classes.marginDense),\n onClick: handleClick,\n ref: ref\n }, other), startAdornment, /*#__PURE__*/React.createElement(FormControlContext.Provider, {\n value: null\n }, /*#__PURE__*/React.createElement(InputComponent, _extends({\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp\n }, inputProps, {\n className: clsx(classes.input, inputPropsProp.className, fcs.disabled && classes.disabled, multiline && classes.inputMultiline, fcs.hiddenLabel && classes.inputHiddenLabel, startAdornment && classes.inputAdornedStart, endAdornment && classes.inputAdornedEnd, type === 'search' && classes.inputTypeSearch, fcs.margin === 'dense' && classes.inputMarginDense),\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus\n }))), endAdornment, renderSuffix ? renderSuffix(_extends(_extends({}, fcs), {}, {\n startAdornment: startAdornment\n })) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the input is blurred.\n *\n * Notice that the first argument (event) might be undefined.\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Minimum number of rows to display when multiline option is set to true.\n */\n rowsMin: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputBase'\n})(InputBase);","// Supports determination of isControlled().\n// Controlled input accepts its current value as a prop.\n//\n// @see https://facebook.github.io/react/docs/forms.html#controlled-components\n// @param value\n// @returns {boolean} true if string (including '') or number (including zero)\nexport function hasValue(value) {\n return value != null && !(Array.isArray(value) && value.length === 0);\n} // Determine if field is empty or filled.\n// Response determines if label is presented above field or as placeholder.\n//\n// @param obj\n// @param SSR\n// @returns {boolean} False when not present or empty string.\n// True when any number or string with length.\n\nexport function isFilled(obj) {\n var SSR = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return obj && (hasValue(obj.value) && obj.value !== '' || SSR && hasValue(obj.defaultValue) && obj.defaultValue !== '');\n} // Determine if an Input is adorned on start.\n// It's corresponding to the left with LTR.\n//\n// @param obj\n// @returns {boolean} False when no adornments.\n// True when adorned at the start.\n\nexport function isAdornedStart(obj) {\n return obj.startAdornment;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport FormLabel from '../FormLabel';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n transformOrigin: 'top left'\n },\n\n /* Pseudo-class applied to the root element if `focused={true}`. */\n focused: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element if `required={true}`. */\n required: {},\n\n /* Pseudo-class applied to the asterisk element. */\n asterisk: {},\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {\n position: 'absolute',\n left: 0,\n top: 0,\n // slight alteration to spec spacing to match visual spec result\n transform: 'translate(0, 24px) scale(1)'\n },\n\n /* Styles applied to the root element if `margin=\"dense\"`. */\n marginDense: {\n // Compensation for the `Input.inputDense` style.\n transform: 'translate(0, 21px) scale(1)'\n },\n\n /* Styles applied to the `input` element if `shrink={true}`. */\n shrink: {\n transform: 'translate(0, 1.5px) scale(0.75)',\n transformOrigin: 'top left'\n },\n\n /* Styles applied to the `input` element if `disableAnimation={false}`. */\n animated: {\n transition: theme.transitions.create(['color', 'transform'], {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n })\n },\n\n /* Styles applied to the root element if `variant=\"filled\"`. */\n filled: {\n // Chrome's autofill feature gives the input field a yellow background.\n // Since the input field is behind the label in the HTML tree,\n // the input field is drawn last and hides the label with an opaque background color.\n // zIndex: 1 will raise the label above opaque background-colors of input.\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(12px, 20px) scale(1)',\n '&$marginDense': {\n transform: 'translate(12px, 17px) scale(1)'\n },\n '&$shrink': {\n transform: 'translate(12px, 10px) scale(0.75)',\n '&$marginDense': {\n transform: 'translate(12px, 7px) scale(0.75)'\n }\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n // see comment above on filled.zIndex\n zIndex: 1,\n pointerEvents: 'none',\n transform: 'translate(14px, 20px) scale(1)',\n '&$marginDense': {\n transform: 'translate(14px, 12px) scale(1)'\n },\n '&$shrink': {\n transform: 'translate(14px, -6px) scale(0.75)'\n }\n }\n };\n};\nvar InputLabel = React.forwardRef(function InputLabel(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disableAnimati = props.disableAnimation,\n disableAnimation = _props$disableAnimati === void 0 ? false : _props$disableAnimati,\n margin = props.margin,\n shrinkProp = props.shrink,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disableAnimation\", \"margin\", \"shrink\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var shrink = shrinkProp;\n\n if (typeof shrink === 'undefined' && muiFormControl) {\n shrink = muiFormControl.filled || muiFormControl.focused || muiFormControl.adornedStart;\n }\n\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['margin', 'variant']\n });\n return /*#__PURE__*/React.createElement(FormLabel, _extends({\n \"data-shrink\": shrink,\n className: clsx(classes.root, className, muiFormControl && classes.formControl, !disableAnimation && classes.animated, shrink && classes.shrink, fcs.margin === 'dense' && classes.marginDense, {\n 'filled': classes.filled,\n 'outlined': classes.outlined\n }[fcs.variant]),\n classes: {\n focused: classes.focused,\n disabled: classes.disabled,\n error: classes.error,\n required: classes.required,\n asterisk: classes.asterisk\n },\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? InputLabel.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The contents of the `InputLabel`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * If `true`, the transition animation is disabled.\n */\n disableAnimation: PropTypes.bool,\n\n /**\n * If `true`, apply disabled class.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label will be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input of this label is focused.\n */\n focused: PropTypes.bool,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense']),\n\n /**\n * if `true`, the label will indicate that the input is required.\n */\n required: PropTypes.bool,\n\n /**\n * If `true`, the label is shrunk.\n */\n shrink: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputLabel'\n})(InputLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative'\n },\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {\n 'label + &': {\n marginTop: 16\n }\n },\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if color secondary. */\n colorSecondary: {\n '&$underline:after': {\n borderBottomColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if `disableUnderline={false}`. */\n underline: {\n '&:after': {\n borderBottom: \"2px solid \".concat(theme.palette.primary.main),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\"',\n position: 'absolute',\n right: 0,\n transform: 'scaleX(0)',\n transition: theme.transitions.create('transform', {\n duration: theme.transitions.duration.shorter,\n easing: theme.transitions.easing.easeOut\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&$focused:after': {\n transform: 'scaleX(1)'\n },\n '&$error:after': {\n borderBottomColor: theme.palette.error.main,\n transform: 'scaleX(1)' // error is always underlined in red\n\n },\n '&:before': {\n borderBottom: \"1px solid \".concat(bottomLineColor),\n left: 0,\n bottom: 0,\n // Doing the other way around crash on IE 11 \"''\" https://github.com/cssinjs/jss/issues/242\n content: '\"\\\\00a0\"',\n position: 'absolute',\n right: 0,\n transition: theme.transitions.create('border-bottom-color', {\n duration: theme.transitions.duration.shorter\n }),\n pointerEvents: 'none' // Transparent to the hover style.\n\n },\n '&:hover:not($disabled):before': {\n borderBottom: \"2px solid \".concat(theme.palette.text.primary),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n borderBottom: \"1px solid \".concat(bottomLineColor)\n }\n },\n '&$disabled:before': {\n borderBottomStyle: 'dotted'\n }\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {},\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {},\n\n /* Styles applied to the `input` element. */\n input: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {},\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {},\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {}\n };\n};\nvar Input = React.forwardRef(function Input(props, ref) {\n var disableUnderline = props.disableUnderline,\n classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"disableUnderline\", \"classes\", \"fullWidth\", \"inputComponent\", \"multiline\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n classes: _extends(_extends({}, classes), {}, {\n root: clsx(classes.root, !disableUnderline && classes.underline),\n underline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Input.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the input will not have an underline.\n */\n disableUnderline: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiInput'\n})(Input);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n root: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n paddingTop: 8,\n paddingBottom: 8,\n '&$focusVisible': {\n backgroundColor: theme.palette.action.selected\n },\n '&$selected, &$selected:hover': {\n backgroundColor: theme.palette.action.selected\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n container: {\n position: 'relative'\n },\n\n /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n focusVisible: {},\n\n /* Styles applied to the `component` element if dense. */\n dense: {\n paddingTop: 4,\n paddingBottom: 4\n },\n\n /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n alignItems: 'flex-start'\n },\n\n /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the inner `component` element if `divider={true}`. */\n divider: {\n borderBottom: \"1px solid \".concat(theme.palette.divider),\n backgroundClip: 'padding-box'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the inner `component` element if `button={true}`. */\n button: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n secondaryAction: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = React.forwardRef(function ListItem(props, ref) {\n var _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$button = props.button,\n button = _props$button === void 0 ? false : _props$button,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n componentProp = props.component,\n _props$ContainerCompo = props.ContainerComponent,\n ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n _props$ContainerProps = props.ContainerProps;\n _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n\n var ContainerClassName = _props$ContainerProps.className,\n ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? false : _props$divider,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n\n var context = React.useContext(ListContext);\n var childContext = {\n dense: dense || context.dense || false,\n alignItems: alignItems\n };\n var listItemRef = React.useRef(null);\n useEnhancedEffect(function () {\n if (autoFocus) {\n if (listItemRef.current) {\n listItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n var children = React.Children.toArray(childrenProp);\n var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listItemRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n\n var componentProps = _extends({\n className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n disabled: disabled\n }, other);\n\n var Component = componentProp || 'li';\n\n if (button) {\n componentProps.component = componentProp || 'div';\n componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n Component = ButtonBase;\n }\n\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef\n }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef\n }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes = {\n /**\n * Defines the `align-items` style property.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center']),\n\n /**\n * If `true`, the list item will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the list item will be a button (using `ButtonBase`). Props intended\n * for `ButtonBase` can then be applied to `ListItem`.\n */\n button: PropTypes.bool,\n\n /**\n * The content of the component. If a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var children = React.Children.toArray(props.children); // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n\n var secondaryActionIndex = -1;\n\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n } // is ListItemSecondaryAction the last child of ListItem\n\n\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('Material-UI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\n */\n component: PropTypes.elementType,\n\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n */\n ContainerComponent: PropTypes.elementType,\n\n /**\n * Props applied to the container component if used.\n */\n ContainerProps: PropTypes.object,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, the list item will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n */\n divider: PropTypes.bool,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * Use to apply selected styling.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItem'\n})(ListItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListContext from './ListContext';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative'\n },\n\n /* Styles applied to the root element if `disablePadding={false}`. */\n padding: {\n paddingTop: 8,\n paddingBottom: 8\n },\n\n /* Styles applied to the root element if dense. */\n dense: {},\n\n /* Styles applied to the root element if a `subheader` is provided. */\n subheader: {\n paddingTop: 0\n }\n};\nvar List = React.forwardRef(function List(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'ul' : _props$component,\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disablePadding = props.disablePadding,\n disablePadding = _props$disablePadding === void 0 ? false : _props$disablePadding,\n subheader = props.subheader,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"dense\", \"disablePadding\", \"subheader\"]);\n\n var context = React.useMemo(function () {\n return {\n dense: dense\n };\n }, [dense]);\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: context\n }, /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, dense && classes.dense, !disablePadding && classes.padding, subheader && classes.subheader),\n ref: ref\n }, other), subheader, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? List.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, vertical padding will be removed from the list.\n */\n disablePadding: PropTypes.bool,\n\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiList'\n})(List);","import * as React from 'react';\n/**\n * @ignore - internal component.\n */\n\nvar ListContext = React.createContext({});\n\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\n\nexport default ListContext;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ListItem from '../ListItem';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body1), {}, _defineProperty({\n minHeight: 48,\n paddingTop: 6,\n paddingBottom: 6,\n boxSizing: 'border-box',\n width: 'auto',\n overflow: 'hidden',\n whiteSpace: 'nowrap'\n }, theme.breakpoints.up('sm'), {\n minHeight: 'auto'\n })),\n // TODO v5: remove\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: {},\n\n /* Styles applied to the root element if `selected={true}`. */\n selected: {},\n\n /* Styles applied to the root element if dense. */\n dense: _extends(_extends({}, theme.typography.body2), {}, {\n minHeight: 'auto'\n })\n };\n};\nvar MenuItem = React.forwardRef(function MenuItem(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n component = _props$component === void 0 ? 'li' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n ListItemClasses = props.ListItemClasses,\n _props$role = props.role,\n role = _props$role === void 0 ? 'menuitem' : _props$role,\n selected = props.selected,\n tabIndexProp = props.tabIndex,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"ListItemClasses\", \"role\", \"selected\", \"tabIndex\"]);\n\n var tabIndex;\n\n if (!props.disabled) {\n tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n }\n\n return /*#__PURE__*/React.createElement(ListItem, _extends({\n button: true,\n role: role,\n tabIndex: tabIndex,\n component: component,\n selected: selected,\n disableGutters: disableGutters,\n classes: _extends({\n dense: classes.dense\n }, ListItemClasses),\n className: clsx(classes.root, className, selected && classes.selected, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes = {\n /**\n * Menu item contents.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * @ignore\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * `classes` prop applied to the [`ListItem`](/api/list-item/) element.\n */\n ListItemClasses: PropTypes.object,\n\n /**\n * @ignore\n */\n role: PropTypes.string,\n\n /**\n * @ignore\n */\n selected: PropTypes.bool,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.number\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMenuItem'\n})(MenuItem);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport ownerDocument from '../utils/ownerDocument';\nimport List from '../List';\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport useForkRef from '../utils/useForkRef';\n\nfunction nextItem(list, item, disableListWrap) {\n if (list === item) {\n return list.firstChild;\n }\n\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n\n return disableListWrap ? null : list.firstChild;\n}\n\nfunction previousItem(list, item, disableListWrap) {\n if (list === item) {\n return disableListWrap ? list.firstChild : list.lastChild;\n }\n\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n\n return disableListWrap ? null : list.lastChild;\n}\n\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n\n var text = nextFocus.innerText;\n\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = nextFocus.textContent;\n }\n\n text = text.trim().toLowerCase();\n\n if (text.length === 0) {\n return false;\n }\n\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n\n return text.indexOf(textCriteria.keys.join('')) === 0;\n}\n\nfunction moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, traversalFunction, textCriteria) {\n var wrappedOnce = false;\n var nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return;\n }\n\n wrappedOnce = true;\n } // Same logic as useAutocomplete.js\n\n\n var nextFocusDisabled = disabledItemsFocusable ? false : nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';\n\n if (!nextFocus.hasAttribute('tabindex') || !textCriteriaMatches(nextFocus, textCriteria) || nextFocusDisabled) {\n // Move to the next element.\n nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n } else {\n nextFocus.focus();\n return;\n }\n }\n}\n\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * A permanently displayed menu following https://www.w3.org/TR/wai-aria-practices/#menubutton.\n * It's exposed to help customization of the [`Menu`](/api/menu/) component. If you\n * use it separately you need to move focus into the component manually. Once\n * the focus is placed inside the component it is fully keyboard accessible.\n */\n\nvar MenuList = React.forwardRef(function MenuList(props, ref) {\n var actions = props.actions,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$autoFocusItem = props.autoFocusItem,\n autoFocusItem = _props$autoFocusItem === void 0 ? false : _props$autoFocusItem,\n children = props.children,\n className = props.className,\n _props$disabledItemsF = props.disabledItemsFocusable,\n disabledItemsFocusable = _props$disabledItemsF === void 0 ? false : _props$disabledItemsF,\n _props$disableListWra = props.disableListWrap,\n disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra,\n onKeyDown = props.onKeyDown,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n other = _objectWithoutProperties(props, [\"actions\", \"autoFocus\", \"autoFocusItem\", \"children\", \"className\", \"disabledItemsFocusable\", \"disableListWrap\", \"onKeyDown\", \"variant\"]);\n\n var listRef = React.useRef(null);\n var textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n useEnhancedEffect(function () {\n if (autoFocus) {\n listRef.current.focus();\n }\n }, [autoFocus]);\n React.useImperativeHandle(actions, function () {\n return {\n adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement, theme) {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n var noExplicitWidth = !listRef.current.style.width;\n\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n var scrollbarSize = \"\".concat(getScrollbarSize(true), \"px\");\n listRef.current.style[theme.direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n listRef.current.style.width = \"calc(100% + \".concat(scrollbarSize, \")\");\n }\n\n return listRef.current;\n }\n };\n }, []);\n\n var handleKeyDown = function handleKeyDown(event) {\n var list = listRef.current;\n var key = event.key;\n /**\n * @type {Element} - will always be defined since we are in a keydown handler\n * attached to an element. A keydown event is either dispatched to the activeElement\n * or document.body or document.documentElement. Only the first case will\n * trigger this specific handler.\n */\n\n var currentFocus = ownerDocument(list).activeElement;\n\n if (key === 'ArrowDown') {\n // Prevent scroll of the page\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'ArrowUp') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key === 'Home') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, nextItem);\n } else if (key === 'End') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, disabledItemsFocusable, previousItem);\n } else if (key.length === 1) {\n var criteria = textCriteriaRef.current;\n var lowerKey = key.toLowerCase();\n var currTime = performance.now();\n\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n var keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, disabledItemsFocusable, nextItem, criteria))) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n\n var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n\n React.Children.forEach(children, function (child, index) {\n if (!React.isValidElement(child)) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n if (!child.props.disabled) {\n if (variant === 'selectedMenu' && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n });\n var items = React.Children.map(children, function (child, index) {\n if (index === activeItemIndex) {\n var newChildProps = {};\n\n if (autoFocusItem) {\n newChildProps.autoFocus = true;\n }\n\n if (child.props.tabIndex === undefined && variant === 'selectedMenu') {\n newChildProps.tabIndex = 0;\n }\n\n return React.cloneElement(child, newChildProps);\n }\n\n return child;\n });\n return /*#__PURE__*/React.createElement(List, _extends({\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: autoFocus ? 0 : -1\n }, other), items);\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, will focus the `[role=\"menu\"]` container and move into tab order.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, will focus the first menuitem if `variant=\"menu\"` or selected item\n * if `variant=\"selectedMenu\"`.\n */\n autoFocusItem: PropTypes.bool,\n\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, will allow focus on disabled items.\n */\n disabledItemsFocusable: PropTypes.bool,\n\n /**\n * If `true`, the menu items will not wrap focus.\n */\n disableListWrap: PropTypes.bool,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default MenuList;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { HTMLElementType } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport Popover from '../Popover';\nimport MenuList from '../MenuList';\nimport * as ReactDOM from 'react-dom';\nimport setRef from '../utils/setRef';\nimport useTheme from '../styles/useTheme';\nvar RTL_ORIGIN = {\n vertical: 'top',\n horizontal: 'right'\n};\nvar LTR_ORIGIN = {\n vertical: 'top',\n horizontal: 'left'\n};\nexport var styles = {\n /* Styles applied to the `Paper` component. */\n paper: {\n // specZ: The maximum height of a simple menu should be one or more rows less than the view\n // height. This ensures a tapable area outside of the simple menu with which to dismiss\n // the menu.\n maxHeight: 'calc(100% - 96px)',\n // Add iOS momentum scrolling.\n WebkitOverflowScrolling: 'touch'\n },\n\n /* Styles applied to the `List` component via `MenuList`. */\n list: {\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n }\n};\nvar Menu = React.forwardRef(function Menu(props, ref) {\n var _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus,\n children = props.children,\n classes = props.classes,\n _props$disableAutoFoc = props.disableAutoFocusItem,\n disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$MenuListProps = props.MenuListProps,\n MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps,\n onClose = props.onClose,\n onEntering = props.onEntering,\n open = props.open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n PopoverClasses = props.PopoverClasses,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoFocus\", \"children\", \"classes\", \"disableAutoFocusItem\", \"MenuListProps\", \"onClose\", \"onEntering\", \"open\", \"PaperProps\", \"PopoverClasses\", \"transitionDuration\", \"variant\"]);\n\n var theme = useTheme();\n var autoFocusItem = autoFocus && !disableAutoFocusItem && open;\n var menuListActionsRef = React.useRef(null);\n var contentAnchorRef = React.useRef(null);\n\n var getContentAnchorEl = function getContentAnchorEl() {\n return contentAnchorRef.current;\n };\n\n var handleEntering = function handleEntering(element, isAppearing) {\n if (menuListActionsRef.current) {\n menuListActionsRef.current.adjustStyleForScrollbar(element, theme);\n }\n\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n };\n\n var handleListKeyDown = function handleListKeyDown(event) {\n if (event.key === 'Tab') {\n event.preventDefault();\n\n if (onClose) {\n onClose(event, 'tabKeyDown');\n }\n }\n };\n /**\n * the index of the item should receive focus\n * in a `variant=\"selectedMenu\"` it's the first `selected` item\n * otherwise it's the very first item.\n */\n\n\n var activeItemIndex = -1; // since we inject focus related props into children we have to do a lookahead\n // to check if there is a `selected` item. We're looking for the last `selected`\n // item and use the first valid item as a fallback\n\n React.Children.map(children, function (child, index) {\n if (!React.isValidElement(child)) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n if (!child.props.disabled) {\n if (variant !== \"menu\" && child.props.selected) {\n activeItemIndex = index;\n } else if (activeItemIndex === -1) {\n activeItemIndex = index;\n }\n }\n });\n var items = React.Children.map(children, function (child, index) {\n if (index === activeItemIndex) {\n return React.cloneElement(child, {\n ref: function ref(instance) {\n // #StrictMode ready\n contentAnchorRef.current = ReactDOM.findDOMNode(instance);\n setRef(child.ref, instance);\n }\n });\n }\n\n return child;\n });\n return /*#__PURE__*/React.createElement(Popover, _extends({\n getContentAnchorEl: getContentAnchorEl,\n classes: PopoverClasses,\n onClose: onClose,\n onEntering: handleEntering,\n anchorOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n transformOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n PaperProps: _extends(_extends({}, PaperProps), {}, {\n classes: _extends(_extends({}, PaperProps.classes), {}, {\n root: classes.paper\n })\n }),\n open: open,\n ref: ref,\n transitionDuration: transitionDuration\n }, other), /*#__PURE__*/React.createElement(MenuList, _extends({\n onKeyDown: handleListKeyDown,\n actions: menuListActionsRef,\n autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),\n autoFocusItem: autoFocusItem,\n variant: variant\n }, MenuListProps, {\n className: clsx(classes.list, MenuListProps.className)\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? Menu.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A HTML element, or a function that returns it.\n * It's used to set the position of the menu.\n */\n anchorEl: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.func]),\n\n /**\n * If `true` (Default) will focus the `[role=\"menu\"]` if no focusable child is found. Disabled\n * children are not focusable. If you set this prop to `false` focus will be placed\n * on the parent modal container. This has severe accessibility implications\n * and should only be considered if you manage focus otherwise.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Menu contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * When opening the menu will not focus the active item but the `[role=\"menu\"]`\n * unless `autoFocus` is also set to `false`. Not using the default means not\n * following WAI-ARIA authoring practices. Please be considerate about possible\n * accessibility implications.\n */\n disableAutoFocusItem: PropTypes.bool,\n\n /**\n * Props applied to the [`MenuList`](/api/menu-list/) element.\n */\n MenuListProps: PropTypes.object,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the Menu enters.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the Menu has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the Menu is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the Menu exits.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the Menu has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the Menu is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the menu is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * @ignore\n */\n PaperProps: PropTypes.object,\n\n /**\n * `classes` prop applied to the [`Popover`](/api/popover/) element.\n */\n PopoverClasses: PropTypes.object,\n\n /**\n * The length of the transition in `ms`, or 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMenu'\n})(Menu);","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow'; // Is a vertical scrollbar displayed?\n\nfunction isOverflowing(container) {\n var doc = ownerDocument(container);\n\n if (doc.body === container) {\n return ownerWindow(doc).innerWidth > doc.documentElement.clientWidth;\n }\n\n return container.scrollHeight > container.clientHeight;\n}\n\nexport function ariaHidden(node, show) {\n if (show) {\n node.setAttribute('aria-hidden', 'true');\n } else {\n node.removeAttribute('aria-hidden');\n }\n}\n\nfunction getPaddingRight(node) {\n return parseInt(window.getComputedStyle(node)['padding-right'], 10) || 0;\n}\n\nfunction ariaHiddenSiblings(container, mountNode, currentNode) {\n var nodesToExclude = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n var show = arguments.length > 4 ? arguments[4] : undefined;\n var blacklist = [mountNode, currentNode].concat(_toConsumableArray(nodesToExclude));\n var blacklistTagNames = ['TEMPLATE', 'SCRIPT', 'STYLE'];\n [].forEach.call(container.children, function (node) {\n if (node.nodeType === 1 && blacklist.indexOf(node) === -1 && blacklistTagNames.indexOf(node.tagName) === -1) {\n ariaHidden(node, show);\n }\n });\n}\n\nfunction findIndexOf(containerInfo, callback) {\n var idx = -1;\n containerInfo.some(function (item, index) {\n if (callback(item)) {\n idx = index;\n return true;\n }\n\n return false;\n });\n return idx;\n}\n\nfunction handleContainer(containerInfo, props) {\n var restoreStyle = [];\n var restorePaddings = [];\n var container = containerInfo.container;\n var fixedNodes;\n\n if (!props.disableScrollLock) {\n if (isOverflowing(container)) {\n // Compute the size before applying overflow hidden to avoid any scroll jumps.\n var scrollbarSize = getScrollbarSize();\n restoreStyle.push({\n value: container.style.paddingRight,\n key: 'padding-right',\n el: container\n }); // Use computed style, here to get the real padding to add our scrollbar width.\n\n container.style['padding-right'] = \"\".concat(getPaddingRight(container) + scrollbarSize, \"px\"); // .mui-fixed is a global helper.\n\n fixedNodes = ownerDocument(container).querySelectorAll('.mui-fixed');\n [].forEach.call(fixedNodes, function (node) {\n restorePaddings.push(node.style.paddingRight);\n node.style.paddingRight = \"\".concat(getPaddingRight(node) + scrollbarSize, \"px\");\n });\n } // Improve Gatsby support\n // https://css-tricks.com/snippets/css/force-vertical-scrollbar/\n\n\n var parent = container.parentElement;\n var scrollContainer = parent.nodeName === 'HTML' && window.getComputedStyle(parent)['overflow-y'] === 'scroll' ? parent : container; // Block the scroll even if no scrollbar is visible to account for mobile keyboard\n // screensize shrink.\n\n restoreStyle.push({\n value: scrollContainer.style.overflow,\n key: 'overflow',\n el: scrollContainer\n });\n scrollContainer.style.overflow = 'hidden';\n }\n\n var restore = function restore() {\n if (fixedNodes) {\n [].forEach.call(fixedNodes, function (node, i) {\n if (restorePaddings[i]) {\n node.style.paddingRight = restorePaddings[i];\n } else {\n node.style.removeProperty('padding-right');\n }\n });\n }\n\n restoreStyle.forEach(function (_ref) {\n var value = _ref.value,\n el = _ref.el,\n key = _ref.key;\n\n if (value) {\n el.style.setProperty(key, value);\n } else {\n el.style.removeProperty(key);\n }\n });\n };\n\n return restore;\n}\n\nfunction getHiddenSiblings(container) {\n var hiddenSiblings = [];\n [].forEach.call(container.children, function (node) {\n if (node.getAttribute && node.getAttribute('aria-hidden') === 'true') {\n hiddenSiblings.push(node);\n }\n });\n return hiddenSiblings;\n}\n/**\n * @ignore - do not document.\n *\n * Proper state management for containers and the modals in those containers.\n * Simplified, but inspired by react-overlay's ModalManager class.\n * Used by the Modal to ensure proper styling of containers.\n */\n\n\nvar ModalManager = /*#__PURE__*/function () {\n function ModalManager() {\n _classCallCheck(this, ModalManager);\n\n // this.modals[modalIndex] = modal\n this.modals = []; // this.containers[containerIndex] = {\n // modals: [],\n // container,\n // restore: null,\n // }\n\n this.containers = [];\n }\n\n _createClass(ModalManager, [{\n key: \"add\",\n value: function add(modal, container) {\n var modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex !== -1) {\n return modalIndex;\n }\n\n modalIndex = this.modals.length;\n this.modals.push(modal); // If the modal we are adding is already in the DOM.\n\n if (modal.modalRef) {\n ariaHidden(modal.modalRef, false);\n }\n\n var hiddenSiblingNodes = getHiddenSiblings(container);\n ariaHiddenSiblings(container, modal.mountNode, modal.modalRef, hiddenSiblingNodes, true);\n var containerIndex = findIndexOf(this.containers, function (item) {\n return item.container === container;\n });\n\n if (containerIndex !== -1) {\n this.containers[containerIndex].modals.push(modal);\n return modalIndex;\n }\n\n this.containers.push({\n modals: [modal],\n container: container,\n restore: null,\n hiddenSiblingNodes: hiddenSiblingNodes\n });\n return modalIndex;\n }\n }, {\n key: \"mount\",\n value: function mount(modal, props) {\n var containerIndex = findIndexOf(this.containers, function (item) {\n return item.modals.indexOf(modal) !== -1;\n });\n var containerInfo = this.containers[containerIndex];\n\n if (!containerInfo.restore) {\n containerInfo.restore = handleContainer(containerInfo, props);\n }\n }\n }, {\n key: \"remove\",\n value: function remove(modal) {\n var modalIndex = this.modals.indexOf(modal);\n\n if (modalIndex === -1) {\n return modalIndex;\n }\n\n var containerIndex = findIndexOf(this.containers, function (item) {\n return item.modals.indexOf(modal) !== -1;\n });\n var containerInfo = this.containers[containerIndex];\n containerInfo.modals.splice(containerInfo.modals.indexOf(modal), 1);\n this.modals.splice(modalIndex, 1); // If that was the last modal in a container, clean up the container.\n\n if (containerInfo.modals.length === 0) {\n // The modal might be closed before it had the chance to be mounted in the DOM.\n if (containerInfo.restore) {\n containerInfo.restore();\n }\n\n if (modal.modalRef) {\n // In case the modal wasn't in the DOM yet.\n ariaHidden(modal.modalRef, true);\n }\n\n ariaHiddenSiblings(containerInfo.container, modal.mountNode, modal.modalRef, containerInfo.hiddenSiblingNodes, false);\n this.containers.splice(containerIndex, 1);\n } else {\n // Otherwise make sure the next top modal is visible to a screen reader.\n var nextTop = containerInfo.modals[containerInfo.modals.length - 1]; // as soon as a modal is adding its modalRef is undefined. it can't set\n // aria-hidden because the dom element doesn't exist either\n // when modal was unmounted before modalRef gets null\n\n if (nextTop.modalRef) {\n ariaHidden(nextTop.modalRef, false);\n }\n }\n\n return modalIndex;\n }\n }, {\n key: \"isTopModal\",\n value: function isTopModal(modal) {\n return this.modals.length > 0 && this.modals[this.modals.length - 1] === modal;\n }\n }]);\n\n return ModalManager;\n}();\n\nexport { ModalManager as default };","/* eslint-disable consistent-return, jsx-a11y/no-noninteractive-tabindex */\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport ownerDocument from '../utils/ownerDocument';\nimport useForkRef from '../utils/useForkRef';\n/**\n * @ignore - internal component.\n */\n\nfunction TrapFocus(props) {\n var children = props.children,\n _props$disableAutoFoc = props.disableAutoFocus,\n disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$disableEnforce = props.disableEnforceFocus,\n disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce,\n _props$disableRestore = props.disableRestoreFocus,\n disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore,\n getDoc = props.getDoc,\n isEnabled = props.isEnabled,\n open = props.open;\n var ignoreNextEnforceFocus = React.useRef();\n var sentinelStart = React.useRef(null);\n var sentinelEnd = React.useRef(null);\n var nodeToRestore = React.useRef();\n var rootRef = React.useRef(null); // can be removed once we drop support for non ref forwarding class components\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n rootRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(children.ref, handleOwnRef);\n var prevOpenRef = React.useRef();\n React.useEffect(function () {\n prevOpenRef.current = open;\n }, [open]);\n\n if (!prevOpenRef.current && open && typeof window !== 'undefined') {\n // WARNING: Potentially unsafe in concurrent mode.\n // The way the read on `nodeToRestore` is setup could make this actually safe.\n // Say we render `open={false}` -> `open={true}` but never commit.\n // We have now written a state that wasn't committed. But no committed effect\n // will read this wrong value. We only read from `nodeToRestore` in effects\n // that were committed on `open={true}`\n // WARNING: Prevents the instance from being garbage collected. Should only\n // hold a weak ref.\n nodeToRestore.current = getDoc().activeElement;\n }\n\n React.useEffect(function () {\n if (!open) {\n return;\n }\n\n var doc = ownerDocument(rootRef.current); // We might render an empty child.\n\n if (!disableAutoFocus && rootRef.current && !rootRef.current.contains(doc.activeElement)) {\n if (!rootRef.current.hasAttribute('tabIndex')) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(['Material-UI: The modal content node does not accept focus.', 'For the benefit of assistive technologies, ' + 'the tabIndex of the node is being set to \"-1\".'].join('\\n'));\n }\n\n rootRef.current.setAttribute('tabIndex', -1);\n }\n\n rootRef.current.focus();\n }\n\n var contain = function contain() {\n if (!doc.hasFocus() || disableEnforceFocus || !isEnabled() || ignoreNextEnforceFocus.current) {\n ignoreNextEnforceFocus.current = false;\n return;\n }\n\n if (rootRef.current && !rootRef.current.contains(doc.activeElement)) {\n rootRef.current.focus();\n }\n };\n\n var loopFocus = function loopFocus(event) {\n // 9 = Tab\n if (disableEnforceFocus || !isEnabled() || event.keyCode !== 9) {\n return;\n } // Make sure the next tab starts from the right place.\n\n\n if (doc.activeElement === rootRef.current) {\n // We need to ignore the next contain as\n // it will try to move the focus back to the rootRef element.\n ignoreNextEnforceFocus.current = true;\n\n if (event.shiftKey) {\n sentinelEnd.current.focus();\n } else {\n sentinelStart.current.focus();\n }\n }\n };\n\n doc.addEventListener('focus', contain, true);\n doc.addEventListener('keydown', loopFocus, true); // With Edge, Safari and Firefox, no focus related events are fired when the focused area stops being a focused area\n // e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=559561.\n //\n // The whatwg spec defines how the browser should behave but does not explicitly mention any events:\n // https://html.spec.whatwg.org/multipage/interaction.html#focus-fixup-rule.\n\n var interval = setInterval(function () {\n contain();\n }, 50);\n return function () {\n clearInterval(interval);\n doc.removeEventListener('focus', contain, true);\n doc.removeEventListener('keydown', loopFocus, true); // restoreLastFocus()\n\n if (!disableRestoreFocus) {\n // In IE 11 it is possible for document.activeElement to be null resulting\n // in nodeToRestore.current being null.\n // Not all elements in IE 11 have a focus method.\n // Once IE 11 support is dropped the focus() call can be unconditional.\n if (nodeToRestore.current && nodeToRestore.current.focus) {\n nodeToRestore.current.focus();\n }\n\n nodeToRestore.current = null;\n }\n };\n }, [disableAutoFocus, disableEnforceFocus, disableRestoreFocus, isEnabled, open]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelStart,\n \"data-test\": \"sentinelStart\"\n }), React.cloneElement(children, {\n ref: handleRef\n }), /*#__PURE__*/React.createElement(\"div\", {\n tabIndex: 0,\n ref: sentinelEnd,\n \"data-test\": \"sentinelEnd\"\n }));\n}\n\nprocess.env.NODE_ENV !== \"production\" ? TrapFocus.propTypes = {\n /**\n * A single child content element.\n */\n children: PropTypes.element.isRequired,\n\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableAutoFocus: PropTypes.bool,\n\n /**\n * If `true`, the modal will not prevent focus from leaving the modal while open.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableEnforceFocus: PropTypes.bool,\n\n /**\n * If `true`, the modal will not restore focus to previously focused element once\n * modal is hidden.\n */\n disableRestoreFocus: PropTypes.bool,\n\n /**\n * Return the document to consider.\n * We use it to implement the restore focus between different browser documents.\n */\n getDoc: PropTypes.func.isRequired,\n\n /**\n * Do we still want to enforce the focus?\n * This prop helps nesting TrapFocus elements.\n */\n isEnabled: PropTypes.func.isRequired,\n\n /**\n * If `true`, the modal is open.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\n/*\n\nIn the future, we should be able to replace TrapFocus with:\nhttps://github.com/facebook/react/blob/master/packages/react-events/docs/FocusScope.md\n\n```jsx\nimport FocusScope from 'react-dom/FocusScope';\n\nfunction TrapFocus(props) {\n const {\n children\n disableAutoFocus = false,\n disableEnforceFocus = false,\n disableRestoreFocus = false,\n open,\n } = props;\n\n if (!open) {\n return children;\n }\n\n return (\n \n {children}\n \n );\n}\n```\n\n*/\n\nexport default TrapFocus;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n zIndex: -1,\n position: 'fixed',\n right: 0,\n bottom: 0,\n top: 0,\n left: 0,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n WebkitTapHighlightColor: 'transparent'\n },\n\n /* Styles applied to the root element if `invisible={true}`. */\n invisible: {\n backgroundColor: 'transparent'\n }\n};\n/**\n * @ignore - internal component.\n */\n\nvar SimpleBackdrop = React.forwardRef(function SimpleBackdrop(props, ref) {\n var _props$invisible = props.invisible,\n invisible = _props$invisible === void 0 ? false : _props$invisible,\n open = props.open,\n other = _objectWithoutProperties(props, [\"invisible\", \"open\"]);\n\n return open ? /*#__PURE__*/React.createElement(\"div\", _extends({\n \"aria-hidden\": true,\n ref: ref\n }, other, {\n style: _extends(_extends(_extends({}, styles.root), invisible ? styles.invisible : {}), other.style)\n })) : null;\n});\nprocess.env.NODE_ENV !== \"production\" ? SimpleBackdrop.propTypes = {\n /**\n * If `true`, the backdrop is invisible.\n * It can be used when rendering a popover or a custom select component.\n */\n invisible: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is open.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\nexport default SimpleBackdrop;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { getThemeProps, useTheme } from '@material-ui/styles';\nimport { elementAcceptingRef, HTMLElementType } from '@material-ui/utils';\nimport ownerDocument from '../utils/ownerDocument';\nimport Portal from '../Portal';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport useForkRef from '../utils/useForkRef';\nimport useEventCallback from '../utils/useEventCallback';\nimport zIndex from '../styles/zIndex';\nimport ModalManager, { ariaHidden } from './ModalManager';\nimport TrapFocus from './TrapFocus';\nimport SimpleBackdrop from './SimpleBackdrop';\n\nfunction getContainer(container) {\n container = typeof container === 'function' ? container() : container;\n return ReactDOM.findDOMNode(container);\n}\n\nfunction getHasTransition(props) {\n return props.children ? props.children.props.hasOwnProperty('in') : false;\n} // A modal manager used to track and manage the state of open Modals.\n// Modals don't open on the server so this won't conflict with concurrent requests.\n\n\nvar defaultManager = new ModalManager();\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'fixed',\n zIndex: theme.zIndex.modal,\n right: 0,\n bottom: 0,\n top: 0,\n left: 0\n },\n\n /* Styles applied to the root element if the `Modal` has exited. */\n hidden: {\n visibility: 'hidden'\n }\n };\n};\n/**\n * Modal is a lower-level construct that is leveraged by the following components:\n *\n * - [Dialog](/api/dialog/)\n * - [Drawer](/api/drawer/)\n * - [Menu](/api/menu/)\n * - [Popover](/api/popover/)\n *\n * If you are creating a modal dialog, you probably want to use the [Dialog](/api/dialog/) component\n * rather than directly using Modal.\n *\n * This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).\n */\n\nvar Modal = React.forwardRef(function Modal(inProps, ref) {\n var theme = useTheme();\n var props = getThemeProps({\n name: 'MuiModal',\n props: _extends({}, inProps),\n theme: theme\n });\n\n var _props$BackdropCompon = props.BackdropComponent,\n BackdropComponent = _props$BackdropCompon === void 0 ? SimpleBackdrop : _props$BackdropCompon,\n BackdropProps = props.BackdropProps,\n children = props.children,\n _props$closeAfterTran = props.closeAfterTransition,\n closeAfterTransition = _props$closeAfterTran === void 0 ? false : _props$closeAfterTran,\n container = props.container,\n _props$disableAutoFoc = props.disableAutoFocus,\n disableAutoFocus = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$disableBackdro = props.disableBackdropClick,\n disableBackdropClick = _props$disableBackdro === void 0 ? false : _props$disableBackdro,\n _props$disableEnforce = props.disableEnforceFocus,\n disableEnforceFocus = _props$disableEnforce === void 0 ? false : _props$disableEnforce,\n _props$disableEscapeK = props.disableEscapeKeyDown,\n disableEscapeKeyDown = _props$disableEscapeK === void 0 ? false : _props$disableEscapeK,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n _props$disableRestore = props.disableRestoreFocus,\n disableRestoreFocus = _props$disableRestore === void 0 ? false : _props$disableRestore,\n _props$disableScrollL = props.disableScrollLock,\n disableScrollLock = _props$disableScrollL === void 0 ? false : _props$disableScrollL,\n _props$hideBackdrop = props.hideBackdrop,\n hideBackdrop = _props$hideBackdrop === void 0 ? false : _props$hideBackdrop,\n _props$keepMounted = props.keepMounted,\n keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted,\n _props$manager = props.manager,\n manager = _props$manager === void 0 ? defaultManager : _props$manager,\n onBackdropClick = props.onBackdropClick,\n onClose = props.onClose,\n onEscapeKeyDown = props.onEscapeKeyDown,\n onRendered = props.onRendered,\n open = props.open,\n other = _objectWithoutProperties(props, [\"BackdropComponent\", \"BackdropProps\", \"children\", \"closeAfterTransition\", \"container\", \"disableAutoFocus\", \"disableBackdropClick\", \"disableEnforceFocus\", \"disableEscapeKeyDown\", \"disablePortal\", \"disableRestoreFocus\", \"disableScrollLock\", \"hideBackdrop\", \"keepMounted\", \"manager\", \"onBackdropClick\", \"onClose\", \"onEscapeKeyDown\", \"onRendered\", \"open\"]);\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var modal = React.useRef({});\n var mountNodeRef = React.useRef(null);\n var modalRef = React.useRef(null);\n var handleRef = useForkRef(modalRef, ref);\n var hasTransition = getHasTransition(props);\n\n var getDoc = function getDoc() {\n return ownerDocument(mountNodeRef.current);\n };\n\n var getModal = function getModal() {\n modal.current.modalRef = modalRef.current;\n modal.current.mountNode = mountNodeRef.current;\n return modal.current;\n };\n\n var handleMounted = function handleMounted() {\n manager.mount(getModal(), {\n disableScrollLock: disableScrollLock\n }); // Fix a bug on Chrome where the scroll isn't initially 0.\n\n modalRef.current.scrollTop = 0;\n };\n\n var handleOpen = useEventCallback(function () {\n var resolvedContainer = getContainer(container) || getDoc().body;\n manager.add(getModal(), resolvedContainer); // The element was already mounted.\n\n if (modalRef.current) {\n handleMounted();\n }\n });\n var isTopModal = React.useCallback(function () {\n return manager.isTopModal(getModal());\n }, [manager]);\n var handlePortalRef = useEventCallback(function (node) {\n mountNodeRef.current = node;\n\n if (!node) {\n return;\n }\n\n if (onRendered) {\n onRendered();\n }\n\n if (open && isTopModal()) {\n handleMounted();\n } else {\n ariaHidden(modalRef.current, true);\n }\n });\n var handleClose = React.useCallback(function () {\n manager.remove(getModal());\n }, [manager]);\n React.useEffect(function () {\n return function () {\n handleClose();\n };\n }, [handleClose]);\n React.useEffect(function () {\n if (open) {\n handleOpen();\n } else if (!hasTransition || !closeAfterTransition) {\n handleClose();\n }\n }, [open, handleClose, hasTransition, closeAfterTransition, handleOpen]);\n\n if (!keepMounted && !open && (!hasTransition || exited)) {\n return null;\n }\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n\n if (closeAfterTransition) {\n handleClose();\n }\n };\n\n var handleBackdropClick = function handleBackdropClick(event) {\n if (event.target !== event.currentTarget) {\n return;\n }\n\n if (onBackdropClick) {\n onBackdropClick(event);\n }\n\n if (!disableBackdropClick && onClose) {\n onClose(event, 'backdropClick');\n }\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n // The handler doesn't take event.defaultPrevented into account:\n //\n // event.preventDefault() is meant to stop default behaviours like\n // clicking a checkbox to check it, hitting a button to submit a form,\n // and hitting left arrow to move the cursor in a text input etc.\n // Only special HTML elements have these default behaviors.\n if (event.key !== 'Escape' || !isTopModal()) {\n return;\n }\n\n if (onEscapeKeyDown) {\n onEscapeKeyDown(event);\n }\n\n if (!disableEscapeKeyDown) {\n // Swallow the event, in case someone is listening for the escape key on the body.\n event.stopPropagation();\n\n if (onClose) {\n onClose(event, 'escapeKeyDown');\n }\n }\n };\n\n var inlineStyle = styles(theme || {\n zIndex: zIndex\n });\n var childProps = {};\n\n if (children.props.tabIndex === undefined) {\n childProps.tabIndex = children.props.tabIndex || '-1';\n } // It's a Transition like component\n\n\n if (hasTransition) {\n childProps.onEnter = createChainedFunction(handleEnter, children.props.onEnter);\n childProps.onExited = createChainedFunction(handleExited, children.props.onExited);\n }\n\n return /*#__PURE__*/React.createElement(Portal, {\n ref: handlePortalRef,\n container: container,\n disablePortal: disablePortal\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: handleRef,\n onKeyDown: handleKeyDown,\n role: \"presentation\"\n }, other, {\n style: _extends(_extends(_extends({}, inlineStyle.root), !open && exited ? inlineStyle.hidden : {}), other.style)\n }), hideBackdrop ? null : /*#__PURE__*/React.createElement(BackdropComponent, _extends({\n open: open,\n onClick: handleBackdropClick\n }, BackdropProps)), /*#__PURE__*/React.createElement(TrapFocus, {\n disableEnforceFocus: disableEnforceFocus,\n disableAutoFocus: disableAutoFocus,\n disableRestoreFocus: disableRestoreFocus,\n getDoc: getDoc,\n isEnabled: isTopModal,\n open: open\n }, React.cloneElement(children, childProps))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Modal.propTypes = {\n /**\n * A backdrop component. This prop enables custom backdrop rendering.\n */\n BackdropComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`Backdrop`](/api/backdrop/) element.\n */\n BackdropProps: PropTypes.object,\n\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n\n /**\n * When set to true the Modal waits until a nested Transition is completed before closing.\n */\n closeAfterTransition: PropTypes.bool,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * If `true`, the modal will not automatically shift focus to itself when it opens, and\n * replace it to the last focused element when it closes.\n * This also works correctly with any modal children that have the `disableAutoFocus` prop.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableAutoFocus: PropTypes.bool,\n\n /**\n * If `true`, clicking the backdrop will not fire `onClose`.\n */\n disableBackdropClick: PropTypes.bool,\n\n /**\n * If `true`, the modal will not prevent focus from leaving the modal while open.\n *\n * Generally this should never be set to `true` as it makes the modal less\n * accessible to assistive technologies, like screen readers.\n */\n disableEnforceFocus: PropTypes.bool,\n\n /**\n * If `true`, hitting escape will not fire `onClose`.\n */\n disableEscapeKeyDown: PropTypes.bool,\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * If `true`, the modal will not restore focus to previously focused element once\n * modal is hidden.\n */\n disableRestoreFocus: PropTypes.bool,\n\n /**\n * Disable the scroll lock behavior.\n */\n disableScrollLock: PropTypes.bool,\n\n /**\n * If `true`, the backdrop is not rendered.\n */\n hideBackdrop: PropTypes.bool,\n\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Modal.\n */\n keepMounted: PropTypes.bool,\n\n /**\n * @ignore\n */\n manager: PropTypes.object,\n\n /**\n * Callback fired when the backdrop is clicked.\n */\n onBackdropClick: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * The `reason` parameter can optionally be used to control the response to `onClose`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the escape key is pressed,\n * `disableEscapeKeyDown` is false and the modal is in focus.\n */\n onEscapeKeyDown: PropTypes.func,\n\n /**\n * Callback fired once the children has been mounted into the `container`.\n * It signals that the `open={true}` prop took effect.\n *\n * This prop will be deprecated and removed in v5, the ref can be used instead.\n */\n onRendered: PropTypes.func,\n\n /**\n * If `true`, the modal is open.\n */\n open: PropTypes.bool.isRequired\n} : void 0;\nexport default Modal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport NativeSelectInput from './NativeSelectInput';\nimport withStyles from '../styles/withStyles';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the select component `root` class. */\n root: {},\n\n /* Styles applied to the select component `select` class. */\n select: {\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n // When interacting quickly, the text can end up selected.\n // Native select can't be selected either.\n userSelect: 'none',\n borderRadius: 0,\n // Reset\n minWidth: 16,\n // So it doesn't collapse.\n cursor: 'pointer',\n '&:focus': {\n // Show that it's not an text input\n backgroundColor: theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)',\n borderRadius: 0 // Reset Chrome style\n\n },\n // Remove IE 11 arrow\n '&::-ms-expand': {\n display: 'none'\n },\n '&$disabled': {\n cursor: 'default'\n },\n '&[multiple]': {\n height: 'auto'\n },\n '&:not([multiple]) option, &:not([multiple]) optgroup': {\n backgroundColor: theme.palette.background.paper\n },\n '&&': {\n paddingRight: 24\n }\n },\n\n /* Styles applied to the select component if `variant=\"filled\"`. */\n filled: {\n '&&': {\n paddingRight: 32\n }\n },\n\n /* Styles applied to the select component if `variant=\"outlined\"`. */\n outlined: {\n borderRadius: theme.shape.borderRadius,\n '&&': {\n paddingRight: 32\n }\n },\n\n /* Styles applied to the select component `selectMenu` class. */\n selectMenu: {\n height: 'auto',\n // Resets for multpile select with chips\n minHeight: '1.1876em',\n // Required for select\\text-field height consistency\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden'\n },\n\n /* Pseudo-class applied to the select component `disabled` class. */\n disabled: {},\n\n /* Styles applied to the icon component. */\n icon: {\n // We use a position absolute over a flexbox in order to forward the pointer events\n // to the input and to support wrapping tags..\n position: 'absolute',\n right: 0,\n top: 'calc(50% - 12px)',\n // Center vertically\n pointerEvents: 'none',\n // Don't block pointer events on the select under the icon.\n color: theme.palette.action.active,\n '&$disabled': {\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the icon component if the popup is open. */\n iconOpen: {\n transform: 'rotate(180deg)'\n },\n\n /* Styles applied to the icon component if `variant=\"filled\"`. */\n iconFilled: {\n right: 7\n },\n\n /* Styles applied to the icon component if `variant=\"outlined\"`. */\n iconOutlined: {\n right: 7\n }\n };\n};\nvar defaultInput = /*#__PURE__*/React.createElement(Input, null);\n/**\n * An alternative to `` with a much smaller bundle size footprint.\n */\n\nvar NativeSelect = React.forwardRef(function NativeSelect(props, ref) {\n var children = props.children,\n classes = props.classes,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n _props$input = props.input,\n input = _props$input === void 0 ? defaultInput : _props$input,\n inputProps = props.inputProps,\n variant = props.variant,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"IconComponent\", \"input\", \"inputProps\", \"variant\"]);\n\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant']\n });\n return React.cloneElement(input, _extends({\n // Most of the logic is implemented in `NativeSelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent: NativeSelectInput,\n inputProps: _extends(_extends({\n children: children,\n classes: classes,\n IconComponent: IconComponent,\n variant: fcs.variant,\n type: undefined\n }, inputProps), input ? input.props.inputProps : {}),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelect.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The option elements to populate the select with.\n * Can be some `` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType,\n\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n\n /**\n * Attributes applied to the `select` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The input value. The DOM API casts this to a string.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nNativeSelect.muiName = 'Select';\nexport default withStyles(styles, {\n name: 'MuiNativeSelect'\n})(NativeSelect);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport capitalize from '../utils/capitalize';\n/**\n * @ignore - internal component.\n */\n\nvar NativeSelectInput = React.forwardRef(function NativeSelectInput(props, ref) {\n var classes = props.classes,\n className = props.className,\n disabled = props.disabled,\n IconComponent = props.IconComponent,\n inputRef = props.inputRef,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disabled\", \"IconComponent\", \"inputRef\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"select\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes[variant], className, disabled && classes.disabled),\n disabled: disabled,\n ref: inputRef || ref\n }, other)), props.multiple ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], disabled && classes.disabled)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? NativeSelectInput.propTypes = {\n /**\n * The option elements to populate the select with.\n * Can be some `` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Use that prop to pass a ref to the native select element.\n * @deprecated\n */\n inputRef: refType,\n\n /**\n * @ignore\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default NativeSelectInput;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'absolute',\n bottom: 0,\n right: 0,\n top: -5,\n left: 0,\n margin: 0,\n padding: '0 8px',\n pointerEvents: 'none',\n borderRadius: 'inherit',\n borderStyle: 'solid',\n borderWidth: 1,\n overflow: 'hidden'\n },\n\n /* Styles applied to the legend element when `labelWidth` is provided. */\n legend: {\n textAlign: 'left',\n padding: 0,\n lineHeight: '11px',\n // sync with `height` in `legend` styles\n transition: theme.transitions.create('width', {\n duration: 150,\n easing: theme.transitions.easing.easeOut\n })\n },\n\n /* Styles applied to the legend element. */\n legendLabelled: {\n display: 'block',\n width: 'auto',\n textAlign: 'left',\n padding: 0,\n height: 11,\n // sync with `lineHeight` in `legend` styles\n fontSize: '0.75em',\n visibility: 'hidden',\n maxWidth: 0.01,\n transition: theme.transitions.create('max-width', {\n duration: 50,\n easing: theme.transitions.easing.easeOut\n }),\n '& > span': {\n paddingLeft: 5,\n paddingRight: 5,\n display: 'inline-block'\n }\n },\n\n /* Styles applied to the legend element is notched. */\n legendNotched: {\n maxWidth: 1000,\n transition: theme.transitions.create('max-width', {\n duration: 100,\n easing: theme.transitions.easing.easeOut,\n delay: 50\n })\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar NotchedOutline = React.forwardRef(function NotchedOutline(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n label = props.label,\n labelWidthProp = props.labelWidth,\n notched = props.notched,\n style = props.style,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"label\", \"labelWidth\", \"notched\", \"style\"]);\n\n var theme = useTheme();\n var align = theme.direction === 'rtl' ? 'right' : 'left';\n\n if (label !== undefined) {\n return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n \"aria-hidden\": true,\n className: clsx(classes.root, className),\n ref: ref,\n style: style\n }, other), /*#__PURE__*/React.createElement(\"legend\", {\n className: clsx(classes.legendLabelled, notched && classes.legendNotched)\n }, label ? /*#__PURE__*/React.createElement(\"span\", null, label) : /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n })));\n }\n\n var labelWidth = labelWidthProp > 0 ? labelWidthProp * 0.75 + 8 : 0.01;\n return /*#__PURE__*/React.createElement(\"fieldset\", _extends({\n \"aria-hidden\": true,\n style: _extends(_defineProperty({}, \"padding\".concat(capitalize(align)), 8), style),\n className: clsx(classes.root, className),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"legend\", {\n className: classes.legend,\n style: {\n // IE 11: fieldset with legend does not render\n // a border radius. This maintains consistency\n // by always having a legend rendered\n width: notched ? labelWidth : 0.01\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n })));\n});\nprocess.env.NODE_ENV !== \"production\" ? NotchedOutline.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The label.\n */\n label: PropTypes.node,\n\n /**\n * The width of the label.\n */\n labelWidth: PropTypes.number.isRequired,\n\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool.isRequired,\n\n /**\n * @ignore\n */\n style: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateNotchedOutline'\n})(NotchedOutline);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport InputBase from '../InputBase';\nimport NotchedOutline from './NotchedOutline';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var borderColor = theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n borderRadius: theme.shape.borderRadius,\n '&:hover $notchedOutline': {\n borderColor: theme.palette.text.primary\n },\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n '&:hover $notchedOutline': {\n borderColor: borderColor\n }\n },\n '&$focused $notchedOutline': {\n borderColor: theme.palette.primary.main,\n borderWidth: 2\n },\n '&$error $notchedOutline': {\n borderColor: theme.palette.error.main\n },\n '&$disabled $notchedOutline': {\n borderColor: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if the color is secondary. */\n colorSecondary: {\n '&$focused $notchedOutline': {\n borderColor: theme.palette.secondary.main\n }\n },\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {\n paddingLeft: 14\n },\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {\n paddingRight: 14\n },\n\n /* Pseudo-class applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: '18.5px 14px',\n '&$marginDense': {\n paddingTop: 10.5,\n paddingBottom: 10.5\n }\n },\n\n /* Styles applied to the `NotchedOutline` element. */\n notchedOutline: {\n borderColor: borderColor\n },\n\n /* Styles applied to the `input` element. */\n input: {\n padding: '18.5px 14px',\n '&:-webkit-autofill': {\n WebkitBoxShadow: theme.palette.type === 'dark' ? '0 0 0 100px #266798 inset' : null,\n WebkitTextFillColor: theme.palette.type === 'dark' ? '#fff' : null,\n caretColor: theme.palette.type === 'dark' ? '#fff' : null,\n borderRadius: 'inherit'\n }\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 10.5,\n paddingBottom: 10.5\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n padding: 0\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {\n paddingLeft: 0\n },\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {\n paddingRight: 0\n }\n };\n};\nvar OutlinedInput = React.forwardRef(function OutlinedInput(props, ref) {\n var classes = props.classes,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n label = props.label,\n _props$labelWidth = props.labelWidth,\n labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n notched = props.notched,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n other = _objectWithoutProperties(props, [\"classes\", \"fullWidth\", \"inputComponent\", \"label\", \"labelWidth\", \"multiline\", \"notched\", \"type\"]);\n\n return /*#__PURE__*/React.createElement(InputBase, _extends({\n renderSuffix: function renderSuffix(state) {\n return /*#__PURE__*/React.createElement(NotchedOutline, {\n className: classes.notchedOutline,\n label: label,\n labelWidth: labelWidth,\n notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)\n });\n },\n classes: _extends(_extends({}, classes), {}, {\n root: clsx(classes.root, classes.underline),\n notchedOutline: null\n }),\n fullWidth: fullWidth,\n inputComponent: inputComponent,\n multiline: multiline,\n ref: ref,\n type: type\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? OutlinedInput.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a HTML element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The label of the input. It is only used for layout. The actual labelling\n * is handled by `InputLabel`. If specified `labelWidth` is ignored.\n */\n label: PropTypes.node,\n\n /**\n * The width of the label. Is ignored if `label` is provided. Prefer `label`\n * if the input label appears with a strike through.\n */\n labelWidth: PropTypes.number,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * If `true`, the outline is notched to accommodate the label.\n */\n notched: PropTypes.bool,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nOutlinedInput.muiName = 'Input';\nexport default withStyles(styles, {\n name: 'MuiOutlinedInput'\n})(OutlinedInput);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n var elevations = {};\n theme.shadows.forEach(function (shadow, index) {\n elevations[\"elevation\".concat(index)] = {\n boxShadow: shadow\n };\n });\n return _extends({\n /* Styles applied to the root element. */\n root: {\n backgroundColor: theme.palette.background.paper,\n color: theme.palette.text.primary,\n transition: theme.transitions.create('box-shadow')\n },\n\n /* Styles applied to the root element if `square={false}`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n border: \"1px solid \".concat(theme.palette.divider)\n }\n }, elevations);\n};\nvar Paper = React.forwardRef(function Paper(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$square = props.square,\n square = _props$square === void 0 ? false : _props$square,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 1 : _props$elevation,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'elevation' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"square\", \"elevation\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant === 'outlined' ? classes.outlined : classes[\"elevation\".concat(elevation)], !square && classes.rounded),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Paper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * Shadow depth, corresponds to `dp` in the spec.\n * It accepts values between 0 and 24 inclusive.\n */\n elevation: chainPropTypes(PropTypes.number, function (props) {\n var classes = props.classes,\n elevation = props.elevation; // in case `withStyles` fails to inject we don't need this warning\n\n if (classes === undefined) {\n return null;\n }\n\n if (elevation != null && classes[\"elevation\".concat(elevation)] === undefined) {\n return new Error(\"Material-UI: This elevation `\".concat(elevation, \"` is not implemented.\"));\n }\n\n return null;\n }),\n\n /**\n * If `true`, rounded corners are disabled.\n */\n square: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['elevation', 'outlined'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiPaper'\n})(Paper);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport { chainPropTypes, elementTypeAcceptingRef, refType, HTMLElementType } from '@material-ui/utils';\nimport debounce from '../utils/debounce';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport ownerWindow from '../utils/ownerWindow';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport withStyles from '../styles/withStyles';\nimport Modal from '../Modal';\nimport Grow from '../Grow';\nimport Paper from '../Paper';\nexport function getOffsetTop(rect, vertical) {\n var offset = 0;\n\n if (typeof vertical === 'number') {\n offset = vertical;\n } else if (vertical === 'center') {\n offset = rect.height / 2;\n } else if (vertical === 'bottom') {\n offset = rect.height;\n }\n\n return offset;\n}\nexport function getOffsetLeft(rect, horizontal) {\n var offset = 0;\n\n if (typeof horizontal === 'number') {\n offset = horizontal;\n } else if (horizontal === 'center') {\n offset = rect.width / 2;\n } else if (horizontal === 'right') {\n offset = rect.width;\n }\n\n return offset;\n}\n\nfunction getTransformOriginValue(transformOrigin) {\n return [transformOrigin.horizontal, transformOrigin.vertical].map(function (n) {\n return typeof n === 'number' ? \"\".concat(n, \"px\") : n;\n }).join(' ');\n} // Sum the scrollTop between two elements.\n\n\nfunction getScrollParent(parent, child) {\n var element = child;\n var scrollTop = 0;\n\n while (element && element !== parent) {\n element = element.parentElement;\n scrollTop += element.scrollTop;\n }\n\n return scrollTop;\n}\n\nfunction getAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\n\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the `Paper` component. */\n paper: {\n position: 'absolute',\n overflowY: 'auto',\n overflowX: 'hidden',\n // So we see the popover when it's empty.\n // It's most likely on issue on userland.\n minWidth: 16,\n minHeight: 16,\n maxWidth: 'calc(100% - 32px)',\n maxHeight: 'calc(100% - 32px)',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n }\n};\nvar Popover = React.forwardRef(function Popover(props, ref) {\n var action = props.action,\n anchorEl = props.anchorEl,\n _props$anchorOrigin = props.anchorOrigin,\n anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'top',\n horizontal: 'left'\n } : _props$anchorOrigin,\n anchorPosition = props.anchorPosition,\n _props$anchorReferenc = props.anchorReference,\n anchorReference = _props$anchorReferenc === void 0 ? 'anchorEl' : _props$anchorReferenc,\n children = props.children,\n classes = props.classes,\n className = props.className,\n containerProp = props.container,\n _props$elevation = props.elevation,\n elevation = _props$elevation === void 0 ? 8 : _props$elevation,\n getContentAnchorEl = props.getContentAnchorEl,\n _props$marginThreshol = props.marginThreshold,\n marginThreshold = _props$marginThreshol === void 0 ? 16 : _props$marginThreshol,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n open = props.open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n _props$transformOrigi = props.transformOrigin,\n transformOrigin = _props$transformOrigi === void 0 ? {\n vertical: 'top',\n horizontal: 'left'\n } : _props$transformOrigi,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n _props$TransitionProp = props.TransitionProps,\n TransitionProps = _props$TransitionProp === void 0 ? {} : _props$TransitionProp,\n other = _objectWithoutProperties(props, [\"action\", \"anchorEl\", \"anchorOrigin\", \"anchorPosition\", \"anchorReference\", \"children\", \"classes\", \"className\", \"container\", \"elevation\", \"getContentAnchorEl\", \"marginThreshold\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"open\", \"PaperProps\", \"transformOrigin\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n var paperRef = React.useRef(); // Returns the top/left offset of the position\n // to attach to on the anchor element (or body if none is provided)\n\n var getAnchorOffset = React.useCallback(function (contentAnchorOffset) {\n if (anchorReference === 'anchorPosition') {\n if (process.env.NODE_ENV !== 'production') {\n if (!anchorPosition) {\n console.error('Material-UI: You need to provide a `anchorPosition` prop when using ' + '.');\n }\n }\n\n return anchorPosition;\n }\n\n var resolvedAnchorEl = getAnchorEl(anchorEl); // If an anchor element wasn't provided, just use the parent body element of this Popover\n\n var anchorElement = resolvedAnchorEl && resolvedAnchorEl.nodeType === 1 ? resolvedAnchorEl : ownerDocument(paperRef.current).body;\n var anchorRect = anchorElement.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'production') {\n var box = anchorElement.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n\n var anchorVertical = contentAnchorOffset === 0 ? anchorOrigin.vertical : 'center';\n return {\n top: anchorRect.top + getOffsetTop(anchorRect, anchorVertical),\n left: anchorRect.left + getOffsetLeft(anchorRect, anchorOrigin.horizontal)\n };\n }, [anchorEl, anchorOrigin.horizontal, anchorOrigin.vertical, anchorPosition, anchorReference]); // Returns the vertical offset of inner content to anchor the transform on if provided\n\n var getContentAnchorOffset = React.useCallback(function (element) {\n var contentAnchorOffset = 0;\n\n if (getContentAnchorEl && anchorReference === 'anchorEl') {\n var contentAnchorEl = getContentAnchorEl(element);\n\n if (contentAnchorEl && element.contains(contentAnchorEl)) {\n var scrollTop = getScrollParent(element, contentAnchorEl);\n contentAnchorOffset = contentAnchorEl.offsetTop + contentAnchorEl.clientHeight / 2 - scrollTop || 0;\n } // != the default value\n\n\n if (process.env.NODE_ENV !== 'production') {\n if (anchorOrigin.vertical !== 'top') {\n console.error(['Material-UI: You can not change the default `anchorOrigin.vertical` value ', 'when also providing the `getContentAnchorEl` prop to the popover component.', 'Only use one of the two props.', 'Set `getContentAnchorEl` to `null | undefined`' + ' or leave `anchorOrigin.vertical` unchanged.'].join('\\n'));\n }\n }\n }\n\n return contentAnchorOffset;\n }, [anchorOrigin.vertical, anchorReference, getContentAnchorEl]); // Return the base transform origin using the element\n // and taking the content anchor offset into account if in use\n\n var getTransformOrigin = React.useCallback(function (elemRect) {\n var contentAnchorOffset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n return {\n vertical: getOffsetTop(elemRect, transformOrigin.vertical) + contentAnchorOffset,\n horizontal: getOffsetLeft(elemRect, transformOrigin.horizontal)\n };\n }, [transformOrigin.horizontal, transformOrigin.vertical]);\n var getPositioningStyle = React.useCallback(function (element) {\n // Check if the parent has requested anchoring on an inner content node\n var contentAnchorOffset = getContentAnchorOffset(element);\n var elemRect = {\n width: element.offsetWidth,\n height: element.offsetHeight\n }; // Get the transform origin point on the element itself\n\n var elemTransformOrigin = getTransformOrigin(elemRect, contentAnchorOffset);\n\n if (anchorReference === 'none') {\n return {\n top: null,\n left: null,\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n } // Get the offset of of the anchoring element\n\n\n var anchorOffset = getAnchorOffset(contentAnchorOffset); // Calculate element positioning\n\n var top = anchorOffset.top - elemTransformOrigin.vertical;\n var left = anchorOffset.left - elemTransformOrigin.horizontal;\n var bottom = top + elemRect.height;\n var right = left + elemRect.width; // Use the parent window of the anchorEl if provided\n\n var containerWindow = ownerWindow(getAnchorEl(anchorEl)); // Window thresholds taking required margin into account\n\n var heightThreshold = containerWindow.innerHeight - marginThreshold;\n var widthThreshold = containerWindow.innerWidth - marginThreshold; // Check if the vertical axis needs shifting\n\n if (top < marginThreshold) {\n var diff = top - marginThreshold;\n top -= diff;\n elemTransformOrigin.vertical += diff;\n } else if (bottom > heightThreshold) {\n var _diff = bottom - heightThreshold;\n\n top -= _diff;\n elemTransformOrigin.vertical += _diff;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (elemRect.height > heightThreshold && elemRect.height && heightThreshold) {\n console.error(['Material-UI: The popover component is too tall.', \"Some part of it can not be seen on the screen (\".concat(elemRect.height - heightThreshold, \"px).\"), 'Please consider adding a `max-height` to improve the user-experience.'].join('\\n'));\n }\n } // Check if the horizontal axis needs shifting\n\n\n if (left < marginThreshold) {\n var _diff2 = left - marginThreshold;\n\n left -= _diff2;\n elemTransformOrigin.horizontal += _diff2;\n } else if (right > widthThreshold) {\n var _diff3 = right - widthThreshold;\n\n left -= _diff3;\n elemTransformOrigin.horizontal += _diff3;\n }\n\n return {\n top: \"\".concat(Math.round(top), \"px\"),\n left: \"\".concat(Math.round(left), \"px\"),\n transformOrigin: getTransformOriginValue(elemTransformOrigin)\n };\n }, [anchorEl, anchorReference, getAnchorOffset, getContentAnchorOffset, getTransformOrigin, marginThreshold]);\n var setPositioningStyles = React.useCallback(function () {\n var element = paperRef.current;\n\n if (!element) {\n return;\n }\n\n var positioning = getPositioningStyle(element);\n\n if (positioning.top !== null) {\n element.style.top = positioning.top;\n }\n\n if (positioning.left !== null) {\n element.style.left = positioning.left;\n }\n\n element.style.transformOrigin = positioning.transformOrigin;\n }, [getPositioningStyle]);\n\n var handleEntering = function handleEntering(element, isAppearing) {\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n\n setPositioningStyles();\n };\n\n var handlePaperRef = React.useCallback(function (instance) {\n // #StrictMode ready\n paperRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n React.useEffect(function () {\n if (open) {\n setPositioningStyles();\n }\n });\n React.useImperativeHandle(action, function () {\n return open ? {\n updatePosition: function updatePosition() {\n setPositioningStyles();\n }\n } : null;\n }, [open, setPositioningStyles]);\n React.useEffect(function () {\n if (!open) {\n return undefined;\n }\n\n var handleResize = debounce(function () {\n setPositioningStyles();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [open, setPositioningStyles]);\n var transitionDuration = transitionDurationProp;\n\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n } // If the container prop is provided, use that\n // If the anchorEl prop is provided, use its parent body element as the container\n // If neither are provided let the Modal take care of choosing the container\n\n\n var container = containerProp || (anchorEl ? ownerDocument(getAnchorEl(anchorEl)).body : undefined);\n return /*#__PURE__*/React.createElement(Modal, _extends({\n container: container,\n open: open,\n ref: ref,\n BackdropProps: {\n invisible: true\n },\n className: clsx(classes.root, className)\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEnter: onEnter,\n onEntered: onEntered,\n onExit: onExit,\n onExited: onExited,\n onExiting: onExiting,\n timeout: transitionDuration\n }, TransitionProps, {\n onEntering: createChainedFunction(handleEntering, TransitionProps.onEntering)\n }), /*#__PURE__*/React.createElement(Paper, _extends({\n elevation: elevation,\n ref: handlePaperRef\n }, PaperProps, {\n className: clsx(classes.paper, PaperProps.className)\n }), children)));\n});\nprocess.env.NODE_ENV !== \"production\" ? Popover.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A ref for imperative actions.\n * It currently only supports updatePosition() action.\n */\n action: refType,\n\n /**\n * A HTML element, or a function that returns it.\n * It's used to set the position of the popover.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), function (props) {\n if (props.open && (!props.anchorReference || props.anchorReference === 'anchorEl')) {\n var resolvedAnchorEl = getAnchorEl(props.anchorEl);\n\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', \"It should be an Element instance but it's `\".concat(resolvedAnchorEl, \"` instead.\")].join('\\n'));\n }\n }\n\n return null;\n }),\n\n /**\n * This is the point on the anchor where the popover's\n * `anchorEl` will attach to. This is not used when the\n * anchorReference is 'anchorPosition'.\n *\n * Options:\n * vertical: [top, center, bottom];\n * horizontal: [left, center, right].\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n\n /**\n * This is the position that may be used\n * to set the position of the popover.\n * The coordinates are relative to\n * the application's client area.\n */\n anchorPosition: PropTypes.shape({\n left: PropTypes.number.isRequired,\n top: PropTypes.number.isRequired\n }),\n\n /**\n * This determines which anchor prop to refer to to set\n * the position of the popover.\n */\n anchorReference: PropTypes.oneOf(['anchorEl', 'anchorPosition', 'none']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will passed to the Modal component.\n *\n * By default, it uses the body of the anchorEl's top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * The elevation of the popover.\n */\n elevation: PropTypes.number,\n\n /**\n * This function is called in order to retrieve the content anchor element.\n * It's the opposite of the `anchorEl` prop.\n * The content anchor element should be an element inside the popover.\n * It's used to correctly scroll and set the position of the popover.\n * The positioning strategy tries to make the content anchor element just above the\n * anchor element.\n */\n getContentAnchorEl: PropTypes.func,\n\n /**\n * Specifies how close to the edge of the window the popover can appear.\n */\n marginThreshold: PropTypes.number,\n\n /**\n * Callback fired when the component requests to be closed.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the component is entering.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the component has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the component is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the component is exiting.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the component has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the component is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the popover is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * Props applied to the [`Paper`](/api/paper/) element.\n */\n PaperProps: PropTypes\n /* @typescript-to-proptypes-ignore */\n .shape({\n component: elementTypeAcceptingRef\n }),\n\n /**\n * This is the point on the popover which\n * will attach to the anchor's origin.\n *\n * Options:\n * vertical: [top, center, bottom, x(px)];\n * horizontal: [left, center, right, x(px)].\n */\n transformOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOfType([PropTypes.oneOf(['center', 'left', 'right']), PropTypes.number]).isRequired,\n vertical: PropTypes.oneOfType([PropTypes.oneOf(['bottom', 'center', 'top']), PropTypes.number]).isRequired\n }),\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiPopover'\n})(Popover);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport PopperJs from 'popper.js';\nimport { chainPropTypes, refType, HTMLElementType } from '@material-ui/utils';\nimport { useTheme } from '@material-ui/styles';\nimport Portal from '../Portal';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport setRef from '../utils/setRef';\nimport useForkRef from '../utils/useForkRef';\n\nfunction flipPlacement(placement, theme) {\n var direction = theme && theme.direction || 'ltr';\n\n if (direction === 'ltr') {\n return placement;\n }\n\n switch (placement) {\n case 'bottom-end':\n return 'bottom-start';\n\n case 'bottom-start':\n return 'bottom-end';\n\n case 'top-end':\n return 'top-start';\n\n case 'top-start':\n return 'top-end';\n\n default:\n return placement;\n }\n}\n\nfunction getAnchorEl(anchorEl) {\n return typeof anchorEl === 'function' ? anchorEl() : anchorEl;\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar defaultPopperOptions = {};\n/**\n * Poppers rely on the 3rd party library [Popper.js](https://popper.js.org/docs/v1/) for positioning.\n */\n\nvar Popper = React.forwardRef(function Popper(props, ref) {\n var anchorEl = props.anchorEl,\n children = props.children,\n container = props.container,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n _props$keepMounted = props.keepMounted,\n keepMounted = _props$keepMounted === void 0 ? false : _props$keepMounted,\n modifiers = props.modifiers,\n open = props.open,\n _props$placement = props.placement,\n initialPlacement = _props$placement === void 0 ? 'bottom' : _props$placement,\n _props$popperOptions = props.popperOptions,\n popperOptions = _props$popperOptions === void 0 ? defaultPopperOptions : _props$popperOptions,\n popperRefProp = props.popperRef,\n style = props.style,\n _props$transition = props.transition,\n transition = _props$transition === void 0 ? false : _props$transition,\n other = _objectWithoutProperties(props, [\"anchorEl\", \"children\", \"container\", \"disablePortal\", \"keepMounted\", \"modifiers\", \"open\", \"placement\", \"popperOptions\", \"popperRef\", \"style\", \"transition\"]);\n\n var tooltipRef = React.useRef(null);\n var ownRef = useForkRef(tooltipRef, ref);\n var popperRef = React.useRef(null);\n var handlePopperRef = useForkRef(popperRef, popperRefProp);\n var handlePopperRefRef = React.useRef(handlePopperRef);\n useEnhancedEffect(function () {\n handlePopperRefRef.current = handlePopperRef;\n }, [handlePopperRef]);\n React.useImperativeHandle(popperRefProp, function () {\n return popperRef.current;\n }, []);\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var theme = useTheme();\n var rtlPlacement = flipPlacement(initialPlacement, theme);\n /**\n * placement initialized from prop but can change during lifetime if modifiers.flip.\n * modifiers.flip is essentially a flip for controlled/uncontrolled behavior\n */\n\n var _React$useState2 = React.useState(rtlPlacement),\n placement = _React$useState2[0],\n setPlacement = _React$useState2[1];\n\n React.useEffect(function () {\n if (popperRef.current) {\n popperRef.current.update();\n }\n });\n var handleOpen = React.useCallback(function () {\n if (!tooltipRef.current || !anchorEl || !open) {\n return;\n }\n\n if (popperRef.current) {\n popperRef.current.destroy();\n handlePopperRefRef.current(null);\n }\n\n var handlePopperUpdate = function handlePopperUpdate(data) {\n setPlacement(data.placement);\n };\n\n var resolvedAnchorEl = getAnchorEl(anchorEl);\n\n if (process.env.NODE_ENV !== 'production') {\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n console.warn(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n }\n }\n\n var popper = new PopperJs(getAnchorEl(anchorEl), tooltipRef.current, _extends(_extends({\n placement: rtlPlacement\n }, popperOptions), {}, {\n modifiers: _extends(_extends(_extends({}, disablePortal ? {} : {\n // It's using scrollParent by default, we can use the viewport when using a portal.\n preventOverflow: {\n boundariesElement: 'window'\n }\n }), modifiers), popperOptions.modifiers),\n // We could have been using a custom modifier like react-popper is doing.\n // But it seems this is the best public API for this use case.\n onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),\n onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)\n }));\n handlePopperRefRef.current(popper);\n }, [anchorEl, disablePortal, modifiers, open, rtlPlacement, popperOptions]);\n var handleRef = React.useCallback(function (node) {\n setRef(ownRef, node);\n handleOpen();\n }, [ownRef, handleOpen]);\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n var handleClose = function handleClose() {\n if (!popperRef.current) {\n return;\n }\n\n popperRef.current.destroy();\n handlePopperRefRef.current(null);\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n handleClose();\n };\n\n React.useEffect(function () {\n // Let's update the popper position.\n handleOpen();\n }, [handleOpen]);\n React.useEffect(function () {\n return function () {\n handleClose();\n };\n }, []);\n React.useEffect(function () {\n if (!open && !transition) {\n // Otherwise handleExited will call this.\n handleClose();\n }\n }, [open, transition]);\n\n if (!keepMounted && !open && (!transition || exited)) {\n return null;\n }\n\n var childProps = {\n placement: placement\n };\n\n if (transition) {\n childProps.TransitionProps = {\n in: open,\n onEnter: handleEnter,\n onExited: handleExited\n };\n }\n\n return /*#__PURE__*/React.createElement(Portal, {\n disablePortal: disablePortal,\n container: container\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n ref: handleRef,\n role: \"tooltip\"\n }, other, {\n style: _extends({\n // Prevents scroll issue, waiting for Popper.js to add this style once initiated.\n position: 'fixed',\n // Fix Popper.js display issue\n top: 0,\n left: 0\n }, style)\n }), typeof children === 'function' ? children(childProps) : children));\n});\nprocess.env.NODE_ENV !== \"production\" ? Popper.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A HTML element, [referenceObject](https://popper.js.org/docs/v1/#referenceObject),\n * or a function that returns either.\n * It's used to set the position of the popper.\n * The return value will passed as the reference object of the Popper instance.\n */\n anchorEl: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]), function (props) {\n if (props.open) {\n var resolvedAnchorEl = getAnchorEl(props.anchorEl);\n\n if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {\n var box = resolvedAnchorEl.getBoundingClientRect();\n\n if (process.env.NODE_ENV !== 'test' && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else if (!resolvedAnchorEl || typeof resolvedAnchorEl.clientWidth !== 'number' || typeof resolvedAnchorEl.clientHeight !== 'number' || typeof resolvedAnchorEl.getBoundingClientRect !== 'function') {\n return new Error(['Material-UI: The `anchorEl` prop provided to the component is invalid.', 'It should be an HTML element instance or a referenceObject ', '(https://popper.js.org/docs/v1/#referenceObject).'].join('\\n'));\n }\n }\n\n return null;\n }),\n\n /**\n * Popper render function or node.\n */\n children: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([PropTypes.node, PropTypes.func]).isRequired,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * Always keep the children in the DOM.\n * This prop can be useful in SEO situation or\n * when you want to maximize the responsiveness of the Popper.\n */\n keepMounted: PropTypes.bool,\n\n /**\n * Popper.js is based on a \"plugin-like\" architecture,\n * most of its features are fully encapsulated \"modifiers\".\n *\n * A modifier is a function that is called each time Popper.js needs to\n * compute the position of the popper.\n * For this reason, modifiers should be very performant to avoid bottlenecks.\n * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v1/#modifiers).\n */\n modifiers: PropTypes.object,\n\n /**\n * If `true`, the popper is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * Popper placement.\n */\n placement: PropTypes.oneOf(['bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),\n\n /**\n * Options provided to the [`popper.js`](https://popper.js.org/docs/v1/) instance.\n */\n popperOptions: PropTypes.object,\n\n /**\n * A ref that points to the used popper instance.\n */\n popperRef: refType,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * Help supporting a react-transition-group/Transition component.\n */\n transition: PropTypes.bool\n} : void 0;\nexport default Popper;","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport PropTypes from 'prop-types';\nimport { exactProp, HTMLElementType } from '@material-ui/utils';\nimport setRef from '../utils/setRef';\nimport useForkRef from '../utils/useForkRef';\n\nfunction getContainer(container) {\n container = typeof container === 'function' ? container() : container; // #StrictMode ready\n\n return ReactDOM.findDOMNode(container);\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n/**\n * Portals provide a first-class way to render children into a DOM node\n * that exists outside the DOM hierarchy of the parent component.\n */\n\nvar Portal = React.forwardRef(function Portal(props, ref) {\n var children = props.children,\n container = props.container,\n _props$disablePortal = props.disablePortal,\n disablePortal = _props$disablePortal === void 0 ? false : _props$disablePortal,\n onRendered = props.onRendered;\n\n var _React$useState = React.useState(null),\n mountNode = _React$useState[0],\n setMountNode = _React$useState[1];\n\n var handleRef = useForkRef(React.isValidElement(children) ? children.ref : null, ref);\n useEnhancedEffect(function () {\n if (!disablePortal) {\n setMountNode(getContainer(container) || document.body);\n }\n }, [container, disablePortal]);\n useEnhancedEffect(function () {\n if (mountNode && !disablePortal) {\n setRef(ref, mountNode);\n return function () {\n setRef(ref, null);\n };\n }\n\n return undefined;\n }, [ref, mountNode, disablePortal]);\n useEnhancedEffect(function () {\n if (onRendered && (mountNode || disablePortal)) {\n onRendered();\n }\n }, [onRendered, mountNode, disablePortal]);\n\n if (disablePortal) {\n if (React.isValidElement(children)) {\n return React.cloneElement(children, {\n ref: handleRef\n });\n }\n\n return children;\n }\n\n return mountNode ? ReactDOM.createPortal(children, mountNode) : mountNode;\n});\nprocess.env.NODE_ENV !== \"production\" ? Portal.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The children to render into the `container`.\n */\n children: PropTypes.node,\n\n /**\n * A HTML element, component instance, or function that returns either.\n * The `container` will have the portal children appended to it.\n *\n * By default, it uses the body of the top-level document object,\n * so it's simply `document.body` most of the time.\n */\n container: PropTypes\n /* @typescript-to-proptypes-ignore */\n .oneOfType([HTMLElementType, PropTypes.instanceOf(React.Component), PropTypes.func]),\n\n /**\n * Disable the portal behavior.\n * The children stay within it's parent DOM hierarchy.\n */\n disablePortal: PropTypes.bool,\n\n /**\n * Callback fired once the children has been mounted into the `container`.\n *\n * This prop will be deprecated and removed in v5, the ref can be used instead.\n */\n onRendered: PropTypes.func\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line\n Portal['propTypes' + ''] = exactProp(Portal.propTypes);\n}\n\nexport default Portal;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport capitalize from '../utils/capitalize';\nimport { refType } from '@material-ui/utils';\nimport Menu from '../Menu/Menu';\nimport { isFilled } from '../InputBase/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\n\nfunction areEqualValues(a, b) {\n if (_typeof(b) === 'object' && b !== null) {\n return a === b;\n }\n\n return String(a) === String(b);\n}\n\nfunction isEmpty(display) {\n return display == null || typeof display === 'string' && !display.trim();\n}\n/**\n * @ignore - internal component.\n */\n\n\nvar SelectInput = React.forwardRef(function SelectInput(props, ref) {\n var ariaLabel = props['aria-label'],\n autoFocus = props.autoFocus,\n autoWidth = props.autoWidth,\n children = props.children,\n classes = props.classes,\n className = props.className,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n displayEmpty = props.displayEmpty,\n IconComponent = props.IconComponent,\n inputRefProp = props.inputRef,\n labelId = props.labelId,\n _props$MenuProps = props.MenuProps,\n MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps,\n multiple = props.multiple,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClose = props.onClose,\n onFocus = props.onFocus,\n onOpen = props.onOpen,\n openProp = props.open,\n readOnly = props.readOnly,\n renderValue = props.renderValue,\n required = props.required,\n _props$SelectDisplayP = props.SelectDisplayProps,\n SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP,\n tabIndexProp = props.tabIndex,\n type = props.type,\n valueProp = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"aria-label\", \"autoFocus\", \"autoWidth\", \"children\", \"classes\", \"className\", \"defaultValue\", \"disabled\", \"displayEmpty\", \"IconComponent\", \"inputRef\", \"labelId\", \"MenuProps\", \"multiple\", \"name\", \"onBlur\", \"onChange\", \"onClose\", \"onFocus\", \"onOpen\", \"open\", \"readOnly\", \"renderValue\", \"required\", \"SelectDisplayProps\", \"tabIndex\", \"type\", \"value\", \"variant\"]);\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Select'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n value = _useControlled2[0],\n setValue = _useControlled2[1];\n\n var inputRef = React.useRef(null);\n\n var _React$useState = React.useState(null),\n displayNode = _React$useState[0],\n setDisplayNode = _React$useState[1];\n\n var _React$useRef = React.useRef(openProp != null),\n isOpenControlled = _React$useRef.current;\n\n var _React$useState2 = React.useState(),\n menuMinWidthState = _React$useState2[0],\n setMenuMinWidthState = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n openState = _React$useState3[0],\n setOpenState = _React$useState3[1];\n\n var handleRef = useForkRef(ref, inputRefProp);\n React.useImperativeHandle(handleRef, function () {\n return {\n focus: function focus() {\n displayNode.focus();\n },\n node: inputRef.current,\n value: value\n };\n }, [displayNode, value]);\n React.useEffect(function () {\n if (autoFocus && displayNode) {\n displayNode.focus();\n }\n }, [autoFocus, displayNode]);\n\n var update = function update(open, event) {\n if (open) {\n if (onOpen) {\n onOpen(event);\n }\n } else if (onClose) {\n onClose(event);\n }\n\n if (!isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : displayNode.clientWidth);\n setOpenState(open);\n }\n };\n\n var handleMouseDown = function handleMouseDown(event) {\n // Ignore everything but left-click\n if (event.button !== 0) {\n return;\n } // Hijack the default focus behavior.\n\n\n event.preventDefault();\n displayNode.focus();\n update(true, event);\n };\n\n var handleClose = function handleClose(event) {\n update(false, event);\n };\n\n var handleItemClick = function handleItemClick(child) {\n return function (event) {\n if (!multiple) {\n update(false, event);\n }\n\n var newValue;\n\n if (multiple) {\n newValue = Array.isArray(value) ? _toConsumableArray(value) : [];\n var itemIndex = value.indexOf(child.props.value);\n\n if (itemIndex === -1) {\n newValue.push(child.props.value);\n } else {\n newValue.splice(itemIndex, 1);\n }\n } else {\n newValue = child.props.value;\n }\n\n if (child.props.onClick) {\n child.props.onClick(event);\n }\n\n if (value === newValue) {\n return;\n }\n\n setValue(newValue);\n\n if (onChange) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: newValue,\n name: name\n }\n });\n onChange(event, child);\n }\n };\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n if (!readOnly) {\n var validKeys = [' ', 'ArrowUp', 'ArrowDown', // The native select doesn't respond to enter on MacOS, but it's recommended by\n // https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html\n 'Enter'];\n\n if (validKeys.indexOf(event.key) !== -1) {\n event.preventDefault();\n update(true, event);\n }\n }\n };\n\n var open = displayNode !== null && (isOpenControlled ? openProp : openState);\n\n var handleBlur = function handleBlur(event) {\n // if open event.stopImmediatePropagation\n if (!open && onBlur) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: value,\n name: name\n }\n });\n onBlur(event);\n }\n };\n\n delete other['aria-invalid'];\n var display;\n var displaySingle;\n var displayMultiple = [];\n var computeDisplay = false;\n var foundMatch = false; // No need to display any value if the field is empty.\n\n if (isFilled({\n value: value\n }) || displayEmpty) {\n if (renderValue) {\n display = renderValue(value);\n } else {\n computeDisplay = true;\n }\n }\n\n var items = React.Children.map(children, function (child) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var selected;\n\n if (multiple) {\n if (!Array.isArray(value)) {\n throw new Error('Material-UI: The `value` prop must be an array ' + 'when using the `Select` component with `multiple`.');\n }\n\n selected = value.some(function (v) {\n return areEqualValues(v, child.props.value);\n });\n\n if (selected && computeDisplay) {\n displayMultiple.push(child.props.children);\n }\n } else {\n selected = areEqualValues(value, child.props.value);\n\n if (selected && computeDisplay) {\n displaySingle = child.props.children;\n }\n }\n\n if (selected) {\n foundMatch = true;\n }\n\n return React.cloneElement(child, {\n 'aria-selected': selected ? 'true' : undefined,\n onClick: handleItemClick(child),\n onKeyUp: function onKeyUp(event) {\n if (event.key === ' ') {\n // otherwise our MenuItems dispatches a click event\n // it's not behavior of the native and causes\n // the select to close immediately since we open on space keydown\n event.preventDefault();\n }\n\n if (child.props.onKeyUp) {\n child.props.onKeyUp(event);\n }\n },\n role: 'option',\n selected: selected,\n value: undefined,\n // The value is most likely not a valid HTML attribute.\n 'data-value': child.props.value // Instead, we provide it as a data attribute.\n\n });\n });\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (!foundMatch && !multiple && value !== '') {\n var values = React.Children.toArray(children).map(function (child) {\n return child.props.value;\n });\n console.warn([\"Material-UI: You have provided an out-of-range value `\".concat(value, \"` for the select \").concat(name ? \"(name=\\\"\".concat(name, \"\\\") \") : '', \"component.\"), \"Consider providing a value that matches one of the available options or ''.\", \"The available values are \".concat(values.filter(function (x) {\n return x != null;\n }).map(function (x) {\n return \"`\".concat(x, \"`\");\n }).join(', ') || '\"\"', \".\")].join('\\n'));\n }\n }, [foundMatch, children, multiple, name, value]);\n }\n\n if (computeDisplay) {\n display = multiple ? displayMultiple.join(', ') : displaySingle;\n } // Avoid performing a layout computation in the render method.\n\n\n var menuMinWidth = menuMinWidthState;\n\n if (!autoWidth && isOpenControlled && displayNode) {\n menuMinWidth = displayNode.clientWidth;\n }\n\n var tabIndex;\n\n if (typeof tabIndexProp !== 'undefined') {\n tabIndex = tabIndexProp;\n } else {\n tabIndex = disabled ? null : 0;\n }\n\n var buttonId = SelectDisplayProps.id || (name ? \"mui-component-select-\".concat(name) : undefined);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes.selectMenu, classes[variant], className, disabled && classes.disabled),\n ref: setDisplayNode,\n tabIndex: tabIndex,\n role: \"button\",\n \"aria-disabled\": disabled ? 'true' : undefined,\n \"aria-expanded\": open ? 'true' : undefined,\n \"aria-haspopup\": \"listbox\",\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": [labelId, buttonId].filter(Boolean).join(' ') || undefined,\n onKeyDown: handleKeyDown,\n onMouseDown: disabled || readOnly ? null : handleMouseDown,\n onBlur: handleBlur,\n onFocus: onFocus\n }, SelectDisplayProps, {\n // The id is required for proper a11y\n id: buttonId\n }), isEmpty(display) ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: ''\n }\n }) : display), /*#__PURE__*/React.createElement(\"input\", _extends({\n value: Array.isArray(value) ? value.join(',') : value,\n name: name,\n ref: inputRef,\n type: \"hidden\",\n autoFocus: autoFocus\n }, other)), /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], open && classes.iconOpen, disabled && classes.disabled)\n }), /*#__PURE__*/React.createElement(Menu, _extends({\n id: \"menu-\".concat(name || ''),\n anchorEl: displayNode,\n open: open,\n onClose: handleClose\n }, MenuProps, {\n MenuListProps: _extends({\n 'aria-labelledby': labelId,\n role: 'listbox',\n disableListWrap: true\n }, MenuProps.MenuListProps),\n PaperProps: _extends(_extends({}, MenuProps.PaperProps), {}, {\n style: _extends({\n minWidth: menuMinWidth\n }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)\n })\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? SelectInput.propTypes = {\n /**\n * @ignore\n */\n 'aria-label': PropTypes.string,\n\n /**\n * @ignore\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the selected item is displayed even if its value is empty.\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`\n * Equivalent to `ref`\n */\n inputRef: refType,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n */\n open: PropTypes.bool,\n\n /**\n * @ignore\n */\n readOnly: PropTypes.bool,\n\n /**\n * Render the selected value.\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * @ignore\n */\n required: PropTypes.bool,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n type: PropTypes.any,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default SelectInput;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { mergeClasses } from '@material-ui/styles';\nimport SelectInput from './SelectInput';\nimport formControlState from '../FormControl/formControlState';\nimport useFormControl from '../FormControl/useFormControl';\nimport withStyles from '../styles/withStyles';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport Input from '../Input';\nimport { styles as nativeSelectStyles } from '../NativeSelect/NativeSelect';\nimport NativeSelectInput from '../NativeSelect/NativeSelectInput';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nexport var styles = nativeSelectStyles;\n\nvar _ref = /*#__PURE__*/React.createElement(Input, null);\n\nvar _ref2 = /*#__PURE__*/React.createElement(FilledInput, null);\n\nvar Select = React.forwardRef(function Select(props, ref) {\n var _props$autoWidth = props.autoWidth,\n autoWidth = _props$autoWidth === void 0 ? false : _props$autoWidth,\n children = props.children,\n classes = props.classes,\n _props$displayEmpty = props.displayEmpty,\n displayEmpty = _props$displayEmpty === void 0 ? false : _props$displayEmpty,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDropDownIcon : _props$IconComponent,\n id = props.id,\n input = props.input,\n inputProps = props.inputProps,\n label = props.label,\n labelId = props.labelId,\n _props$labelWidth = props.labelWidth,\n labelWidth = _props$labelWidth === void 0 ? 0 : _props$labelWidth,\n MenuProps = props.MenuProps,\n _props$multiple = props.multiple,\n multiple = _props$multiple === void 0 ? false : _props$multiple,\n _props$native = props.native,\n native = _props$native === void 0 ? false : _props$native,\n onClose = props.onClose,\n onOpen = props.onOpen,\n open = props.open,\n renderValue = props.renderValue,\n SelectDisplayProps = props.SelectDisplayProps,\n _props$variant = props.variant,\n variantProps = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoWidth\", \"children\", \"classes\", \"displayEmpty\", \"IconComponent\", \"id\", \"input\", \"inputProps\", \"label\", \"labelId\", \"labelWidth\", \"MenuProps\", \"multiple\", \"native\", \"onClose\", \"onOpen\", \"open\", \"renderValue\", \"SelectDisplayProps\", \"variant\"]);\n\n var inputComponent = native ? NativeSelectInput : SelectInput;\n var muiFormControl = useFormControl();\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['variant']\n });\n var variant = fcs.variant || variantProps;\n var InputComponent = input || {\n standard: _ref,\n outlined: /*#__PURE__*/React.createElement(OutlinedInput, {\n label: label,\n labelWidth: labelWidth\n }),\n filled: _ref2\n }[variant];\n return React.cloneElement(InputComponent, _extends({\n // Most of the logic is implemented in `SelectInput`.\n // The `Select` component is a simple API wrapper to expose something better to play with.\n inputComponent: inputComponent,\n inputProps: _extends(_extends(_extends({\n children: children,\n IconComponent: IconComponent,\n variant: variant,\n type: undefined,\n // We render a select. We can ignore the type provided by the `Input`.\n multiple: multiple\n }, native ? {\n id: id\n } : {\n autoWidth: autoWidth,\n displayEmpty: displayEmpty,\n labelId: labelId,\n MenuProps: MenuProps,\n onClose: onClose,\n onOpen: onOpen,\n open: open,\n renderValue: renderValue,\n SelectDisplayProps: _extends({\n id: id\n }, SelectDisplayProps)\n }), inputProps), {}, {\n classes: inputProps ? mergeClasses({\n baseClasses: classes,\n newClasses: inputProps.classes,\n Component: Select\n }) : classes\n }, input ? input.props.inputProps : {}),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Select.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `MenuItem` when `native` is false and `option` when `native` is true.\n *\n * ⚠️The `MenuItem` elements **must** be direct descendants when `native` is false.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, a value is displayed even if no items are selected.\n *\n * In order to display a meaningful value, a function should be passed to the `renderValue` prop which returns the value to be displayed when no items are selected.\n * You can only use it when the `native` prop is `false` (default).\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType,\n\n /**\n * The `id` of the wrapper element or the `select` element when `native`.\n */\n id: PropTypes.string,\n\n /**\n * An `Input` element; does not have to be a material-ui specific `Input`.\n */\n input: PropTypes.element,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n * When `native` is `true`, the attributes are applied on the `select` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * See [OutlinedInput#label](/api/outlined-input/#props)\n */\n label: PropTypes.node,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * See [OutlinedInput#label](/api/outlined-input/#props)\n */\n labelWidth: PropTypes.number,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * If `true`, the component will be using a native `select` element.\n */\n native: PropTypes.bool,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected when `native` is `false` (default).\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n * You can only use it when the `native` prop is `false` (default).\n */\n open: PropTypes.bool,\n\n /**\n * Render the selected value.\n * You can only use it when the `native` prop is `false` (default).\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * The input value. Providing an empty string will select no options.\n * This prop is required when the `native` prop is `false` (default).\n * Set to an empty string `''` if you don't want any of the available options to be selected.\n *\n * If the value is an object it must have reference equality with the option in order to be selected.\n * If the value is not an object, the string representation must match with the string representation of the option in order to be selected.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nSelect.muiName = 'Select';\nexport default withStyles(styles, {\n name: 'MuiSelect'\n})(Select);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport debounce from '../utils/debounce';\nimport { Transition } from 'react-transition-group';\nimport { elementAcceptingRef } from '@material-ui/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useTheme from '../styles/useTheme';\nimport { duration } from '../styles/transitions';\nimport { reflow, getTransitionProps } from '../transitions/utils'; // Translate the node so he can't be seen on the screen.\n// Later, we gonna translate back the node to his original location\n// with `none`.`\n\nfunction getTranslateValue(direction, node) {\n var rect = node.getBoundingClientRect();\n var transform;\n\n if (node.fakeTransform) {\n transform = node.fakeTransform;\n } else {\n var computedStyle = window.getComputedStyle(node);\n transform = computedStyle.getPropertyValue('-webkit-transform') || computedStyle.getPropertyValue('transform');\n }\n\n var offsetX = 0;\n var offsetY = 0;\n\n if (transform && transform !== 'none' && typeof transform === 'string') {\n var transformValues = transform.split('(')[1].split(')')[0].split(',');\n offsetX = parseInt(transformValues[4], 10);\n offsetY = parseInt(transformValues[5], 10);\n }\n\n if (direction === 'left') {\n return \"translateX(\".concat(window.innerWidth, \"px) translateX(-\").concat(rect.left - offsetX, \"px)\");\n }\n\n if (direction === 'right') {\n return \"translateX(-\".concat(rect.left + rect.width - offsetX, \"px)\");\n }\n\n if (direction === 'up') {\n return \"translateY(\".concat(window.innerHeight, \"px) translateY(-\").concat(rect.top - offsetY, \"px)\");\n } // direction === 'down'\n\n\n return \"translateY(-\".concat(rect.top + rect.height - offsetY, \"px)\");\n}\n\nexport function setTranslateValue(direction, node) {\n var transform = getTranslateValue(direction, node);\n\n if (transform) {\n node.style.webkitTransform = transform;\n node.style.transform = transform;\n }\n}\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Slide transition is used by the [Drawer](/components/drawers/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Slide = React.forwardRef(function Slide(props, ref) {\n var children = props.children,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'down' : _props$direction,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"direction\", \"in\", \"onEnter\", \"onEntering\", \"onExit\", \"onExited\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var childrenRef = React.useRef(null);\n /**\n * used in cloneElement(children, { ref: handleRef })\n */\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n childrenRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRefIntermediary = useForkRef(children.ref, handleOwnRef);\n var handleRef = useForkRef(handleRefIntermediary, ref);\n\n var handleEnter = function handleEnter(_, isAppearing) {\n var node = childrenRef.current;\n setTranslateValue(direction, node);\n reflow(node);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleEntering = function handleEntering(_, isAppearing) {\n var node = childrenRef.current;\n var transitionProps = getTransitionProps({\n timeout: timeout,\n style: style\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.easeOut\n }));\n node.style.transition = theme.transitions.create('transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.easeOut\n }));\n node.style.webkitTransform = 'none';\n node.style.transform = 'none';\n\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit() {\n var node = childrenRef.current;\n var transitionProps = getTransitionProps({\n timeout: timeout,\n style: style\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.sharp\n }));\n node.style.transition = theme.transitions.create('transform', _extends(_extends({}, transitionProps), {}, {\n easing: theme.transitions.easing.sharp\n }));\n setTranslateValue(direction, node);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n var handleExited = function handleExited() {\n var node = childrenRef.current; // No need for transitions when the component is hidden\n\n node.style.webkitTransition = '';\n node.style.transition = '';\n\n if (onExited) {\n onExited(node);\n }\n };\n\n var updatePosition = React.useCallback(function () {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current);\n }\n }, [direction]);\n React.useEffect(function () {\n // Skip configuration where the position is screen size invariant.\n if (inProp || direction === 'down' || direction === 'right') {\n return undefined;\n }\n\n var handleResize = debounce(function () {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current);\n }\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [direction, inProp]);\n React.useEffect(function () {\n if (!inProp) {\n // We need to update the position of the drawer when the direction change and\n // when it's hidden.\n updatePosition();\n }\n }, [inProp, updatePosition]);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n onEnter: handleEnter,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n appear: true,\n in: inProp,\n timeout: timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n ref: handleRef,\n style: _extends(_extends({\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, style), children.props.style)\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Slide.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: elementAcceptingRef,\n\n /**\n * Direction the child node will enter from.\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Slide;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport { emphasize } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n var emphasis = theme.palette.type === 'light' ? 0.8 : 0.98;\n var backgroundColor = emphasize(theme.palette.background.default, emphasis);\n return {\n /* Styles applied to the root element. */\n root: _extends(_extends({}, theme.typography.body2), {}, _defineProperty({\n color: theme.palette.getContrastText(backgroundColor),\n backgroundColor: backgroundColor,\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n padding: '6px 16px',\n borderRadius: theme.shape.borderRadius,\n flexGrow: 1\n }, theme.breakpoints.up('sm'), {\n flexGrow: 'initial',\n minWidth: 288\n })),\n\n /* Styles applied to the message wrapper element. */\n message: {\n padding: '8px 0'\n },\n\n /* Styles applied to the action wrapper element if `action` is provided. */\n action: {\n display: 'flex',\n alignItems: 'center',\n marginLeft: 'auto',\n paddingLeft: 16,\n marginRight: -8\n }\n };\n};\nvar SnackbarContent = React.forwardRef(function SnackbarContent(props, ref) {\n var action = props.action,\n classes = props.classes,\n className = props.className,\n message = props.message,\n _props$role = props.role,\n role = _props$role === void 0 ? 'alert' : _props$role,\n other = _objectWithoutProperties(props, [\"action\", \"classes\", \"className\", \"message\", \"role\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n role: role,\n square: true,\n elevation: 6,\n className: clsx(classes.root, className),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.message\n }, message), action ? /*#__PURE__*/React.createElement(\"div\", {\n className: classes.action\n }, action) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SnackbarContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The message to display.\n */\n message: PropTypes.node,\n\n /**\n * The ARIA role attribute of the element.\n */\n role: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSnackbarContent'\n})(SnackbarContent);","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { duration } from '../styles/transitions';\nimport ClickAwayListener from '../ClickAwayListener';\nimport useEventCallback from '../utils/useEventCallback';\nimport capitalize from '../utils/capitalize';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport Grow from '../Grow';\nimport SnackbarContent from '../SnackbarContent';\nexport var styles = function styles(theme) {\n var top1 = {\n top: 8\n };\n var bottom1 = {\n bottom: 8\n };\n var right = {\n justifyContent: 'flex-end'\n };\n var left = {\n justifyContent: 'flex-start'\n };\n var top3 = {\n top: 24\n };\n var bottom3 = {\n bottom: 24\n };\n var right3 = {\n right: 24\n };\n var left3 = {\n left: 24\n };\n var center = {\n left: '50%',\n right: 'auto',\n transform: 'translateX(-50%)'\n };\n return {\n /* Styles applied to the root element. */\n root: {\n zIndex: theme.zIndex.snackbar,\n position: 'fixed',\n display: 'flex',\n left: 8,\n right: 8,\n justifyContent: 'center',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */\n anchorOriginTopCenter: _extends(_extends({}, top1), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({}, top3), center))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */\n anchorOriginBottomCenter: _extends(_extends({}, bottom1), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({}, bottom3), center))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */\n anchorOriginTopRight: _extends(_extends(_extends({}, top1), right), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n left: 'auto'\n }, top3), right3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */\n anchorOriginBottomRight: _extends(_extends(_extends({}, bottom1), right), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n left: 'auto'\n }, bottom3), right3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */\n anchorOriginTopLeft: _extends(_extends(_extends({}, top1), left), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n right: 'auto'\n }, top3), left3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */\n anchorOriginBottomLeft: _extends(_extends(_extends({}, bottom1), left), {}, _defineProperty({}, theme.breakpoints.up('sm'), _extends(_extends({\n right: 'auto'\n }, bottom3), left3)))\n };\n};\nvar Snackbar = React.forwardRef(function Snackbar(props, ref) {\n var action = props.action,\n _props$anchorOrigin = props.anchorOrigin;\n _props$anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'bottom',\n horizontal: 'center'\n } : _props$anchorOrigin;\n\n var vertical = _props$anchorOrigin.vertical,\n horizontal = _props$anchorOrigin.horizontal,\n _props$autoHideDurati = props.autoHideDuration,\n autoHideDuration = _props$autoHideDurati === void 0 ? null : _props$autoHideDurati,\n children = props.children,\n classes = props.classes,\n className = props.className,\n ClickAwayListenerProps = props.ClickAwayListenerProps,\n ContentProps = props.ContentProps,\n _props$disableWindowB = props.disableWindowBlurListener,\n disableWindowBlurListener = _props$disableWindowB === void 0 ? false : _props$disableWindowB,\n message = props.message,\n onClose = props.onClose,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n open = props.open,\n resumeHideDuration = props.resumeHideDuration,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n } : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"action\", \"anchorOrigin\", \"autoHideDuration\", \"children\", \"classes\", \"className\", \"ClickAwayListenerProps\", \"ContentProps\", \"disableWindowBlurListener\", \"message\", \"onClose\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"onMouseEnter\", \"onMouseLeave\", \"open\", \"resumeHideDuration\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n var timerAutoHide = React.useRef();\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var handleClose = useEventCallback(function () {\n if (onClose) {\n onClose.apply(void 0, arguments);\n }\n });\n var setAutoHideTimer = useEventCallback(function (autoHideDurationParam) {\n if (!onClose || autoHideDurationParam == null) {\n return;\n }\n\n clearTimeout(timerAutoHide.current);\n timerAutoHide.current = setTimeout(function () {\n handleClose(null, 'timeout');\n }, autoHideDurationParam);\n });\n React.useEffect(function () {\n if (open) {\n setAutoHideTimer(autoHideDuration);\n }\n\n return function () {\n clearTimeout(timerAutoHide.current);\n };\n }, [open, autoHideDuration, setAutoHideTimer]); // Pause the timer when the user is interacting with the Snackbar\n // or when the user hide the window.\n\n var handlePause = function handlePause() {\n clearTimeout(timerAutoHide.current);\n }; // Restart the timer when the user is no longer interacting with the Snackbar\n // or when the window is shown back.\n\n\n var handleResume = React.useCallback(function () {\n if (autoHideDuration != null) {\n setAutoHideTimer(resumeHideDuration != null ? resumeHideDuration : autoHideDuration * 0.5);\n }\n }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);\n\n var handleMouseEnter = function handleMouseEnter(event) {\n if (onMouseEnter) {\n onMouseEnter(event);\n }\n\n handlePause();\n };\n\n var handleMouseLeave = function handleMouseLeave(event) {\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n\n handleResume();\n };\n\n var handleClickAway = function handleClickAway(event) {\n if (onClose) {\n onClose(event, 'clickaway');\n }\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n };\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n React.useEffect(function () {\n if (!disableWindowBlurListener && open) {\n window.addEventListener('focus', handleResume);\n window.addEventListener('blur', handlePause);\n return function () {\n window.removeEventListener('focus', handleResume);\n window.removeEventListener('blur', handlePause);\n };\n }\n\n return undefined;\n }, [disableWindowBlurListener, handleResume, open]); // So we only render active snackbars.\n\n if (!open && exited) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(ClickAwayListener, _extends({\n onClickAway: handleClickAway\n }, ClickAwayListenerProps), /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"anchorOrigin\".concat(capitalize(vertical)).concat(capitalize(horizontal))], className),\n onMouseEnter: handleMouseEnter,\n onMouseLeave: handleMouseLeave,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEnter: createChainedFunction(handleEnter, onEnter),\n onEntered: onEntered,\n onEntering: onEntering,\n onExit: onExit,\n onExited: createChainedFunction(handleExited, onExited),\n onExiting: onExiting,\n timeout: transitionDuration,\n direction: vertical === 'top' ? 'down' : 'up'\n }, TransitionProps), children || /*#__PURE__*/React.createElement(SnackbarContent, _extends({\n message: message,\n action: action\n }, ContentProps)))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Snackbar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n\n /**\n * The anchor of the `Snackbar`.\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['center', 'left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n\n /**\n * The number of milliseconds to wait before automatically calling the\n * `onClose` function. `onClose` should then set the state of the `open`\n * prop to hide the Snackbar. This behavior is disabled by default with\n * the `null` value.\n */\n autoHideDuration: PropTypes.number,\n\n /**\n * Replace the `SnackbarContent` component.\n */\n children: PropTypes.element,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Props applied to the `ClickAwayListener` element.\n */\n ClickAwayListenerProps: PropTypes.object,\n\n /**\n * Props applied to the [`SnackbarContent`](/api/snackbar-content/) element.\n */\n ContentProps: PropTypes.object,\n\n /**\n * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.\n */\n disableWindowBlurListener: PropTypes.bool,\n\n /**\n * When displaying multiple consecutive Snackbars from a parent rendering a single\n * , add the key prop to ensure independent treatment of each message.\n * e.g. , otherwise, the message may update-in-place and\n * features such as autoHideDuration may be canceled.\n */\n key: PropTypes.any,\n\n /**\n * The message to display.\n */\n message: PropTypes.node,\n\n /**\n * Callback fired when the component requests to be closed.\n * Typically `onClose` is used to set state in the parent component,\n * which is used to control the `Snackbar` `open` prop.\n * The `reason` parameter can optionally be used to control the response to `onClose`,\n * for example ignoring `clickaway`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"timeout\"` (`autoHideDuration` expired), `\"clickaway\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the transition is entering.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the transition has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the transition is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the transition is exiting.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the transition has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the transition is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n\n /**\n * If `true`, `Snackbar` is open.\n */\n open: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before dismissing after user interaction.\n * If `autoHideDuration` prop isn't specified, it does nothing.\n * If `autoHideDuration` prop is specified but `resumeHideDuration` isn't,\n * we default to `autoHideDuration / 2` ms.\n */\n resumeHideDuration: PropTypes.number,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n flip: false,\n name: 'MuiSnackbar'\n})(Snackbar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: theme.typography.pxToRem(24),\n transition: theme.transitions.create('fill', {\n duration: theme.transitions.duration.shorter\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"action\"`. */\n colorAction: {\n color: theme.palette.action.active\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `color=\"disabled\"`. */\n colorDisabled: {\n color: theme.palette.action.disabled\n },\n\n /* Styles applied to the root element if `fontSize=\"inherit\"`. */\n fontSizeInherit: {\n fontSize: 'inherit'\n },\n\n /* Styles applied to the root element if `fontSize=\"small\"`. */\n fontSizeSmall: {\n fontSize: theme.typography.pxToRem(20)\n },\n\n /* Styles applied to the root element if `fontSize=\"large\"`. */\n fontSizeLarge: {\n fontSize: theme.typography.pxToRem(35)\n }\n };\n};\nvar SvgIcon = React.forwardRef(function SvgIcon(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'inherit' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'svg' : _props$component,\n _props$fontSize = props.fontSize,\n fontSize = _props$fontSize === void 0 ? 'default' : _props$fontSize,\n htmlColor = props.htmlColor,\n titleAccess = props.titleAccess,\n _props$viewBox = props.viewBox,\n viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"color\", \"component\", \"fontSize\", \"htmlColor\", \"titleAccess\", \"viewBox\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, color !== 'inherit' && classes[\"color\".concat(capitalize(color))], fontSize !== 'default' && classes[\"fontSize\".concat(capitalize(fontSize))]),\n focusable: \"false\",\n viewBox: viewBox,\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref\n }, other), children, titleAccess ? /*#__PURE__*/React.createElement(\"title\", null, titleAccess) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n */\n color: PropTypes.oneOf(['action', 'disabled', 'error', 'inherit', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n */\n fontSize: PropTypes.oneOf(['default', 'inherit', 'large', 'small']),\n\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this property.\n */\n shapeRendering: PropTypes.string,\n\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default withStyles(styles, {\n name: 'MuiSvgIcon'\n})(SvgIcon);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport Input from '../Input';\nimport FilledInput from '../FilledInput';\nimport OutlinedInput from '../OutlinedInput';\nimport InputLabel from '../InputLabel';\nimport FormControl from '../FormControl';\nimport FormHelperText from '../FormHelperText';\nimport Select from '../Select';\nimport withStyles from '../styles/withStyles';\nvar variantComponent = {\n standard: Input,\n filled: FilledInput,\n outlined: OutlinedInput\n};\nexport var styles = {\n /* Styles applied to the root element. */\n root: {}\n};\n/**\n * The `TextField` is a convenience wrapper for the most common cases (80%).\n * It cannot be all things to all people, otherwise the API would grow out of control.\n *\n * ## Advanced Configuration\n *\n * It's important to understand that the text field is a simple abstraction\n * on top of the following components:\n *\n * - [FormControl](/api/form-control/)\n * - [InputLabel](/api/input-label/)\n * - [FilledInput](/api/filled-input/)\n * - [OutlinedInput](/api/outlined-input/)\n * - [Input](/api/input/)\n * - [FormHelperText](/api/form-helper-text/)\n *\n * If you wish to alter the props applied to the `input` element, you can do so as follows:\n *\n * ```jsx\n * const inputProps = {\n * step: 300,\n * };\n *\n * return ;\n * ```\n *\n * For advanced cases, please look at the source of TextField by clicking on the\n * \"Edit this page\" button above. Consider either:\n *\n * - using the upper case props for passing values directly to the components\n * - using the underlying components directly as shown in the demos\n */\n\nvar TextField = React.forwardRef(function TextField(props, ref) {\n var autoComplete = props.autoComplete,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n defaultValue = props.defaultValue,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n FormHelperTextProps = props.FormHelperTextProps,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n helperText = props.helperText,\n hiddenLabel = props.hiddenLabel,\n id = props.id,\n InputLabelProps = props.InputLabelProps,\n inputProps = props.inputProps,\n InputProps = props.InputProps,\n inputRef = props.inputRef,\n label = props.label,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onFocus = props.onFocus,\n placeholder = props.placeholder,\n _props$required = props.required,\n required = _props$required === void 0 ? false : _props$required,\n rows = props.rows,\n rowsMax = props.rowsMax,\n _props$select = props.select,\n select = _props$select === void 0 ? false : _props$select,\n SelectProps = props.SelectProps,\n type = props.type,\n value = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoComplete\", \"autoFocus\", \"children\", \"classes\", \"className\", \"color\", \"defaultValue\", \"disabled\", \"error\", \"FormHelperTextProps\", \"fullWidth\", \"helperText\", \"hiddenLabel\", \"id\", \"InputLabelProps\", \"inputProps\", \"InputProps\", \"inputRef\", \"label\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onFocus\", \"placeholder\", \"required\", \"rows\", \"rowsMax\", \"select\", \"SelectProps\", \"type\", \"value\", \"variant\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (select && !children) {\n console.error('Material-UI: `children` must be passed when using the `TextField` component with `select`.');\n }\n }\n\n var InputMore = {};\n\n if (variant === 'outlined') {\n if (InputLabelProps && typeof InputLabelProps.shrink !== 'undefined') {\n InputMore.notched = InputLabelProps.shrink;\n }\n\n if (label) {\n var _InputLabelProps$requ;\n\n var displayRequired = (_InputLabelProps$requ = InputLabelProps === null || InputLabelProps === void 0 ? void 0 : InputLabelProps.required) !== null && _InputLabelProps$requ !== void 0 ? _InputLabelProps$requ : required;\n InputMore.label = /*#__PURE__*/React.createElement(React.Fragment, null, label, displayRequired && \"\\xA0*\");\n }\n }\n\n if (select) {\n // unset defaults from textbox inputs\n if (!SelectProps || !SelectProps.native) {\n InputMore.id = undefined;\n }\n\n InputMore['aria-describedby'] = undefined;\n }\n\n var helperTextId = helperText && id ? \"\".concat(id, \"-helper-text\") : undefined;\n var inputLabelId = label && id ? \"\".concat(id, \"-label\") : undefined;\n var InputComponent = variantComponent[variant];\n var InputElement = /*#__PURE__*/React.createElement(InputComponent, _extends({\n \"aria-describedby\": helperTextId,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n defaultValue: defaultValue,\n fullWidth: fullWidth,\n multiline: multiline,\n name: name,\n rows: rows,\n rowsMax: rowsMax,\n type: type,\n value: value,\n id: id,\n inputRef: inputRef,\n onBlur: onBlur,\n onChange: onChange,\n onFocus: onFocus,\n placeholder: placeholder,\n inputProps: inputProps\n }, InputMore, InputProps));\n return /*#__PURE__*/React.createElement(FormControl, _extends({\n className: clsx(classes.root, className),\n disabled: disabled,\n error: error,\n fullWidth: fullWidth,\n hiddenLabel: hiddenLabel,\n ref: ref,\n required: required,\n color: color,\n variant: variant\n }, other), label && /*#__PURE__*/React.createElement(InputLabel, _extends({\n htmlFor: id,\n id: inputLabelId\n }, InputLabelProps), label), select ? /*#__PURE__*/React.createElement(Select, _extends({\n \"aria-describedby\": helperTextId,\n id: id,\n labelId: inputLabelId,\n value: value,\n input: InputElement\n }, SelectProps), children) : InputElement, helperText && /*#__PURE__*/React.createElement(FormHelperText, _extends({\n id: helperTextId\n }, FormHelperTextProps), helperText));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextField.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * @ignore\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The default value of the `input` element.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the label will be displayed in an error state.\n */\n error: PropTypes.bool,\n\n /**\n * Props applied to the [`FormHelperText`](/api/form-helper-text/) element.\n */\n FormHelperTextProps: PropTypes.object,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The helper text content.\n */\n helperText: PropTypes.node,\n\n /**\n * @ignore\n */\n hiddenLabel: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n * Use this prop to make `label` and `helperText` accessible for screen readers.\n */\n id: PropTypes.string,\n\n /**\n * Props applied to the [`InputLabel`](/api/input-label/) element.\n */\n InputLabelProps: PropTypes.object,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Props applied to the Input element.\n * It will be a [`FilledInput`](/api/filled-input/),\n * [`OutlinedInput`](/api/outlined-input/) or [`Input`](/api/input/)\n * component depending on the `variant` prop value.\n */\n InputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * The label content.\n */\n label: PropTypes.node,\n\n /**\n * If `dense` or `normal`, will adjust vertical spacing of this and contained components.\n */\n margin: PropTypes.oneOf(['dense', 'none', 'normal']),\n\n /**\n * If `true`, a textarea element will be rendered instead of an input.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * If `true`, the label is displayed as required and the `input` element` will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * Render a [`Select`](/api/select/) element while passing the Input element to `Select` as `input` parameter.\n * If this option is set you must pass the options of the select as children.\n */\n select: PropTypes.bool,\n\n /**\n * Props applied to the [`Select`](/api/select/) element.\n */\n SelectProps: PropTypes.object,\n\n /**\n * The size of the text field.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['filled', 'outlined', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTextField'\n})(TextField);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: _defineProperty({\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2)\n }, theme.breakpoints.up('sm'), {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }),\n\n /* Styles applied to the root element if `variant=\"regular\"`. */\n regular: theme.mixins.toolbar,\n\n /* Styles applied to the root element if `variant=\"dense\"`. */\n dense: {\n minHeight: 48\n }\n };\n};\nvar Toolbar = React.forwardRef(function Toolbar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'regular' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[variant], className, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Toolbar.propTypes = {\n /**\n * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n\n /**\n * If `true`, disables gutter padding.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['regular', 'dense'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiToolbar'\n})(Toolbar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n margin: 0\n },\n\n /* Styles applied to the root element if `variant=\"body2\"`. */\n body2: theme.typography.body2,\n\n /* Styles applied to the root element if `variant=\"body1\"`. */\n body1: theme.typography.body1,\n\n /* Styles applied to the root element if `variant=\"caption\"`. */\n caption: theme.typography.caption,\n\n /* Styles applied to the root element if `variant=\"button\"`. */\n button: theme.typography.button,\n\n /* Styles applied to the root element if `variant=\"h1\"`. */\n h1: theme.typography.h1,\n\n /* Styles applied to the root element if `variant=\"h2\"`. */\n h2: theme.typography.h2,\n\n /* Styles applied to the root element if `variant=\"h3\"`. */\n h3: theme.typography.h3,\n\n /* Styles applied to the root element if `variant=\"h4\"`. */\n h4: theme.typography.h4,\n\n /* Styles applied to the root element if `variant=\"h5\"`. */\n h5: theme.typography.h5,\n\n /* Styles applied to the root element if `variant=\"h6\"`. */\n h6: theme.typography.h6,\n\n /* Styles applied to the root element if `variant=\"subtitle1\"`. */\n subtitle1: theme.typography.subtitle1,\n\n /* Styles applied to the root element if `variant=\"subtitle2\"`. */\n subtitle2: theme.typography.subtitle2,\n\n /* Styles applied to the root element if `variant=\"overline\"`. */\n overline: theme.typography.overline,\n\n /* Styles applied to the root element if `variant=\"srOnly\"`. Only accessible to screen readers. */\n srOnly: {\n position: 'absolute',\n height: 1,\n width: 1,\n overflow: 'hidden'\n },\n\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right'\n },\n\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n\n /* Styles applied to the root element if `nowrap={true}`. */\n noWrap: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the root element if `gutterBottom={true}`. */\n gutterBottom: {\n marginBottom: '0.35em'\n },\n\n /* Styles applied to the root element if `paragraph={true}`. */\n paragraph: {\n marginBottom: 16\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `color=\"textPrimary\"`. */\n colorTextPrimary: {\n color: theme.palette.text.primary\n },\n\n /* Styles applied to the root element if `color=\"textSecondary\"`. */\n colorTextSecondary: {\n color: theme.palette.text.secondary\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n\n /* Styles applied to the root element if `display=\"inline\"`. */\n displayInline: {\n display: 'inline'\n },\n\n /* Styles applied to the root element if `display=\"block\"`. */\n displayBlock: {\n display: 'block'\n }\n };\n};\nvar defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p'\n};\nvar Typography = React.forwardRef(function Typography(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'initial' : _props$color,\n component = props.component,\n _props$display = props.display,\n display = _props$display === void 0 ? 'initial' : _props$display,\n _props$gutterBottom = props.gutterBottom,\n gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom,\n _props$noWrap = props.noWrap,\n noWrap = _props$noWrap === void 0 ? false : _props$noWrap,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? false : _props$paragraph,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'body1' : _props$variant,\n _props$variantMapping = props.variantMapping,\n variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"color\", \"component\", \"display\", \"gutterBottom\", \"noWrap\", \"paragraph\", \"variant\", \"variantMapping\"]);\n\n var Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'inherit' && classes[variant], color !== 'initial' && classes[\"color\".concat(capitalize(color))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], display !== 'initial' && classes[\"display\".concat(capitalize(display))]),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Typography.propTypes = {\n /**\n * Set the text-align on the component.\n */\n align: PropTypes.oneOf(['inherit', 'left', 'center', 'right', 'justify']),\n\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['initial', 'inherit', 'primary', 'secondary', 'textPrimary', 'textSecondary', 'error']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * Overrides the behavior of the `variantMapping` prop.\n */\n component: PropTypes.elementType,\n\n /**\n * Controls the display type\n */\n display: PropTypes.oneOf(['initial', 'block', 'inline']),\n\n /**\n * If `true`, the text will have a bottom margin.\n */\n gutterBottom: PropTypes.bool,\n\n /**\n * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.\n *\n * Note that text overflow can only happen with block or inline-block level elements\n * (the element needs to have a width in order to overflow).\n */\n noWrap: PropTypes.bool,\n\n /**\n * If `true`, the text will have a bottom margin.\n */\n paragraph: PropTypes.bool,\n\n /**\n * Applies the theme typography styles.\n */\n variant: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'caption', 'button', 'overline', 'srOnly', 'inherit']),\n\n /**\n * The component maps the variant prop to a range of different HTML element types.\n * For instance, subtitle1 to ``.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n */\n variantMapping: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTypography'\n})(Typography);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7 10l5 5 5-5z\"\n}), 'ArrowDropDown');","/* eslint-disable no-use-before-define */\n\n/**\n * Returns a number whose value is limited to the given range.\n *\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clamp(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(\"Material-UI: The value provided \".concat(value, \" is out of range [\").concat(min, \", \").concat(max, \"].\"));\n }\n }\n\n return Math.min(Math.max(min, value), max);\n}\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n *\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\n\n\nexport function hexToRgb(color) {\n color = color.substr(1);\n var re = new RegExp(\".{1,\".concat(color.length / 3, \"}\"), 'g');\n var colors = color.match(re);\n\n if (colors && colors[0].length === 1) {\n colors = colors.map(function (n) {\n return n + n;\n });\n }\n\n return colors ? \"rgb(\".concat(colors.map(function (n) {\n return parseInt(n, 16);\n }).join(', '), \")\") : '';\n}\n\nfunction intToHex(int) {\n var hex = int.toString(16);\n return hex.length === 1 ? \"0\".concat(hex) : hex;\n}\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n *\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\n\n\nexport function rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n\n var _decomposeColor = decomposeColor(color),\n values = _decomposeColor.values;\n\n return \"#\".concat(values.map(function (n) {\n return intToHex(n);\n }).join(''));\n}\n/**\n * Converts a color from hsl format to rgb format.\n *\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\n\nexport function hslToRgb(color) {\n color = decomposeColor(color);\n var _color = color,\n values = _color.values;\n var h = values[0];\n var s = values[1] / 100;\n var l = values[2] / 100;\n var a = s * Math.min(l, 1 - l);\n\n var f = function f(n) {\n var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;\n return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n };\n\n var type = 'rgb';\n var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n\n return recomposeColor({\n type: type,\n values: rgb\n });\n}\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\n\nexport function decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n\n var marker = color.indexOf('(');\n var type = color.substring(0, marker);\n\n if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {\n throw new Error([\"Material-UI: Unsupported `\".concat(color, \"` color.\"), 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().'].join('\\n'));\n }\n\n var values = color.substring(marker + 1, color.length - 1).split(',');\n values = values.map(function (value) {\n return parseFloat(value);\n });\n return {\n type: type,\n values: values\n };\n}\n/**\n * Converts a color object with type and values to a string.\n *\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\n\nexport function recomposeColor(color) {\n var type = color.type;\n var values = color.values;\n\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map(function (n, i) {\n return i < 3 ? parseInt(n, 10) : n;\n });\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = \"\".concat(values[1], \"%\");\n values[2] = \"\".concat(values[2], \"%\");\n }\n\n return \"\".concat(type, \"(\").concat(values.join(', '), \")\");\n}\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\n\nexport function getContrastRatio(foreground, background) {\n var lumA = getLuminance(foreground);\n var lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\n\nexport function getLuminance(color) {\n color = decomposeColor(color);\n var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(function (val) {\n val /= 255; // normalized\n\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }); // Truncate at 3 digits\n\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function emphasize(color) {\n var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\n/**\n * Set the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} value - value to set the alpha channel to in the range 0 -1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function fade(color, value) {\n color = decomposeColor(color);\n value = clamp(value);\n\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n\n color.values[3] = value;\n return recomposeColor(color);\n}\n/**\n * Darkens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n\n return recomposeColor(color);\n}\n/**\n * Lightens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\nexport function lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n }\n\n return recomposeColor(color);\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nexport var keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.\n\nexport default function createBreakpoints(breakpoints) {\n var _breakpoints$values = breakpoints.values,\n values = _breakpoints$values === void 0 ? {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n } : _breakpoints$values,\n _breakpoints$unit = breakpoints.unit,\n unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,\n _breakpoints$step = breakpoints.step,\n step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,\n other = _objectWithoutProperties(breakpoints, [\"values\", \"unit\", \"step\"]);\n\n function up(key) {\n var value = typeof values[key] === 'number' ? values[key] : key;\n return \"@media (min-width:\".concat(value).concat(unit, \")\");\n }\n\n function down(key) {\n var endIndex = keys.indexOf(key) + 1;\n var upperbound = values[keys[endIndex]];\n\n if (endIndex === keys.length) {\n // xl down applies to all sizes\n return up('xs');\n }\n\n var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;\n return \"@media (max-width:\".concat(value - step / 100).concat(unit, \")\");\n }\n\n function between(start, end) {\n var endIndex = keys.indexOf(end);\n\n if (endIndex === keys.length - 1) {\n return up(start);\n }\n\n 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, \")\");\n }\n\n function only(key) {\n return between(key, key);\n }\n\n function width(key) {\n return values[key];\n }\n\n return _extends({\n keys: keys,\n values: values,\n up: up,\n down: down,\n between: between,\n only: only,\n width: width\n }, other);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function createMixins(breakpoints, spacing, mixins) {\n var _toolbar;\n\n return _extends({\n gutters: function gutters() {\n var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // To deprecate in v4.1\n // warning(\n // false,\n // [\n // 'Material-UI: Theme.mixins.gutters() is deprecated.',\n // 'You can use the source of the mixin directly:',\n // `\n // paddingLeft: theme.spacing(2),\n // paddingRight: theme.spacing(2),\n // [theme.breakpoints.up('sm')]: {\n // paddingLeft: theme.spacing(3),\n // paddingRight: theme.spacing(3),\n // },\n // `,\n // ].join('\\n'),\n // );\n return _extends(_extends({\n paddingLeft: spacing(2),\n paddingRight: spacing(2)\n }, styles), {}, _defineProperty({}, breakpoints.up('sm'), _extends({\n paddingLeft: spacing(3),\n paddingRight: spacing(3)\n }, styles[breakpoints.up('sm')])));\n },\n toolbar: (_toolbar = {\n minHeight: 56\n }, _defineProperty(_toolbar, \"\".concat(breakpoints.up('xs'), \" and (orientation: landscape)\"), {\n minHeight: 48\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\n minHeight: 64\n }), _toolbar)\n }, mixins);\n}","var common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;","var grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#d5d5d5',\n A200: '#aaaaaa',\n A400: '#303030',\n A700: '#616161'\n};\nexport default grey;","var indigo = {\n 50: '#e8eaf6',\n 100: '#c5cae9',\n 200: '#9fa8da',\n 300: '#7986cb',\n 400: '#5c6bc0',\n 500: '#3f51b5',\n 600: '#3949ab',\n 700: '#303f9f',\n 800: '#283593',\n 900: '#1a237e',\n A100: '#8c9eff',\n A200: '#536dfe',\n A400: '#3d5afe',\n A700: '#304ffe'\n};\nexport default indigo;","var pink = {\n 50: '#fce4ec',\n 100: '#f8bbd0',\n 200: '#f48fb1',\n 300: '#f06292',\n 400: '#ec407a',\n 500: '#e91e63',\n 600: '#d81b60',\n 700: '#c2185b',\n 800: '#ad1457',\n 900: '#880e4f',\n A100: '#ff80ab',\n A200: '#ff4081',\n A400: '#f50057',\n A700: '#c51162'\n};\nexport default pink;","var red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;","var orange = {\n 50: '#fff3e0',\n 100: '#ffe0b2',\n 200: '#ffcc80',\n 300: '#ffb74d',\n 400: '#ffa726',\n 500: '#ff9800',\n 600: '#fb8c00',\n 700: '#f57c00',\n 800: '#ef6c00',\n 900: '#e65100',\n A100: '#ffd180',\n A200: '#ffab40',\n A400: '#ff9100',\n A700: '#ff6d00'\n};\nexport default orange;","var blue = {\n 50: '#e3f2fd',\n 100: '#bbdefb',\n 200: '#90caf9',\n 300: '#64b5f6',\n 400: '#42a5f5',\n 500: '#2196f3',\n 600: '#1e88e5',\n 700: '#1976d2',\n 800: '#1565c0',\n 900: '#0d47a1',\n A100: '#82b1ff',\n A200: '#448aff',\n A400: '#2979ff',\n A700: '#2962ff'\n};\nexport default blue;","var green = {\n 50: '#e8f5e9',\n 100: '#c8e6c9',\n 200: '#a5d6a7',\n 300: '#81c784',\n 400: '#66bb6a',\n 500: '#4caf50',\n 600: '#43a047',\n 700: '#388e3c',\n 800: '#2e7d32',\n 900: '#1b5e20',\n A100: '#b9f6ca',\n A200: '#69f0ae',\n A400: '#00e676',\n A700: '#00c853'\n};\nexport default green;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport { deepmerge } from '@material-ui/utils';\nimport common from '../colors/common';\nimport grey from '../colors/grey';\nimport indigo from '../colors/indigo';\nimport pink from '../colors/pink';\nimport red from '../colors/red';\nimport orange from '../colors/orange';\nimport blue from '../colors/blue';\nimport green from '../colors/green';\nimport { darken, getContrastRatio, lighten } from './colorManipulator';\nexport var light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.54)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)',\n // Text hints.\n hint: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: grey[50]\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexport var dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n hint: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: grey[800],\n default: '#303030'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\n\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n var tonalOffsetLight = tonalOffset.light || tonalOffset;\n var tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffsetDark);\n }\n }\n}\n\nexport default function createPalette(palette) {\n var _palette$primary = palette.primary,\n primary = _palette$primary === void 0 ? {\n light: indigo[300],\n main: indigo[500],\n dark: indigo[700]\n } : _palette$primary,\n _palette$secondary = palette.secondary,\n secondary = _palette$secondary === void 0 ? {\n light: pink.A200,\n main: pink.A400,\n dark: pink.A700\n } : _palette$secondary,\n _palette$error = palette.error,\n error = _palette$error === void 0 ? {\n light: red[300],\n main: red[500],\n dark: red[700]\n } : _palette$error,\n _palette$warning = palette.warning,\n warning = _palette$warning === void 0 ? {\n light: orange[300],\n main: orange[500],\n dark: orange[700]\n } : _palette$warning,\n _palette$info = palette.info,\n info = _palette$info === void 0 ? {\n light: blue[300],\n main: blue[500],\n dark: blue[700]\n } : _palette$info,\n _palette$success = palette.success,\n success = _palette$success === void 0 ? {\n light: green[300],\n main: green[500],\n dark: green[700]\n } : _palette$success,\n _palette$type = palette.type,\n type = _palette$type === void 0 ? 'light' : _palette$type,\n _palette$contrastThre = palette.contrastThreshold,\n contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,\n _palette$tonalOffset = palette.tonalOffset,\n tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,\n other = _objectWithoutProperties(palette, [\"primary\", \"secondary\", \"error\", \"warning\", \"info\", \"success\", \"type\", \"contrastThreshold\", \"tonalOffset\"]); // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n\n\n function getContrastText(background) {\n var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n\n if (process.env.NODE_ENV !== 'production') {\n var contrast = getContrastRatio(background, contrastText);\n\n if (contrast < 3) {\n 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'));\n }\n }\n\n return contrastText;\n }\n\n var augmentColor = function augmentColor(color) {\n var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;\n color = _extends({}, color);\n\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n\n if (!color.main) {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"The color object needs to have a `main` property or a `\".concat(mainShade, \"` property.\")].join('\\n'));\n }\n\n if (typeof color.main !== 'string') {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"`color.main` should be a string, but `\".concat(JSON.stringify(color.main), \"` was provided instead.\"), '', 'Did you intend to use one of the following approaches?', '', 'import { green } from \"@material-ui/core/colors\";', '', 'const theme1 = createMuiTheme({ palette: {', ' primary: green,', '} });', '', 'const theme2 = createMuiTheme({ palette: {', ' primary: { main: green[500] },', '} });'].join('\\n'));\n }\n\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n\n return color;\n };\n\n var types = {\n dark: dark,\n light: light\n };\n\n if (process.env.NODE_ENV !== 'production') {\n if (!types[type]) {\n console.error(\"Material-UI: The palette type `\".concat(type, \"` is not supported.\"));\n }\n }\n\n var paletteOutput = deepmerge(_extends({\n // A collection of common colors.\n common: common,\n // The palette type, can be light or dark.\n type: type,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor(primary),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor(secondary, 'A400', 'A200', 'A700'),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor(error),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor(warning),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor(info),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor(success),\n // The grey colors.\n grey: grey,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold: contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText: getContrastText,\n // Generate a rich color object.\n augmentColor: augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset: tonalOffset\n }, types[type]), other);\n return paletteOutput;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport { deepmerge } from '@material-ui/utils';\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nvar caseAllCaps = {\n textTransform: 'uppercase'\n};\nvar defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n/**\n * @see @link{https://material.io/design/typography/the-type-system.html}\n * @see @link{https://material.io/design/typography/understanding-typography.html}\n */\n\nexport default function createTypography(palette, typography) {\n var _ref = typeof typography === 'function' ? typography(palette) : typography,\n _ref$fontFamily = _ref.fontFamily,\n fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,\n _ref$fontWeightLight = _ref.fontWeightLight,\n fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,\n _ref$fontWeightRegula = _ref.fontWeightRegular,\n fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,\n _ref$fontWeightMedium = _ref.fontWeightMedium,\n fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,\n _ref$fontWeightBold = _ref.fontWeightBold,\n fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold,\n _ref$htmlFontSize = _ref.htmlFontSize,\n htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,\n allVariants = _ref.allVariants,\n pxToRem2 = _ref.pxToRem,\n other = _objectWithoutProperties(_ref, [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('Material-UI: `fontSize` is required to be a number.');\n }\n\n if (typeof htmlFontSize !== 'number') {\n console.error('Material-UI: `htmlFontSize` is required to be a number.');\n }\n }\n\n var coef = fontSize / 14;\n\n var pxToRem = pxToRem2 || function (size) {\n return \"\".concat(size / htmlFontSize * coef, \"rem\");\n };\n\n var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {\n return _extends(_extends(_extends({\n fontFamily: fontFamily,\n fontWeight: fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight: lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: \"\".concat(round(letterSpacing / size), \"em\")\n } : {}), casing), allVariants);\n };\n\n var variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)\n };\n return deepmerge(_extends({\n htmlFontSize: htmlFontSize,\n pxToRem: pxToRem,\n round: round,\n // TODO v5: remove\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeightLight: fontWeightLight,\n fontWeightRegular: fontWeightRegular,\n fontWeightMedium: fontWeightMedium,\n fontWeightBold: fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n\n });\n}","var shadowKeyUmbraOpacity = 0.2;\nvar shadowKeyPenumbraOpacity = 0.14;\nvar shadowAmbientShadowOpacity = 0.12;\n\nfunction createShadow() {\n 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(',');\n} // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\n\n\nvar 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)];\nexport default shadows;","var shape = {\n borderRadius: 4\n};\nexport default shape;","import { createUnarySpacing } from '@material-ui/system';\nvar warnOnce;\nexport default function createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.\n // Smaller components, such as icons and type, can align to a 4dp grid.\n // https://material.io/design/layout/understanding-layout.html#usage\n\n\n var transform = createUnarySpacing({\n spacing: spacingInput\n });\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (argument) {\n if (typeof argument === 'string') {\n return argument;\n }\n\n var output = transform(argument);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n 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'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport { deepmerge } from '@material-ui/utils';\nimport createBreakpoints from './createBreakpoints';\nimport createMixins from './createMixins';\nimport createPalette from './createPalette';\nimport createTypography from './createTypography';\nimport shadows from './shadows';\nimport shape from './shape';\nimport createSpacing from './createSpacing';\nimport transitions from './transitions';\nimport zIndex from './zIndex';\n\nfunction createMuiTheme() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options$breakpoints = options.breakpoints,\n breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,\n _options$mixins = options.mixins,\n mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,\n _options$palette = options.palette,\n paletteInput = _options$palette === void 0 ? {} : _options$palette,\n spacingInput = options.spacing,\n _options$typography = options.typography,\n typographyInput = _options$typography === void 0 ? {} : _options$typography,\n other = _objectWithoutProperties(options, [\"breakpoints\", \"mixins\", \"palette\", \"spacing\", \"typography\"]);\n\n var palette = createPalette(paletteInput);\n var breakpoints = createBreakpoints(breakpointsInput);\n var spacing = createSpacing(spacingInput);\n var muiTheme = deepmerge({\n breakpoints: breakpoints,\n direction: 'ltr',\n mixins: createMixins(breakpoints, spacing, mixinsInput),\n overrides: {},\n // Inject custom styles\n palette: palette,\n props: {},\n // Provide default props\n shadows: shadows,\n typography: createTypography(palette, typographyInput),\n spacing: spacing,\n shape: shape,\n transitions: transitions,\n zIndex: zIndex\n }, other);\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n muiTheme = args.reduce(function (acc, argument) {\n return deepmerge(acc, argument);\n }, muiTheme);\n\n if (process.env.NODE_ENV !== 'production') {\n var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];\n\n var traverse = function traverse(node, parentKey) {\n var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax\n\n for (key in node) {\n var child = node[key];\n\n if (depth === 1) {\n if (key.indexOf('Mui') === 0 && child) {\n traverse(child, key, depth + 1);\n }\n } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n 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({\n root: _defineProperty({}, \"&$\".concat(key), child)\n }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\\n'));\n } // Remove the style to prevent global conflicts.\n\n\n node[key] = {};\n }\n }\n };\n\n traverse(muiTheme.overrides);\n }\n\n return muiTheme;\n}\n\nexport default createMuiTheme;","import createMuiTheme from './createMuiTheme';\nvar defaultTheme = createMuiTheme();\nexport default defaultTheme;","export default {\n disabled: false\n};","import React from 'react';\nexport default React.createContext(null);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * \n * {state => (\n * \n * I'm a fade Transition!\n * \n * )}\n * \n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * \n * \n * {state => (\n * // ...\n * )}\n * \n * setInProp(true)}>\n * Click to Enter\n * \n * \n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n var node = this.props.findDOMNode(this);\n\n if (nextStatus === ENTERING) {\n this.performEnter(node, mounting);\n } else {\n this.performExit(node);\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(node, mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node);\n });\n return;\n }\n\n this.props.onEnter(node, appearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(node, appearing);\n\n _this2.onTransitionEnd(node, enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(node, appearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit(node) {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts(); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n return;\n }\n\n this.props.onExit(node);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(node);\n\n _this3.onTransitionEnd(node, timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(node);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(node, timeout, handler) {\n this.setNextCallback(handler);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n this.props.addEndListener(node, this.nextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\"]); // filter props for Transtition\n\n\n delete childProps.in;\n delete childProps.mountOnEnter;\n delete childProps.unmountOnExit;\n delete childProps.appear;\n delete childProps.enter;\n delete childProps.exit;\n delete childProps.findDOMNode;\n delete childProps.timeout;\n delete childProps.addEndListener;\n delete childProps.onEnter;\n delete childProps.onEntering;\n delete childProps.onEntered;\n delete childProps.onExit;\n delete childProps.onExiting;\n delete childProps.onExited;\n\n if (typeof children === 'function') {\n // allows for nested Transitions\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, children(status, childProps));\n }\n\n var child = React.Children.only(children);\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, React.cloneElement(child, childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * \n * {state => (\n * \n * )}\n * \n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The function to find the rendered DOM node that is passed to the transition callbacks.\n *\n * By default ReactDOM.findDOMNode is used. For `React.StrictMode` compatiblity\n * another function must be provided.\n */\n findDOMNode: PropTypes.func,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. **Note:** Timeouts are still used as a fallback if provided.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n findDOMNode: ReactDOM.findDOMNode,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Collapse from './Collapse';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeCollapse = React.forwardRef(function StrictModeCollapse(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Collapse, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeCollapse;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Fade from './Fade';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeFade = React.forwardRef(function StrictModeFade(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Fade, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeFade;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Grow from './Grow';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeGrow = React.forwardRef(function StrictModeGrow(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Grow, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeGrow;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Slide from './Slide';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeSlide = React.forwardRef(function StrictModeSlide(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Slide, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeSlide;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport { duration } from '../styles/transitions';\nimport useTheme from '../styles/useTheme';\nimport { reflow, getTransitionProps } from '../transitions/utils';\nimport useForkRef from '../utils/useForkRef';\nvar styles = {\n entering: {\n transform: 'none'\n },\n entered: {\n transform: 'none'\n }\n};\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Zoom transition can be used for the floating variant of the\n * [Button](/components/buttons/#floating-action-buttons) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Zoom = React.forwardRef(function Zoom(props, ref) {\n var children = props.children,\n inProp = props.in,\n onEnter = props.onEnter,\n onExit = props.onExit,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"in\", \"onEnter\", \"onExit\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var handleRef = useForkRef(children.ref, ref);\n\n var handleEnter = function handleEnter(node, isAppearing) {\n reflow(node); // So the animation always start from the start.\n\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('transform', transitionProps);\n node.style.transition = theme.transitions.create('transform', transitionProps);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n };\n\n var handleExit = function handleExit(node) {\n var transitionProps = getTransitionProps({\n style: style,\n timeout: timeout\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('transform', transitionProps);\n node.style.transition = theme.transitions.create('transform', transitionProps);\n\n if (onExit) {\n onExit(node);\n }\n };\n\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: inProp,\n onEnter: handleEnter,\n onExit: handleExit,\n timeout: timeout\n }, other), function (state, childProps) {\n return React.cloneElement(children, _extends({\n style: _extends(_extends(_extends({\n transform: 'scale(0)',\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, styles[state]), style), children.props.style),\n ref: handleRef\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Zoom.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: PropTypes.element,\n\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Zoom;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { Transition } from '@material-ui/react-transition-group';\nimport { useForkRef } from '../utils';\nimport Zoom from './Zoom';\n/**\n * @ignore - internal component.\n */\n\nvar StrictModeZoom = React.forwardRef(function StrictModeZoom(props, forwardedRef) {\n var domRef = React.useRef(null);\n var ref = useForkRef(domRef, forwardedRef);\n return /*#__PURE__*/React.createElement(Zoom, _extends({}, props, {\n findDOMNode: function findDOMNode() {\n return domRef.current;\n },\n ref: ref,\n TransitionComponent: Transition\n }));\n});\nexport default StrictModeZoom;","import { deepmerge } from '@material-ui/utils';\nimport createMuiTheme from './createMuiTheme';\nimport { unstable_StrictModeCollapse as StrictModeCollapse } from '../Collapse';\nimport { unstable_StrictModeFade as StrictModeFade } from '../Fade';\nimport { unstable_StrictModeGrow as StrictModeGrow } from '../Grow';\nimport { unstable_StrictModeSlide as StrictModeSlide } from '../Slide';\nimport { unstable_StrictModeZoom as StrictModeZoom } from '../Zoom';\nexport default function createMuiStrictModeTheme(options) {\n return createMuiTheme(deepmerge({\n props: {\n // Collapse\n MuiExpansionPanel: {\n TransitionComponent: StrictModeCollapse\n },\n MuiStepContent: {\n TransitionComponent: StrictModeCollapse\n },\n // Fade\n MuiBackdrop: {\n TransitionComponent: StrictModeFade\n },\n MuiDialog: {\n TransitionComponent: StrictModeFade\n },\n // Grow\n MuiPopover: {\n TransitionComponent: StrictModeGrow\n },\n MuiSnackbar: {\n TransitionComponent: StrictModeGrow\n },\n MuiTooltip: {\n TransitionComponent: StrictModeGrow\n },\n // Slide\n MuiDrawer: {\n TransitionComponent: StrictModeSlide\n },\n // Zoom\n MuiSpeedDial: {\n TransitionComponent: StrictModeZoom\n }\n }\n }, options));\n}","import { createStyles as createStylesOriginal } from '@material-ui/styles'; // let warnOnce = false;\n// To remove in v5\n\nexport default function createStyles(styles) {\n // warning(\n // warnOnce,\n // [\n // 'Material-UI: createStyles from @material-ui/core/styles is deprecated.',\n // 'Please use @material-ui/styles/createStyles',\n // ].join('\\n'),\n // );\n // warnOnce = true;\n return createStylesOriginal(styles);\n}","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nexport function isUnitless(value) {\n return String(parseFloat(value)).length === String(value).length;\n} // Ported from Compass\n// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss\n// Emulate the sass function \"unit\"\n\nexport function getUnit(input) {\n return String(input).match(/[\\d.\\-+]*\\s*(.*)/)[1] || '';\n} // Emulate the sass function \"unitless\"\n\nexport function toUnitless(length) {\n return parseFloat(length);\n} // Convert any CSS or value to any another.\n// From https://github.com/KyleAMathews/convert-css-length\n\nexport function convertLength(baseFontSize) {\n return function (length, toUnit) {\n var fromUnit = getUnit(length); // Optimize for cases where `from` and `to` units are accidentally the same.\n\n if (fromUnit === toUnit) {\n return length;\n } // Convert input length to pixels.\n\n\n var pxLength = toUnitless(length);\n\n if (fromUnit !== 'px') {\n if (fromUnit === 'em') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n } else if (fromUnit === 'rem') {\n pxLength = toUnitless(length) * toUnitless(baseFontSize);\n return length;\n }\n } // Convert length in pixels to the output unit\n\n\n var outputLength = pxLength;\n\n if (toUnit !== 'px') {\n if (toUnit === 'em') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else if (toUnit === 'rem') {\n outputLength = pxLength / toUnitless(baseFontSize);\n } else {\n return length;\n }\n }\n\n return parseFloat(outputLength.toFixed(5)) + toUnit;\n };\n}\nexport function alignProperty(_ref) {\n var size = _ref.size,\n grid = _ref.grid;\n var sizeBelow = size - size % grid;\n var sizeAbove = sizeBelow + grid;\n return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove;\n} // fontGrid finds a minimal grid (in rem) for the fontSize values so that the\n// lineHeight falls under a x pixels grid, 4px in the case of Material Design,\n// without changing the relative line height\n\nexport function fontGrid(_ref2) {\n var lineHeight = _ref2.lineHeight,\n pixels = _ref2.pixels,\n htmlFontSize = _ref2.htmlFontSize;\n return pixels / (lineHeight * htmlFontSize);\n}\n/**\n * generate a responsive version of a given CSS property\n * @example\n * responsiveProperty({\n * cssProperty: 'fontSize',\n * min: 15,\n * max: 20,\n * unit: 'px',\n * breakpoints: [300, 600],\n * })\n *\n * // this returns\n *\n * {\n * fontSize: '15px',\n * '@media (min-width:300px)': {\n * fontSize: '17.5px',\n * },\n * '@media (min-width:600px)': {\n * fontSize: '20px',\n * },\n * }\n *\n * @param {Object} params\n * @param {string} params.cssProperty - The CSS property to be made responsive\n * @param {number} params.min - The smallest value of the CSS property\n * @param {number} params.max - The largest value of the CSS property\n * @param {string} [params.unit] - The unit to be used for the CSS property\n * @param {Array.number} [params.breakpoints] - An array of breakpoints\n * @param {number} [params.alignStep] - Round scaled value to fall under this grid\n * @returns {Object} responsive styles for {params.cssProperty}\n */\n\nexport function responsiveProperty(_ref3) {\n var cssProperty = _ref3.cssProperty,\n min = _ref3.min,\n max = _ref3.max,\n _ref3$unit = _ref3.unit,\n unit = _ref3$unit === void 0 ? 'rem' : _ref3$unit,\n _ref3$breakpoints = _ref3.breakpoints,\n breakpoints = _ref3$breakpoints === void 0 ? [600, 960, 1280] : _ref3$breakpoints,\n _ref3$transform = _ref3.transform,\n transform = _ref3$transform === void 0 ? null : _ref3$transform;\n\n var output = _defineProperty({}, cssProperty, \"\".concat(min).concat(unit));\n\n var factor = (max - min) / breakpoints[breakpoints.length - 1];\n breakpoints.forEach(function (breakpoint) {\n var value = min + factor * breakpoint;\n\n if (transform !== null) {\n value = transform(value);\n }\n\n output[\"@media (min-width:\".concat(breakpoint, \"px)\")] = _defineProperty({}, cssProperty, \"\".concat(Math.round(value * 10000) / 10000).concat(unit));\n });\n return output;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { isUnitless, convertLength, responsiveProperty, alignProperty, fontGrid } from './cssUtils';\nexport default function responsiveFontSizes(themeInput) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _options$breakpoints = options.breakpoints,\n breakpoints = _options$breakpoints === void 0 ? ['sm', 'md', 'lg'] : _options$breakpoints,\n _options$disableAlign = options.disableAlign,\n disableAlign = _options$disableAlign === void 0 ? false : _options$disableAlign,\n _options$factor = options.factor,\n factor = _options$factor === void 0 ? 2 : _options$factor,\n _options$variants = options.variants,\n variants = _options$variants === void 0 ? ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'caption', 'button', 'overline'] : _options$variants;\n\n var theme = _extends({}, themeInput);\n\n theme.typography = _extends({}, theme.typography);\n var typography = theme.typography; // Convert between css lengths e.g. em->px or px->rem\n // Set the baseFontSize for your project. Defaults to 16px (also the browser default).\n\n var convert = convertLength(typography.htmlFontSize);\n var breakpointValues = breakpoints.map(function (x) {\n return theme.breakpoints.values[x];\n });\n variants.forEach(function (variant) {\n var style = typography[variant];\n var remFontSize = parseFloat(convert(style.fontSize, 'rem'));\n\n if (remFontSize <= 1) {\n return;\n }\n\n var maxFontSize = remFontSize;\n var minFontSize = 1 + (maxFontSize - 1) / factor;\n var lineHeight = style.lineHeight;\n\n if (!isUnitless(lineHeight) && !disableAlign) {\n throw new Error(['Material-UI: Unsupported non-unitless line height with grid alignment.', 'Use unitless line heights instead.'].join('\\n'));\n }\n\n if (!isUnitless(lineHeight)) {\n // make it unitless\n lineHeight = parseFloat(convert(lineHeight, 'rem')) / parseFloat(remFontSize);\n }\n\n var transform = null;\n\n if (!disableAlign) {\n transform = function transform(value) {\n return alignProperty({\n size: value,\n grid: fontGrid({\n pixels: 4,\n lineHeight: lineHeight,\n htmlFontSize: typography.htmlFontSize\n })\n });\n };\n }\n\n typography[variant] = _extends(_extends({}, style), responsiveProperty({\n cssProperty: 'fontSize',\n min: minFontSize,\n max: maxFontSize,\n unit: 'rem',\n breakpoints: breakpointValues,\n transform: transform\n }));\n });\n return theme;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { styled as styledWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nvar styled = function styled(Component) {\n var componentCreator = styledWithoutDefault(Component);\n return function (style, options) {\n return componentCreator(style, _extends({\n defaultTheme: defaultTheme\n }, options));\n };\n};\n\nexport default styled;","import { withThemeCreator } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\nvar withTheme = withThemeCreator({\n defaultTheme: defaultTheme\n});\nexport default withTheme;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { makeStyles as makeStylesWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nfunction makeStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return makeStylesWithoutDefault(stylesOrCreator, _extends({\n defaultTheme: defaultTheme\n }, options));\n}\n\nexport default makeStyles;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport var easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n}; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\n\nexport var duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\n\nfunction formatMs(milliseconds) {\n return \"\".concat(Math.round(milliseconds), \"ms\");\n}\n/**\n * @param {string|Array} props\n * @param {object} param\n * @param {string} param.prop\n * @param {number} param.duration\n * @param {string} param.easing\n * @param {number} param.delay\n */\n\n\nexport default {\n easing: easing,\n duration: duration,\n create: function create() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var _options$duration = options.duration,\n durationOption = _options$duration === void 0 ? duration.standard : _options$duration,\n _options$easing = options.easing,\n easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,\n _options$delay = options.delay,\n delay = _options$delay === void 0 ? 0 : _options$delay,\n other = _objectWithoutProperties(options, [\"duration\", \"easing\", \"delay\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n var isString = function isString(value) {\n return typeof value === 'string';\n };\n\n var isNumber = function isNumber(value) {\n return !isNaN(parseFloat(value));\n };\n\n if (!isString(props) && !Array.isArray(props)) {\n console.error('Material-UI: Argument \"props\" must be a string or Array.');\n }\n\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(\"Material-UI: Argument \\\"duration\\\" must be a number or a string but found \".concat(durationOption, \".\"));\n }\n\n if (!isString(easingOption)) {\n console.error('Material-UI: Argument \"easing\" must be a string.');\n }\n\n if (!isNumber(delay) && !isString(delay)) {\n console.error('Material-UI: Argument \"delay\" must be a number or a string.');\n }\n\n if (Object.keys(other).length !== 0) {\n console.error(\"Material-UI: Unrecognized argument(s) [\".concat(Object.keys(other).join(','), \"].\"));\n }\n }\n\n return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {\n return \"\".concat(animatedProp, \" \").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), \" \").concat(easingOption, \" \").concat(typeof delay === 'string' ? delay : formatMs(delay));\n }).join(',');\n },\n getAutoHeightDuration: function getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n\n 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\n\n return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);\n }\n};","import { useTheme as useThemeWithoutDefault } from '@material-ui/styles';\nimport React from 'react';\nimport defaultTheme from './defaultTheme';\nexport default function useTheme() {\n var theme = useThemeWithoutDefault() || defaultTheme;\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { withStyles as withStylesWithoutDefault } from '@material-ui/styles';\nimport defaultTheme from './defaultTheme';\n\nfunction withStyles(stylesOrCreator, options) {\n return withStylesWithoutDefault(stylesOrCreator, _extends({\n defaultTheme: defaultTheme\n }, options));\n}\n\nexport default withStyles;","// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nvar zIndex = {\n mobileStepper: 1000,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;","export var reflow = function reflow(node) {\n return node.scrollTop;\n};\nexport function getTransitionProps(props, options) {\n var timeout = props.timeout,\n _props$style = props.style,\n style = _props$style === void 0 ? {} : _props$style;\n return {\n duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode] || 0,\n delay: style.transitionDelay\n };\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport { getThemeProps, useTheme } from '@material-ui/styles';\nexport default function useMediaQuery(queryInput) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var theme = useTheme();\n var props = getThemeProps({\n theme: theme,\n name: 'MuiUseMediaQuery',\n props: {}\n });\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof queryInput === 'function' && theme === null) {\n console.error(['Material-UI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n\n var query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;\n query = query.replace(/^@media( ?)/m, ''); // Wait for jsdom to support the match media feature.\n // All the browsers Material-UI support have this built-in.\n // This defensive check is here for simplicity.\n // Most of the time, the match media logic isn't central to people tests.\n\n var supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';\n\n var _props$options = _extends(_extends({}, props), options),\n _props$options$defaul = _props$options.defaultMatches,\n defaultMatches = _props$options$defaul === void 0 ? false : _props$options$defaul,\n _props$options$matchM = _props$options.matchMedia,\n matchMedia = _props$options$matchM === void 0 ? supportMatchMedia ? window.matchMedia : null : _props$options$matchM,\n _props$options$noSsr = _props$options.noSsr,\n noSsr = _props$options$noSsr === void 0 ? false : _props$options$noSsr,\n _props$options$ssrMat = _props$options.ssrMatchMedia,\n ssrMatchMedia = _props$options$ssrMat === void 0 ? null : _props$options$ssrMat;\n\n var _React$useState = React.useState(function () {\n if (noSsr && supportMatchMedia) {\n return matchMedia(query).matches;\n }\n\n if (ssrMatchMedia) {\n return ssrMatchMedia(query).matches;\n } // Once the component is mounted, we rely on the\n // event listeners to return the correct matches value.\n\n\n return defaultMatches;\n }),\n match = _React$useState[0],\n setMatch = _React$useState[1];\n\n React.useEffect(function () {\n var active = true;\n\n if (!supportMatchMedia) {\n return undefined;\n }\n\n var queryList = matchMedia(query);\n\n var updateMatch = function updateMatch() {\n // Workaround Safari wrong implementation of matchMedia\n // TODO can we remove it?\n // https://github.com/mui-org/material-ui/pull/17315#issuecomment-528286677\n if (active) {\n setMatch(queryList.matches);\n }\n };\n\n updateMatch();\n queryList.addListener(updateMatch);\n return function () {\n active = false;\n queryList.removeListener(updateMatch);\n };\n }, [query, matchMedia, supportMatchMedia]);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue({\n query: query,\n match: match\n });\n }\n\n return match;\n}","// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.\n//\n// A strict capitalization should uppercase the first letter of each word a the sentence.\n// We only handle the first word.\nexport default function capitalize(string) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof string !== 'string') {\n throw new Error('Material-UI: capitalize(string) expects a string argument.');\n }\n }\n\n return string.charAt(0).toUpperCase() + string.slice(1);\n}","/**\n * Safe chained function\n *\n * Will only create a new function if needed,\n * otherwise will pass back existing functions or null.\n *\n * @param {function} functions to chain\n * @returns {function|null}\n */\nexport default function createChainedFunction() {\n for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {\n funcs[_key] = arguments[_key];\n }\n\n return funcs.reduce(function (acc, func) {\n if (func == null) {\n return acc;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof func !== 'function') {\n console.error('Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.');\n }\n }\n\n return function chainedFunction() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n acc.apply(this, args);\n func.apply(this, args);\n };\n }, function () {});\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport SvgIcon from '../SvgIcon';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function createSvgIcon(path, displayName) {\n var Component = React.memo(React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgIcon, _extends({\n ref: ref\n }, props), path);\n }));\n\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = SvgIcon.muiName;\n return Component;\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func) {\n var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 166;\n var timeout;\n\n function debounced() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // eslint-disable-next-line consistent-this\n var that = this;\n\n var later = function later() {\n func.apply(that, args);\n };\n\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n\n debounced.clear = function () {\n clearTimeout(timeout);\n };\n\n return debounced;\n}","// A change of the browser zoom change the scrollbar size.\n// Credit https://github.com/twbs/bootstrap/blob/3ffe3a5d82f6f561b82ff78d82b32a7d14aed558/js/src/modal.js#L512-L519\nexport default function getScrollbarSize() {\n var scrollDiv = document.createElement('div');\n scrollDiv.style.width = '99px';\n scrollDiv.style.height = '99px';\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.overflow = 'scroll';\n document.body.appendChild(scrollDiv);\n var scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n return scrollbarSize;\n}","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return React.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from './ownerDocument';\nexport default function ownerWindow(node) {\n var doc = ownerDocument(node);\n return doc.defaultView || window;\n}","// TODO v5: consider to make it private\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","import * as React from 'react';\n/**\n * Private module reserved for @material-ui/x packages.\n */\n\nexport default function useId(idOverride) {\n var _React$useState = React.useState(idOverride),\n defaultId = _React$useState[0],\n setDefaultId = _React$useState[1];\n\n var id = idOverride || defaultId;\n React.useEffect(function () {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the random value for client-side rendering only.\n // We can't use it server-side.\n setDefaultId(\"mui-\".concat(Math.round(Math.random() * 1e5)));\n }\n }, [defaultId]);\n return id;\n}","/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport default function useControlled(_ref) {\n var controlled = _ref.controlled,\n defaultProp = _ref.default,\n name = _ref.name,\n _ref$state = _ref.state,\n state = _ref$state === void 0 ? 'value' : _ref$state;\n\n var _React$useRef = React.useRef(controlled !== undefined),\n isControlled = _React$useRef.current;\n\n var _React$useState = React.useState(defaultProp),\n valueState = _React$useState[0],\n setValue = _React$useState[1];\n\n var value = isControlled ? controlled : valueState;\n\n if (process.env.NODE_ENV !== 'production') {\n React.useEffect(function () {\n if (isControlled !== (controlled !== undefined)) {\n console.error([\"Material-UI: A component is changing the \".concat(isControlled ? '' : 'un', \"controlled \").concat(state, \" state of \").concat(name, \" to be \").concat(isControlled ? 'un' : '', \"controlled.\"), 'Elements should not switch from uncontrolled to controlled (or vice versa).', \"Decide between using a controlled or uncontrolled \".concat(name, \" \") + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render, it's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n }\n }, [controlled]);\n\n var _React$useRef2 = React.useRef(defaultProp),\n defaultValue = _React$useRef2.current;\n\n React.useEffect(function () {\n if (defaultValue !== defaultProp) {\n console.error([\"Material-UI: A component is changing the default \".concat(state, \" state of an uncontrolled \").concat(name, \" after being initialized. \") + \"To suppress this warning opt to use a controlled \".concat(name, \".\")].join('\\n'));\n }\n }, [JSON.stringify(defaultProp)]);\n }\n\n var setValueIfUncontrolled = React.useCallback(function (newValue) {\n if (!isControlled) {\n setValue(newValue);\n }\n }, []);\n return [value, setValueIfUncontrolled];\n}","import * as React from 'react';\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\n/**\n * https://github.com/facebook/react/issues/14099#issuecomment-440013892\n *\n * @param {function} fn\n */\n\nexport default function useEventCallback(fn) {\n var ref = React.useRef(fn);\n useEnhancedEffect(function () {\n ref.current = fn;\n });\n return React.useCallback(function () {\n return (0, ref.current).apply(void 0, arguments);\n }, []);\n}","import * as React from 'react';\nimport setRef from './setRef';\nexport default function useForkRef(refA, refB) {\n /**\n * This will create a new function if the ref props change and are defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior\n */\n return React.useMemo(function () {\n if (refA == null && refB == null) {\n return null;\n }\n\n return function (refValue) {\n setRef(refA, refValue);\n setRef(refB, refValue);\n };\n }, [refA, refB]);\n}","// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nvar hadKeyboardEvent = true;\nvar hadFocusVisibleRecently = false;\nvar hadFocusVisibleRecentlyTimeout = null;\nvar inputTypesWhitelist = {\n text: true,\n search: true,\n url: true,\n tel: true,\n email: true,\n password: true,\n number: true,\n date: true,\n month: true,\n week: true,\n time: true,\n datetime: true,\n 'datetime-local': true\n};\n/**\n * Computes whether the given element should automatically trigger the\n * `focus-visible` class being added, i.e. whether it should always match\n * `:focus-visible` when focused.\n * @param {Element} node\n * @return {boolean}\n */\n\nfunction focusTriggersKeyboardModality(node) {\n var type = node.type,\n tagName = node.tagName;\n\n if (tagName === 'INPUT' && inputTypesWhitelist[type] && !node.readOnly) {\n return true;\n }\n\n if (tagName === 'TEXTAREA' && !node.readOnly) {\n return true;\n }\n\n if (node.isContentEditable) {\n return true;\n }\n\n return false;\n}\n/**\n * Keep track of our keyboard modality state with `hadKeyboardEvent`.\n * If the most recent user interaction was via the keyboard;\n * and the key press did not include a meta, alt/option, or control key;\n * then the modality is keyboard. Otherwise, the modality is not keyboard.\n * @param {KeyboardEvent} event\n */\n\n\nfunction handleKeyDown(event) {\n if (event.metaKey || event.altKey || event.ctrlKey) {\n return;\n }\n\n hadKeyboardEvent = true;\n}\n/**\n * If at any point a user clicks with a pointing device, ensure that we change\n * the modality away from keyboard.\n * This avoids the situation where a user presses a key on an already focused\n * element, and then clicks on a different element, focusing it with a\n * pointing device, while we still think we're in keyboard modality.\n */\n\n\nfunction handlePointerDown() {\n hadKeyboardEvent = false;\n}\n\nfunction handleVisibilityChange() {\n if (this.visibilityState === 'hidden') {\n // If the tab becomes active again, the browser will handle calling focus\n // on the element (Safari actually calls it twice).\n // If this tab change caused a blur on an element with focus-visible,\n // re-apply the class when the user switches back to the tab.\n if (hadFocusVisibleRecently) {\n hadKeyboardEvent = true;\n }\n }\n}\n\nfunction prepare(doc) {\n doc.addEventListener('keydown', handleKeyDown, true);\n doc.addEventListener('mousedown', handlePointerDown, true);\n doc.addEventListener('pointerdown', handlePointerDown, true);\n doc.addEventListener('touchstart', handlePointerDown, true);\n doc.addEventListener('visibilitychange', handleVisibilityChange, true);\n}\n\nexport function teardown(doc) {\n doc.removeEventListener('keydown', handleKeyDown, true);\n doc.removeEventListener('mousedown', handlePointerDown, true);\n doc.removeEventListener('pointerdown', handlePointerDown, true);\n doc.removeEventListener('touchstart', handlePointerDown, true);\n doc.removeEventListener('visibilitychange', handleVisibilityChange, true);\n}\n\nfunction isFocusVisible(event) {\n var target = event.target;\n\n try {\n return target.matches(':focus-visible');\n } catch (error) {} // browsers not implementing :focus-visible will throw a SyntaxError\n // we use our own heuristic for those browsers\n // rethrow might be better if it's not the expected error but do we really\n // want to crash if focus-visible malfunctioned?\n // no need for validFocusTarget check. the user does that by attaching it to\n // focusable events only\n\n\n return hadKeyboardEvent || focusTriggersKeyboardModality(target);\n}\n/**\n * Should be called if a blur event is fired on a focus-visible element\n */\n\n\nfunction handleBlurVisible() {\n // To detect a tab/window switch, we look for a blur event followed\n // rapidly by a visibility change.\n // If we don't see a visibility change within 100ms, it's probably a\n // regular focus change.\n hadFocusVisibleRecently = true;\n window.clearTimeout(hadFocusVisibleRecentlyTimeout);\n hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {\n hadFocusVisibleRecently = false;\n }, 100);\n}\n\nexport default function useIsFocusVisible() {\n var ref = React.useCallback(function (instance) {\n var node = ReactDOM.findDOMNode(instance);\n\n if (node != null) {\n prepare(node.ownerDocument);\n }\n }, []);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(isFocusVisible);\n }\n\n return {\n isFocusVisible: isFocusVisible,\n onBlurVisible: handleBlurVisible,\n ref: ref\n };\n}","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { getDisplayName } from '@material-ui/utils';\nimport { getThemeProps } from '@material-ui/styles';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport useTheme from '../styles/useTheme';\nimport { keys as breakpointKeys } from '../styles/createBreakpoints';\nimport useMediaQuery from '../useMediaQuery'; // By default, returns true if screen width is the same or greater than the given breakpoint.\n\nexport var isWidthUp = function isWidthUp(breakpoint, width) {\n var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (inclusive) {\n return breakpointKeys.indexOf(breakpoint) <= breakpointKeys.indexOf(width);\n }\n\n return breakpointKeys.indexOf(breakpoint) < breakpointKeys.indexOf(width);\n}; // By default, returns true if screen width is the same or less than the given breakpoint.\n\nexport var isWidthDown = function isWidthDown(breakpoint, width) {\n var inclusive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n if (inclusive) {\n return breakpointKeys.indexOf(width) <= breakpointKeys.indexOf(breakpoint);\n }\n\n return breakpointKeys.indexOf(width) < breakpointKeys.indexOf(breakpoint);\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n\nvar withWidth = function withWidth() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return function (Component) {\n var _options$withTheme = options.withTheme,\n withThemeOption = _options$withTheme === void 0 ? false : _options$withTheme,\n _options$noSSR = options.noSSR,\n noSSR = _options$noSSR === void 0 ? false : _options$noSSR,\n initialWidthOption = options.initialWidth;\n\n function WithWidth(props) {\n var contextTheme = useTheme();\n var theme = props.theme || contextTheme;\n\n var _getThemeProps = getThemeProps({\n theme: theme,\n name: 'MuiWithWidth',\n props: _extends({}, props)\n }),\n initialWidth = _getThemeProps.initialWidth,\n width = _getThemeProps.width,\n other = _objectWithoutProperties(_getThemeProps, [\"initialWidth\", \"width\"]);\n\n var _React$useState = React.useState(false),\n mountedState = _React$useState[0],\n setMountedState = _React$useState[1];\n\n useEnhancedEffect(function () {\n setMountedState(true);\n }, []);\n /**\n * innerWidth |xs sm md lg xl\n * |-------|-------|-------|-------|------>\n * width | xs | sm | md | lg | xl\n */\n\n var keys = _toConsumableArray(theme.breakpoints.keys).reverse();\n\n var widthComputed = keys.reduce(function (output, key) {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n var matches = useMediaQuery(theme.breakpoints.up(key));\n return !output && matches ? key : output;\n }, null);\n\n var more = _extends(_extends({\n width: width || (mountedState || noSSR ? widthComputed : undefined) || initialWidth || initialWidthOption\n }, withThemeOption ? {\n theme: theme\n } : {}), other); // When rendering the component on the server,\n // we have no idea about the client browser screen width.\n // In order to prevent blinks and help the reconciliation of the React tree\n // we are not rendering the child component.\n //\n // An alternative is to use the `initialWidth` property.\n\n\n if (more.width === undefined) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(Component, more);\n }\n\n process.env.NODE_ENV !== \"production\" ? WithWidth.propTypes = {\n /**\n * As `window.innerWidth` is unavailable on the server,\n * we default to rendering an empty component during the first mount.\n * You might want to use an heuristic to approximate\n * the screen width of the client browser screen width.\n *\n * For instance, you could be using the user-agent or the client-hints.\n * https://caniuse.com/#search=client%20hint\n */\n initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),\n\n /**\n * @ignore\n */\n theme: PropTypes.object,\n\n /**\n * Bypass the width calculation logic.\n */\n width: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl'])\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithWidth.displayName = \"WithWidth(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithWidth, Component);\n return WithWidth;\n };\n};\n\nexport default withWidth;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"../../utils/createSvgIcon\"));\n\n/**\n * @ignore - internal component.\n */\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z\"\n}), 'CheckBox');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"../../utils/createSvgIcon\"));\n\n/**\n * @ignore - internal component.\n */\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\"\n}), 'CheckBoxOutlineBlank');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"../../utils/createSvgIcon\"));\n\n/**\n * @ignore - internal component.\n */\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z\"\n}), 'IndeterminateCheckBox');\n\nexports.default = _default;","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.hexToRgb = hexToRgb;\nexports.rgbToHex = rgbToHex;\nexports.hslToRgb = hslToRgb;\nexports.decomposeColor = decomposeColor;\nexports.recomposeColor = recomposeColor;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.emphasize = emphasize;\nexports.fade = fade;\nexports.darken = darken;\nexports.lighten = lighten;\n\n/* eslint-disable no-use-before-define */\n\n/**\n * Returns a number whose value is limited to the given range.\n *\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clamp(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(\"Material-UI: The value provided \".concat(value, \" is out of range [\").concat(min, \", \").concat(max, \"].\"));\n }\n }\n\n return Math.min(Math.max(min, value), max);\n}\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n *\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\n\n\nfunction hexToRgb(color) {\n color = color.substr(1);\n var re = new RegExp(\".{1,\".concat(color.length / 3, \"}\"), 'g');\n var colors = color.match(re);\n\n if (colors && colors[0].length === 1) {\n colors = colors.map(function (n) {\n return n + n;\n });\n }\n\n return colors ? \"rgb(\".concat(colors.map(function (n) {\n return parseInt(n, 16);\n }).join(', '), \")\") : '';\n}\n\nfunction intToHex(int) {\n var hex = int.toString(16);\n return hex.length === 1 ? \"0\".concat(hex) : hex;\n}\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n *\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\n\n\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n\n var _decomposeColor = decomposeColor(color),\n values = _decomposeColor.values;\n\n return \"#\".concat(values.map(function (n) {\n return intToHex(n);\n }).join(''));\n}\n/**\n * Converts a color from hsl format to rgb format.\n *\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\n\n\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n var _color = color,\n values = _color.values;\n var h = values[0];\n var s = values[1] / 100;\n var l = values[2] / 100;\n var a = s * Math.min(l, 1 - l);\n\n var f = function f(n) {\n var k = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (n + h / 30) % 12;\n return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n };\n\n var type = 'rgb';\n var rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n\n return recomposeColor({\n type: type,\n values: rgb\n });\n}\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\n\n\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n\n var marker = color.indexOf('(');\n var type = color.substring(0, marker);\n\n if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {\n throw new Error([\"Material-UI: Unsupported `\".concat(color, \"` color.\"), 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().'].join('\\n'));\n }\n\n var values = color.substring(marker + 1, color.length - 1).split(',');\n values = values.map(function (value) {\n return parseFloat(value);\n });\n return {\n type: type,\n values: values\n };\n}\n/**\n * Converts a color object with type and values to a string.\n *\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\n\n\nfunction recomposeColor(color) {\n var type = color.type;\n var values = color.values;\n\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map(function (n, i) {\n return i < 3 ? parseInt(n, 10) : n;\n });\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = \"\".concat(values[1], \"%\");\n values[2] = \"\".concat(values[2], \"%\");\n }\n\n return \"\".concat(type, \"(\").concat(values.join(', '), \")\");\n}\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\n\n\nfunction getContrastRatio(foreground, background) {\n var lumA = getLuminance(foreground);\n var lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\n\n\nfunction getLuminance(color) {\n color = decomposeColor(color);\n var rgb = color.type === 'hsl' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(function (val) {\n val /= 255; // normalized\n\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }); // Truncate at 3 digits\n\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction emphasize(color) {\n var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\n/**\n * Set the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} value - value to set the alpha channel to in the range 0 -1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction fade(color, value) {\n color = decomposeColor(color);\n value = clamp(value);\n\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n\n color.values[3] = value;\n return recomposeColor(color);\n}\n/**\n * Darkens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n\n return recomposeColor(color);\n}\n/**\n * Lightens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n }\n\n return recomposeColor(color);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createBreakpoints;\nexports.keys = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nvar keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.\n\nexports.keys = keys;\n\nfunction createBreakpoints(breakpoints) {\n var _breakpoints$values = breakpoints.values,\n values = _breakpoints$values === void 0 ? {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n } : _breakpoints$values,\n _breakpoints$unit = breakpoints.unit,\n unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,\n _breakpoints$step = breakpoints.step,\n step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,\n other = (0, _objectWithoutProperties2.default)(breakpoints, [\"values\", \"unit\", \"step\"]);\n\n function up(key) {\n var value = typeof values[key] === 'number' ? values[key] : key;\n return \"@media (min-width:\".concat(value).concat(unit, \")\");\n }\n\n function down(key) {\n var endIndex = keys.indexOf(key) + 1;\n var upperbound = values[keys[endIndex]];\n\n if (endIndex === keys.length) {\n // xl down applies to all sizes\n return up('xs');\n }\n\n var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;\n return \"@media (max-width:\".concat(value - step / 100).concat(unit, \")\");\n }\n\n function between(start, end) {\n var endIndex = keys.indexOf(end);\n\n if (endIndex === keys.length - 1) {\n return up(start);\n }\n\n 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, \")\");\n }\n\n function only(key) {\n return between(key, key);\n }\n\n function width(key) {\n return values[key];\n }\n\n return (0, _extends2.default)({\n keys: keys,\n values: values,\n up: up,\n down: down,\n between: between,\n only: only,\n width: width\n }, other);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createMixins;\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _extends3 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nfunction createMixins(breakpoints, spacing, mixins) {\n var _toolbar;\n\n return (0, _extends3.default)({\n gutters: function gutters() {\n var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n // To deprecate in v4.1\n // warning(\n // false,\n // [\n // 'Material-UI: Theme.mixins.gutters() is deprecated.',\n // 'You can use the source of the mixin directly:',\n // `\n // paddingLeft: theme.spacing(2),\n // paddingRight: theme.spacing(2),\n // [theme.breakpoints.up('sm')]: {\n // paddingLeft: theme.spacing(3),\n // paddingRight: theme.spacing(3),\n // },\n // `,\n // ].join('\\n'),\n // );\n return (0, _extends3.default)((0, _extends3.default)({\n paddingLeft: spacing(2),\n paddingRight: spacing(2)\n }, styles), {}, (0, _defineProperty2.default)({}, breakpoints.up('sm'), (0, _extends3.default)({\n paddingLeft: spacing(3),\n paddingRight: spacing(3)\n }, styles[breakpoints.up('sm')])));\n },\n toolbar: (_toolbar = {\n minHeight: 56\n }, (0, _defineProperty2.default)(_toolbar, \"\".concat(breakpoints.up('xs'), \" and (orientation: landscape)\"), {\n minHeight: 48\n }), (0, _defineProperty2.default)(_toolbar, breakpoints.up('sm'), {\n minHeight: 64\n }), _toolbar)\n }, mixins);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nvar _createBreakpoints = _interopRequireDefault(require(\"./createBreakpoints\"));\n\nvar _createMixins = _interopRequireDefault(require(\"./createMixins\"));\n\nvar _createPalette = _interopRequireDefault(require(\"./createPalette\"));\n\nvar _createTypography = _interopRequireDefault(require(\"./createTypography\"));\n\nvar _shadows = _interopRequireDefault(require(\"./shadows\"));\n\nvar _shape = _interopRequireDefault(require(\"./shape\"));\n\nvar _createSpacing = _interopRequireDefault(require(\"./createSpacing\"));\n\nvar _transitions = _interopRequireDefault(require(\"./transitions\"));\n\nvar _zIndex = _interopRequireDefault(require(\"./zIndex\"));\n\nfunction createMuiTheme() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$breakpoints = options.breakpoints,\n breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,\n _options$mixins = options.mixins,\n mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,\n _options$palette = options.palette,\n paletteInput = _options$palette === void 0 ? {} : _options$palette,\n spacingInput = options.spacing,\n _options$typography = options.typography,\n typographyInput = _options$typography === void 0 ? {} : _options$typography,\n other = (0, _objectWithoutProperties2.default)(options, [\"breakpoints\", \"mixins\", \"palette\", \"spacing\", \"typography\"]);\n var palette = (0, _createPalette.default)(paletteInput);\n var breakpoints = (0, _createBreakpoints.default)(breakpointsInput);\n var spacing = (0, _createSpacing.default)(spacingInput);\n var muiTheme = (0, _utils.deepmerge)({\n breakpoints: breakpoints,\n direction: 'ltr',\n mixins: (0, _createMixins.default)(breakpoints, spacing, mixinsInput),\n overrides: {},\n // Inject custom styles\n palette: palette,\n props: {},\n // Provide default props\n shadows: _shadows.default,\n typography: (0, _createTypography.default)(palette, typographyInput),\n spacing: spacing,\n shape: _shape.default,\n transitions: _transitions.default,\n zIndex: _zIndex.default\n }, other);\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n muiTheme = args.reduce(function (acc, argument) {\n return (0, _utils.deepmerge)(acc, argument);\n }, muiTheme);\n\n if (process.env.NODE_ENV !== 'production') {\n var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];\n\n var traverse = function traverse(node, parentKey) {\n var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax\n\n for (key in node) {\n var child = node[key];\n\n if (depth === 1) {\n if (key.indexOf('Mui') === 0 && child) {\n traverse(child, key, depth + 1);\n }\n } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n 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({\n root: (0, _defineProperty2.default)({}, \"&$\".concat(key), child)\n }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\\n'));\n } // Remove the style to prevent global conflicts.\n\n\n node[key] = {};\n }\n }\n };\n\n traverse(muiTheme.overrides);\n }\n\n return muiTheme;\n}\n\nvar _default = createMuiTheme;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createPalette;\nexports.dark = exports.light = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nvar _common = _interopRequireDefault(require(\"../colors/common\"));\n\nvar _grey = _interopRequireDefault(require(\"../colors/grey\"));\n\nvar _indigo = _interopRequireDefault(require(\"../colors/indigo\"));\n\nvar _pink = _interopRequireDefault(require(\"../colors/pink\"));\n\nvar _red = _interopRequireDefault(require(\"../colors/red\"));\n\nvar _orange = _interopRequireDefault(require(\"../colors/orange\"));\n\nvar _blue = _interopRequireDefault(require(\"../colors/blue\"));\n\nvar _green = _interopRequireDefault(require(\"../colors/green\"));\n\nvar _colorManipulator = require(\"./colorManipulator\");\n\nvar light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.54)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)',\n // Text hints.\n hint: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: _common.default.white,\n default: _grey.default[50]\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.04)',\n hoverOpacity: 0.04,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.08)',\n selectedOpacity: 0.08,\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(0, 0, 0, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.12\n }\n};\nexports.light = light;\nvar dark = {\n text: {\n primary: _common.default.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n hint: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: _grey.default[800],\n default: '#303030'\n },\n action: {\n active: _common.default.white,\n hover: 'rgba(255, 255, 255, 0.08)',\n hoverOpacity: 0.08,\n selected: 'rgba(255, 255, 255, 0.16)',\n selectedOpacity: 0.16,\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)',\n disabledOpacity: 0.38,\n focus: 'rgba(255, 255, 255, 0.12)',\n focusOpacity: 0.12,\n activatedOpacity: 0.24\n }\n};\nexports.dark = dark;\n\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n var tonalOffsetLight = tonalOffset.light || tonalOffset;\n var tonalOffsetDark = tonalOffset.dark || tonalOffset * 1.5;\n\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = (0, _colorManipulator.lighten)(intent.main, tonalOffsetLight);\n } else if (direction === 'dark') {\n intent.dark = (0, _colorManipulator.darken)(intent.main, tonalOffsetDark);\n }\n }\n}\n\nfunction createPalette(palette) {\n var _palette$primary = palette.primary,\n primary = _palette$primary === void 0 ? {\n light: _indigo.default[300],\n main: _indigo.default[500],\n dark: _indigo.default[700]\n } : _palette$primary,\n _palette$secondary = palette.secondary,\n secondary = _palette$secondary === void 0 ? {\n light: _pink.default.A200,\n main: _pink.default.A400,\n dark: _pink.default.A700\n } : _palette$secondary,\n _palette$error = palette.error,\n error = _palette$error === void 0 ? {\n light: _red.default[300],\n main: _red.default[500],\n dark: _red.default[700]\n } : _palette$error,\n _palette$warning = palette.warning,\n warning = _palette$warning === void 0 ? {\n light: _orange.default[300],\n main: _orange.default[500],\n dark: _orange.default[700]\n } : _palette$warning,\n _palette$info = palette.info,\n info = _palette$info === void 0 ? {\n light: _blue.default[300],\n main: _blue.default[500],\n dark: _blue.default[700]\n } : _palette$info,\n _palette$success = palette.success,\n success = _palette$success === void 0 ? {\n light: _green.default[300],\n main: _green.default[500],\n dark: _green.default[700]\n } : _palette$success,\n _palette$type = palette.type,\n type = _palette$type === void 0 ? 'light' : _palette$type,\n _palette$contrastThre = palette.contrastThreshold,\n contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,\n _palette$tonalOffset = palette.tonalOffset,\n tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,\n other = (0, _objectWithoutProperties2.default)(palette, [\"primary\", \"secondary\", \"error\", \"warning\", \"info\", \"success\", \"type\", \"contrastThreshold\", \"tonalOffset\"]); // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n\n function getContrastText(background) {\n var contrastText = (0, _colorManipulator.getContrastRatio)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n\n if (process.env.NODE_ENV !== 'production') {\n var contrast = (0, _colorManipulator.getContrastRatio)(background, contrastText);\n\n if (contrast < 3) {\n 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'));\n }\n }\n\n return contrastText;\n }\n\n var augmentColor = function augmentColor(color) {\n var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;\n color = (0, _extends2.default)({}, color);\n\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n\n if (!color.main) {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"The color object needs to have a `main` property or a `\".concat(mainShade, \"` property.\")].join('\\n'));\n }\n\n if (typeof color.main !== 'string') {\n throw new Error(['Material-UI: The color provided to augmentColor(color) is invalid.', \"`color.main` should be a string, but `\".concat(JSON.stringify(color.main), \"` was provided instead.\"), '', 'Did you intend to use one of the following approaches?', '', 'import { green } from \"@material-ui/core/colors\";', '', 'const theme1 = createMuiTheme({ palette: {', ' primary: green,', '} });', '', 'const theme2 = createMuiTheme({ palette: {', ' primary: { main: green[500] },', '} });'].join('\\n'));\n }\n\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n\n return color;\n };\n\n var types = {\n dark: dark,\n light: light\n };\n\n if (process.env.NODE_ENV !== 'production') {\n if (!types[type]) {\n console.error(\"Material-UI: The palette type `\".concat(type, \"` is not supported.\"));\n }\n }\n\n var paletteOutput = (0, _utils.deepmerge)((0, _extends2.default)({\n // A collection of common colors.\n common: _common.default,\n // The palette type, can be light or dark.\n type: type,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor(primary),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor(secondary, 'A400', 'A200', 'A700'),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor(error),\n // The colors used to represent potentially dangerous actions or important messages.\n warning: augmentColor(warning),\n // The colors used to present information to the user that is neutral and not necessarily important.\n info: augmentColor(info),\n // The colors used to indicate the successful completion of an action that user triggered.\n success: augmentColor(success),\n // The grey colors.\n grey: _grey.default,\n // Used by `getContrastText()` to maximize the contrast between\n // the background and the text.\n contrastThreshold: contrastThreshold,\n // Takes a background color and returns the text color that maximizes the contrast.\n getContrastText: getContrastText,\n // Generate a rich color object.\n augmentColor: augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset: tonalOffset\n }, types[type]), other);\n return paletteOutput;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createSpacing;\n\nvar _system = require(\"@material-ui/system\");\n\nvar warnOnce;\n\nfunction createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8;\n\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n } // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.\n // Smaller components, such as icons and type, can align to a 4dp grid.\n // https://material.io/design/layout/understanding-layout.html#usage\n\n\n var transform = (0, _system.createUnarySpacing)({\n spacing: spacingInput\n });\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (argument) {\n if (typeof argument === 'string') {\n return argument;\n }\n\n var output = transform(argument);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n 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'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyles;\n\nvar _styles = require(\"@material-ui/styles\");\n\n// let warnOnce = false;\n// To remove in v5\nfunction createStyles(styles) {\n // warning(\n // warnOnce,\n // [\n // 'Material-UI: createStyles from @material-ui/core/styles is deprecated.',\n // 'Please use @material-ui/styles/createStyles',\n // ].join('\\n'),\n // );\n // warnOnce = true;\n return (0, _styles.createStyles)(styles);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createTypography;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\nvar _utils = require(\"@material-ui/utils\");\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nvar caseAllCaps = {\n textTransform: 'uppercase'\n};\nvar defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n/**\n * @see @link{https://material.io/design/typography/the-type-system.html}\n * @see @link{https://material.io/design/typography/understanding-typography.html}\n */\n\nfunction createTypography(palette, typography) {\n var _ref = typeof typography === 'function' ? typography(palette) : typography,\n _ref$fontFamily = _ref.fontFamily,\n fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,\n _ref$fontWeightLight = _ref.fontWeightLight,\n fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,\n _ref$fontWeightRegula = _ref.fontWeightRegular,\n fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,\n _ref$fontWeightMedium = _ref.fontWeightMedium,\n fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,\n _ref$fontWeightBold = _ref.fontWeightBold,\n fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold,\n _ref$htmlFontSize = _ref.htmlFontSize,\n htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,\n allVariants = _ref.allVariants,\n pxToRem2 = _ref.pxToRem,\n other = (0, _objectWithoutProperties2.default)(_ref, [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('Material-UI: `fontSize` is required to be a number.');\n }\n\n if (typeof htmlFontSize !== 'number') {\n console.error('Material-UI: `htmlFontSize` is required to be a number.');\n }\n }\n\n var coef = fontSize / 14;\n\n var pxToRem = pxToRem2 || function (size) {\n return \"\".concat(size / htmlFontSize * coef, \"rem\");\n };\n\n var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {\n return (0, _extends2.default)((0, _extends2.default)((0, _extends2.default)({\n fontFamily: fontFamily,\n fontWeight: fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight: lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: \"\".concat(round(letterSpacing / size), \"em\")\n } : {}), casing), allVariants);\n };\n\n var variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)\n };\n return (0, _utils.deepmerge)((0, _extends2.default)({\n htmlFontSize: htmlFontSize,\n pxToRem: pxToRem,\n round: round,\n // TODO v5: remove\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeightLight: fontWeightLight,\n fontWeightRegular: fontWeightRegular,\n fontWeightMedium: fontWeightMedium,\n fontWeightBold: fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n\n });\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _createMuiTheme = _interopRequireDefault(require(\"./createMuiTheme\"));\n\nvar defaultTheme = (0, _createMuiTheme.default)();\nvar _default = defaultTheme;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar shadowKeyUmbraOpacity = 0.2;\nvar shadowKeyPenumbraOpacity = 0.14;\nvar shadowAmbientShadowOpacity = 0.12;\n\nfunction createShadow() {\n 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(',');\n} // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss\n\n\nvar 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)];\nvar _default = shadows;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar shape = {\n borderRadius: 4\n};\nvar _default = shape;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.duration = exports.easing = void 0;\n\nvar _objectWithoutProperties2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));\n\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nvar easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n}; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\n\nexports.easing = easing;\nvar duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nexports.duration = duration;\n\nfunction formatMs(milliseconds) {\n return \"\".concat(Math.round(milliseconds), \"ms\");\n}\n/**\n * @param {string|Array} props\n * @param {object} param\n * @param {string} param.prop\n * @param {number} param.duration\n * @param {string} param.easing\n * @param {number} param.delay\n */\n\n\nvar _default = {\n easing: easing,\n duration: duration,\n create: function create() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _options$duration = options.duration,\n durationOption = _options$duration === void 0 ? duration.standard : _options$duration,\n _options$easing = options.easing,\n easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,\n _options$delay = options.delay,\n delay = _options$delay === void 0 ? 0 : _options$delay,\n other = (0, _objectWithoutProperties2.default)(options, [\"duration\", \"easing\", \"delay\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n var isString = function isString(value) {\n return typeof value === 'string';\n };\n\n var isNumber = function isNumber(value) {\n return !isNaN(parseFloat(value));\n };\n\n if (!isString(props) && !Array.isArray(props)) {\n console.error('Material-UI: Argument \"props\" must be a string or Array.');\n }\n\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(\"Material-UI: Argument \\\"duration\\\" must be a number or a string but found \".concat(durationOption, \".\"));\n }\n\n if (!isString(easingOption)) {\n console.error('Material-UI: Argument \"easing\" must be a string.');\n }\n\n if (!isNumber(delay) && !isString(delay)) {\n console.error('Material-UI: Argument \"delay\" must be a number or a string.');\n }\n\n if (Object.keys(other).length !== 0) {\n console.error(\"Material-UI: Unrecognized argument(s) [\".concat(Object.keys(other).join(','), \"].\"));\n }\n }\n\n return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {\n return \"\".concat(animatedProp, \" \").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), \" \").concat(easingOption, \" \").concat(typeof delay === 'string' ? delay : formatMs(delay));\n }).join(',');\n },\n getAutoHeightDuration: function getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n\n 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\n\n return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);\n }\n};\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _styles = require(\"@material-ui/styles\");\n\nvar _defaultTheme = _interopRequireDefault(require(\"./defaultTheme\"));\n\nvar withTheme = (0, _styles.withThemeCreator)({\n defaultTheme: _defaultTheme.default\n});\nvar _default = withTheme;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nvar zIndex = {\n mobileStepper: 1000,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nvar _default = zIndex;\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createSvgIcon;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _SvgIcon = _interopRequireDefault(require(\"../SvgIcon\"));\n\n/**\n * Private module reserved for @material-ui/x packages.\n */\nfunction createSvgIcon(path, displayName) {\n var Component = _react.default.memo(_react.default.forwardRef(function (props, ref) {\n return /*#__PURE__*/_react.default.createElement(_SvgIcon.default, (0, _extends2.default)({\n ref: ref\n }, props), path);\n }));\n\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = \"\".concat(displayName, \"Icon\");\n }\n\n Component.muiName = _SvgIcon.default.muiName;\n return Component;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport React from 'react';\nimport { SheetsRegistry } from 'jss';\nimport StylesProvider from '../StylesProvider';\nimport createGenerateClassName from '../createGenerateClassName';\n\nvar ServerStyleSheets = /*#__PURE__*/function () {\n function ServerStyleSheets() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n _classCallCheck(this, ServerStyleSheets);\n\n this.options = options;\n }\n\n _createClass(ServerStyleSheets, [{\n key: \"collect\",\n value: function collect(children) {\n // This is needed in order to deduplicate the injection of CSS in the page.\n var sheetsManager = new Map(); // This is needed in order to inject the critical CSS.\n\n this.sheetsRegistry = new SheetsRegistry(); // A new class name generator\n\n var generateClassName = createGenerateClassName();\n return /*#__PURE__*/React.createElement(StylesProvider, _extends({\n sheetsManager: sheetsManager,\n serverGenerateClassName: generateClassName,\n sheetsRegistry: this.sheetsRegistry\n }, this.options), children);\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return this.sheetsRegistry ? this.sheetsRegistry.toString() : '';\n }\n }, {\n key: \"getStyleElement\",\n value: function getStyleElement(props) {\n return /*#__PURE__*/React.createElement('style', _extends({\n id: 'jss-server-side',\n key: 'jss-server-side',\n dangerouslySetInnerHTML: {\n __html: this.toString()\n }\n }, props));\n }\n }]);\n\n return ServerStyleSheets;\n}();\n\nexport { ServerStyleSheets as default };","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@material-ui/utils';\nimport createGenerateClassName from '../createGenerateClassName';\nimport { create } from 'jss';\nimport jssPreset from '../jssPreset'; // Default JSS instance.\n\nvar jss = create(jssPreset()); // Use a singleton or the provided one by the context.\n//\n// The counter-based approach doesn't tolerate any mistake.\n// It's much safer to use the same counter everywhere.\n\nvar generateClassName = createGenerateClassName(); // Exported for test purposes\n\nexport var sheetsManager = new Map();\nvar defaultOptions = {\n disableGeneration: false,\n generateClassName: generateClassName,\n jss: jss,\n sheetsCache: null,\n sheetsManager: sheetsManager,\n sheetsRegistry: null\n};\nexport var StylesContext = React.createContext(defaultOptions);\n\nif (process.env.NODE_ENV !== 'production') {\n StylesContext.displayName = 'StylesContext';\n}\n\nvar injectFirstNode;\nexport default function StylesProvider(props) {\n var children = props.children,\n _props$injectFirst = props.injectFirst,\n injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst,\n _props$disableGenerat = props.disableGeneration,\n disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat,\n localOptions = _objectWithoutProperties(props, [\"children\", \"injectFirst\", \"disableGeneration\"]);\n\n var outerOptions = React.useContext(StylesContext);\n\n var context = _extends({}, outerOptions, {\n disableGeneration: disableGeneration\n }, localOptions);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof window === 'undefined' && !context.sheetsManager) {\n console.error('Material-UI: You need to use the ServerStyleSheets API when rendering on the server.');\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (context.jss.options.insertionPoint && injectFirst) {\n console.error('Material-UI: You cannot use a custom insertionPoint and at the same time.');\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (injectFirst && localOptions.jss) {\n console.error('Material-UI: You cannot use the jss and injectFirst props at the same time.');\n }\n }\n\n if (!context.jss.options.insertionPoint && injectFirst && typeof window !== 'undefined') {\n if (!injectFirstNode) {\n var head = document.head;\n injectFirstNode = document.createComment('mui-inject-first');\n head.insertBefore(injectFirstNode, head.firstChild);\n }\n\n context.jss = create({\n plugins: jssPreset().plugins,\n insertionPoint: injectFirstNode\n });\n }\n\n return /*#__PURE__*/React.createElement(StylesContext.Provider, {\n value: context\n }, children);\n}\nprocess.env.NODE_ENV !== \"production\" ? StylesProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * You can disable the generation of the styles with this option.\n * It can be useful when traversing the React tree outside of the HTML\n * rendering step on the server.\n * Let's say you are using react-apollo to extract all\n * the queries made by the interface server-side - you can significantly speed up the traversal with this prop.\n */\n disableGeneration: PropTypes.bool,\n\n /**\n * JSS's class name generator.\n */\n generateClassName: PropTypes.func,\n\n /**\n * By default, the styles are injected last in the element of the page.\n * As a result, they gain more specificity than any other style sheet.\n * If you want to override Material-UI's styles, set this prop.\n */\n injectFirst: PropTypes.bool,\n\n /**\n * JSS's instance.\n */\n jss: PropTypes.object,\n\n /**\n * @ignore\n */\n serverGenerateClassName: PropTypes.func,\n\n /**\n * @ignore\n *\n * Beta feature.\n *\n * Cache for the sheets.\n */\n sheetsCache: PropTypes.object,\n\n /**\n * @ignore\n *\n * The sheetsManager is used to deduplicate style sheet injection in the page.\n * It's deduplicating using the (theme, styles) couple.\n * On the server, you should provide a new instance for each request.\n */\n sheetsManager: PropTypes.object,\n\n /**\n * @ignore\n *\n * Collect the sheets.\n */\n sheetsRegistry: PropTypes.object\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? StylesProvider.propTypes = exactProp(StylesProvider.propTypes) : void 0;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { exactProp } from '@material-ui/utils';\nimport ThemeContext from '../useTheme/ThemeContext';\nimport useTheme from '../useTheme';\nimport nested from './nested'; // To support composition of theme.\n\nfunction mergeOuterLocalTheme(outerTheme, localTheme) {\n if (typeof localTheme === 'function') {\n var mergedTheme = localTheme(outerTheme);\n\n if (process.env.NODE_ENV !== 'production') {\n if (!mergedTheme) {\n console.error(['Material-UI: You should return an object from your theme function, i.e.', ' ({})} />'].join('\\n'));\n }\n }\n\n return mergedTheme;\n }\n\n return _extends({}, outerTheme, localTheme);\n}\n/**\n * This component takes a `theme` prop.\n * It makes the `theme` available down the React tree thanks to React context.\n * This component should preferably be used at **the root of your component tree**.\n */\n\n\nfunction ThemeProvider(props) {\n var children = props.children,\n localTheme = props.theme;\n var outerTheme = useTheme();\n\n if (process.env.NODE_ENV !== 'production') {\n if (outerTheme === null && typeof localTheme === 'function') {\n console.error(['Material-UI: You are providing a theme function prop to the ThemeProvider component:', ' outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\\n'));\n }\n }\n\n var theme = React.useMemo(function () {\n var output = outerTheme === null ? localTheme : mergeOuterLocalTheme(outerTheme, localTheme);\n\n if (output != null) {\n output[nested] = outerTheme !== null;\n }\n\n return output;\n }, [localTheme, outerTheme]);\n return /*#__PURE__*/React.createElement(ThemeContext.Provider, {\n value: theme\n }, children);\n}\n\nprocess.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = {\n /**\n * Your component tree.\n */\n children: PropTypes.node.isRequired,\n\n /**\n * A theme object. You can provide a function to extend the outer theme.\n */\n theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired\n} : void 0;\n\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;\n}\n\nexport default ThemeProvider;","var hasSymbol = typeof Symbol === 'function' && Symbol.for;\nexport default hasSymbol ? Symbol.for('mui.nested') : '__THEME_NESTED__';","import nested from '../ThemeProvider/nested';\n/**\n * This is the list of the style rule name we use as drop in replacement for the built-in\n * pseudo classes (:checked, :disabled, :focused, etc.).\n *\n * Why do they exist in the first place?\n * These classes are used at a specificity of 2.\n * It allows them to override previously definied styles as well as\n * being untouched by simple user overrides.\n */\n\nvar pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected']; // Returns a function which generates unique class names based on counters.\n// When new generator function is created, rule counter is reset.\n// We need to reset the rule counter for SSR for each request.\n//\n// It's inspired by\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\n\nexport default function createGenerateClassName() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$disableGloba = options.disableGlobal,\n disableGlobal = _options$disableGloba === void 0 ? false : _options$disableGloba,\n _options$productionPr = options.productionPrefix,\n productionPrefix = _options$productionPr === void 0 ? 'jss' : _options$productionPr,\n _options$seed = options.seed,\n seed = _options$seed === void 0 ? '' : _options$seed;\n var seedPrefix = seed === '' ? '' : \"\".concat(seed, \"-\");\n var ruleCounter = 0;\n\n var getNextCounterId = function getNextCounterId() {\n ruleCounter += 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (ruleCounter >= 1e10) {\n console.warn(['Material-UI: You might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join(''));\n }\n }\n\n return ruleCounter;\n };\n\n return function (rule, styleSheet) {\n var name = styleSheet.options.name; // Is a global static MUI style?\n\n if (name && name.indexOf('Mui') === 0 && !styleSheet.options.link && !disableGlobal) {\n // We can use a shorthand class name, we never use the keys to style the components.\n if (pseudoClasses.indexOf(rule.key) !== -1) {\n return \"Mui-\".concat(rule.key);\n }\n\n var prefix = \"\".concat(seedPrefix).concat(name, \"-\").concat(rule.key);\n\n if (!styleSheet.options.theme[nested] || seed !== '') {\n return prefix;\n }\n\n return \"\".concat(prefix, \"-\").concat(getNextCounterId());\n }\n\n if (process.env.NODE_ENV === 'production') {\n return \"\".concat(seedPrefix).concat(productionPrefix).concat(getNextCounterId());\n }\n\n var suffix = \"\".concat(rule.key, \"-\").concat(getNextCounterId()); // Help with debuggability.\n\n if (styleSheet.options.classNamePrefix) {\n return \"\".concat(seedPrefix).concat(styleSheet.options.classNamePrefix, \"-\").concat(suffix);\n }\n\n return \"\".concat(seedPrefix).concat(suffix);\n };\n}","export default function createStyles(styles) {\n return styles;\n}","/* eslint-disable no-restricted-syntax */\nexport default function getThemeProps(params) {\n var theme = params.theme,\n name = params.name,\n props = params.props;\n\n if (!theme || !theme.props || !theme.props[name]) {\n return props;\n } // Resolve default props, code borrow from React source.\n // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221\n\n\n var defaultProps = theme.props[name];\n var propName;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n\n return props;\n}","import warning from 'tiny-warning';\nimport { createRule } from 'jss';\n\nvar now = Date.now();\nvar fnValuesNs = \"fnValues\" + now;\nvar fnRuleNs = \"fnStyle\" + ++now;\n\nvar functionPlugin = function functionPlugin() {\n return {\n onCreateRule: function onCreateRule(name, decl, options) {\n if (typeof decl !== 'function') return null;\n var rule = createRule(name, {}, options);\n rule[fnRuleNs] = decl;\n return rule;\n },\n onProcessStyle: function onProcessStyle(style, rule) {\n // We need to extract function values from the declaration, so that we can keep core unaware of them.\n // We need to do that only once.\n // We don't need to extract functions on each style update, since this can happen only once.\n // We don't support function values inside of function rules.\n if (fnValuesNs in rule || fnRuleNs in rule) return style;\n var fnValues = {};\n\n for (var prop in style) {\n var value = style[prop];\n if (typeof value !== 'function') continue;\n delete style[prop];\n fnValues[prop] = value;\n } // $FlowFixMe[prop-missing]\n\n\n rule[fnValuesNs] = fnValues;\n return style;\n },\n onUpdate: function onUpdate(data, rule, sheet, options) {\n var styleRule = rule; // $FlowFixMe[prop-missing]\n\n var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object\n // will be returned from that function.\n\n if (fnRule) {\n // Empty object will remove all currently defined props\n // in case function rule returns a falsy value.\n styleRule.style = fnRule(data) || {};\n\n if (process.env.NODE_ENV === 'development') {\n for (var prop in styleRule.style) {\n if (typeof styleRule.style[prop] === 'function') {\n process.env.NODE_ENV !== \"production\" ? warning(false, '[JSS] Function values inside function rules are not supported.') : void 0;\n break;\n }\n }\n }\n } // $FlowFixMe[prop-missing]\n\n\n var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.\n\n if (fnValues) {\n for (var _prop in fnValues) {\n styleRule.prop(_prop, fnValues[_prop](data), options);\n }\n }\n }\n };\n};\n\nexport default functionPlugin;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport { RuleList } from 'jss';\n\nvar at = '@global';\nvar atPrefix = '@global ';\n\nvar GlobalContainerRule =\n/*#__PURE__*/\nfunction () {\n function GlobalContainerRule(key, styles, options) {\n this.type = 'global';\n this.at = at;\n this.rules = void 0;\n this.options = void 0;\n this.key = void 0;\n this.isProcessed = false;\n this.key = key;\n this.options = options;\n this.rules = new RuleList(_extends({}, options, {\n parent: this\n }));\n\n for (var selector in styles) {\n this.rules.add(selector, styles[selector]);\n }\n\n this.rules.process();\n }\n /**\n * Get a rule.\n */\n\n\n var _proto = GlobalContainerRule.prototype;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Create and register rule, run plugins.\n */\n ;\n\n _proto.addRule = function addRule(name, style, options) {\n var rule = this.rules.add(name, style, options);\n if (rule) this.options.jss.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto.toString = function toString() {\n return this.rules.toString();\n };\n\n return GlobalContainerRule;\n}();\n\nvar GlobalPrefixedRule =\n/*#__PURE__*/\nfunction () {\n function GlobalPrefixedRule(key, style, options) {\n this.type = 'global';\n this.at = at;\n this.options = void 0;\n this.rule = void 0;\n this.isProcessed = false;\n this.key = void 0;\n this.key = key;\n this.options = options;\n var selector = key.substr(atPrefix.length);\n this.rule = options.jss.createRule(selector, style, _extends({}, options, {\n parent: this\n }));\n }\n\n var _proto2 = GlobalPrefixedRule.prototype;\n\n _proto2.toString = function toString(options) {\n return this.rule ? this.rule.toString(options) : '';\n };\n\n return GlobalPrefixedRule;\n}();\n\nvar separatorRegExp = /\\s*,\\s*/g;\n\nfunction addScope(selector, scope) {\n var parts = selector.split(separatorRegExp);\n var scoped = '';\n\n for (var i = 0; i < parts.length; i++) {\n scoped += scope + \" \" + parts[i].trim();\n if (parts[i + 1]) scoped += ', ';\n }\n\n return scoped;\n}\n\nfunction handleNestedGlobalContainerRule(rule, sheet) {\n var options = rule.options,\n style = rule.style;\n var rules = style ? style[at] : null;\n if (!rules) return;\n\n for (var name in rules) {\n sheet.addRule(name, rules[name], _extends({}, options, {\n selector: addScope(name, rule.selector)\n }));\n }\n\n delete style[at];\n}\n\nfunction handlePrefixedGlobalRule(rule, sheet) {\n var options = rule.options,\n style = rule.style;\n\n for (var prop in style) {\n if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;\n var selector = addScope(prop.substr(at.length), rule.selector);\n sheet.addRule(selector, style[prop], _extends({}, options, {\n selector: selector\n }));\n delete style[prop];\n }\n}\n/**\n * Convert nested rules to separate, remove them from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\n\nfunction jssGlobal() {\n function onCreateRule(name, styles, options) {\n if (!name) return null;\n\n if (name === at) {\n return new GlobalContainerRule(name, styles, options);\n }\n\n if (name[0] === '@' && name.substr(0, atPrefix.length) === atPrefix) {\n return new GlobalPrefixedRule(name, styles, options);\n }\n\n var parent = options.parent;\n\n if (parent) {\n if (parent.type === 'global' || parent.options.parent && parent.options.parent.type === 'global') {\n options.scoped = false;\n }\n }\n\n if (options.scoped === false) {\n options.selector = name;\n }\n\n return null;\n }\n\n function onProcessRule(rule, sheet) {\n if (rule.type !== 'style' || !sheet) return;\n handleNestedGlobalContainerRule(rule, sheet);\n handlePrefixedGlobalRule(rule, sheet);\n }\n\n return {\n onCreateRule: onCreateRule,\n onProcessRule: onProcessRule\n };\n}\n\nexport default jssGlobal;\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport warning from 'tiny-warning';\n\nvar separatorRegExp = /\\s*,\\s*/g;\nvar parentRegExp = /&/g;\nvar refRegExp = /\\$([\\w-]+)/g;\n/**\n * Convert nested rules to separate, remove them from original styles.\n *\n * @param {Rule} rule\n * @api public\n */\n\nfunction jssNested() {\n // Get a function to be used for $ref replacement.\n function getReplaceRef(container, sheet) {\n return function (match, key) {\n var rule = container.getRule(key) || sheet && sheet.getRule(key);\n\n if (rule) {\n rule = rule;\n return rule.selector;\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Could not find the referenced rule \\\"\" + key + \"\\\" in \\\"\" + (container.options.meta || container.toString()) + \"\\\".\") : void 0;\n return key;\n };\n }\n\n function replaceParentRefs(nestedProp, parentProp) {\n var parentSelectors = parentProp.split(separatorRegExp);\n var nestedSelectors = nestedProp.split(separatorRegExp);\n var result = '';\n\n for (var i = 0; i < parentSelectors.length; i++) {\n var parent = parentSelectors[i];\n\n for (var j = 0; j < nestedSelectors.length; j++) {\n var nested = nestedSelectors[j];\n if (result) result += ', '; // Replace all & by the parent or prefix & with the parent.\n\n result += nested.indexOf('&') !== -1 ? nested.replace(parentRegExp, parent) : parent + \" \" + nested;\n }\n }\n\n return result;\n }\n\n function getOptions(rule, container, prevOptions) {\n // Options has been already created, now we only increase index.\n if (prevOptions) return _extends({}, prevOptions, {\n index: prevOptions.index + 1 // $FlowFixMe[prop-missing]\n\n });\n var nestingLevel = rule.options.nestingLevel;\n nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;\n\n var options = _extends({}, rule.options, {\n nestingLevel: nestingLevel,\n index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.\n\n });\n\n delete options.name;\n return options;\n }\n\n function onProcessStyle(style, rule, sheet) {\n if (rule.type !== 'style') return style;\n var styleRule = rule;\n var container = styleRule.options.parent;\n var options;\n var replaceRef;\n\n for (var prop in style) {\n var isNested = prop.indexOf('&') !== -1;\n var isNestedConditional = prop[0] === '@';\n if (!isNested && !isNestedConditional) continue;\n options = getOptions(styleRule, container, options);\n\n if (isNested) {\n var selector = replaceParentRefs(prop, styleRule.selector); // Lazily create the ref replacer function just once for\n // all nested rules within the sheet.\n\n if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.\n\n selector = selector.replace(refRegExp, replaceRef);\n container.addRule(selector, style[prop], _extends({}, options, {\n selector: selector\n }));\n } else if (isNestedConditional) {\n // Place conditional right after the parent rule to ensure right ordering.\n container.addRule(prop, {}, options) // Flow expects more options but they aren't required\n // And flow doesn't know this will always be a StyleRule which has the addRule method\n // $FlowFixMe[incompatible-use]\n // $FlowFixMe[prop-missing]\n .addRule(styleRule.key, style[prop], {\n selector: styleRule.selector\n });\n }\n\n delete style[prop];\n }\n\n return style;\n }\n\n return {\n onProcessStyle: onProcessStyle\n };\n}\n\nexport default jssNested;\n","/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n if (cache.hasOwnProperty(name)) {\n return cache[name]\n }\n\n var hName = name.replace(uppercasePattern, toHyphenLower)\n return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\nexport default hyphenateStyleName\n","import hyphenate from 'hyphenate-style-name';\n\n/**\n * Convert camel cased property names to dash separated.\n *\n * @param {Object} style\n * @return {Object}\n */\n\nfunction convertCase(style) {\n var converted = {};\n\n for (var prop in style) {\n var key = prop.indexOf('--') === 0 ? prop : hyphenate(prop);\n converted[key] = style[prop];\n }\n\n if (style.fallbacks) {\n if (Array.isArray(style.fallbacks)) converted.fallbacks = style.fallbacks.map(convertCase);else converted.fallbacks = convertCase(style.fallbacks);\n }\n\n return converted;\n}\n/**\n * Allow camel cased property names by converting them back to dasherized.\n *\n * @param {Rule} rule\n */\n\n\nfunction camelCase() {\n function onProcessStyle(style) {\n if (Array.isArray(style)) {\n // Handle rules like @font-face, which can have multiple styles in an array\n for (var index = 0; index < style.length; index++) {\n style[index] = convertCase(style[index]);\n }\n\n return style;\n }\n\n return convertCase(style);\n }\n\n function onChangeValue(value, prop, rule) {\n if (prop.indexOf('--') === 0) {\n return value;\n }\n\n var hyphenatedProp = hyphenate(prop); // There was no camel case in place\n\n if (prop === hyphenatedProp) return value;\n rule.prop(hyphenatedProp, value); // Core will ignore that property value we set the proper one above.\n\n return null;\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\nexport default camelCase;\n","import { hasCSSTOMSupport } from 'jss';\n\nvar px = hasCSSTOMSupport && CSS ? CSS.px : 'px';\nvar ms = hasCSSTOMSupport && CSS ? CSS.ms : 'ms';\nvar percent = hasCSSTOMSupport && CSS ? CSS.percent : '%';\n/**\n * Generated jss-plugin-default-unit CSS property units\n *\n * @type object\n */\n\nvar defaultUnits = {\n // Animation properties\n 'animation-delay': ms,\n 'animation-duration': ms,\n // Background properties\n 'background-position': px,\n 'background-position-x': px,\n 'background-position-y': px,\n 'background-size': px,\n // Border Properties\n border: px,\n 'border-bottom': px,\n 'border-bottom-left-radius': px,\n 'border-bottom-right-radius': px,\n 'border-bottom-width': px,\n 'border-left': px,\n 'border-left-width': px,\n 'border-radius': px,\n 'border-right': px,\n 'border-right-width': px,\n 'border-top': px,\n 'border-top-left-radius': px,\n 'border-top-right-radius': px,\n 'border-top-width': px,\n 'border-width': px,\n 'border-block': px,\n 'border-block-end': px,\n 'border-block-end-width': px,\n 'border-block-start': px,\n 'border-block-start-width': px,\n 'border-block-width': px,\n 'border-inline': px,\n 'border-inline-end': px,\n 'border-inline-end-width': px,\n 'border-inline-start': px,\n 'border-inline-start-width': px,\n 'border-inline-width': px,\n 'border-start-start-radius': px,\n 'border-start-end-radius': px,\n 'border-end-start-radius': px,\n 'border-end-end-radius': px,\n // Margin properties\n margin: px,\n 'margin-bottom': px,\n 'margin-left': px,\n 'margin-right': px,\n 'margin-top': px,\n 'margin-block': px,\n 'margin-block-end': px,\n 'margin-block-start': px,\n 'margin-inline': px,\n 'margin-inline-end': px,\n 'margin-inline-start': px,\n // Padding properties\n padding: px,\n 'padding-bottom': px,\n 'padding-left': px,\n 'padding-right': px,\n 'padding-top': px,\n 'padding-block': px,\n 'padding-block-end': px,\n 'padding-block-start': px,\n 'padding-inline': px,\n 'padding-inline-end': px,\n 'padding-inline-start': px,\n // Mask properties\n 'mask-position-x': px,\n 'mask-position-y': px,\n 'mask-size': px,\n // Width and height properties\n height: px,\n width: px,\n 'min-height': px,\n 'max-height': px,\n 'min-width': px,\n 'max-width': px,\n // Position properties\n bottom: px,\n left: px,\n top: px,\n right: px,\n inset: px,\n 'inset-block': px,\n 'inset-block-end': px,\n 'inset-block-start': px,\n 'inset-inline': px,\n 'inset-inline-end': px,\n 'inset-inline-start': px,\n // Shadow properties\n 'box-shadow': px,\n 'text-shadow': px,\n // Column properties\n 'column-gap': px,\n 'column-rule': px,\n 'column-rule-width': px,\n 'column-width': px,\n // Font and text properties\n 'font-size': px,\n 'font-size-delta': px,\n 'letter-spacing': px,\n 'text-decoration-thickness': px,\n 'text-indent': px,\n 'text-stroke': px,\n 'text-stroke-width': px,\n 'word-spacing': px,\n // Motion properties\n motion: px,\n 'motion-offset': px,\n // Outline properties\n outline: px,\n 'outline-offset': px,\n 'outline-width': px,\n // Perspective properties\n perspective: px,\n 'perspective-origin-x': percent,\n 'perspective-origin-y': percent,\n // Transform properties\n 'transform-origin': percent,\n 'transform-origin-x': percent,\n 'transform-origin-y': percent,\n 'transform-origin-z': percent,\n // Transition properties\n 'transition-delay': ms,\n 'transition-duration': ms,\n // Alignment properties\n 'vertical-align': px,\n 'flex-basis': px,\n // Some random properties\n 'shape-margin': px,\n size: px,\n gap: px,\n // Grid properties\n grid: px,\n 'grid-gap': px,\n 'row-gap': px,\n 'grid-row-gap': px,\n 'grid-column-gap': px,\n 'grid-template-rows': px,\n 'grid-template-columns': px,\n 'grid-auto-rows': px,\n 'grid-auto-columns': px,\n // Not existing properties.\n // Used to avoid issues with jss-plugin-expand integration.\n 'box-shadow-x': px,\n 'box-shadow-y': px,\n 'box-shadow-blur': px,\n 'box-shadow-spread': px,\n 'font-line-height': px,\n 'text-shadow-x': px,\n 'text-shadow-y': px,\n 'text-shadow-blur': px\n};\n\n/**\n * Clones the object and adds a camel cased property version.\n */\nfunction addCamelCasedVersion(obj) {\n var regExp = /(-[a-z])/g;\n\n var replace = function replace(str) {\n return str[1].toUpperCase();\n };\n\n var newObj = {};\n\n for (var _key in obj) {\n newObj[_key] = obj[_key];\n newObj[_key.replace(regExp, replace)] = obj[_key];\n }\n\n return newObj;\n}\n\nvar units = addCamelCasedVersion(defaultUnits);\n/**\n * Recursive deep style passing function\n */\n\nfunction iterate(prop, value, options) {\n if (value == null) return value;\n\n if (Array.isArray(value)) {\n for (var i = 0; i < value.length; i++) {\n value[i] = iterate(prop, value[i], options);\n }\n } else if (typeof value === 'object') {\n if (prop === 'fallbacks') {\n for (var innerProp in value) {\n value[innerProp] = iterate(innerProp, value[innerProp], options);\n }\n } else {\n for (var _innerProp in value) {\n value[_innerProp] = iterate(prop + \"-\" + _innerProp, value[_innerProp], options);\n }\n } // eslint-disable-next-line no-restricted-globals\n\n } else if (typeof value === 'number' && isNaN(value) === false) {\n var unit = options[prop] || units[prop]; // Add the unit if available, except for the special case of 0px.\n\n if (unit && !(value === 0 && unit === px)) {\n return typeof unit === 'function' ? unit(value).toString() : \"\" + value + unit;\n }\n\n return value.toString();\n }\n\n return value;\n}\n/**\n * Add unit to numeric values.\n */\n\n\nfunction defaultUnit(options) {\n if (options === void 0) {\n options = {};\n }\n\n var camelCasedOptions = addCamelCasedVersion(options);\n\n function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n\n for (var prop in style) {\n style[prop] = iterate(prop, style[prop], camelCasedOptions);\n }\n\n return style;\n }\n\n function onChangeValue(value, prop) {\n return iterate(prop, value, camelCasedOptions);\n }\n\n return {\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\nexport default defaultUnit;\n","import isInBrowser from 'is-in-browser';\nimport _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';\n\n// Export javascript style and css style vendor prefixes.\nvar js = '';\nvar css = '';\nvar vendor = '';\nvar browser = '';\nvar isTouch = isInBrowser && 'ontouchstart' in document.documentElement; // We should not do anything if required serverside.\n\nif (isInBrowser) {\n // Order matters. We need to check Webkit the last one because\n // other vendors use to add Webkit prefixes to some properties\n var jsCssMap = {\n Moz: '-moz-',\n ms: '-ms-',\n O: '-o-',\n Webkit: '-webkit-'\n };\n\n var _document$createEleme = document.createElement('p'),\n style = _document$createEleme.style;\n\n var testProp = 'Transform';\n\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n js = key;\n css = jsCssMap[key];\n break;\n }\n } // Correctly detect the Edge browser.\n\n\n if (js === 'Webkit' && 'msHyphens' in style) {\n js = 'ms';\n css = jsCssMap.ms;\n browser = 'edge';\n } // Correctly detect the Safari browser.\n\n\n if (js === 'Webkit' && '-apple-trailing-word' in style) {\n vendor = 'apple';\n }\n}\n/**\n * Vendor prefix string for the current browser.\n *\n * @type {{js: String, css: String, vendor: String, browser: String}}\n * @api public\n */\n\n\nvar prefix = {\n js: js,\n css: css,\n vendor: vendor,\n browser: browser,\n isTouch: isTouch\n};\n\n/**\n * Test if a keyframe at-rule should be prefixed or not\n *\n * @param {String} vendor prefix string for the current browser.\n * @return {String}\n * @api public\n */\n\nfunction supportedKeyframes(key) {\n // Keyframes is already prefixed. e.g. key = '@-webkit-keyframes a'\n if (key[1] === '-') return key; // No need to prefix IE/Edge. Older browsers will ignore unsupported rules.\n // https://caniuse.com/#search=keyframes\n\n if (prefix.js === 'ms') return key;\n return \"@\" + prefix.css + \"keyframes\" + key.substr(10);\n}\n\n// https://caniuse.com/#search=appearance\n\nvar appearence = {\n noPrefill: ['appearance'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'appearance') return false;\n if (prefix.js === 'ms') return \"-webkit-\" + prop;\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=color-adjust\n\nvar colorAdjust = {\n noPrefill: ['color-adjust'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'color-adjust') return false;\n if (prefix.js === 'Webkit') return prefix.css + \"print-\" + prop;\n return prop;\n }\n};\n\nvar regExp = /[-\\s]+(.)?/g;\n/**\n * Replaces the letter with the capital letter\n *\n * @param {String} match\n * @param {String} c\n * @return {String}\n * @api private\n */\n\nfunction toUpper(match, c) {\n return c ? c.toUpperCase() : '';\n}\n/**\n * Convert dash separated strings to camel-cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\n\nfunction camelize(str) {\n return str.replace(regExp, toUpper);\n}\n\n/**\n * Convert dash separated strings to pascal cased.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\nfunction pascalize(str) {\n return camelize(\"-\" + str);\n}\n\n// but we can use a longhand property instead.\n// https://caniuse.com/#search=mask\n\nvar mask = {\n noPrefill: ['mask'],\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^mask/.test(prop)) return false;\n\n if (prefix.js === 'Webkit') {\n var longhand = 'mask-image';\n\n if (camelize(longhand) in style) {\n return prop;\n }\n\n if (prefix.js + pascalize(longhand) in style) {\n return prefix.css + prop;\n }\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=text-orientation\n\nvar textOrientation = {\n noPrefill: ['text-orientation'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'text-orientation') return false;\n\n if (prefix.vendor === 'apple' && !prefix.isTouch) {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=transform\n\nvar transform = {\n noPrefill: ['transform'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transform') return false;\n\n if (options.transform) {\n return prop;\n }\n\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=transition\n\nvar transition = {\n noPrefill: ['transition'],\n supportedProperty: function supportedProperty(prop, style, options) {\n if (prop !== 'transition') return false;\n\n if (options.transition) {\n return prop;\n }\n\n return prefix.css + prop;\n }\n};\n\n// https://caniuse.com/#search=writing-mode\n\nvar writingMode = {\n noPrefill: ['writing-mode'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'writing-mode') return false;\n\n if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=user-select\n\nvar userSelect = {\n noPrefill: ['user-select'],\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'user-select') return false;\n\n if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {\n return prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=multicolumn\n// https://github.com/postcss/autoprefixer/issues/491\n// https://github.com/postcss/autoprefixer/issues/177\n\nvar breakPropsOld = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^break-/.test(prop)) return false;\n\n if (prefix.js === 'Webkit') {\n var jsProp = \"WebkitColumn\" + pascalize(prop);\n return jsProp in style ? prefix.css + \"column-\" + prop : false;\n }\n\n if (prefix.js === 'Moz') {\n var _jsProp = \"page\" + pascalize(prop);\n\n return _jsProp in style ? \"page-\" + prop : false;\n }\n\n return false;\n }\n};\n\n// See https://github.com/postcss/autoprefixer/issues/324.\n\nvar inlineLogicalOld = {\n supportedProperty: function supportedProperty(prop, style) {\n if (!/^(border|margin|padding)-inline/.test(prop)) return false;\n if (prefix.js === 'Moz') return prop;\n var newProp = prop.replace('-inline', '');\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n};\n\n// Camelization is required because we can't test using.\n// CSS syntax for e.g. in FF.\n\nvar unprefixed = {\n supportedProperty: function supportedProperty(prop, style) {\n return camelize(prop) in style ? prop : false;\n }\n};\n\nvar prefixed = {\n supportedProperty: function supportedProperty(prop, style) {\n var pascalized = pascalize(prop); // Return custom CSS variable without prefixing.\n\n if (prop[0] === '-') return prop; // Return already prefixed value without prefixing.\n\n if (prop[0] === '-' && prop[1] === '-') return prop;\n if (prefix.js + pascalized in style) return prefix.css + prop; // Try webkit fallback.\n\n if (prefix.js !== 'Webkit' && \"Webkit\" + pascalized in style) return \"-webkit-\" + prop;\n return false;\n }\n};\n\n// https://caniuse.com/#search=scroll-snap\n\nvar scrollSnap = {\n supportedProperty: function supportedProperty(prop) {\n if (prop.substring(0, 11) !== 'scroll-snap') return false;\n\n if (prefix.js === 'ms') {\n return \"\" + prefix.css + prop;\n }\n\n return prop;\n }\n};\n\n// https://caniuse.com/#search=overscroll-behavior\n\nvar overscrollBehavior = {\n supportedProperty: function supportedProperty(prop) {\n if (prop !== 'overscroll-behavior') return false;\n\n if (prefix.js === 'ms') {\n return prefix.css + \"scroll-chaining\";\n }\n\n return prop;\n }\n};\n\nvar propMap = {\n 'flex-grow': 'flex-positive',\n 'flex-shrink': 'flex-negative',\n 'flex-basis': 'flex-preferred-size',\n 'justify-content': 'flex-pack',\n order: 'flex-order',\n 'align-items': 'flex-align',\n 'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.\n\n}; // Support old flex spec from 2012.\n\nvar flex2012 = {\n supportedProperty: function supportedProperty(prop, style) {\n var newProp = propMap[prop];\n if (!newProp) return false;\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n};\n\nvar propMap$1 = {\n flex: 'box-flex',\n 'flex-grow': 'box-flex',\n 'flex-direction': ['box-orient', 'box-direction'],\n order: 'box-ordinal-group',\n 'align-items': 'box-align',\n 'flex-flow': ['box-orient', 'box-direction'],\n 'justify-content': 'box-pack'\n};\nvar propKeys = Object.keys(propMap$1);\n\nvar prefixCss = function prefixCss(p) {\n return prefix.css + p;\n}; // Support old flex spec from 2009.\n\n\nvar flex2009 = {\n supportedProperty: function supportedProperty(prop, style, _ref) {\n var multiple = _ref.multiple;\n\n if (propKeys.indexOf(prop) > -1) {\n var newProp = propMap$1[prop];\n\n if (!Array.isArray(newProp)) {\n return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;\n }\n\n if (!multiple) return false;\n\n for (var i = 0; i < newProp.length; i++) {\n if (!(prefix.js + pascalize(newProp[0]) in style)) {\n return false;\n }\n }\n\n return newProp.map(prefixCss);\n }\n\n return false;\n }\n};\n\n// plugins = [\n// ...plugins,\n// breakPropsOld,\n// inlineLogicalOld,\n// unprefixed,\n// prefixed,\n// scrollSnap,\n// flex2012,\n// flex2009\n// ]\n// Plugins without 'noPrefill' value, going last.\n// 'flex-*' plugins should be at the bottom.\n// 'flex2009' going after 'flex2012'.\n// 'prefixed' going after 'unprefixed'\n\nvar plugins = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];\nvar propertyDetectors = plugins.filter(function (p) {\n return p.supportedProperty;\n}).map(function (p) {\n return p.supportedProperty;\n});\nvar noPrefill = plugins.filter(function (p) {\n return p.noPrefill;\n}).reduce(function (a, p) {\n a.push.apply(a, _toConsumableArray(p.noPrefill));\n return a;\n}, []);\n\nvar el;\nvar cache = {};\n\nif (isInBrowser) {\n el = document.createElement('p'); // We test every property on vendor prefix requirement.\n // Once tested, result is cached. It gives us up to 70% perf boost.\n // http://jsperf.com/element-style-object-access-vs-plain-object\n //\n // Prefill cache with known css properties to reduce amount of\n // properties we need to feature test at runtime.\n // http://davidwalsh.name/vendor-prefix\n\n var computed = window.getComputedStyle(document.documentElement, '');\n\n for (var key$1 in computed) {\n // eslint-disable-next-line no-restricted-globals\n if (!isNaN(key$1)) cache[computed[key$1]] = computed[key$1];\n } // Properties that cannot be correctly detected using the\n // cache prefill method.\n\n\n noPrefill.forEach(function (x) {\n return delete cache[x];\n });\n}\n/**\n * Test if a property is supported, returns supported property with vendor\n * prefix if required. Returns `false` if not supported.\n *\n * @param {String} prop dash separated\n * @param {Object} [options]\n * @return {String|Boolean}\n * @api public\n */\n\n\nfunction supportedProperty(prop, options) {\n if (options === void 0) {\n options = {};\n }\n\n // For server-side rendering.\n if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.\n\n if (process.env.NODE_ENV !== 'benchmark' && cache[prop] != null) {\n return cache[prop];\n } // Check if 'transition' or 'transform' natively supported in browser.\n\n\n if (prop === 'transition' || prop === 'transform') {\n options[prop] = prop in el.style;\n } // Find a plugin for current prefix property.\n\n\n for (var i = 0; i < propertyDetectors.length; i++) {\n cache[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.\n\n if (cache[prop]) break;\n } // Reset styles for current property.\n // Firefox can even throw an error for invalid properties, e.g., \"0\".\n\n\n try {\n el.style[prop] = '';\n } catch (err) {\n return false;\n }\n\n return cache[prop];\n}\n\nvar cache$1 = {};\nvar transitionProperties = {\n transition: 1,\n 'transition-property': 1,\n '-webkit-transition': 1,\n '-webkit-transition-property': 1\n};\nvar transPropsRegExp = /(^\\s*[\\w-]+)|, (\\s*[\\w-]+)(?![^()]*\\))/g;\nvar el$1;\n/**\n * Returns prefixed value transition/transform if needed.\n *\n * @param {String} match\n * @param {String} p1\n * @param {String} p2\n * @return {String}\n * @api private\n */\n\nfunction prefixTransitionCallback(match, p1, p2) {\n if (p1 === 'var') return 'var';\n if (p1 === 'all') return 'all';\n if (p2 === 'all') return ', all';\n var prefixedValue = p1 ? supportedProperty(p1) : \", \" + supportedProperty(p2);\n if (!prefixedValue) return p1 || p2;\n return prefixedValue;\n}\n\nif (isInBrowser) el$1 = document.createElement('p');\n/**\n * Returns prefixed value if needed. Returns `false` if value is not supported.\n *\n * @param {String} property\n * @param {String} value\n * @return {String|Boolean}\n * @api public\n */\n\nfunction supportedValue(property, value) {\n // For server-side rendering.\n var prefixedValue = value;\n if (!el$1 || property === 'content') return value; // It is a string or a number as a string like '1'.\n // We want only prefixable values here.\n // eslint-disable-next-line no-restricted-globals\n\n if (typeof prefixedValue !== 'string' || !isNaN(parseInt(prefixedValue, 10))) {\n return prefixedValue;\n } // Create cache key for current value.\n\n\n var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.\n\n if (process.env.NODE_ENV !== 'benchmark' && cache$1[cacheKey] != null) {\n return cache$1[cacheKey];\n } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.\n\n\n try {\n // Test value as it is.\n el$1.style[property] = prefixedValue;\n } catch (err) {\n // Return false if value not supported.\n cache$1[cacheKey] = false;\n return false;\n } // If 'transition' or 'transition-property' property.\n\n\n if (transitionProperties[property]) {\n prefixedValue = prefixedValue.replace(transPropsRegExp, prefixTransitionCallback);\n } else if (el$1.style[property] === '') {\n // Value with a vendor prefix.\n prefixedValue = prefix.css + prefixedValue; // Hardcode test to convert \"flex\" to \"-ms-flexbox\" for IE10.\n\n if (prefixedValue === '-ms-flex') el$1.style[property] = '-ms-flexbox'; // Test prefixed value.\n\n el$1.style[property] = prefixedValue; // Return false if value not supported.\n\n if (el$1.style[property] === '') {\n cache$1[cacheKey] = false;\n return false;\n }\n } // Reset styles for current property.\n\n\n el$1.style[property] = ''; // Write current value to cache.\n\n cache$1[cacheKey] = prefixedValue;\n return cache$1[cacheKey];\n}\n\nexport { prefix, supportedKeyframes, supportedProperty, supportedValue };\n","import { supportedKeyframes, supportedValue, supportedProperty } from 'css-vendor';\nimport { toCssValue } from 'jss';\n\n/**\n * Add vendor prefix to a property name when needed.\n *\n * @api public\n */\n\nfunction jssVendorPrefixer() {\n function onProcessRule(rule) {\n if (rule.type === 'keyframes') {\n var atRule = rule;\n atRule.at = supportedKeyframes(atRule.at);\n }\n }\n\n function prefixStyle(style) {\n for (var prop in style) {\n var value = style[prop];\n\n if (prop === 'fallbacks' && Array.isArray(value)) {\n style[prop] = value.map(prefixStyle);\n continue;\n }\n\n var changeProp = false;\n var supportedProp = supportedProperty(prop);\n if (supportedProp && supportedProp !== prop) changeProp = true;\n var changeValue = false;\n var supportedValue$1 = supportedValue(supportedProp, toCssValue(value));\n if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;\n\n if (changeProp || changeValue) {\n if (changeProp) delete style[prop];\n style[supportedProp || prop] = supportedValue$1 || value;\n }\n }\n\n return style;\n }\n\n function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n return prefixStyle(style);\n }\n\n function onChangeValue(value, prop) {\n return supportedValue(prop, toCssValue(value)) || value;\n }\n\n return {\n onProcessRule: onProcessRule,\n onProcessStyle: onProcessStyle,\n onChangeValue: onChangeValue\n };\n}\n\nexport default jssVendorPrefixer;\n","import functions from 'jss-plugin-rule-value-function';\nimport global from 'jss-plugin-global';\nimport nested from 'jss-plugin-nested';\nimport camelCase from 'jss-plugin-camel-case';\nimport defaultUnit from 'jss-plugin-default-unit';\nimport vendorPrefixer from 'jss-plugin-vendor-prefixer';\nimport propsSort from 'jss-plugin-props-sort'; // Subset of jss-preset-default with only the plugins the Material-UI components are using.\n\nexport default function jssPreset() {\n return {\n plugins: [functions(), global(), nested(), camelCase(), defaultUnit(), // Disable the vendor prefixer server-side, it does nothing.\n // This way, we can get a performance boost.\n // In the documentation, we are using `autoprefixer` to solve this problem.\n typeof window === 'undefined' ? null : vendorPrefixer(), propsSort()]\n };\n}","/**\n * Sort props by length.\n */\nfunction jssPropsSort() {\n var sort = function sort(prop0, prop1) {\n if (prop0.length === prop1.length) {\n return prop0 > prop1 ? 1 : -1;\n }\n\n return prop0.length - prop1.length;\n };\n\n return {\n onProcessStyle: function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n var newStyle = {};\n var props = Object.keys(style).sort(sort);\n\n for (var i = 0; i < props.length; i++) {\n newStyle[props[i]] = style[props[i]];\n }\n\n return newStyle;\n }\n };\n}\n\nexport default jssPropsSort;\n","// Used https://github.com/thinkloop/multi-key-cache as inspiration\nvar multiKeyStore = {\n set: function set(cache, key1, key2, value) {\n var subCache = cache.get(key1);\n\n if (!subCache) {\n subCache = new Map();\n cache.set(key1, subCache);\n }\n\n subCache.set(key2, value);\n },\n get: function get(cache, key1, key2) {\n var subCache = cache.get(key1);\n return subCache ? subCache.get(key2) : undefined;\n },\n delete: function _delete(cache, key1, key2) {\n var subCache = cache.get(key1);\n subCache.delete(key2);\n }\n};\nexport default multiKeyStore;","/* eslint-disable import/prefer-default-export */\n// Global index counter to preserve source order.\n// We create the style sheet during the creation of the component,\n// children are handled after the parents, so the order of style elements would be parent->child.\n// It is a problem though when a parent passes a className\n// which needs to override any child's styles.\n// StyleSheet of the child has a higher specificity, because of the source order.\n// So our solution is to render sheets them in the reverse order child->sheet, so\n// that parent has a higher specificity.\nvar indexCounter = -1e9;\nexport function increment() {\n indexCounter += 1;\n\n if (process.env.NODE_ENV !== 'production') {\n if (indexCounter >= 0) {\n console.warn(['Material-UI: You might have a memory leak.', 'The indexCounter is not supposed to grow that much.'].join('\\n'));\n }\n }\n\n return indexCounter;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { deepmerge } from '@material-ui/utils';\nimport noopTheme from './noopTheme';\nexport default function getStylesCreator(stylesOrCreator) {\n var themingEnabled = typeof stylesOrCreator === 'function';\n\n if (process.env.NODE_ENV !== 'production') {\n if (_typeof(stylesOrCreator) !== 'object' && !themingEnabled) {\n console.error(['Material-UI: The `styles` argument provided is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\\n'));\n }\n }\n\n return {\n create: function create(theme, name) {\n var styles;\n\n try {\n styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;\n } catch (err) {\n if (process.env.NODE_ENV !== 'production') {\n if (themingEnabled === true && theme === noopTheme) {\n // TODO: prepend error message/name instead\n console.error(['Material-UI: The `styles` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\\n'));\n }\n }\n\n throw err;\n }\n\n if (!name || !theme.overrides || !theme.overrides[name]) {\n return styles;\n }\n\n var overrides = theme.overrides[name];\n\n var stylesWithOverrides = _extends({}, styles);\n\n Object.keys(overrides).forEach(function (key) {\n if (process.env.NODE_ENV !== 'production') {\n if (!stylesWithOverrides[key]) {\n console.warn(['Material-UI: You are trying to override a style that does not exist.', \"Fix the `\".concat(key, \"` key of `theme.overrides.\").concat(name, \"`.\")].join('\\n'));\n }\n }\n\n stylesWithOverrides[key] = deepmerge(stylesWithOverrides[key], overrides[key]);\n });\n return stylesWithOverrides;\n },\n options: {}\n };\n}","// We use the same empty object to ref count the styles that don't need a theme object.\nvar noopTheme = {};\nexport default noopTheme;","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport { getDynamicStyles } from 'jss';\nimport mergeClasses from '../mergeClasses';\nimport multiKeyStore from './multiKeyStore';\nimport useTheme from '../useTheme';\nimport { StylesContext } from '../StylesProvider';\nimport { increment } from './indexCounter';\nimport getStylesCreator from '../getStylesCreator';\nimport noopTheme from '../getStylesCreator/noopTheme';\n\nfunction getClasses(_ref, classes, Component) {\n var state = _ref.state,\n stylesOptions = _ref.stylesOptions;\n\n if (stylesOptions.disableGeneration) {\n return classes || {};\n }\n\n if (!state.cacheClasses) {\n state.cacheClasses = {\n // Cache for the finalized classes value.\n value: null,\n // Cache for the last used classes prop pointer.\n lastProp: null,\n // Cache for the last used rendered classes pointer.\n lastJSS: {}\n };\n } // Tracks if either the rendered classes or classes prop has changed,\n // requiring the generation of a new finalized classes object.\n\n\n var generate = false;\n\n if (state.classes !== state.cacheClasses.lastJSS) {\n state.cacheClasses.lastJSS = state.classes;\n generate = true;\n }\n\n if (classes !== state.cacheClasses.lastProp) {\n state.cacheClasses.lastProp = classes;\n generate = true;\n }\n\n if (generate) {\n state.cacheClasses.value = mergeClasses({\n baseClasses: state.cacheClasses.lastJSS,\n newClasses: classes,\n Component: Component\n });\n }\n\n return state.cacheClasses.value;\n}\n\nfunction attach(_ref2, props) {\n var state = _ref2.state,\n theme = _ref2.theme,\n stylesOptions = _ref2.stylesOptions,\n stylesCreator = _ref2.stylesCreator,\n name = _ref2.name;\n\n if (stylesOptions.disableGeneration) {\n return;\n }\n\n var sheetManager = multiKeyStore.get(stylesOptions.sheetsManager, stylesCreator, theme);\n\n if (!sheetManager) {\n sheetManager = {\n refs: 0,\n staticSheet: null,\n dynamicStyles: null\n };\n multiKeyStore.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);\n }\n\n var options = _extends({}, stylesCreator.options, stylesOptions, {\n theme: theme,\n flip: typeof stylesOptions.flip === 'boolean' ? stylesOptions.flip : theme.direction === 'rtl'\n });\n\n options.generateId = options.serverGenerateClassName || options.generateClassName;\n var sheetsRegistry = stylesOptions.sheetsRegistry;\n\n if (sheetManager.refs === 0) {\n var staticSheet;\n\n if (stylesOptions.sheetsCache) {\n staticSheet = multiKeyStore.get(stylesOptions.sheetsCache, stylesCreator, theme);\n }\n\n var styles = stylesCreator.create(theme, name);\n\n if (!staticSheet) {\n staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends({\n link: false\n }, options));\n staticSheet.attach();\n\n if (stylesOptions.sheetsCache) {\n multiKeyStore.set(stylesOptions.sheetsCache, stylesCreator, theme, staticSheet);\n }\n }\n\n if (sheetsRegistry) {\n sheetsRegistry.add(staticSheet);\n }\n\n sheetManager.staticSheet = staticSheet;\n sheetManager.dynamicStyles = getDynamicStyles(styles);\n }\n\n if (sheetManager.dynamicStyles) {\n var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends({\n link: true\n }, options));\n dynamicSheet.update(props);\n dynamicSheet.attach();\n state.dynamicSheet = dynamicSheet;\n state.classes = mergeClasses({\n baseClasses: sheetManager.staticSheet.classes,\n newClasses: dynamicSheet.classes\n });\n\n if (sheetsRegistry) {\n sheetsRegistry.add(dynamicSheet);\n }\n } else {\n state.classes = sheetManager.staticSheet.classes;\n }\n\n sheetManager.refs += 1;\n}\n\nfunction update(_ref3, props) {\n var state = _ref3.state;\n\n if (state.dynamicSheet) {\n state.dynamicSheet.update(props);\n }\n}\n\nfunction detach(_ref4) {\n var state = _ref4.state,\n theme = _ref4.theme,\n stylesOptions = _ref4.stylesOptions,\n stylesCreator = _ref4.stylesCreator;\n\n if (stylesOptions.disableGeneration) {\n return;\n }\n\n var sheetManager = multiKeyStore.get(stylesOptions.sheetsManager, stylesCreator, theme);\n sheetManager.refs -= 1;\n var sheetsRegistry = stylesOptions.sheetsRegistry;\n\n if (sheetManager.refs === 0) {\n multiKeyStore.delete(stylesOptions.sheetsManager, stylesCreator, theme);\n stylesOptions.jss.removeStyleSheet(sheetManager.staticSheet);\n\n if (sheetsRegistry) {\n sheetsRegistry.remove(sheetManager.staticSheet);\n }\n }\n\n if (state.dynamicSheet) {\n stylesOptions.jss.removeStyleSheet(state.dynamicSheet);\n\n if (sheetsRegistry) {\n sheetsRegistry.remove(state.dynamicSheet);\n }\n }\n}\n\nfunction useSynchronousEffect(func, values) {\n var key = React.useRef([]);\n var output; // Store \"generation\" key. Just returns a new object every time\n\n var currentKey = React.useMemo(function () {\n return {};\n }, values); // eslint-disable-line react-hooks/exhaustive-deps\n // \"the first render\", or \"memo dropped the value\"\n\n if (key.current !== currentKey) {\n key.current = currentKey;\n output = func();\n }\n\n React.useEffect(function () {\n return function () {\n if (output) {\n output();\n }\n };\n }, [currentKey] // eslint-disable-line react-hooks/exhaustive-deps\n );\n}\n\nexport default function makeStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var name = options.name,\n classNamePrefixOption = options.classNamePrefix,\n Component = options.Component,\n _options$defaultTheme = options.defaultTheme,\n defaultTheme = _options$defaultTheme === void 0 ? noopTheme : _options$defaultTheme,\n stylesOptions2 = _objectWithoutProperties(options, [\"name\", \"classNamePrefix\", \"Component\", \"defaultTheme\"]);\n\n var stylesCreator = getStylesCreator(stylesOrCreator);\n var classNamePrefix = name || classNamePrefixOption || 'makeStyles';\n stylesCreator.options = {\n index: increment(),\n name: name,\n meta: classNamePrefix,\n classNamePrefix: classNamePrefix\n };\n\n var useStyles = function useStyles() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var theme = useTheme() || defaultTheme;\n\n var stylesOptions = _extends({}, React.useContext(StylesContext), stylesOptions2);\n\n var instance = React.useRef();\n var shouldUpdate = React.useRef();\n useSynchronousEffect(function () {\n var current = {\n name: name,\n state: {},\n stylesCreator: stylesCreator,\n stylesOptions: stylesOptions,\n theme: theme\n };\n attach(current, props);\n shouldUpdate.current = false;\n instance.current = current;\n return function () {\n detach(current);\n };\n }, [theme, stylesCreator]);\n React.useEffect(function () {\n if (shouldUpdate.current) {\n update(instance.current, props);\n }\n\n shouldUpdate.current = true;\n });\n var classes = getClasses(instance.current, props.classes, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(classes);\n }\n\n return classes;\n };\n\n return useStyles;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport { getDisplayName } from '@material-ui/utils';\nexport default function mergeClasses() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var baseClasses = options.baseClasses,\n newClasses = options.newClasses,\n Component = options.Component;\n\n if (!newClasses) {\n return baseClasses;\n }\n\n var nextClasses = _extends({}, baseClasses);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof newClasses === 'string') {\n console.error([\"Material-UI: The value `\".concat(newClasses, \"` \") + \"provided to the classes prop of \".concat(getDisplayName(Component), \" is incorrect.\"), 'You might want to use the className prop instead.'].join('\\n'));\n return baseClasses;\n }\n }\n\n Object.keys(newClasses).forEach(function (key) {\n if (process.env.NODE_ENV !== 'production') {\n if (!baseClasses[key] && newClasses[key]) {\n console.error([\"Material-UI: The key `\".concat(key, \"` \") + \"provided to the classes prop is not implemented in \".concat(getDisplayName(Component), \".\"), \"You can only override one of the following: \".concat(Object.keys(baseClasses).join(','), \".\")].join('\\n'));\n }\n\n if (newClasses[key] && typeof newClasses[key] !== 'string') {\n console.error([\"Material-UI: The key `\".concat(key, \"` \") + \"provided to the classes prop is not valid for \".concat(getDisplayName(Component), \".\"), \"You need to provide a non empty string instead of: \".concat(newClasses[key], \".\")].join('\\n'));\n }\n }\n\n if (newClasses[key]) {\n nextClasses[key] = \"\".concat(baseClasses[key], \" \").concat(newClasses[key]);\n }\n });\n return nextClasses;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport clsx from 'clsx';\nimport PropTypes from 'prop-types';\nimport { chainPropTypes, getDisplayName } from '@material-ui/utils';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport makeStyles from '../makeStyles';\n\nfunction omit(input, fields) {\n var output = {};\n Object.keys(input).forEach(function (prop) {\n if (fields.indexOf(prop) === -1) {\n output[prop] = input[prop];\n }\n });\n return output;\n} // styled-components's API removes the mapping between components and styles.\n// Using components as a low-level styling construct can be simpler.\n\n\nexport default function styled(Component) {\n var componentCreator = function componentCreator(style) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var name = options.name,\n stylesOptions = _objectWithoutProperties(options, [\"name\"]);\n\n if (process.env.NODE_ENV !== 'production' && Component === undefined) {\n throw new Error(['You are calling styled(Component)(style) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n\n var classNamePrefix = name;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n var displayName = getDisplayName(Component);\n\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n\n var stylesOrCreator = typeof style === 'function' ? function (theme) {\n return {\n root: function root(props) {\n return style(_extends({\n theme: theme\n }, props));\n }\n };\n } : {\n root: style\n };\n var useStyles = makeStyles(stylesOrCreator, _extends({\n Component: Component,\n name: name || Component.displayName,\n classNamePrefix: classNamePrefix\n }, stylesOptions));\n var filterProps;\n var propTypes = {};\n\n if (style.filterProps) {\n filterProps = style.filterProps;\n delete style.filterProps;\n }\n /* eslint-disable react/forbid-foreign-prop-types */\n\n\n if (style.propTypes) {\n propTypes = style.propTypes;\n delete style.propTypes;\n }\n /* eslint-enable react/forbid-foreign-prop-types */\n\n\n var StyledComponent = /*#__PURE__*/React.forwardRef(function StyledComponent(props, ref) {\n var children = props.children,\n classNameProp = props.className,\n clone = props.clone,\n ComponentProp = props.component,\n other = _objectWithoutProperties(props, [\"children\", \"className\", \"clone\", \"component\"]);\n\n var classes = useStyles(props);\n var className = clsx(classes.root, classNameProp);\n var spread = other;\n\n if (filterProps) {\n spread = omit(spread, filterProps);\n }\n\n if (clone) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n className: clsx(children.props.className, className)\n }, spread));\n }\n\n if (typeof children === 'function') {\n return children(_extends({\n className: className\n }, spread));\n }\n\n var FinalComponent = ComponentProp || Component;\n return /*#__PURE__*/React.createElement(FinalComponent, _extends({\n ref: ref,\n className: className\n }, spread), children);\n });\n process.env.NODE_ENV !== \"production\" ? StyledComponent.propTypes = _extends({\n /**\n * A render function or node.\n */\n children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the component will recycle it's children HTML element.\n * It's using `React.cloneElement` internally.\n *\n * This prop will be deprecated and removed in v5\n */\n clone: chainPropTypes(PropTypes.bool, function (props) {\n if (props.clone && props.component) {\n return new Error('You can not use the clone and component prop at the same time.');\n }\n\n return null;\n }),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType\n }, propTypes) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n StyledComponent.displayName = \"Styled(\".concat(classNamePrefix, \")\");\n }\n\n hoistNonReactStatics(StyledComponent, Component);\n return StyledComponent;\n };\n\n return componentCreator;\n}","import React from 'react';\nvar ThemeContext = React.createContext(null);\n\nif (process.env.NODE_ENV !== 'production') {\n ThemeContext.displayName = 'ThemeContext';\n}\n\nexport default ThemeContext;","import React from 'react';\nimport ThemeContext from './ThemeContext';\nexport default function useTheme() {\n var theme = React.useContext(ThemeContext);\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n\n return theme;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { chainPropTypes, getDisplayName } from '@material-ui/utils';\nimport makeStyles from '../makeStyles';\nimport getThemeProps from '../getThemeProps';\nimport useTheme from '../useTheme'; // Link a style sheet with a component.\n// It does not modify the component passed to it;\n// instead, it returns a new component, with a `classes` property.\n\nvar withStyles = function withStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return function (Component) {\n var defaultTheme = options.defaultTheme,\n _options$withTheme = options.withTheme,\n withTheme = _options$withTheme === void 0 ? false : _options$withTheme,\n name = options.name,\n stylesOptions = _objectWithoutProperties(options, [\"defaultTheme\", \"withTheme\", \"name\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withStyles(styles)(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n\n var classNamePrefix = name;\n\n if (process.env.NODE_ENV !== 'production') {\n if (!name) {\n // Provide a better DX outside production.\n var displayName = getDisplayName(Component);\n\n if (displayName !== undefined) {\n classNamePrefix = displayName;\n }\n }\n }\n\n var useStyles = makeStyles(stylesOrCreator, _extends({\n defaultTheme: defaultTheme,\n Component: Component,\n name: name || Component.displayName,\n classNamePrefix: classNamePrefix\n }, stylesOptions));\n var WithStyles = /*#__PURE__*/React.forwardRef(function WithStyles(props, ref) {\n var classesProp = props.classes,\n innerRef = props.innerRef,\n other = _objectWithoutProperties(props, [\"classes\", \"innerRef\"]); // The wrapper receives only user supplied props, which could be a subset of\n // the actual props Component might receive due to merging with defaultProps.\n // So copying it here would give us the same result in the wrapper as well.\n\n\n var classes = useStyles(_extends({}, Component.defaultProps, props));\n var theme;\n var more = other;\n\n if (typeof name === 'string' || withTheme) {\n // name and withTheme are invariant in the outer scope\n // eslint-disable-next-line react-hooks/rules-of-hooks\n theme = useTheme() || defaultTheme;\n\n if (name) {\n more = getThemeProps({\n theme: theme,\n name: name,\n props: other\n });\n } // Provide the theme to the wrapped component.\n // So we don't have to use the `withTheme()` Higher-order Component.\n\n\n if (withTheme && !more.theme) {\n more.theme = theme;\n }\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: innerRef || ref,\n classes: classes\n }, more));\n });\n process.env.NODE_ENV !== \"production\" ? WithStyles.propTypes = {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n\n /**\n * Use that prop to pass a ref to the decorated component.\n * @deprecated\n */\n innerRef: chainPropTypes(PropTypes.oneOfType([PropTypes.func, PropTypes.object]), function (props) {\n if (props.innerRef == null) {\n return null;\n }\n\n return null; // return new Error(\n // 'Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' +\n // 'Refs are now automatically forwarded to the inner component.',\n // );\n })\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithStyles.displayName = \"WithStyles(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithStyles, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithStyles.Naked = Component;\n WithStyles.options = options;\n WithStyles.useStyles = useStyles;\n }\n\n return WithStyles;\n };\n};\n\nexport default withStyles;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport { chainPropTypes, getDisplayName } from '@material-ui/utils';\nimport useTheme from '../useTheme';\nexport function withThemeCreator() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var defaultTheme = options.defaultTheme;\n\n var withTheme = function withTheme(Component) {\n if (process.env.NODE_ENV !== 'production') {\n if (Component === undefined) {\n throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\\n'));\n }\n }\n\n var WithTheme = /*#__PURE__*/React.forwardRef(function WithTheme(props, ref) {\n var innerRef = props.innerRef,\n other = _objectWithoutProperties(props, [\"innerRef\"]);\n\n var theme = useTheme() || defaultTheme;\n return /*#__PURE__*/React.createElement(Component, _extends({\n theme: theme,\n ref: innerRef || ref\n }, other));\n });\n process.env.NODE_ENV !== \"production\" ? WithTheme.propTypes = {\n /**\n * Use that prop to pass a ref to the decorated component.\n * @deprecated\n */\n innerRef: chainPropTypes(PropTypes.oneOfType([PropTypes.func, PropTypes.object]), function (props) {\n if (props.innerRef == null) {\n return null;\n }\n\n return new Error('Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' + 'Refs are now automatically forwarded to the inner component.');\n })\n } : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n WithTheme.displayName = \"WithTheme(\".concat(getDisplayName(Component), \")\");\n }\n\n hoistNonReactStatics(WithTheme, Component);\n\n if (process.env.NODE_ENV !== 'production') {\n // Exposed for test purposes.\n WithTheme.Naked = Component;\n }\n\n return WithTheme;\n };\n\n return withTheme;\n} // Provide the theme object as a prop to the input component.\n// It's an alternative API to useTheme().\n// We encourage the usage of useTheme() where possible.\n\nvar withTheme = withThemeCreator();\nexport default withTheme;","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport PropTypes from 'prop-types';\nimport merge from './merge'; // The breakpoint **start** at this value.\n// For instance with the first breakpoint xs: [xs, sm[.\n\nvar values = {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n};\nvar defaultBreakpoints = {\n // Sorted ASC by size. That's important.\n // It can't be configured as it's used statically for propTypes.\n keys: ['xs', 'sm', 'md', 'lg', 'xl'],\n up: function up(key) {\n return \"@media (min-width:\".concat(values[key], \"px)\");\n }\n};\nexport function handleBreakpoints(props, propValue, styleFromPropValue) {\n if (process.env.NODE_ENV !== 'production') {\n if (!props.theme) {\n console.error('Material-UI: You are calling a style function without a theme value.');\n }\n }\n\n if (Array.isArray(propValue)) {\n var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;\n return propValue.reduce(function (acc, item, index) {\n acc[themeBreakpoints.up(themeBreakpoints.keys[index])] = styleFromPropValue(propValue[index]);\n return acc;\n }, {});\n }\n\n if (_typeof(propValue) === 'object') {\n var _themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;\n\n return Object.keys(propValue).reduce(function (acc, breakpoint) {\n acc[_themeBreakpoints.up(breakpoint)] = styleFromPropValue(propValue[breakpoint]);\n return acc;\n }, {});\n }\n\n var output = styleFromPropValue(propValue);\n return output;\n}\n\nfunction breakpoints(styleFunction) {\n var newStyleFunction = function newStyleFunction(props) {\n var base = styleFunction(props);\n var themeBreakpoints = props.theme.breakpoints || defaultBreakpoints;\n var extended = themeBreakpoints.keys.reduce(function (acc, key) {\n if (props[key]) {\n acc = acc || {};\n acc[themeBreakpoints.up(key)] = styleFunction(_extends({\n theme: props.theme\n }, props[key]));\n }\n\n return acc;\n }, null);\n return merge(base, extended);\n };\n\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n xs: PropTypes.object,\n sm: PropTypes.object,\n md: PropTypes.object,\n lg: PropTypes.object,\n xl: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['xs', 'sm', 'md', 'lg', 'xl'].concat(_toConsumableArray(styleFunction.filterProps));\n return newStyleFunction;\n}\n\nexport default breakpoints;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\n\nfunction getPath(obj, path) {\n if (!path || typeof path !== 'string') {\n return null;\n }\n\n return path.split('.').reduce(function (acc, item) {\n return acc && acc[item] ? acc[item] : null;\n }, obj);\n}\n\nfunction style(options) {\n var prop = options.prop,\n _options$cssProperty = options.cssProperty,\n cssProperty = _options$cssProperty === void 0 ? options.prop : _options$cssProperty,\n themeKey = options.themeKey,\n transform = options.transform;\n\n var fn = function fn(props) {\n if (props[prop] == null) {\n return null;\n }\n\n var propValue = props[prop];\n var theme = props.theme;\n var themeMapping = getPath(theme, themeKey) || {};\n\n var styleFromPropValue = function styleFromPropValue(propValueFinal) {\n var value;\n\n if (typeof themeMapping === 'function') {\n value = themeMapping(propValueFinal);\n } else if (Array.isArray(themeMapping)) {\n value = themeMapping[propValueFinal] || propValueFinal;\n } else {\n value = getPath(themeMapping, propValueFinal) || propValueFinal;\n\n if (transform) {\n value = transform(value);\n }\n }\n\n if (cssProperty === false) {\n return value;\n }\n\n return _defineProperty({}, cssProperty, value);\n };\n\n return handleBreakpoints(props, propValue, styleFromPropValue);\n };\n\n fn.propTypes = process.env.NODE_ENV !== 'production' ? _defineProperty({}, prop, responsivePropType) : {};\n fn.filterProps = [prop];\n return fn;\n}\n\nexport default style;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport merge from './merge';\n\nfunction compose() {\n for (var _len = arguments.length, styles = new Array(_len), _key = 0; _key < _len; _key++) {\n styles[_key] = arguments[_key];\n }\n\n var fn = function fn(props) {\n return styles.reduce(function (acc, style) {\n var output = style(props);\n\n if (output) {\n return merge(acc, output);\n }\n\n return acc;\n }, {});\n }; // Alternative approach that doesn't yield any performance gain.\n // const handlers = styles.reduce((acc, style) => {\n // style.filterProps.forEach(prop => {\n // acc[prop] = style;\n // });\n // return acc;\n // }, {});\n // const fn = props => {\n // return Object.keys(props).reduce((acc, prop) => {\n // if (handlers[prop]) {\n // return merge(acc, handlers[prop](props));\n // }\n // return acc;\n // }, {});\n // };\n\n\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce(function (acc, style) {\n return _extends(acc, style.propTypes);\n }, {}) : {};\n fn.filterProps = styles.reduce(function (acc, style) {\n return acc.concat(style.filterProps);\n }, []);\n return fn;\n}\n\nexport default compose;","import style from './style';\nimport compose from './compose';\n\nfunction getBorder(value) {\n if (typeof value !== 'number') {\n return value;\n }\n\n return \"\".concat(value, \"px solid\");\n}\n\nexport var border = style({\n prop: 'border',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderTop = style({\n prop: 'borderTop',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderRight = style({\n prop: 'borderRight',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderBottom = style({\n prop: 'borderBottom',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderLeft = style({\n prop: 'borderLeft',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderColor = style({\n prop: 'borderColor',\n themeKey: 'palette'\n});\nexport var borderRadius = style({\n prop: 'borderRadius',\n themeKey: 'shape'\n});\nvar borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);\nexport default borders;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport merge from './merge';\n\nfunction omit(input, fields) {\n var output = {};\n Object.keys(input).forEach(function (prop) {\n if (fields.indexOf(prop) === -1) {\n output[prop] = input[prop];\n }\n });\n return output;\n}\n\nfunction css(styleFunction) {\n var newStyleFunction = function newStyleFunction(props) {\n var output = styleFunction(props);\n\n if (props.css) {\n return _extends({}, merge(output, styleFunction(_extends({\n theme: props.theme\n }, props.css))), omit(props.css, [styleFunction.filterProps]));\n }\n\n return output;\n };\n\n newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, {\n css: PropTypes.object\n }) : {};\n newStyleFunction.filterProps = ['css'].concat(_toConsumableArray(styleFunction.filterProps));\n return newStyleFunction;\n}\n\nexport default css;","import style from './style';\nimport compose from './compose';\nexport var displayPrint = style({\n prop: 'displayPrint',\n cssProperty: false,\n transform: function transform(value) {\n return {\n '@media print': {\n display: value\n }\n };\n }\n});\nexport var displayRaw = style({\n prop: 'display'\n});\nexport var overflow = style({\n prop: 'overflow'\n});\nexport var textOverflow = style({\n prop: 'textOverflow'\n});\nexport var visibility = style({\n prop: 'visibility'\n});\nexport var whiteSpace = style({\n prop: 'whiteSpace'\n});\nexport default compose(displayPrint, displayRaw, overflow, textOverflow, visibility, whiteSpace);","import style from './style';\nimport compose from './compose';\nexport var flexBasis = style({\n prop: 'flexBasis'\n});\nexport var flexDirection = style({\n prop: 'flexDirection'\n});\nexport var flexWrap = style({\n prop: 'flexWrap'\n});\nexport var justifyContent = style({\n prop: 'justifyContent'\n});\nexport var alignItems = style({\n prop: 'alignItems'\n});\nexport var alignContent = style({\n prop: 'alignContent'\n});\nexport var order = style({\n prop: 'order'\n});\nexport var flex = style({\n prop: 'flex'\n});\nexport var flexGrow = style({\n prop: 'flexGrow'\n});\nexport var flexShrink = style({\n prop: 'flexShrink'\n});\nexport var alignSelf = style({\n prop: 'alignSelf'\n});\nexport var justifyItems = style({\n prop: 'justifyItems'\n});\nexport var justifySelf = style({\n prop: 'justifySelf'\n});\nvar flexbox = compose(flexBasis, flexDirection, flexWrap, justifyContent, alignItems, alignContent, order, flex, flexGrow, flexShrink, alignSelf, justifyItems, justifySelf);\nexport default flexbox;","import style from './style';\nimport compose from './compose';\nexport var gridGap = style({\n prop: 'gridGap'\n});\nexport var gridColumnGap = style({\n prop: 'gridColumnGap'\n});\nexport var gridRowGap = style({\n prop: 'gridRowGap'\n});\nexport var gridColumn = style({\n prop: 'gridColumn'\n});\nexport var gridRow = style({\n prop: 'gridRow'\n});\nexport var gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport var gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport var gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport var gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport var gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport var gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport var gridArea = style({\n prop: 'gridArea'\n});\nvar grid = compose(gridGap, gridColumnGap, gridRowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;","import style from './style';\nimport compose from './compose';\nexport var color = style({\n prop: 'color',\n themeKey: 'palette'\n});\nexport var bgcolor = style({\n prop: 'bgcolor',\n cssProperty: 'backgroundColor',\n themeKey: 'palette'\n});\nvar palette = compose(color, bgcolor);\nexport default palette;","import style from './style';\nimport compose from './compose';\nexport var position = style({\n prop: 'position'\n});\nexport var zIndex = style({\n prop: 'zIndex',\n themeKey: 'zIndex'\n});\nexport var top = style({\n prop: 'top'\n});\nexport var right = style({\n prop: 'right'\n});\nexport var bottom = style({\n prop: 'bottom'\n});\nexport var left = style({\n prop: 'left'\n});\nexport default compose(position, zIndex, top, right, bottom, left);","import style from './style';\nvar boxShadow = style({\n prop: 'boxShadow',\n themeKey: 'shadows'\n});\nexport default boxShadow;","import style from './style';\nimport compose from './compose';\n\nfunction transform(value) {\n return value <= 1 ? \"\".concat(value * 100, \"%\") : value;\n}\n\nexport var width = style({\n prop: 'width',\n transform: transform\n});\nexport var maxWidth = style({\n prop: 'maxWidth',\n transform: transform\n});\nexport var minWidth = style({\n prop: 'minWidth',\n transform: transform\n});\nexport var height = style({\n prop: 'height',\n transform: transform\n});\nexport var maxHeight = style({\n prop: 'maxHeight',\n transform: transform\n});\nexport var minHeight = style({\n prop: 'minHeight',\n transform: transform\n});\nexport var sizeWidth = style({\n prop: 'size',\n cssProperty: 'width',\n transform: transform\n});\nexport var sizeHeight = style({\n prop: 'size',\n cssProperty: 'height',\n transform: transform\n});\nexport var boxSizing = style({\n prop: 'boxSizing'\n});\nvar sizing = compose(width, maxWidth, minWidth, height, maxHeight, minHeight, boxSizing);\nexport default sizing;","import style from './style';\nimport compose from './compose';\nexport var fontFamily = style({\n prop: 'fontFamily',\n themeKey: 'typography'\n});\nexport var fontSize = style({\n prop: 'fontSize',\n themeKey: 'typography'\n});\nexport var fontStyle = style({\n prop: 'fontStyle',\n themeKey: 'typography'\n});\nexport var fontWeight = style({\n prop: 'fontWeight',\n themeKey: 'typography'\n});\nexport var letterSpacing = style({\n prop: 'letterSpacing'\n});\nexport var lineHeight = style({\n prop: 'lineHeight'\n});\nexport var textAlign = style({\n prop: 'textAlign'\n});\nvar typography = compose(fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign);\nexport default typography;","import { deepmerge } from '@material-ui/utils';\n\nfunction merge(acc, item) {\n if (!item) {\n return acc;\n }\n\n return deepmerge(acc, item, {\n clone: false // No need to clone deep, it's way faster.\n\n });\n}\n\nexport default merge;","export default function memoize(fn) {\n var cache = {};\n return function (arg) {\n if (cache[arg] === undefined) {\n cache[arg] = fn(arg);\n }\n\n return cache[arg];\n };\n}","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport responsivePropType from './responsivePropType';\nimport { handleBreakpoints } from './breakpoints';\nimport merge from './merge';\nimport memoize from './memoize';\nvar properties = {\n m: 'margin',\n p: 'padding'\n};\nvar directions = {\n t: 'Top',\n r: 'Right',\n b: 'Bottom',\n l: 'Left',\n x: ['Left', 'Right'],\n y: ['Top', 'Bottom']\n};\nvar aliases = {\n marginX: 'mx',\n marginY: 'my',\n paddingX: 'px',\n paddingY: 'py'\n}; // memoize() impact:\n// From 300,000 ops/sec\n// To 350,000 ops/sec\n\nvar getCssProperties = memoize(function (prop) {\n // It's not a shorthand notation.\n if (prop.length > 2) {\n if (aliases[prop]) {\n prop = aliases[prop];\n } else {\n return [prop];\n }\n }\n\n var _prop$split = prop.split(''),\n _prop$split2 = _slicedToArray(_prop$split, 2),\n a = _prop$split2[0],\n b = _prop$split2[1];\n\n var property = properties[a];\n var direction = directions[b] || '';\n return Array.isArray(direction) ? direction.map(function (dir) {\n return property + dir;\n }) : [property + direction];\n});\nvar spacingKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];\nexport function createUnarySpacing(theme) {\n var themeSpacing = theme.spacing || 8;\n\n if (typeof themeSpacing === 'number') {\n return function (abs) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof abs !== 'number') {\n console.error(\"Material-UI: Expected spacing argument to be a number, got \".concat(abs, \".\"));\n }\n }\n\n return themeSpacing * abs;\n };\n }\n\n if (Array.isArray(themeSpacing)) {\n return function (abs) {\n if (process.env.NODE_ENV !== 'production') {\n if (abs > themeSpacing.length - 1) {\n console.error([\"Material-UI: The value provided (\".concat(abs, \") overflows.\"), \"The supported values are: \".concat(JSON.stringify(themeSpacing), \".\"), \"\".concat(abs, \" > \").concat(themeSpacing.length - 1, \", you need to add the missing values.\")].join('\\n'));\n }\n }\n\n return themeSpacing[abs];\n };\n }\n\n if (typeof themeSpacing === 'function') {\n return themeSpacing;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n console.error([\"Material-UI: The `theme.spacing` value (\".concat(themeSpacing, \") is invalid.\"), 'It should be a number, an array or a function.'].join('\\n'));\n }\n\n return function () {\n return undefined;\n };\n}\n\nfunction getValue(transformer, propValue) {\n if (typeof propValue === 'string' || propValue == null) {\n return propValue;\n }\n\n var abs = Math.abs(propValue);\n var transformed = transformer(abs);\n\n if (propValue >= 0) {\n return transformed;\n }\n\n if (typeof transformed === 'number') {\n return -transformed;\n }\n\n return \"-\".concat(transformed);\n}\n\nfunction getStyleFromPropValue(cssProperties, transformer) {\n return function (propValue) {\n return cssProperties.reduce(function (acc, cssProperty) {\n acc[cssProperty] = getValue(transformer, propValue);\n return acc;\n }, {});\n };\n}\n\nfunction spacing(props) {\n var theme = props.theme;\n var transformer = createUnarySpacing(theme);\n return Object.keys(props).map(function (prop) {\n // Using a hash computation over an array iteration could be faster, but with only 28 items,\n // it's doesn't worth the bundle size.\n if (spacingKeys.indexOf(prop) === -1) {\n return null;\n }\n\n var cssProperties = getCssProperties(prop);\n var styleFromPropValue = getStyleFromPropValue(cssProperties, transformer);\n var propValue = props[prop];\n return handleBreakpoints(props, propValue, styleFromPropValue);\n }).reduce(merge, {});\n}\n\nspacing.propTypes = process.env.NODE_ENV !== 'production' ? spacingKeys.reduce(function (obj, key) {\n obj[key] = responsivePropType;\n return obj;\n}, {}) : {};\nspacing.filterProps = spacingKeys;\nexport default spacing;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nexport function isPlainObject(item) {\n return item && _typeof(item) === 'object' && item.constructor === Object;\n}\nexport default function deepmerge(target, source) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n clone: true\n };\n var output = options.clone ? _extends({}, target) : target;\n\n if (isPlainObject(target) && isPlainObject(source)) {\n Object.keys(source).forEach(function (key) {\n // Avoid prototype pollution\n if (key === '__proto__') {\n return;\n }\n\n if (isPlainObject(source[key]) && key in target) {\n output[key] = deepmerge(target[key], source[key], options);\n } else {\n output[key] = source[key];\n }\n });\n }\n\n return output;\n}","export default function chainPropTypes(propType1, propType2) {\n if (process.env.NODE_ENV === 'production') {\n return function () {\n return null;\n };\n }\n\n return function validate() {\n return propType1.apply(void 0, arguments) || propType2.apply(void 0, arguments);\n };\n}","import PropTypes from 'prop-types';\nimport chainPropTypes from './chainPropTypes';\n\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n var _elementType$prototyp = elementType.prototype,\n prototype = _elementType$prototyp === void 0 ? {} : _elementType$prototyp;\n return Boolean(prototype.isReactComponent);\n}\n\nfunction acceptingRef(props, propName, componentName, location, propFullName) {\n var element = props[propName];\n var safePropName = propFullName || propName;\n\n if (element == null) {\n return null;\n }\n\n var warningHint;\n var elementType = element.type;\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n\n if (typeof elementType === 'function' && !isClassComponent(elementType)) {\n warningHint = 'Did you accidentally use a plain function component for an element instead?';\n }\n\n if (warningHint !== undefined) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an element that can hold a ref. \".concat(warningHint, \" \") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');\n }\n\n return null;\n}\n\nvar elementAcceptingRef = chainPropTypes(PropTypes.element, acceptingRef);\nelementAcceptingRef.isRequired = chainPropTypes(PropTypes.element.isRequired, acceptingRef);\nexport default elementAcceptingRef;","import * as PropTypes from 'prop-types';\nimport chainPropTypes from './chainPropTypes';\n\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n var _elementType$prototyp = elementType.prototype,\n prototype = _elementType$prototyp === void 0 ? {} : _elementType$prototyp;\n return Boolean(prototype.isReactComponent);\n}\n\nfunction elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var safePropName = propFullName || propName;\n\n if (propValue == null) {\n return null;\n }\n\n var warningHint;\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n\n if (typeof propValue === 'function' && !isClassComponent(propValue)) {\n warningHint = 'Did you accidentally provide a plain function component instead?';\n }\n\n if (warningHint !== undefined) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an element type that can hold a ref. \".concat(warningHint, \" \") + 'For more information see https://material-ui.com/r/caveat-with-refs-guide');\n }\n\n return null;\n}\n\nexport default chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n// This module is based on https://github.com/airbnb/prop-types-exact repository.\n// However, in order to reduce the number of dependencies and to remove some extra safe checks\n// the module was forked.\n// Only exported for test purposes.\nexport var specialProperty = \"exact-prop: \\u200B\";\nexport default function exactProp(propTypes) {\n if (process.env.NODE_ENV === 'production') {\n return propTypes;\n }\n\n return _extends({}, propTypes, _defineProperty({}, specialProperty, function (props) {\n var unsupportedProps = Object.keys(props).filter(function (prop) {\n return !propTypes.hasOwnProperty(prop);\n });\n\n if (unsupportedProps.length > 0) {\n return new Error(\"The following props are not supported: \".concat(unsupportedProps.map(function (prop) {\n return \"`\".concat(prop, \"`\");\n }).join(', '), \". Please remove them.\"));\n }\n\n return null;\n }));\n}","/**\n * WARNING: Don't import this directly.\n * Use `MuiError` from `@material-ui/utils/macros/MuiError.macro` instead.\n * @param {number} code\n */\nexport default function formatMuiErrorMessage(code) {\n // Apply babel-plugin-transform-template-literals in loose mode\n // loose mode is safe iff we're concatenating primitives\n // see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose\n\n /* eslint-disable prefer-template */\n var url = 'https://material-ui.com/production-error/?code=' + code;\n\n for (var i = 1; i < arguments.length; i += 1) {\n // rest params over-transpile for this case\n // eslint-disable-next-line prefer-rest-params\n url += '&args[]=' + encodeURIComponent(arguments[i]);\n }\n\n return 'Minified Material-UI error #' + code + '; visit ' + url + ' for the full message.';\n /* eslint-enable prefer-template */\n}","import _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { ForwardRef, Memo } from 'react-is'; // Simplified polyfill for IE 11 support\n// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3\n\nvar fnNameMatchRegex = /^\\s*function(?:\\s|\\s*\\/\\*.*\\*\\/\\s*)+([^(\\s/]*)\\s*/;\nexport function getFunctionName(fn) {\n var match = \"\".concat(fn).match(fnNameMatchRegex);\n var name = match && match[1];\n return name || '';\n}\n/**\n * @param {function} Component\n * @param {string} fallback\n * @returns {string | undefined}\n */\n\nfunction getFunctionComponentName(Component) {\n var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return Component.displayName || Component.name || getFunctionName(Component) || fallback;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var functionName = getFunctionComponentName(innerType);\n return outerType.displayName || (functionName !== '' ? \"\".concat(wrapperName, \"(\").concat(functionName, \")\") : wrapperName);\n}\n/**\n * cherry-pick from\n * https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js\n * originally forked from recompose/getDisplayName with added IE 11 support\n *\n * @param {React.ReactType} Component\n * @returns {string | undefined}\n */\n\n\nexport default function getDisplayName(Component) {\n if (Component == null) {\n return undefined;\n }\n\n if (typeof Component === 'string') {\n return Component;\n }\n\n if (typeof Component === 'function') {\n return getFunctionComponentName(Component, 'Component');\n }\n\n if (_typeof(Component) === 'object') {\n switch (Component.$$typeof) {\n case ForwardRef:\n return getWrappedName(Component, Component.render, 'ForwardRef');\n\n case Memo:\n return getWrappedName(Component, Component.type, 'memo');\n\n default:\n return undefined;\n }\n }\n\n return undefined;\n}","export default function HTMLElementType(props, propName, componentName, location, propFullName) {\n if (process.env.NODE_ENV === 'production') {\n return null;\n }\n\n var propValue = props[propName];\n var safePropName = propFullName || propName;\n\n if (propValue == null) {\n return null;\n }\n\n if (propValue && propValue.nodeType !== 1) {\n return new Error(\"Invalid \".concat(location, \" `\").concat(safePropName, \"` supplied to `\").concat(componentName, \"`. \") + \"Expected an HTMLElement.\");\n }\n\n return null;\n}","/* eslint-disable */\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nexport default typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();","import PropTypes from 'prop-types';\nvar refType = PropTypes.oneOfType([PropTypes.func, PropTypes.object]);\nexport default refType;","/**\n * Utils\n */\nfunction makeGetEdgeOfNeighbor(getPeriod, getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborInternal(date) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOffset;\n var previousPeriod = getPeriod(date) + offset;\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n\nfunction makeGetEnd(getBeginOfNextPeriod) {\n return function makeGetEndInternal(date) {\n return new Date(getBeginOfNextPeriod(date).getTime() - 1);\n };\n}\n\nfunction makeGetRange(functions) {\n return function makeGetRangeInternal(date) {\n return functions.map(function (fn) {\n return fn(date);\n });\n };\n}\n/**\n * Simple getters - getting a property of a given point in time\n */\n\n/**\n * Gets year from date.\n *\n * @param {Date|number|string} date Date to get year from.\n */\n\n\nexport function getYear(date) {\n if (date instanceof Date) {\n return date.getFullYear();\n }\n\n if (typeof date === 'number') {\n return date;\n }\n\n var year = parseInt(date, 10);\n\n if (typeof date === 'string' && !isNaN(year)) {\n return year;\n }\n\n throw new Error(\"Failed to get year from date: \".concat(date, \".\"));\n}\n/**\n * Gets month from date.\n *\n * @param {Date} date Date to get month from.\n */\n\nexport function getMonth(date) {\n if (date instanceof Date) {\n return date.getMonth();\n }\n\n throw new Error(\"Failed to get month from date: \".concat(date, \".\"));\n}\n/**\n * Gets human-readable month from date.\n *\n * @param {Date} date Date to get human-readable month from.\n */\n\nexport function getMonthHuman(date) {\n if (date instanceof Date) {\n return date.getMonth() + 1;\n }\n\n throw new Error(\"Failed to get human-readable month from date: \".concat(date, \".\"));\n}\n/**\n * Gets human-readable day of the month from date.\n *\n * @param {Date} date Date to get day of the month from.\n */\n\nexport function getDate(date) {\n if (date instanceof Date) {\n return date.getDate();\n }\n\n throw new Error(\"Failed to get year from date: \".concat(date, \".\"));\n}\n/**\n * Gets hours from date.\n *\n * @param {Date|string} date Date to get hours from.\n */\n\nexport function getHours(date) {\n if (date instanceof Date) {\n return date.getHours();\n }\n\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n\n if (datePieces.length >= 2) {\n var hoursString = datePieces[0];\n var hours = parseInt(hoursString, 10);\n\n if (!isNaN(hours)) {\n return hours;\n }\n }\n }\n\n throw new Error(\"Failed to get hours from date: \".concat(date, \".\"));\n}\n/**\n * Gets minutes from date.\n *\n * @param {Date|string} date Date to get minutes from.\n */\n\nexport function getMinutes(date) {\n if (date instanceof Date) {\n return date.getMinutes();\n }\n\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n\n if (datePieces.length >= 2) {\n var minutesString = datePieces[1] || 0;\n var minutes = parseInt(minutesString, 10);\n\n if (!isNaN(minutes)) {\n return minutes;\n }\n }\n }\n\n throw new Error(\"Failed to get minutes from date: \".concat(date, \".\"));\n}\n/**\n * Gets seconds from date.\n *\n * @param {Date|string} date Date to get seconds from.\n */\n\nexport function getSeconds(date) {\n if (date instanceof Date) {\n return date.getSeconds();\n }\n\n if (typeof date === 'string') {\n var datePieces = date.split(':');\n\n if (datePieces.length >= 2) {\n var secondsString = datePieces[2] || 0;\n var seconds = parseInt(secondsString, 10);\n\n if (!isNaN(seconds)) {\n return seconds;\n }\n }\n }\n\n throw new Error(\"Failed to get seconds from date: \".concat(date, \".\"));\n}\n/**\n * Century\n */\n\nexport function getCenturyStart(date) {\n var year = getYear(date);\n var centuryStartYear = year + (-year + 1) % 100;\n var centuryStartDate = new Date();\n centuryStartDate.setFullYear(centuryStartYear, 0, 1);\n centuryStartDate.setHours(0, 0, 0, 0);\n return centuryStartDate;\n}\nexport var getPreviousCenturyStart = makeGetEdgeOfNeighbor(getYear, getCenturyStart, -100);\nexport var getNextCenturyStart = makeGetEdgeOfNeighbor(getYear, getCenturyStart, 100);\nexport var getCenturyEnd = makeGetEnd(getNextCenturyStart);\nexport var getPreviousCenturyEnd = makeGetEdgeOfNeighbor(getYear, getCenturyEnd, -100);\nexport var getNextCenturyEnd = makeGetEdgeOfNeighbor(getYear, getCenturyEnd, 100);\nexport var getCenturyRange = makeGetRange([getCenturyStart, getCenturyEnd]);\n/**\n * Decade\n */\n\nexport function getDecadeStart(date) {\n var year = getYear(date);\n var decadeStartYear = year + (-year + 1) % 10;\n var decadeStartDate = new Date();\n decadeStartDate.setFullYear(decadeStartYear, 0, 1);\n decadeStartDate.setHours(0, 0, 0, 0);\n return decadeStartDate;\n}\nexport var getPreviousDecadeStart = makeGetEdgeOfNeighbor(getYear, getDecadeStart, -10);\nexport var getNextDecadeStart = makeGetEdgeOfNeighbor(getYear, getDecadeStart, 10);\nexport var getDecadeEnd = makeGetEnd(getNextDecadeStart);\nexport var getPreviousDecadeEnd = makeGetEdgeOfNeighbor(getYear, getDecadeEnd, -10);\nexport var getNextDecadeEnd = makeGetEdgeOfNeighbor(getYear, getDecadeEnd, 10);\nexport var getDecadeRange = makeGetRange([getDecadeStart, getDecadeEnd]);\n/**\n * Year\n */\n\nexport function getYearStart(date) {\n var year = getYear(date);\n var yearStartDate = new Date();\n yearStartDate.setFullYear(year, 0, 1);\n yearStartDate.setHours(0, 0, 0, 0);\n return yearStartDate;\n}\nexport var getPreviousYearStart = makeGetEdgeOfNeighbor(getYear, getYearStart, -1);\nexport var getNextYearStart = makeGetEdgeOfNeighbor(getYear, getYearStart, 1);\nexport var getYearEnd = makeGetEnd(getNextYearStart);\nexport var getPreviousYearEnd = makeGetEdgeOfNeighbor(getYear, getYearEnd, -1);\nexport var getNextYearEnd = makeGetEdgeOfNeighbor(getYear, getYearEnd, 1);\nexport var getYearRange = makeGetRange([getYearStart, getYearEnd]);\n/**\n * Month\n */\n\nfunction makeGetEdgeOfNeighborMonth(getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborMonthInternal(date) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOffset;\n var year = getYear(date);\n var month = getMonth(date) + offset;\n var previousPeriod = new Date();\n previousPeriod.setFullYear(year, month, 1);\n previousPeriod.setHours(0, 0, 0, 0);\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n\nexport function getMonthStart(date) {\n var year = getYear(date);\n var month = getMonth(date);\n var monthStartDate = new Date();\n monthStartDate.setFullYear(year, month, 1);\n monthStartDate.setHours(0, 0, 0, 0);\n return monthStartDate;\n}\nexport var getPreviousMonthStart = makeGetEdgeOfNeighborMonth(getMonthStart, -1);\nexport var getNextMonthStart = makeGetEdgeOfNeighborMonth(getMonthStart, 1);\nexport var getMonthEnd = makeGetEnd(getNextMonthStart);\nexport var getPreviousMonthEnd = makeGetEdgeOfNeighborMonth(getMonthEnd, -1);\nexport var getNextMonthEnd = makeGetEdgeOfNeighborMonth(getMonthEnd, 1);\nexport var getMonthRange = makeGetRange([getMonthStart, getMonthEnd]);\n/**\n * Day\n */\n\nfunction makeGetEdgeOfNeighborDay(getEdgeOfPeriod, defaultOffset) {\n return function makeGetEdgeOfNeighborDayInternal(date) {\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOffset;\n var year = getYear(date);\n var month = getMonth(date);\n var day = getDate(date) + offset;\n var previousPeriod = new Date();\n previousPeriod.setFullYear(year, month, day);\n previousPeriod.setHours(0, 0, 0, 0);\n return getEdgeOfPeriod(previousPeriod);\n };\n}\n\nexport function getDayStart(date) {\n var year = getYear(date);\n var month = getMonth(date);\n var day = getDate(date);\n var dayStartDate = new Date();\n dayStartDate.setFullYear(year, month, day);\n dayStartDate.setHours(0, 0, 0, 0);\n return dayStartDate;\n}\nexport var getPreviousDayStart = makeGetEdgeOfNeighborDay(getDayStart, -1);\nexport var getNextDayStart = makeGetEdgeOfNeighborDay(getDayStart, 1);\nexport var getDayEnd = makeGetEnd(getNextDayStart);\nexport var getPreviousDayEnd = makeGetEdgeOfNeighborDay(getDayEnd, -1);\nexport var getNextDayEnd = makeGetEdgeOfNeighborDay(getDayEnd, 1);\nexport var getDayRange = makeGetRange([getDayStart, getDayEnd]);\n/**\n * Other\n */\n\n/**\n * Returns a number of days in a month of a given date.\n *\n * @param {Date} date Date.\n */\n\nexport function getDaysInMonth(date) {\n return getDate(getMonthEnd(date));\n}\n\nfunction padStart(num) {\n var val = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n var numStr = \"\".concat(num);\n\n if (numStr.length >= val) {\n return num;\n }\n\n return \"0000\".concat(numStr).slice(-val);\n}\n/**\n * Returns local hours and minutes (hh:mm).\n */\n\n\nexport function getHoursMinutes(date) {\n var hours = padStart(getHours(date));\n var minutes = padStart(getMinutes(date));\n return \"\".concat(hours, \":\").concat(minutes);\n}\n/**\n * Returns local hours, minutes and seconds (hh:mm:ss).\n */\n\nexport function getHoursMinutesSeconds(date) {\n var hours = padStart(getHours(date));\n var minutes = padStart(getMinutes(date));\n var seconds = padStart(getSeconds(date));\n return \"\".concat(hours, \":\").concat(minutes, \":\").concat(seconds);\n}\n/**\n * Returns local month in ISO-like format (YYYY-MM).\n */\n\nexport function getISOLocalMonth(date) {\n var year = padStart(getYear(date), 4);\n var month = padStart(getMonthHuman(date));\n return \"\".concat(year, \"-\").concat(month);\n}\n/**\n * Returns local date in ISO-like format (YYYY-MM-DD).\n */\n\nexport function getISOLocalDate(date) {\n var year = padStart(getYear(date), 4);\n var month = padStart(getMonthHuman(date));\n var day = padStart(getDate(date));\n return \"\".concat(year, \"-\").concat(month, \"-\").concat(day);\n}\n/**\n * Returns local date & time in ISO-like format (YYYY-MM-DDThh:mm:ss).\n */\n\nexport function getISOLocalDateTime(date) {\n return \"\".concat(getISOLocalDate(date), \"T\").concat(getHoursMinutesSeconds(date));\n}","/**\r\n * Copyright (c) 2014-present, Facebook, Inc.\r\n * All rights reserved.\r\n *\r\n * This source code is licensed under the BSD-style license found in the\r\n * LICENSE file in the root directory of this source tree. An additional grant\r\n * of patent rights can be found in the PATENTS file in the same directory.\r\n */\r\n\r\nmodule.exports.Dispatcher = require('./lib/Dispatcher');\r\n","/**\r\n * Copyright (c) 2014-present, Facebook, Inc.\r\n * All rights reserved.\r\n *\r\n * This source code is licensed under the BSD-style license found in the\r\n * LICENSE file in the root directory of this source tree. An additional grant\r\n * of patent rights can be found in the PATENTS file in the same directory.\r\n *\r\n * @providesModule Dispatcher\r\n * \r\n * @preventMunge\r\n */\n'use strict';\n\nfunction _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; }\n\nvar invariant = require(\"fbjs/lib/invariant\");\n\nvar _prefix = 'ID_';\n/**\r\n * Dispatcher is used to broadcast payloads to registered callbacks. This is\r\n * different from generic pub-sub systems in two ways:\r\n *\r\n * 1) Callbacks are not subscribed to particular events. Every payload is\r\n * dispatched to every registered callback.\r\n * 2) Callbacks can be deferred in whole or part until other callbacks have\r\n * been executed.\r\n *\r\n * For example, consider this hypothetical flight destination form, which\r\n * selects a default city when a country is selected:\r\n *\r\n * var flightDispatcher = new Dispatcher();\r\n *\r\n * // Keeps track of which country is selected\r\n * var CountryStore = {country: null};\r\n *\r\n * // Keeps track of which city is selected\r\n * var CityStore = {city: null};\r\n *\r\n * // Keeps track of the base flight price of the selected city\r\n * var FlightPriceStore = {price: null}\r\n *\r\n * When a user changes the selected city, we dispatch the payload:\r\n *\r\n * flightDispatcher.dispatch({\r\n * actionType: 'city-update',\r\n * selectedCity: 'paris'\r\n * });\r\n *\r\n * This payload is digested by `CityStore`:\r\n *\r\n * flightDispatcher.register(function(payload) {\r\n * if (payload.actionType === 'city-update') {\r\n * CityStore.city = payload.selectedCity;\r\n * }\r\n * });\r\n *\r\n * When the user selects a country, we dispatch the payload:\r\n *\r\n * flightDispatcher.dispatch({\r\n * actionType: 'country-update',\r\n * selectedCountry: 'australia'\r\n * });\r\n *\r\n * This payload is digested by both stores:\r\n *\r\n * CountryStore.dispatchToken = flightDispatcher.register(function(payload) {\r\n * if (payload.actionType === 'country-update') {\r\n * CountryStore.country = payload.selectedCountry;\r\n * }\r\n * });\r\n *\r\n * When the callback to update `CountryStore` is registered, we save a reference\r\n * to the returned token. Using this token with `waitFor()`, we can guarantee\r\n * that `CountryStore` is updated before the callback that updates `CityStore`\r\n * needs to query its data.\r\n *\r\n * CityStore.dispatchToken = flightDispatcher.register(function(payload) {\r\n * if (payload.actionType === 'country-update') {\r\n * // `CountryStore.country` may not be updated.\r\n * flightDispatcher.waitFor([CountryStore.dispatchToken]);\r\n * // `CountryStore.country` is now guaranteed to be updated.\r\n *\r\n * // Select the default city for the new country\r\n * CityStore.city = getDefaultCityForCountry(CountryStore.country);\r\n * }\r\n * });\r\n *\r\n * The usage of `waitFor()` can be chained, for example:\r\n *\r\n * FlightPriceStore.dispatchToken =\r\n * flightDispatcher.register(function(payload) {\r\n * switch (payload.actionType) {\r\n * case 'country-update':\r\n * case 'city-update':\r\n * flightDispatcher.waitFor([CityStore.dispatchToken]);\r\n * FlightPriceStore.price =\r\n * getFlightPriceStore(CountryStore.country, CityStore.city);\r\n * break;\r\n * }\r\n * });\r\n *\r\n * The `country-update` payload will be guaranteed to invoke the stores'\r\n * registered callbacks in order: `CountryStore`, `CityStore`, then\r\n * `FlightPriceStore`.\r\n */\n\nvar Dispatcher = /*#__PURE__*/function () {\n function Dispatcher() {\n _defineProperty(this, \"_callbacks\", void 0);\n\n _defineProperty(this, \"_isDispatching\", void 0);\n\n _defineProperty(this, \"_isHandled\", void 0);\n\n _defineProperty(this, \"_isPending\", void 0);\n\n _defineProperty(this, \"_lastID\", void 0);\n\n _defineProperty(this, \"_pendingPayload\", void 0);\n\n this._callbacks = {};\n this._isDispatching = false;\n this._isHandled = {};\n this._isPending = {};\n this._lastID = 1;\n }\n /**\r\n * Registers a callback to be invoked with every dispatched payload. Returns\r\n * a token that can be used with `waitFor()`.\r\n */\n\n\n var _proto = Dispatcher.prototype;\n\n _proto.register = function register(callback) {\n var id = _prefix + this._lastID++;\n this._callbacks[id] = callback;\n return id;\n }\n /**\r\n * Removes a callback based on its token.\r\n */\n ;\n\n _proto.unregister = function unregister(id) {\n !this._callbacks[id] ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.unregister(...): `%s` does not map to a registered callback.', id) : invariant(false) : void 0;\n delete this._callbacks[id];\n }\n /**\r\n * Waits for the callbacks specified to be invoked before continuing execution\r\n * of the current callback. This method should only be used by a callback in\r\n * response to a dispatched payload.\r\n */\n ;\n\n _proto.waitFor = function waitFor(ids) {\n !this._isDispatching ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.waitFor(...): Must be invoked while dispatching.') : invariant(false) : void 0;\n\n for (var ii = 0; ii < ids.length; ii++) {\n var id = ids[ii];\n\n if (this._isPending[id]) {\n !this._isHandled[id] ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.waitFor(...): Circular dependency detected while ' + 'waiting for `%s`.', id) : invariant(false) : void 0;\n continue;\n }\n\n !this._callbacks[id] ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatcher.waitFor(...): `%s` does not map to a registered callback.', id) : invariant(false) : void 0;\n\n this._invokeCallback(id);\n }\n }\n /**\r\n * Dispatches a payload to all registered callbacks.\r\n */\n ;\n\n _proto.dispatch = function dispatch(payload) {\n !!this._isDispatching ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch.') : invariant(false) : void 0;\n\n this._startDispatching(payload);\n\n try {\n for (var id in this._callbacks) {\n if (this._isPending[id]) {\n continue;\n }\n\n this._invokeCallback(id);\n }\n } finally {\n this._stopDispatching();\n }\n }\n /**\r\n * Is this Dispatcher currently dispatching.\r\n */\n ;\n\n _proto.isDispatching = function isDispatching() {\n return this._isDispatching;\n }\n /**\r\n * Call the callback stored with the given id. Also do some internal\r\n * bookkeeping.\r\n *\r\n * @internal\r\n */\n ;\n\n _proto._invokeCallback = function _invokeCallback(id) {\n this._isPending[id] = true;\n\n this._callbacks[id](this._pendingPayload);\n\n this._isHandled[id] = true;\n }\n /**\r\n * Set up bookkeeping needed when dispatching.\r\n *\r\n * @internal\r\n */\n ;\n\n _proto._startDispatching = function _startDispatching(payload) {\n for (var id in this._callbacks) {\n this._isPending[id] = false;\n this._isHandled[id] = false;\n }\n\n this._pendingPayload = payload;\n this._isDispatching = true;\n }\n /**\r\n * Clear bookkeeping used for dispatching.\r\n *\r\n * @internal\r\n */\n ;\n\n _proto._stopDispatching = function _stopDispatching() {\n delete this._pendingPayload;\n this._isDispatching = false;\n };\n\n return Dispatcher;\n}();\n\nmodule.exports = Dispatcher;","\"use strict\";\n\nfunction noop() {\n return null;\n}\n\nnoop.isRequired = noop;\n\nfunction noopThunk() {\n return noop;\n}\n\nmodule.exports = {\n and: noopThunk,\n between: noopThunk,\n booleanSome: noopThunk,\n childrenHavePropXorChildren: noopThunk,\n childrenOf: noopThunk,\n childrenOfType: noopThunk,\n childrenSequenceOf: noopThunk,\n componentWithName: noopThunk,\n disallowedIf: noopThunk,\n elementType: noopThunk,\n empty: noopThunk,\n explicitNull: noopThunk,\n forbidExtraProps: Object,\n integer: noopThunk,\n keysOf: noopThunk,\n mutuallyExclusiveProps: noopThunk,\n mutuallyExclusiveTrueProps: noopThunk,\n nChildren: noopThunk,\n nonNegativeInteger: noop,\n nonNegativeNumber: noopThunk,\n numericString: noopThunk,\n object: noopThunk,\n or: noopThunk,\n predicate: noopThunk,\n range: noopThunk,\n ref: noopThunk,\n requiredBy: noopThunk,\n restrictedProp: noopThunk,\n sequenceOf: noopThunk,\n shape: noopThunk,\n stringEndsWith: noopThunk,\n stringStartsWith: noopThunk,\n uniqueArray: noopThunk,\n uniqueArrayOf: noopThunk,\n valuesOf: noopThunk,\n withShape: noopThunk\n};\n//# sourceMappingURL=index.js.map","module.exports = process.env.NODE_ENV === 'production' ? require('./build/mocks') : require('./build');\n\n//# sourceMappingURL=index.js.map","'use strict';\n\nvar ArraySpeciesCreate = require('es-abstract/2021/ArraySpeciesCreate');\nvar FlattenIntoArray = require('es-abstract/2021/FlattenIntoArray');\nvar Get = require('es-abstract/2021/Get');\nvar ToIntegerOrInfinity = require('es-abstract/2021/ToIntegerOrInfinity');\nvar ToLength = require('es-abstract/2021/ToLength');\nvar ToObject = require('es-abstract/2021/ToObject');\n\nmodule.exports = function flat() {\n\tvar O = ToObject(this);\n\tvar sourceLen = ToLength(Get(O, 'length'));\n\n\tvar depthNum = 1;\n\tif (arguments.length > 0 && typeof arguments[0] !== 'undefined') {\n\t\tdepthNum = ToIntegerOrInfinity(arguments[0]);\n\t}\n\n\tvar A = ArraySpeciesCreate(O, 0);\n\tFlattenIntoArray(A, O, sourceLen, 0, depthNum);\n\treturn A;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar callBind = require('call-bind');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar polyfill = getPolyfill();\nvar shim = require('./shim');\n\nvar boundFlat = callBind(polyfill);\n\ndefine(boundFlat, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundFlat;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isarray\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $ArrayPrototype = GetIntrinsic('%Array.prototype%');\nvar $RangeError = GetIntrinsic('%RangeError%');\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsIntegralNumber = require('./IsIntegralNumber');\n\nvar MAX_ARRAY_LENGTH = Math.pow(2, 32) - 1;\n\nvar $setProto = GetIntrinsic('%Object.setPrototypeOf%', true) || (\n\t// eslint-disable-next-line no-proto, no-negated-condition\n\t[].__proto__ !== $ArrayPrototype\n\t\t? null\n\t\t: function (O, proto) {\n\t\t\tO.__proto__ = proto; // eslint-disable-line no-proto, no-param-reassign\n\t\t\treturn O;\n\t\t}\n);\n\n// https://www.ecma-international.org/ecma-262/12.0/#sec-arraycreate\n\nmodule.exports = function ArrayCreate(length) {\n\tif (!IsIntegralNumber(length) || length < 0) {\n\t\tthrow new $TypeError('Assertion failed: `length` must be an integer Number >= 0');\n\t}\n\tif (length > MAX_ARRAY_LENGTH) {\n\t\tthrow new $RangeError('length is greater than (2**32 - 1)');\n\t}\n\tvar proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;\n\tvar A = []; // steps 3, 5\n\tif (proto !== $ArrayPrototype) { // step 4\n\t\tif (!$setProto) {\n\t\t\tthrow new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');\n\t\t}\n\t\t$setProto(A, proto);\n\t}\n\tif (length !== 0) { // bypasses the need for step 6\n\t\tA.length = length;\n\t}\n\t/* step 6, the above as a shortcut for the below\n OrdinaryDefineOwnProperty(A, 'length', {\n '[[Configurable]]': false,\n '[[Enumerable]]': false,\n '[[Value]]': length,\n '[[Writable]]': true\n });\n */\n\treturn A;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $species = GetIntrinsic('%Symbol.species%', true);\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar ArrayCreate = require('./ArrayCreate');\nvar Get = require('./Get');\nvar IsArray = require('./IsArray');\nvar IsConstructor = require('./IsConstructor');\nvar IsIntegralNumber = require('./IsIntegralNumber');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/12.0/#sec-arrayspeciescreate\n\nmodule.exports = function ArraySpeciesCreate(originalArray, length) {\n\tif (!IsIntegralNumber(length) || length < 0) {\n\t\tthrow new $TypeError('Assertion failed: length must be an integer >= 0');\n\t}\n\n\tvar isArray = IsArray(originalArray);\n\tif (!isArray) {\n\t\treturn ArrayCreate(length);\n\t}\n\n\tvar C = Get(originalArray, 'constructor');\n\t// TODO: figure out how to make a cross-realm normal Array, a same-realm Array\n\t// if (IsConstructor(C)) {\n\t// \tif C is another realm's Array, C = undefined\n\t// \tObject.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?\n\t// }\n\tif ($species && Type(C) === 'Object') {\n\t\tC = Get(C, $species);\n\t\tif (C === null) {\n\t\t\tC = void 0;\n\t\t}\n\t}\n\n\tif (typeof C === 'undefined') {\n\t\treturn ArrayCreate(length);\n\t}\n\tif (!IsConstructor(C)) {\n\t\tthrow new $TypeError('C must be a constructor');\n\t}\n\treturn new C(length); // Construct(C, length);\n};\n\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsArray = require('./IsArray');\n\nvar $apply = GetIntrinsic('%Reflect.apply%', true) || callBound('%Function.prototype.apply%');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-call\n\nmodule.exports = function Call(F, V) {\n\tvar argumentsList = arguments.length > 2 ? arguments[2] : [];\n\tif (!IsArray(argumentsList)) {\n\t\tthrow new $TypeError('Assertion failed: optional `argumentsList`, if provided, must be a List');\n\t}\n\treturn $apply(F, V, argumentsList);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar OrdinaryGetOwnProperty = require('./OrdinaryGetOwnProperty');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsExtensible = require('./IsExtensible');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar SameValue = require('./SameValue');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty\n\nmodule.exports = function CreateDataProperty(O, P, V) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\tvar oldDesc = OrdinaryGetOwnProperty(O, P);\n\tvar extensible = !oldDesc || IsExtensible(O);\n\tvar immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);\n\tif (immutable || !extensible) {\n\t\treturn false;\n\t}\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\t{\n\t\t\t'[[Configurable]]': true,\n\t\t\t'[[Enumerable]]': true,\n\t\t\t'[[Value]]': V,\n\t\t\t'[[Writable]]': true\n\t\t}\n\t);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar CreateDataProperty = require('./CreateDataProperty');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// // https://ecma-international.org/ecma-262/6.0/#sec-createdatapropertyorthrow\n\nmodule.exports = function CreateDataPropertyOrThrow(O, P, V) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\tvar success = CreateDataProperty(O, P, V);\n\tif (!success) {\n\t\tthrow new $TypeError('unable to create data property');\n\t}\n\treturn success;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar isPropertyDescriptor = require('../helpers/isPropertyDescriptor');\nvar DefineOwnProperty = require('../helpers/DefineOwnProperty');\n\nvar FromPropertyDescriptor = require('./FromPropertyDescriptor');\nvar IsAccessorDescriptor = require('./IsAccessorDescriptor');\nvar IsDataDescriptor = require('./IsDataDescriptor');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar SameValue = require('./SameValue');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-definepropertyorthrow\n\nmodule.exports = function DefinePropertyOrThrow(O, P, desc) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true');\n\t}\n\n\tvar Desc = isPropertyDescriptor({\n\t\tType: Type,\n\t\tIsDataDescriptor: IsDataDescriptor,\n\t\tIsAccessorDescriptor: IsAccessorDescriptor\n\t}, desc) ? desc : ToPropertyDescriptor(desc);\n\tif (!isPropertyDescriptor({\n\t\tType: Type,\n\t\tIsDataDescriptor: IsDataDescriptor,\n\t\tIsAccessorDescriptor: IsAccessorDescriptor\n\t}, Desc)) {\n\t\tthrow new $TypeError('Assertion failed: Desc is not a valid Property Descriptor');\n\t}\n\n\treturn DefineOwnProperty(\n\t\tIsDataDescriptor,\n\t\tSameValue,\n\t\tFromPropertyDescriptor,\n\t\tO,\n\t\tP,\n\t\tDesc\n\t);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar Call = require('./Call');\nvar CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow');\nvar Get = require('./Get');\nvar HasProperty = require('./HasProperty');\nvar IsArray = require('./IsArray');\nvar LengthOfArrayLike = require('./LengthOfArrayLike');\nvar ToString = require('./ToString');\n\n// https://262.ecma-international.org/11.0/#sec-flattenintoarray\n\n// eslint-disable-next-line max-params\nmodule.exports = function FlattenIntoArray(target, source, sourceLen, start, depth) {\n\tvar mapperFunction;\n\tif (arguments.length > 5) {\n\t\tmapperFunction = arguments[5];\n\t}\n\n\tvar targetIndex = start;\n\tvar sourceIndex = 0;\n\twhile (sourceIndex < sourceLen) {\n\t\tvar P = ToString(sourceIndex);\n\t\tvar exists = HasProperty(source, P);\n\t\tif (exists === true) {\n\t\t\tvar element = Get(source, P);\n\t\t\tif (typeof mapperFunction !== 'undefined') {\n\t\t\t\tif (arguments.length <= 6) {\n\t\t\t\t\tthrow new $TypeError('Assertion failed: thisArg is required when mapperFunction is provided');\n\t\t\t\t}\n\t\t\t\telement = Call(mapperFunction, arguments[6], [element, sourceIndex, source]);\n\t\t\t}\n\t\t\tvar shouldFlatten = false;\n\t\t\tif (depth > 0) {\n\t\t\t\tshouldFlatten = IsArray(element);\n\t\t\t}\n\t\t\tif (shouldFlatten) {\n\t\t\t\tvar elementLen = LengthOfArrayLike(element);\n\t\t\t\ttargetIndex = FlattenIntoArray(target, element, elementLen, targetIndex, depth - 1);\n\t\t\t} else {\n\t\t\t\tif (targetIndex >= MAX_SAFE_INTEGER) {\n\t\t\t\t\tthrow new $TypeError('index too large');\n\t\t\t\t}\n\t\t\t\tCreateDataPropertyOrThrow(target, ToString(targetIndex), element);\n\t\t\t\ttargetIndex += 1;\n\t\t\t}\n\t\t}\n\t\tsourceIndex += 1;\n\t}\n\n\treturn targetIndex;\n};\n","'use strict';\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor\n\nmodule.exports = function FromPropertyDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn Desc;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tvar obj = {};\n\tif ('[[Value]]' in Desc) {\n\t\tobj.value = Desc['[[Value]]'];\n\t}\n\tif ('[[Writable]]' in Desc) {\n\t\tobj.writable = Desc['[[Writable]]'];\n\t}\n\tif ('[[Get]]' in Desc) {\n\t\tobj.get = Desc['[[Get]]'];\n\t}\n\tif ('[[Set]]' in Desc) {\n\t\tobj.set = Desc['[[Set]]'];\n\t}\n\tif ('[[Enumerable]]' in Desc) {\n\t\tobj.enumerable = Desc['[[Enumerable]]'];\n\t}\n\tif ('[[Configurable]]' in Desc) {\n\t\tobj.configurable = Desc['[[Configurable]]'];\n\t}\n\treturn obj;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar inspect = require('object-inspect');\n\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n/**\n * 7.3.1 Get (O, P) - https://ecma-international.org/ecma-262/6.0/#sec-get-o-p\n * 1. Assert: Type(O) is Object.\n * 2. Assert: IsPropertyKey(P) is true.\n * 3. Return O.[[Get]](P, O).\n */\n\nmodule.exports = function Get(O, P) {\n\t// 7.3.1.1\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: Type(O) is not Object');\n\t}\n\t// 7.3.1.2\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: IsPropertyKey(P) is not true, got ' + inspect(P));\n\t}\n\t// 7.3.1.3\n\treturn O[P];\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar IsPropertyKey = require('./IsPropertyKey');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-hasproperty\n\nmodule.exports = function HasProperty(O, P) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: `O` must be an Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: `P` must be a Property Key');\n\t}\n\treturn P in O;\n};\n","'use strict';\n\nvar has = require('has');\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isaccessordescriptor\n\nmodule.exports = function IsAccessorDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tif (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Array = GetIntrinsic('%Array%');\n\n// eslint-disable-next-line global-require\nvar toStr = !$Array.isArray && require('call-bind/callBound')('Object.prototype.toString');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isarray\n\nmodule.exports = $Array.isArray || function IsArray(argument) {\n\treturn toStr(argument) === '[object Array]';\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.11\n\nmodule.exports = require('is-callable');\n","'use strict';\n\nvar GetIntrinsic = require('../GetIntrinsic.js');\n\nvar $construct = GetIntrinsic('%Reflect.construct%', true);\n\nvar DefinePropertyOrThrow = require('./DefinePropertyOrThrow');\ntry {\n\tDefinePropertyOrThrow({}, '', { '[[Get]]': function () {} });\n} catch (e) {\n\t// Accessor properties aren't supported\n\tDefinePropertyOrThrow = null;\n}\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isconstructor\n\nif (DefinePropertyOrThrow && $construct) {\n\tvar isConstructorMarker = {};\n\tvar badArrayLike = {};\n\tDefinePropertyOrThrow(badArrayLike, 'length', {\n\t\t'[[Get]]': function () {\n\t\t\tthrow isConstructorMarker;\n\t\t},\n\t\t'[[Enumerable]]': true\n\t});\n\n\tmodule.exports = function IsConstructor(argument) {\n\t\ttry {\n\t\t\t// `Reflect.construct` invokes `IsConstructor(target)` before `Get(args, 'length')`:\n\t\t\t$construct(argument, badArrayLike);\n\t\t} catch (err) {\n\t\t\treturn err === isConstructorMarker;\n\t\t}\n\t};\n} else {\n\tmodule.exports = function IsConstructor(argument) {\n\t\t// unfortunately there's no way to truly check this without try/catch `new argument` in old environments\n\t\treturn typeof argument === 'function' && !!argument.prototype;\n\t};\n}\n","'use strict';\n\nvar has = require('has');\n\nvar assertRecord = require('../helpers/assertRecord');\n\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor\n\nmodule.exports = function IsDataDescriptor(Desc) {\n\tif (typeof Desc === 'undefined') {\n\t\treturn false;\n\t}\n\n\tassertRecord(Type, 'Property Descriptor', 'Desc', Desc);\n\n\tif (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) {\n\t\treturn false;\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Object = GetIntrinsic('%Object%');\n\nvar isPrimitive = require('../helpers/isPrimitive');\n\nvar $preventExtensions = $Object.preventExtensions;\nvar $isExtensible = $Object.isExtensible;\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o\n\nmodule.exports = $preventExtensions\n\t? function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj) && $isExtensible(obj);\n\t}\n\t: function IsExtensible(obj) {\n\t\treturn !isPrimitive(obj);\n\t};\n","'use strict';\n\nvar abs = require('./abs');\nvar floor = require('./floor');\nvar Type = require('./Type');\n\nvar $isNaN = require('../helpers/isNaN');\nvar $isFinite = require('../helpers/isFinite');\n\n// https://tc39.es/ecma262/#sec-isintegralnumber\n\nmodule.exports = function IsIntegralNumber(argument) {\n\tif (Type(argument) !== 'Number' || $isNaN(argument) || !$isFinite(argument)) {\n\t\treturn false;\n\t}\n\tvar absValue = abs(argument);\n\treturn floor(absValue) === absValue;\n};\n","'use strict';\n\n// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey\n\nmodule.exports = function IsPropertyKey(argument) {\n\treturn typeof argument === 'string' || typeof argument === 'symbol';\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $match = GetIntrinsic('%Symbol.match%', true);\n\nvar hasRegExpMatcher = require('is-regex');\n\nvar ToBoolean = require('./ToBoolean');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-isregexp\n\nmodule.exports = function IsRegExp(argument) {\n\tif (!argument || typeof argument !== 'object') {\n\t\treturn false;\n\t}\n\tif ($match) {\n\t\tvar isRegExp = argument[$match];\n\t\tif (typeof isRegExp !== 'undefined') {\n\t\t\treturn ToBoolean(isRegExp);\n\t\t}\n\t}\n\treturn hasRegExpMatcher(argument);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar Get = require('./Get');\nvar ToLength = require('./ToLength');\nvar Type = require('./Type');\n\n// https://262.ecma-international.org/11.0/#sec-lengthofarraylike\n\nmodule.exports = function LengthOfArrayLike(obj) {\n\tif (Type(obj) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: `obj` must be an Object');\n\t}\n\treturn ToLength(Get(obj, 'length'));\n};\n\n// TODO: use this all over\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = require('../helpers/getOwnPropertyDescriptor');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar callBound = require('call-bind/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\nvar has = require('has');\n\nvar IsArray = require('./IsArray');\nvar IsPropertyKey = require('./IsPropertyKey');\nvar IsRegExp = require('./IsRegExp');\nvar ToPropertyDescriptor = require('./ToPropertyDescriptor');\nvar Type = require('./Type');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty\n\nmodule.exports = function OrdinaryGetOwnProperty(O, P) {\n\tif (Type(O) !== 'Object') {\n\t\tthrow new $TypeError('Assertion failed: O must be an Object');\n\t}\n\tif (!IsPropertyKey(P)) {\n\t\tthrow new $TypeError('Assertion failed: P must be a Property Key');\n\t}\n\tif (!has(O, P)) {\n\t\treturn void 0;\n\t}\n\tif (!$gOPD) {\n\t\t// ES3 / IE 8 fallback\n\t\tvar arrayLength = IsArray(O) && P === 'length';\n\t\tvar regexLastIndex = IsRegExp(O) && P === 'lastIndex';\n\t\treturn {\n\t\t\t'[[Configurable]]': !(arrayLength || regexLastIndex),\n\t\t\t'[[Enumerable]]': $isEnumerable(O, P),\n\t\t\t'[[Value]]': O[P],\n\t\t\t'[[Writable]]': true\n\t\t};\n\t}\n\treturn ToPropertyDescriptor($gOPD(O, P));\n};\n","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');\n","'use strict';\n\nvar $isNaN = require('../helpers/isNaN');\n\n// http://262.ecma-international.org/5.1/#sec-9.12\n\nmodule.exports = function SameValue(x, y) {\n\tif (x === y) { // 0 === -0, but they are not identical.\n\t\tif (x === 0) { return 1 / x === 1 / y; }\n\t\treturn true;\n\t}\n\treturn $isNaN(x) && $isNaN(y);\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.2\n\nmodule.exports = function ToBoolean(value) { return !!value; };\n","'use strict';\n\nvar ES5ToInteger = require('../5/ToInteger');\n\nvar ToNumber = require('./ToNumber');\n\n// https://www.ecma-international.org/ecma-262/11.0/#sec-tointeger\n\nmodule.exports = function ToInteger(value) {\n\tvar number = ToNumber(value);\n\tif (number !== 0) {\n\t\tnumber = ES5ToInteger(number);\n\t}\n\treturn number === 0 ? 0 : number;\n};\n","'use strict';\n\nvar MAX_SAFE_INTEGER = require('../helpers/maxSafeInteger');\n\nvar ToIntegerOrInfinity = require('./ToIntegerOrInfinity');\n\nmodule.exports = function ToLength(argument) {\n\tvar len = ToIntegerOrInfinity(argument);\n\tif (len <= 0) { return 0; } // includes converting -0 to +0\n\tif (len > MAX_SAFE_INTEGER) { return MAX_SAFE_INTEGER; }\n\treturn len;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $Number = GetIntrinsic('%Number%');\nvar $RegExp = GetIntrinsic('%RegExp%');\nvar $parseInteger = GetIntrinsic('%parseInt%');\n\nvar callBound = require('call-bind/callBound');\nvar regexTester = require('../helpers/regexTester');\nvar isPrimitive = require('../helpers/isPrimitive');\n\nvar $strSlice = callBound('String.prototype.slice');\nvar isBinary = regexTester(/^0b[01]+$/i);\nvar isOctal = regexTester(/^0o[0-7]+$/i);\nvar isInvalidHexLiteral = regexTester(/^[-+]0x[0-9a-f]+$/i);\nvar nonWS = ['\\u0085', '\\u200b', '\\ufffe'].join('');\nvar nonWSregex = new $RegExp('[' + nonWS + ']', 'g');\nvar hasNonWS = regexTester(nonWSregex);\n\n// whitespace from: https://es5.github.io/#x15.5.4.20\n// implementation from https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L1304-L1324\nvar ws = [\n\t'\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003',\n\t'\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028',\n\t'\\u2029\\uFEFF'\n].join('');\nvar trimRegex = new RegExp('(^[' + ws + ']+)|([' + ws + ']+$)', 'g');\nvar $replace = callBound('String.prototype.replace');\nvar $trim = function (value) {\n\treturn $replace(value, trimRegex, '');\n};\n\nvar ToPrimitive = require('./ToPrimitive');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-tonumber\n\nmodule.exports = function ToNumber(argument) {\n\tvar value = isPrimitive(argument) ? argument : ToPrimitive(argument, $Number);\n\tif (typeof value === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a number');\n\t}\n\tif (typeof value === 'bigint') {\n\t\tthrow new $TypeError('Conversion from \\'BigInt\\' to \\'number\\' is not allowed.');\n\t}\n\tif (typeof value === 'string') {\n\t\tif (isBinary(value)) {\n\t\t\treturn ToNumber($parseInteger($strSlice(value, 2), 2));\n\t\t} else if (isOctal(value)) {\n\t\t\treturn ToNumber($parseInteger($strSlice(value, 2), 8));\n\t\t} else if (hasNonWS(value) || isInvalidHexLiteral(value)) {\n\t\t\treturn NaN;\n\t\t}\n\t\tvar trimmed = $trim(value);\n\t\tif (trimmed !== value) {\n\t\t\treturn ToNumber(trimmed);\n\t\t}\n\n\t}\n\treturn $Number(value);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Object = GetIntrinsic('%Object%');\n\nvar RequireObjectCoercible = require('./RequireObjectCoercible');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-toobject\n\nmodule.exports = function ToObject(value) {\n\tRequireObjectCoercible(value);\n\treturn $Object(value);\n};\n","'use strict';\n\nvar toPrimitive = require('es-to-primitive/es2015');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-toprimitive\n\nmodule.exports = function ToPrimitive(input) {\n\tif (arguments.length > 1) {\n\t\treturn toPrimitive(input, arguments[1]);\n\t}\n\treturn toPrimitive(input);\n};\n","'use strict';\n\nvar has = require('has');\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar Type = require('./Type');\nvar ToBoolean = require('./ToBoolean');\nvar IsCallable = require('./IsCallable');\n\n// https://262.ecma-international.org/5.1/#sec-8.10.5\n\nmodule.exports = function ToPropertyDescriptor(Obj) {\n\tif (Type(Obj) !== 'Object') {\n\t\tthrow new $TypeError('ToPropertyDescriptor requires an object');\n\t}\n\n\tvar desc = {};\n\tif (has(Obj, 'enumerable')) {\n\t\tdesc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);\n\t}\n\tif (has(Obj, 'configurable')) {\n\t\tdesc['[[Configurable]]'] = ToBoolean(Obj.configurable);\n\t}\n\tif (has(Obj, 'value')) {\n\t\tdesc['[[Value]]'] = Obj.value;\n\t}\n\tif (has(Obj, 'writable')) {\n\t\tdesc['[[Writable]]'] = ToBoolean(Obj.writable);\n\t}\n\tif (has(Obj, 'get')) {\n\t\tvar getter = Obj.get;\n\t\tif (typeof getter !== 'undefined' && !IsCallable(getter)) {\n\t\t\tthrow new $TypeError('getter must be a function');\n\t\t}\n\t\tdesc['[[Get]]'] = getter;\n\t}\n\tif (has(Obj, 'set')) {\n\t\tvar setter = Obj.set;\n\t\tif (typeof setter !== 'undefined' && !IsCallable(setter)) {\n\t\t\tthrow new $TypeError('setter must be a function');\n\t\t}\n\t\tdesc['[[Set]]'] = setter;\n\t}\n\n\tif ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) {\n\t\tthrow new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');\n\t}\n\treturn desc;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $String = GetIntrinsic('%String%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// https://ecma-international.org/ecma-262/6.0/#sec-tostring\n\nmodule.exports = function ToString(argument) {\n\tif (typeof argument === 'symbol') {\n\t\tthrow new $TypeError('Cannot convert a Symbol value to a string');\n\t}\n\treturn $String(argument);\n};\n","'use strict';\n\nvar ES5Type = require('../5/Type');\n\n// https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values\n\nmodule.exports = function Type(x) {\n\tif (typeof x === 'symbol') {\n\t\treturn 'Symbol';\n\t}\n\tif (typeof x === 'bigint') {\n\t\treturn 'BigInt';\n\t}\n\treturn ES5Type(x);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $abs = GetIntrinsic('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function abs(x) {\n\treturn $abs(x);\n};\n","'use strict';\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function floor(x) {\n\t// return x - modulo(x, 1);\n\treturn $floor(x);\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// http://262.ecma-international.org/5.1/#sec-9.10\n\nmodule.exports = function CheckObjectCoercible(value, optMessage) {\n\tif (value == null) {\n\t\tthrow new $TypeError(optMessage || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar abs = require('./abs');\nvar floor = require('./floor');\nvar ToNumber = require('./ToNumber');\n\nvar $isNaN = require('../helpers/isNaN');\nvar $isFinite = require('../helpers/isFinite');\nvar $sign = require('../helpers/sign');\n\n// http://262.ecma-international.org/5.1/#sec-9.4\n\nmodule.exports = function ToInteger(value) {\n\tvar number = ToNumber(value);\n\tif ($isNaN(number)) { return 0; }\n\tif (number === 0 || !$isFinite(number)) { return number; }\n\treturn $sign(number) * floor(abs(number));\n};\n","'use strict';\n\nvar ToPrimitive = require('./ToPrimitive');\n\n// http://262.ecma-international.org/5.1/#sec-9.3\n\nmodule.exports = function ToNumber(value) {\n\tvar prim = ToPrimitive(value, Number);\n\tif (typeof prim !== 'string') {\n\t\treturn +prim; // eslint-disable-line no-implicit-coercion\n\t}\n\n\t// eslint-disable-next-line no-control-regex\n\tvar trimmed = prim.replace(/^[ \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u0085]+|[ \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u0085]+$/g, '');\n\tif ((/^0[ob]|^[+-]0x/).test(trimmed)) {\n\t\treturn NaN;\n\t}\n\n\treturn +trimmed; // eslint-disable-line no-implicit-coercion\n};\n","'use strict';\n\n// http://262.ecma-international.org/5.1/#sec-9.1\n\nmodule.exports = require('es-to-primitive/es5');\n","'use strict';\n\n// https://262.ecma-international.org/5.1/#sec-8\n\nmodule.exports = function Type(x) {\n\tif (x === null) {\n\t\treturn 'Null';\n\t}\n\tif (typeof x === 'undefined') {\n\t\treturn 'Undefined';\n\t}\n\tif (typeof x === 'function' || typeof x === 'object') {\n\t\treturn 'Object';\n\t}\n\tif (typeof x === 'number') {\n\t\treturn 'Number';\n\t}\n\tif (typeof x === 'boolean') {\n\t\treturn 'Boolean';\n\t}\n\tif (typeof x === 'string') {\n\t\treturn 'String';\n\t}\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $abs = GetIntrinsic('%Math.abs%');\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function abs(x) {\n\treturn $abs(x);\n};\n","'use strict';\n\n// var modulo = require('./modulo');\nvar $floor = Math.floor;\n\n// http://262.ecma-international.org/5.1/#sec-5.2\n\nmodule.exports = function floor(x) {\n\t// return x - modulo(x, 1);\n\treturn $floor(x);\n};\n","'use strict';\n\n// TODO: remove, semver-major\n\nmodule.exports = require('get-intrinsic');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\n// node v0.6 has a bug where array lengths can be Set but not Defined\nvar hasArrayLengthDefineBug = Object.defineProperty && Object.defineProperty([], 'length', { value: 1 }).length === 0;\n\n// eslint-disable-next-line global-require\nvar isArray = hasArrayLengthDefineBug && require('../2020/IsArray'); // this does not depend on any other AOs.\n\nvar callBound = require('call-bind/callBound');\n\nvar $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');\n\n// eslint-disable-next-line max-params\nmodule.exports = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {\n\tif (!$defineProperty) {\n\t\tif (!IsDataDescriptor(desc)) {\n\t\t\t// ES3 does not support getters/setters\n\t\t\treturn false;\n\t\t}\n\t\tif (!desc['[[Configurable]]'] || !desc['[[Writable]]']) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// fallback for ES3\n\t\tif (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {\n\t\t\t// a non-enumerable existing property\n\t\t\treturn false;\n\t\t}\n\n\t\t// property does not exist at all, or exists but is enumerable\n\t\tvar V = desc['[[Value]]'];\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO[P] = V; // will use [[Define]]\n\t\treturn SameValue(O[P], V);\n\t}\n\tif (\n\t\thasArrayLengthDefineBug\n\t\t&& P === 'length'\n\t\t&& '[[Value]]' in desc\n\t\t&& isArray(O)\n\t\t&& O.length !== desc['[[Value]]']\n\t) {\n\t\t// eslint-disable-next-line no-param-reassign\n\t\tO.length = desc['[[Value]]'];\n\t\treturn O.length === desc['[[Value]]'];\n\t}\n\n\t$defineProperty(O, P, FromPropertyDescriptor(desc));\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\n\nvar has = require('has');\n\nvar predicates = {\n\t// https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type\n\t'Property Descriptor': function isPropertyDescriptor(Type, Desc) {\n\t\tif (Type(Desc) !== 'Object') {\n\t\t\treturn false;\n\t\t}\n\t\tvar allowed = {\n\t\t\t'[[Configurable]]': true,\n\t\t\t'[[Enumerable]]': true,\n\t\t\t'[[Get]]': true,\n\t\t\t'[[Set]]': true,\n\t\t\t'[[Value]]': true,\n\t\t\t'[[Writable]]': true\n\t\t};\n\n\t\tfor (var key in Desc) { // eslint-disable-line\n\t\t\tif (has(Desc, key) && !allowed[key]) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tvar isData = has(Desc, '[[Value]]');\n\t\tvar IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]');\n\t\tif (isData && IsAccessor) {\n\t\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t\t}\n\t\treturn true;\n\t}\n};\n\nmodule.exports = function assertRecord(Type, recordType, argumentName, value) {\n\tvar predicate = predicates[recordType];\n\tif (typeof predicate !== 'function') {\n\t\tthrow new $SyntaxError('unknown record type: ' + recordType);\n\t}\n\tif (!predicate(Type, value)) {\n\t\tthrow new $TypeError(argumentName + ' must be a ' + recordType);\n\t}\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n","'use strict';\n\nvar $isNaN = Number.isNaN || function (a) { return a !== a; };\n\nmodule.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; };\n","'use strict';\n\nmodule.exports = Number.isNaN || function isNaN(a) {\n\treturn a !== a;\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar has = require('has');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nmodule.exports = function IsPropertyDescriptor(ES, Desc) {\n\tif (ES.Type(Desc) !== 'Object') {\n\t\treturn false;\n\t}\n\tvar allowed = {\n\t\t'[[Configurable]]': true,\n\t\t'[[Enumerable]]': true,\n\t\t'[[Get]]': true,\n\t\t'[[Set]]': true,\n\t\t'[[Value]]': true,\n\t\t'[[Writable]]': true\n\t};\n\n\tfor (var key in Desc) { // eslint-disable-line no-restricted-syntax\n\t\tif (has(Desc, key) && !allowed[key]) {\n\t\t\treturn false;\n\t\t}\n\t}\n\n\tif (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) {\n\t\tthrow new $TypeError('Property Descriptors may not be both accessor and data descriptors');\n\t}\n\treturn true;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $Math = GetIntrinsic('%Math%');\nvar $Number = GetIntrinsic('%Number%');\n\nmodule.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $test = GetIntrinsic('RegExp.prototype.test');\n\nvar callBind = require('call-bind');\n\nmodule.exports = function regexTester(regex) {\n\treturn callBind($test, regex);\n};\n","'use strict';\n\nmodule.exports = function sign(number) {\n\treturn number >= 0 ? 1 : -1;\n};\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`\n/* globals document: false */\nvar documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\treturn strClass === fnClass || strClass === genClass;\n\t};\n","'use strict';\n\nvar callBound = require('call-bind/callBound');\nvar hasToStringTag = require('has-tostringtag/shams')();\nvar has;\nvar $exec;\nvar isRegexMarker;\nvar badStringifier;\n\nif (hasToStringTag) {\n\thas = callBound('Object.prototype.hasOwnProperty');\n\t$exec = callBound('RegExp.prototype.exec');\n\tisRegexMarker = {};\n\n\tvar throwRegexMarker = function () {\n\t\tthrow isRegexMarker;\n\t};\n\tbadStringifier = {\n\t\ttoString: throwRegexMarker,\n\t\tvalueOf: throwRegexMarker\n\t};\n\n\tif (typeof Symbol.toPrimitive === 'symbol') {\n\t\tbadStringifier[Symbol.toPrimitive] = throwRegexMarker;\n\t}\n}\n\nvar $toString = callBound('Object.prototype.toString');\nvar gOPD = Object.getOwnPropertyDescriptor;\nvar regexClass = '[object RegExp]';\n\nmodule.exports = hasToStringTag\n\t// eslint-disable-next-line consistent-return\n\t? function isRegex(value) {\n\t\tif (!value || typeof value !== 'object') {\n\t\t\treturn false;\n\t\t}\n\n\t\tvar descriptor = gOPD(value, 'lastIndex');\n\t\tvar hasLastIndexDataProperty = descriptor && has(descriptor, 'value');\n\t\tif (!hasLastIndexDataProperty) {\n\t\t\treturn false;\n\t\t}\n\n\t\ttry {\n\t\t\t$exec(value, badStringifier);\n\t\t} catch (e) {\n\t\t\treturn e === isRegexMarker;\n\t\t}\n\t}\n\t: function isRegex(value) {\n\t\t// In older browsers, typeof regex incorrectly returns 'function'\n\t\tif (!value || (typeof value !== 'object' && typeof value !== 'function')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn $toString(value) === regexClass;\n\t};\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar match = String.prototype.match;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nvar inspectCustom = require('./util.inspect').custom;\nvar inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;\nvar toStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag !== 'undefined' ? Symbol.toStringTag : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('options \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n return String(obj);\n }\n if (typeof obj === 'bigint') {\n return String(obj) + 'n';\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = seen.slice();\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function') {\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + keys.join(', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? String(obj).replace(/^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + String(obj.nodeName).toLowerCase();\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '' + String(obj.nodeName).toLowerCase() + '>';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + xs.join(', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + parts.join(', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {\n return obj[inspectSymbol]();\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? toStr(obj).slice(8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + [].concat(stringTag || [], protoTag || []).join(': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + ys.join(', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return String(s).replace(/\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString(str.slice(0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = str.replace(/(['\\\\])/g, '\\\\$1').replace(/[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + n.toString(16).toUpperCase();\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : entries.join(', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = Array(opts.indent + 1).join(' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: Array(depth + 1).join(baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + xs.join(',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ((/[^\\w$]/).test(key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\treturn Array.prototype.flat || implementation;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimFlat() {\n\tvar polyfill = getPolyfill();\n\tdefine(\n\t\tArray.prototype,\n\t\t{ flat: polyfill },\n\t\t{ flat: function () { return Array.prototype.flat !== polyfill; } }\n\t);\n\treturn polyfill;\n};\n","module.exports = { \"default\": require(\"core-js/library/fn/object/assign\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/symbol\"), __esModule: true };","module.exports = { \"default\": require(\"core-js/library/fn/symbol/iterator\"), __esModule: true };","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _defineProperty = require(\"../core-js/object/define-property\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();","\"use strict\";\n\nexports.__esModule = true;\n\nvar _assign = require(\"../core-js/object/assign\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = require(\"../core-js/object/set-prototype-of\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = require(\"../core-js/object/create\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nexports.default = function (obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};","require('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/_core').Object.assign;\n","require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n","module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n","module.exports = function () { /* empty */ };\n","var isObject = require('./_is-object');\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject');\nvar toLength = require('./_to-length');\nvar toAbsoluteIndex = require('./_to-absolute-index');\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n","var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n","var core = module.exports = { version: '2.6.12' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n","var isObject = require('./_is-object');\nvar document = require('./_global').document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar ctx = require('./_ctx');\nvar hide = require('./_hide');\nvar has = require('./_has');\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n","module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n","var dP = require('./_object-dp');\nvar createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","var document = require('./_global').document;\nmodule.exports = document && document.documentElement;\n","module.exports = !require('./_descriptors') && !require('./_fails')(function () {\n return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n","module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n","'use strict';\nvar create = require('./_object-create');\nvar descriptor = require('./_property-desc');\nvar setToStringTag = require('./_set-to-string-tag');\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","'use strict';\nvar LIBRARY = require('./_library');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar $iterCreate = require('./_iter-create');\nvar setToStringTag = require('./_set-to-string-tag');\nvar getPrototypeOf = require('./_object-gpo');\nvar ITERATOR = require('./_wks')('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","module.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n","module.exports = {};\n","module.exports = true;\n","var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = require('./_descriptors');\nvar getKeys = require('./_object-keys');\nvar gOPS = require('./_object-gops');\nvar pIE = require('./_object-pie');\nvar toObject = require('./_to-object');\nvar IObject = require('./_iobject');\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function () {\n var A = {};\n var B = {};\n // eslint-disable-next-line no-undef\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) { B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object');\nvar dPs = require('./_object-dps');\nvar enumBugKeys = require('./_enum-bug-keys');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n","var anObject = require('./_an-object');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar toPrimitive = require('./_to-primitive');\nvar dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","var dP = require('./_object-dp');\nvar anObject = require('./_an-object');\nvar getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n","var pIE = require('./_object-pie');\nvar createDesc = require('./_property-desc');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar has = require('./_has');\nvar IE8_DOM_DEFINE = require('./_ie8-dom-define');\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject');\nvar gOPN = require('./_object-gopn').f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal');\nvar hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n","exports.f = Object.getOwnPropertySymbols;\n","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has');\nvar toObject = require('./_to-object');\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n","var has = require('./_has');\nvar toIObject = require('./_to-iobject');\nvar arrayIndexOf = require('./_array-includes')(false);\nvar IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal');\nvar enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n","exports.f = {}.propertyIsEnumerable;\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","module.exports = require('./_hide');\n","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","var def = require('./_object-dp').f;\nvar has = require('./_has');\nvar TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n","var shared = require('./_shared')('keys');\nvar uid = require('./_uid');\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n","var core = require('./_core');\nvar global = require('./_global');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: require('./_library') ? 'pure' : 'global',\n copyright: '© 2020 Denis Pushkarev (zloirock.ru)'\n});\n","var toInteger = require('./_to-integer');\nvar defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","var toInteger = require('./_to-integer');\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject');\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer');\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n","var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n","var global = require('./_global');\nvar core = require('./_core');\nvar LIBRARY = require('./_library');\nvar wksExt = require('./_wks-ext');\nvar defineProperty = require('./_object-dp').f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n","exports.f = require('./_wks');\n","var store = require('./_shared')('wks');\nvar uid = require('./_uid');\nvar Symbol = require('./_global').Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables');\nvar step = require('./_iter-step');\nvar Iterators = require('./_iterators');\nvar toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', { assign: require('./_object-assign') });\n","var $export = require('./_export');\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: require('./_object-create') });\n","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', { defineProperty: require('./_object-dp').f });\n","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', { setPrototypeOf: require('./_set-proto').set });\n","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global');\nvar has = require('./_has');\nvar DESCRIPTORS = require('./_descriptors');\nvar $export = require('./_export');\nvar redefine = require('./_redefine');\nvar META = require('./_meta').KEY;\nvar $fails = require('./_fails');\nvar shared = require('./_shared');\nvar setToStringTag = require('./_set-to-string-tag');\nvar uid = require('./_uid');\nvar wks = require('./_wks');\nvar wksExt = require('./_wks-ext');\nvar wksDefine = require('./_wks-define');\nvar enumKeys = require('./_enum-keys');\nvar isArray = require('./_is-array');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar toObject = require('./_to-object');\nvar toIObject = require('./_to-iobject');\nvar toPrimitive = require('./_to-primitive');\nvar createDesc = require('./_property-desc');\nvar _create = require('./_object-create');\nvar gOPNExt = require('./_object-gopn-ext');\nvar $GOPD = require('./_object-gopd');\nvar $GOPS = require('./_object-gops');\nvar $DP = require('./_object-dp');\nvar $keys = require('./_object-keys');\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !require('./_library')) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n","require('./_wks-define')('asyncIterator');\n","require('./_wks-define')('observable');\n","require('./es6.array.iterator');\nvar global = require('./_global');\nvar hide = require('./_hide');\nvar Iterators = require('./_iterators');\nvar TO_STRING_TAG = require('./_wks')('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString === Object.prototype.toString) {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","function toVal(mix) {\n\tvar k, y, str='';\n\n\tif (typeof mix === 'string' || typeof mix === 'number') {\n\t\tstr += mix;\n\t} else if (typeof mix === 'object') {\n\t\tif (Array.isArray(mix)) {\n\t\t\tfor (k=0; k < mix.length; k++) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tif (y = toVal(mix[k])) {\n\t\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\t\tstr += y;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (k in mix) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\tstr += k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn str;\n}\n\nexport default function () {\n\tvar i=0, tmp, x, str='';\n\twhile (i < arguments.length) {\n\t\tif (tmp = arguments[i++]) {\n\t\t\tif (x = toVal(tmp)) {\n\t\t\t\tstr && (str += ' ');\n\t\t\t\tstr += x\n\t\t\t}\n\t\t}\n\t}\n\treturn str;\n}\n","var CAN_USE_DOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n// Adapted from Modernizr\n// https://github.com/Modernizr/Modernizr/blob/acb3f0d9/feature-detects/dom/passiveeventlisteners.js#L26-L37\nfunction testPassiveEventListeners() {\n if (!CAN_USE_DOM) {\n return false;\n }\n\n if (!window.addEventListener || !window.removeEventListener || !Object.defineProperty) {\n return false;\n }\n\n var supportsPassiveOption = false;\n try {\n var opts = Object.defineProperty({}, 'passive', {\n // eslint-disable-next-line getter-return\n get: function () {\n function get() {\n supportsPassiveOption = true;\n }\n\n return get;\n }()\n });\n var noop = function noop() {};\n window.addEventListener('testPassiveEventSupport', noop, opts);\n window.removeEventListener('testPassiveEventSupport', noop, opts);\n } catch (e) {\n // do nothing\n }\n\n return supportsPassiveOption;\n}\n\nvar memoized = void 0;\n\nfunction canUsePassiveEventListeners() {\n if (memoized === undefined) {\n memoized = testPassiveEventListeners();\n }\n return memoized;\n}\n\nfunction normalizeEventOptions(eventOptions) {\n if (!eventOptions) {\n return undefined;\n }\n\n if (!canUsePassiveEventListeners()) {\n // If the browser does not support the passive option, then it is expecting\n // a boolean for the options argument to specify whether it should use\n // capture or not. In more modern browsers, this is passed via the `capture`\n // option, so let's just hoist that value up.\n return !!eventOptions.capture;\n }\n\n return eventOptions;\n}\n\n/* eslint-disable no-bitwise */\n\n/**\n * Generate a unique key for any set of event options\n */\nfunction eventOptionsKey(normalizedEventOptions) {\n if (!normalizedEventOptions) {\n return 0;\n }\n\n // If the browser does not support passive event listeners, the normalized\n // event options will be a boolean.\n if (normalizedEventOptions === true) {\n return 100;\n }\n\n // At this point, the browser supports passive event listeners, so we expect\n // the event options to be an object with possible properties of capture,\n // passive, and once.\n //\n // We want to consistently return the same value, regardless of the order of\n // these properties, so let's use binary maths to assign each property to a\n // bit, and then add those together (with an offset to account for the\n // booleans at the beginning of this function).\n var capture = normalizedEventOptions.capture << 0;\n var passive = normalizedEventOptions.passive << 1;\n var once = normalizedEventOptions.once << 2;\n return capture + passive + once;\n}\n\nfunction ensureCanMutateNextEventHandlers(eventHandlers) {\n if (eventHandlers.handlers === eventHandlers.nextHandlers) {\n // eslint-disable-next-line no-param-reassign\n eventHandlers.nextHandlers = eventHandlers.handlers.slice();\n }\n}\n\nfunction TargetEventHandlers(target) {\n this.target = target;\n this.events = {};\n}\n\nTargetEventHandlers.prototype.getEventHandlers = function () {\n function getEventHandlers(eventName, options) {\n var key = String(eventName) + ' ' + String(eventOptionsKey(options));\n\n if (!this.events[key]) {\n this.events[key] = {\n handlers: [],\n handleEvent: undefined\n };\n this.events[key].nextHandlers = this.events[key].handlers;\n }\n\n return this.events[key];\n }\n\n return getEventHandlers;\n}();\n\nTargetEventHandlers.prototype.handleEvent = function () {\n function handleEvent(eventName, options, event) {\n var eventHandlers = this.getEventHandlers(eventName, options);\n eventHandlers.handlers = eventHandlers.nextHandlers;\n eventHandlers.handlers.forEach(function (handler) {\n if (handler) {\n // We need to check for presence here because a handler function may\n // cause later handlers to get removed. This can happen if you for\n // instance have a waypoint that unmounts another waypoint as part of an\n // onEnter/onLeave handler.\n handler(event);\n }\n });\n }\n\n return handleEvent;\n}();\n\nTargetEventHandlers.prototype.add = function () {\n function add(eventName, listener, options) {\n var _this = this;\n\n // options has already been normalized at this point.\n var eventHandlers = this.getEventHandlers(eventName, options);\n\n ensureCanMutateNextEventHandlers(eventHandlers);\n\n if (eventHandlers.nextHandlers.length === 0) {\n eventHandlers.handleEvent = this.handleEvent.bind(this, eventName, options);\n\n this.target.addEventListener(eventName, eventHandlers.handleEvent, options);\n }\n\n eventHandlers.nextHandlers.push(listener);\n\n var isSubscribed = true;\n var unsubscribe = function () {\n function unsubscribe() {\n if (!isSubscribed) {\n return;\n }\n\n isSubscribed = false;\n\n ensureCanMutateNextEventHandlers(eventHandlers);\n var index = eventHandlers.nextHandlers.indexOf(listener);\n eventHandlers.nextHandlers.splice(index, 1);\n\n if (eventHandlers.nextHandlers.length === 0) {\n // All event handlers have been removed, so we want to remove the event\n // listener from the target node.\n\n if (_this.target) {\n // There can be a race condition where the target may no longer exist\n // when this function is called, e.g. when a React component is\n // unmounting. Guarding against this prevents the following error:\n //\n // Cannot read property 'removeEventListener' of undefined\n _this.target.removeEventListener(eventName, eventHandlers.handleEvent, options);\n }\n\n eventHandlers.handleEvent = undefined;\n }\n }\n\n return unsubscribe;\n }();\n return unsubscribe;\n }\n\n return add;\n}();\n\nvar EVENT_HANDLERS_KEY = '__consolidated_events_handlers__';\n\n// eslint-disable-next-line import/prefer-default-export\nfunction addEventListener(target, eventName, listener, options) {\n if (!target[EVENT_HANDLERS_KEY]) {\n // eslint-disable-next-line no-param-reassign\n target[EVENT_HANDLERS_KEY] = new TargetEventHandlers(target);\n }\n var normalizedEventOptions = normalizeEventOptions(options);\n return target[EVENT_HANDLERS_KEY].add(eventName, listener, normalizedEventOptions);\n}\n\nexport { addEventListener };\n","'use strict';\n\nvar keys = require('object-keys');\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar origDefineProperty = Object.defineProperty;\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar arePropertyDescriptorsSupported = function () {\n\tvar obj = {};\n\ttry {\n\t\torigDefineProperty(obj, 'x', { enumerable: false, value: obj });\n\t\t// eslint-disable-next-line no-unused-vars, no-restricted-syntax\n\t\tfor (var _ in obj) { // jscs:ignore disallowUnusedVariables\n\t\t\treturn false;\n\t\t}\n\t\treturn obj.x === obj;\n\t} catch (e) { /* this is IE 8. */\n\t\treturn false;\n\t}\n};\nvar supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object && (!isFunction(predicate) || !predicate())) {\n\t\treturn;\n\t}\n\tif (supportsDescriptors) {\n\t\torigDefineProperty(object, name, {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\tvalue: value,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\tobject[name] = value;\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n","'use strict';\n\nmodule.exports = function contains(other) {\n\tif (arguments.length < 1) {\n\t\tthrow new TypeError('1 argument is required');\n\t}\n\tif (typeof other !== 'object') {\n\t\tthrow new TypeError('Argument 1 (”other“) to Node.contains must be an instance of Node');\n\t}\n\n\tvar node = other;\n\tdo {\n\t\tif (this === node) {\n\t\t\treturn true;\n\t\t}\n\t\tif (node) {\n\t\t\tnode = node.parentNode;\n\t\t}\n\t} while (node);\n\n\treturn false;\n};\n","'use strict';\n\nvar define = require('define-properties');\n\nvar implementation = require('./implementation');\nvar getPolyfill = require('./polyfill');\nvar polyfill = getPolyfill();\nvar shim = require('./shim');\n\nvar boundContains = function contains(node, other) {\n\treturn polyfill.apply(node, [other]);\n};\n\ndefine(boundContains, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = boundContains;\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = function getPolyfill() {\n\tif (typeof document !== 'undefined') {\n\t\tif (document.contains) {\n\t\t\treturn document.contains;\n\t\t}\n\t\tif (document.body && document.body.contains) {\n\t\t\ttry {\n\t\t\t\tif (typeof document.body.contains.call(document, '') === 'boolean') {\n\t\t\t\t\treturn document.body.contains;\n\t\t\t\t}\n\t\t\t} catch (e) { /**/ }\n\t\t}\n\t}\n\treturn implementation;\n};\n","'use strict';\n\nvar define = require('define-properties');\nvar getPolyfill = require('./polyfill');\n\nmodule.exports = function shimContains() {\n\tvar polyfill = getPolyfill();\n\tif (typeof document !== 'undefined') {\n\t\tdefine(\n\t\t\tdocument,\n\t\t\t{ contains: polyfill },\n\t\t\t{ contains: function () { return document.contains !== polyfill; } }\n\t\t);\n\t\tif (typeof Element !== 'undefined') {\n\t\t\tdefine(\n\t\t\t\tElement.prototype,\n\t\t\t\t{ contains: polyfill },\n\t\t\t\t{ contains: function () { return Element.prototype.contains !== polyfill; } }\n\t\t\t);\n\t\t}\n\t}\n\treturn polyfill;\n};\n","'use strict';\n\nmodule.exports = require('../5/CheckObjectCoercible');\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\n\n// http://262.ecma-international.org/5.1/#sec-9.10\n\nmodule.exports = function CheckObjectCoercible(value, optMessage) {\n\tif (value == null) {\n\t\tthrow new $TypeError(optMessage || ('Cannot call method on ' + value));\n\t}\n\treturn value;\n};\n","'use strict';\n\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';\n\nvar isPrimitive = require('./helpers/isPrimitive');\nvar isCallable = require('is-callable');\nvar isDate = require('is-date-object');\nvar isSymbol = require('is-symbol');\n\nvar ordinaryToPrimitive = function OrdinaryToPrimitive(O, hint) {\n\tif (typeof O === 'undefined' || O === null) {\n\t\tthrow new TypeError('Cannot call method on ' + O);\n\t}\n\tif (typeof hint !== 'string' || (hint !== 'number' && hint !== 'string')) {\n\t\tthrow new TypeError('hint must be \"string\" or \"number\"');\n\t}\n\tvar methodNames = hint === 'string' ? ['toString', 'valueOf'] : ['valueOf', 'toString'];\n\tvar method, result, i;\n\tfor (i = 0; i < methodNames.length; ++i) {\n\t\tmethod = O[methodNames[i]];\n\t\tif (isCallable(method)) {\n\t\t\tresult = method.call(O);\n\t\t\tif (isPrimitive(result)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t}\n\t}\n\tthrow new TypeError('No default value');\n};\n\nvar GetMethod = function GetMethod(O, P) {\n\tvar func = O[P];\n\tif (func !== null && typeof func !== 'undefined') {\n\t\tif (!isCallable(func)) {\n\t\t\tthrow new TypeError(func + ' returned for property ' + P + ' of object ' + O + ' is not a function');\n\t\t}\n\t\treturn func;\n\t}\n\treturn void 0;\n};\n\n// http://www.ecma-international.org/ecma-262/6.0/#sec-toprimitive\nmodule.exports = function ToPrimitive(input) {\n\tif (isPrimitive(input)) {\n\t\treturn input;\n\t}\n\tvar hint = 'default';\n\tif (arguments.length > 1) {\n\t\tif (arguments[1] === String) {\n\t\t\thint = 'string';\n\t\t} else if (arguments[1] === Number) {\n\t\t\thint = 'number';\n\t\t}\n\t}\n\n\tvar exoticToPrim;\n\tif (hasSymbols) {\n\t\tif (Symbol.toPrimitive) {\n\t\t\texoticToPrim = GetMethod(input, Symbol.toPrimitive);\n\t\t} else if (isSymbol(input)) {\n\t\t\texoticToPrim = Symbol.prototype.valueOf;\n\t\t}\n\t}\n\tif (typeof exoticToPrim !== 'undefined') {\n\t\tvar result = exoticToPrim.call(input, hint);\n\t\tif (isPrimitive(result)) {\n\t\t\treturn result;\n\t\t}\n\t\tthrow new TypeError('unable to convert exotic object to primitive');\n\t}\n\tif (hint === 'default' && (isDate(input) || isSymbol(input))) {\n\t\thint = 'string';\n\t}\n\treturn ordinaryToPrimitive(input, hint === 'default' ? 'number' : hint);\n};\n","'use strict';\n\nvar toStr = Object.prototype.toString;\n\nvar isPrimitive = require('./helpers/isPrimitive');\n\nvar isCallable = require('is-callable');\n\n// http://ecma-international.org/ecma-262/5.1/#sec-8.12.8\nvar ES5internalSlots = {\n\t'[[DefaultValue]]': function (O) {\n\t\tvar actualHint;\n\t\tif (arguments.length > 1) {\n\t\t\tactualHint = arguments[1];\n\t\t} else {\n\t\t\tactualHint = toStr.call(O) === '[object Date]' ? String : Number;\n\t\t}\n\n\t\tif (actualHint === String || actualHint === Number) {\n\t\t\tvar methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString'];\n\t\t\tvar value, i;\n\t\t\tfor (i = 0; i < methods.length; ++i) {\n\t\t\t\tif (isCallable(O[methods[i]])) {\n\t\t\t\t\tvalue = O[methods[i]]();\n\t\t\t\t\tif (isPrimitive(value)) {\n\t\t\t\t\t\treturn value;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tthrow new TypeError('No default value');\n\t\t}\n\t\tthrow new TypeError('invalid [[DefaultValue]] hint supplied');\n\t}\n};\n\n// http://ecma-international.org/ecma-262/5.1/#sec-9.1\nmodule.exports = function ToPrimitive(input) {\n\tif (isPrimitive(input)) {\n\t\treturn input;\n\t}\n\tif (arguments.length > 1) {\n\t\treturn ES5internalSlots['[[DefaultValue]]'](input, arguments[1]);\n\t}\n\treturn ES5internalSlots['[[DefaultValue]]'](input);\n};\n","'use strict';\n\nmodule.exports = function isPrimitive(value) {\n\treturn value === null || (typeof value !== 'function' && typeof value !== 'object');\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null\nvar ReflectApply = R && typeof R.apply === 'function'\n ? R.apply\n : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n }\n\nvar ReflectOwnKeys\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target)\n .concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n}\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\nmodule.exports = EventEmitter;\nmodule.exports.once = once;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nvar defaultMaxListeners = 10;\n\nfunction checkListener(listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n}\n\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function() {\n return defaultMaxListeners;\n },\n set: function(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function() {\n\n if (this._events === undefined ||\n this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n};\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n this._maxListeners = n;\n return this;\n};\n\nfunction _getMaxListeners(that) {\n if (that._maxListeners === undefined)\n return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return _getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n for (var i = 1; i < arguments.length; i++) args.push(arguments[i]);\n var doError = (type === 'error');\n\n var events = this._events;\n if (events !== undefined)\n doError = (doError && events.error === undefined);\n else if (!doError)\n return false;\n\n // If there is no 'error' event listener then throw.\n if (doError) {\n var er;\n if (args.length > 0)\n er = args[0];\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n }\n // At least give some kind of context to the user\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n\n if (handler === undefined)\n return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n for (var i = 0; i < len; ++i)\n ReflectApply(listeners[i], this, args);\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n checkListener(listener);\n\n events = target._events;\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type,\n listener.listener ? listener.listener : listener);\n\n // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n events = target._events;\n }\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] =\n prepend ? [listener, existing] : [existing, listener];\n // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n }\n\n // Check for listener leak\n m = _getMaxListeners(target);\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true;\n // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n var w = new Error('Possible EventEmitter memory leak detected. ' +\n existing.length + ' ' + String(type) + ' listeners ' +\n 'added. Use emitter.setMaxListeners() to ' +\n 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener =\n function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n };\n\nfunction onceWrapper() {\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n if (arguments.length === 0)\n return this.listener.call(this.target);\n return this.listener.apply(this.target, arguments);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n checkListener(listener);\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener =\n function prependOnceListener(type, listener) {\n checkListener(listener);\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n };\n\n// Emits a 'removeListener' event if and only if the listener was removed.\nEventEmitter.prototype.removeListener =\n function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n checkListener(listener);\n\n events = this._events;\n if (events === undefined)\n return this;\n\n list = events[type];\n if (list === undefined)\n return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else {\n delete events[type];\n if (events.removeListener)\n this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (position === 0)\n list.shift();\n else {\n spliceOne(list, position);\n }\n\n if (list.length === 1)\n events[type] = list[0];\n\n if (events.removeListener !== undefined)\n this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n };\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners =\n function removeAllListeners(type) {\n var listeners, events, i;\n\n events = this._events;\n if (events === undefined)\n return this;\n\n // not listening for removeListener, no need to emit\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0)\n this._events = Object.create(null);\n else\n delete events[type];\n }\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n };\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n\n if (events === undefined)\n return [];\n\n var evlistener = events[type];\n if (evlistener === undefined)\n return [];\n\n if (typeof evlistener === 'function')\n return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n\n return unwrap ?\n unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n for (var i = 0; i < n; ++i)\n copy[i] = arr[i];\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++)\n list[index] = list[index + 1];\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n return ret;\n}\n\nfunction once(emitter, name) {\n return new Promise(function (resolve, reject) {\n function errorListener(err) {\n emitter.removeListener(name, resolver);\n reject(err);\n }\n\n function resolver() {\n if (typeof emitter.removeListener === 'function') {\n emitter.removeListener('error', errorListener);\n }\n resolve([].slice.call(arguments));\n };\n\n eventTargetAgnosticAddListener(emitter, name, resolver, { once: true });\n if (name !== 'error') {\n addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true });\n }\n });\n}\n\nfunction addErrorHandlerIfEventEmitter(emitter, handler, flags) {\n if (typeof emitter.on === 'function') {\n eventTargetAgnosticAddListener(emitter, 'error', handler, flags);\n }\n}\n\nfunction eventTargetAgnosticAddListener(emitter, name, listener, flags) {\n if (typeof emitter.on === 'function') {\n if (flags.once) {\n emitter.once(name, listener);\n } else {\n emitter.on(name, listener);\n }\n } else if (typeof emitter.addEventListener === 'function') {\n // EventTarget does not have `error` event semantics like Node\n // EventEmitters, we do not listen for `error` events here.\n emitter.addEventListener(name, function wrapListener(arg) {\n // IE does not have builtin `{ once: true }` support so we\n // have to do it manually.\n if (flags.once) {\n emitter.removeEventListener(name, wrapListener);\n }\n listener(arg);\n });\n } else {\n throw new TypeError('The \"emitter\" argument must be of type EventEmitter. Received type ' + typeof emitter);\n }\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n'use strict';\n\nvar validateFormat = process.env.NODE_ENV !== \"production\" ? function (format) {\n if (format === undefined) {\n throw new Error('invariant(...): Second argument must be a string.');\n }\n} : function (format) {};\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments to provide\n * information about what broke and what you were expecting.\n *\n * The invariant message will be stripped in production, but the invariant will\n * remain to ensure logic does not differ in production.\n */\n\nfunction invariant(condition, format) {\n for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n validateFormat(format);\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return String(args[argIndex++]);\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // Skip invariant's own stack frame.\n\n throw error;\n }\n}\n\nmodule.exports = invariant;","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","import once from 'lodash.once';\n\nfunction filterDuplicates(arr) {\n return arr.filter(function (el, index, self) {\n return self.indexOf(el) === index;\n });\n}\n\nfunction fixLowercaseProperties(arr) {\n return arr.map(function (el) {\n if (!el || el.indexOf('-') === -1 || el.toLowerCase() !== el) {\n return el;\n }\n\n var splitEl = el.split('-');\n return \"\".concat(splitEl[0], \"-\").concat(splitEl[1].toUpperCase());\n });\n}\n\nfunction getUserLocalesInternal() {\n var languageList = [];\n\n if (typeof window !== 'undefined') {\n if (window.navigator.languages) {\n languageList = languageList.concat(window.navigator.languages);\n }\n\n if (window.navigator.language) {\n languageList.push(window.navigator.language);\n }\n\n if (window.navigator.userLanguage) {\n languageList.push(window.navigator.userLanguage);\n }\n\n if (window.navigator.browserLanguage) {\n languageList.push(window.navigator.browserLanguage);\n }\n\n if (window.navigator.systemLanguage) {\n languageList.push(window.navigator.systemLanguage);\n }\n }\n\n languageList.push('en-US'); // Fallback\n\n return fixLowercaseProperties(filterDuplicates(languageList));\n}\n\nexport var getUserLocales = once(getUserLocalesInternal);\n\nfunction getUserLocaleInternal() {\n return getUserLocales()[0];\n}\n\nexport var getUserLocale = once(getUserLocaleInternal);\nexport default getUserLocale;","'use strict';\n\nvar define = require('define-properties');\nvar isSymbol = require('is-symbol');\n\nvar globalKey = '__ global cache key __';\n/* istanbul ignore else */\n// eslint-disable-next-line no-restricted-properties\nif (typeof Symbol === 'function' && isSymbol(Symbol('foo')) && typeof Symbol['for'] === 'function') {\n\t// eslint-disable-next-line no-restricted-properties\n\tglobalKey = Symbol['for'](globalKey);\n}\n\nvar trueThunk = function () {\n\treturn true;\n};\n\nvar ensureCache = function ensureCache() {\n\tif (!global[globalKey]) {\n\t\tvar properties = {};\n\t\tproperties[globalKey] = {};\n\t\tvar predicates = {};\n\t\tpredicates[globalKey] = trueThunk;\n\t\tdefine(global, properties, predicates);\n\t}\n\treturn global[globalKey];\n};\n\nvar cache = ensureCache();\n\nvar isPrimitive = function isPrimitive(val) {\n\treturn val === null || (typeof val !== 'object' && typeof val !== 'function');\n};\n\nvar getPrimitiveKey = function getPrimitiveKey(val) {\n\tif (isSymbol(val)) {\n\t\treturn Symbol.prototype.valueOf.call(val);\n\t}\n\treturn typeof val + ' | ' + String(val);\n};\n\nvar requirePrimitiveKey = function requirePrimitiveKey(val) {\n\tif (!isPrimitive(val)) {\n\t\tthrow new TypeError('key must not be an object');\n\t}\n};\n\nvar globalCache = {\n\tclear: function clear() {\n\t\tdelete global[globalKey];\n\t\tcache = ensureCache();\n\t},\n\n\t'delete': function deleteKey(key) {\n\t\trequirePrimitiveKey(key);\n\t\tdelete cache[getPrimitiveKey(key)];\n\t\treturn !globalCache.has(key);\n\t},\n\n\tget: function get(key) {\n\t\trequirePrimitiveKey(key);\n\t\treturn cache[getPrimitiveKey(key)];\n\t},\n\n\thas: function has(key) {\n\t\trequirePrimitiveKey(key);\n\t\treturn getPrimitiveKey(key) in cache;\n\t},\n\n\tset: function set(key, value) {\n\t\trequirePrimitiveKey(key);\n\t\tvar primitiveKey = getPrimitiveKey(key);\n\t\tvar props = {};\n\t\tprops[primitiveKey] = value;\n\t\tvar predicates = {};\n\t\tpredicates[primitiveKey] = trueThunk;\n\t\tdefine(cache, props, predicates);\n\t\treturn globalCache.has(key);\n\t},\n\n\tsetIfMissingThenGet: function setIfMissingThenGet(key, valueThunk) {\n\t\tif (globalCache.has(key)) {\n\t\t\treturn globalCache.get(key);\n\t\t}\n\t\tvar item = valueThunk();\n\t\tglobalCache.set(key, item);\n\t\treturn item;\n\t}\n};\n\nmodule.exports = globalCache;\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar hasSymbols = require('has-symbols/shams');\n\nmodule.exports = function hasToStringTagShams() {\n\treturn hasSymbols() && !!Symbol.toStringTag;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","'use strict';\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar ReactIs = require('react-is');\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\n\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\n\nvar TYPE_STATICS = {};\nTYPE_STATICS[ReactIs.ForwardRef] = FORWARD_REF_STATICS;\n\nfunction getStatics(component) {\n if (ReactIs.isMemo(component)) {\n return MEMO_STATICS;\n }\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","'use strict';\n\nvar fnToStr = Function.prototype.toString;\nvar reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;\nvar badArrayLike;\nvar isCallableMarker;\nif (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {\n\ttry {\n\t\tbadArrayLike = Object.defineProperty({}, 'length', {\n\t\t\tget: function () {\n\t\t\t\tthrow isCallableMarker;\n\t\t\t}\n\t\t});\n\t\tisCallableMarker = {};\n\t\t// eslint-disable-next-line no-throw-literal\n\t\treflectApply(function () { throw 42; }, null, badArrayLike);\n\t} catch (_) {\n\t\tif (_ !== isCallableMarker) {\n\t\t\treflectApply = null;\n\t\t}\n\t}\n} else {\n\treflectApply = null;\n}\n\nvar constructorRegex = /^\\s*class\\b/;\nvar isES6ClassFn = function isES6ClassFunction(value) {\n\ttry {\n\t\tvar fnStr = fnToStr.call(value);\n\t\treturn constructorRegex.test(fnStr);\n\t} catch (e) {\n\t\treturn false; // not a function\n\t}\n};\n\nvar tryFunctionObject = function tryFunctionToStr(value) {\n\ttry {\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tfnToStr.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\nvar toStr = Object.prototype.toString;\nvar fnClass = '[object Function]';\nvar genClass = '[object GeneratorFunction]';\nvar hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';\n/* globals document: false */\nvar documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};\n\nmodule.exports = reflectApply\n\t? function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\ttry {\n\t\t\treflectApply(value, null, badArrayLike);\n\t\t} catch (e) {\n\t\t\tif (e !== isCallableMarker) { return false; }\n\t\t}\n\t\treturn !isES6ClassFn(value);\n\t}\n\t: function isCallable(value) {\n\t\tif (value === documentDotAll) { return true; }\n\t\tif (!value) { return false; }\n\t\tif (typeof value !== 'function' && typeof value !== 'object') { return false; }\n\t\tif (typeof value === 'function' && !value.prototype) { return true; }\n\t\tif (hasToStringTag) { return tryFunctionObject(value); }\n\t\tif (isES6ClassFn(value)) { return false; }\n\t\tvar strClass = toStr.call(value);\n\t\treturn strClass === fnClass || strClass === genClass;\n\t};\n","'use strict';\n\nvar getDay = Date.prototype.getDay;\nvar tryDateObject = function tryDateGetDayCall(value) {\n\ttry {\n\t\tgetDay.call(value);\n\t\treturn true;\n\t} catch (e) {\n\t\treturn false;\n\t}\n};\n\nvar toStr = Object.prototype.toString;\nvar dateClass = '[object Date]';\nvar hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag;\n\nmodule.exports = function isDateObject(value) {\n\tif (typeof value !== 'object' || value === null) {\n\t\treturn false;\n\t}\n\treturn hasToStringTag ? tryDateObject(value) : toStr.call(value) === dateClass;\n};\n","var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nexport var isBrowser = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && (typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object' && document.nodeType === 9;\n\nexport default isBrowser;\n","'use strict';\n\nvar toStr = Object.prototype.toString;\nvar hasSymbols = require('has-symbols')();\n\nif (hasSymbols) {\n\tvar symToStr = Symbol.prototype.toString;\n\tvar symStringRegex = /^Symbol\\(.*\\)$/;\n\tvar isSymbolObject = function isRealSymbolObject(value) {\n\t\tif (typeof value.valueOf() !== 'symbol') {\n\t\t\treturn false;\n\t\t}\n\t\treturn symStringRegex.test(symToStr.call(value));\n\t};\n\n\tmodule.exports = function isSymbol(value) {\n\t\tif (typeof value === 'symbol') {\n\t\t\treturn true;\n\t\t}\n\t\tif (toStr.call(value) !== '[object Symbol]') {\n\t\t\treturn false;\n\t\t}\n\t\ttry {\n\t\t\treturn isSymbolObject(value);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n} else {\n\n\tmodule.exports = function isSymbol(value) {\n\t\t// this environment does not support Symbols.\n\t\treturn false && value;\n\t};\n}\n","Object.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = isTouchDevice;\nfunction isTouchDevice() {\n return !!(typeof window !== 'undefined' && ('ontouchstart' in window || window.DocumentTouch && typeof document !== 'undefined' && document instanceof window.DocumentTouch)) || !!(typeof navigator !== 'undefined' && (navigator.maxTouchPoints || navigator.msMaxTouchPoints));\n}\nmodule.exports = exports['default'];","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar rtl = require(\"rtl-css-js\");\r\nvar convert = rtl['default'] || rtl;\r\nfunction jssRTL(_a) {\r\n var _b = _a === void 0 ? {} : _a, _c = _b.enabled, enabled = _c === void 0 ? true : _c, _d = _b.opt, opt = _d === void 0 ? 'out' : _d;\r\n return {\r\n onProcessStyle: function (style, rule, sheet) {\r\n if (rule.type === 'font-face') {\r\n return style;\r\n }\r\n if (!enabled) {\r\n if (typeof style.flip === 'boolean') {\r\n delete style.flip;\r\n }\r\n return style;\r\n }\r\n var flip = opt === 'out'; // If it's set to opt-out, then it should flip by default\r\n if (typeof sheet.options.flip === 'boolean') {\r\n flip = sheet.options.flip;\r\n }\r\n if (typeof style.flip === 'boolean') {\r\n flip = style.flip;\r\n delete style.flip;\r\n }\r\n if (!flip) {\r\n return style;\r\n }\r\n return convert(typeof rule.toJSON === 'function' ? rule.toJSON() : style);\r\n },\r\n };\r\n}\r\nexports.default = jssRTL;\r\n","import _extends from '@babel/runtime/helpers/esm/extends';\nimport isInBrowser from 'is-in-browser';\nimport warning from 'tiny-warning';\nimport _createClass from '@babel/runtime/helpers/esm/createClass';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\n\nvar plainObjectConstrurctor = {}.constructor;\nfunction cloneStyle(style) {\n if (style == null || typeof style !== 'object') return style;\n if (Array.isArray(style)) return style.map(cloneStyle);\n if (style.constructor !== plainObjectConstrurctor) return style;\n var newStyle = {};\n\n for (var name in style) {\n newStyle[name] = cloneStyle(style[name]);\n }\n\n return newStyle;\n}\n\n/**\n * Create a rule instance.\n */\n\nfunction createRule(name, decl, options) {\n if (name === void 0) {\n name = 'unnamed';\n }\n\n var jss = options.jss;\n var declCopy = cloneStyle(decl);\n var rule = jss.plugins.onCreateRule(name, declCopy, options);\n if (rule) return rule; // It is an at-rule and it has no instance.\n\n if (name[0] === '@') {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Unknown rule \" + name) : void 0;\n }\n\n return null;\n}\n\nvar join = function join(value, by) {\n var result = '';\n\n for (var i = 0; i < value.length; i++) {\n // Remove !important from the value, it will be readded later.\n if (value[i] === '!important') break;\n if (result) result += by;\n result += value[i];\n }\n\n return result;\n};\n\n/**\n * Converts array values to string.\n *\n * `margin: [['5px', '10px']]` > `margin: 5px 10px;`\n * `border: ['1px', '2px']` > `border: 1px, 2px;`\n * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`\n * `color: ['red', !important]` > `color: red !important;`\n */\nvar toCssValue = function toCssValue(value, ignoreImportant) {\n if (ignoreImportant === void 0) {\n ignoreImportant = false;\n }\n\n if (!Array.isArray(value)) return value;\n var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.\n\n if (Array.isArray(value[0])) {\n for (var i = 0; i < value.length; i++) {\n if (value[i] === '!important') break;\n if (cssValue) cssValue += ', ';\n cssValue += join(value[i], ' ');\n }\n } else cssValue = join(value, ', '); // Add !important, because it was ignored.\n\n\n if (!ignoreImportant && value[value.length - 1] === '!important') {\n cssValue += ' !important';\n }\n\n return cssValue;\n};\n\n/**\n * Indent a string.\n * http://jsperf.com/array-join-vs-for\n */\nfunction indentStr(str, indent) {\n var result = '';\n\n for (var index = 0; index < indent; index++) {\n result += ' ';\n }\n\n return result + str;\n}\n/**\n * Converts a Rule to CSS string.\n */\n\n\nfunction toCss(selector, style, options) {\n if (options === void 0) {\n options = {};\n }\n\n var result = '';\n if (!style) return result;\n var _options = options,\n _options$indent = _options.indent,\n indent = _options$indent === void 0 ? 0 : _options$indent;\n var fallbacks = style.fallbacks;\n if (selector) indent++; // Apply fallbacks first.\n\n if (fallbacks) {\n // Array syntax {fallbacks: [{prop: value}]}\n if (Array.isArray(fallbacks)) {\n for (var index = 0; index < fallbacks.length; index++) {\n var fallback = fallbacks[index];\n\n for (var prop in fallback) {\n var value = fallback[prop];\n\n if (value != null) {\n if (result) result += '\\n';\n result += \"\" + indentStr(prop + \": \" + toCssValue(value) + \";\", indent);\n }\n }\n }\n } else {\n // Object syntax {fallbacks: {prop: value}}\n for (var _prop in fallbacks) {\n var _value = fallbacks[_prop];\n\n if (_value != null) {\n if (result) result += '\\n';\n result += \"\" + indentStr(_prop + \": \" + toCssValue(_value) + \";\", indent);\n }\n }\n }\n }\n\n for (var _prop2 in style) {\n var _value2 = style[_prop2];\n\n if (_value2 != null && _prop2 !== 'fallbacks') {\n if (result) result += '\\n';\n result += \"\" + indentStr(_prop2 + \": \" + toCssValue(_value2) + \";\", indent);\n }\n } // Allow empty style in this case, because properties will be added dynamically.\n\n\n if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.\n\n if (!selector) return result;\n indent--;\n if (result) result = \"\\n\" + result + \"\\n\";\n return indentStr(selector + \" {\" + result, indent) + indentStr('}', indent);\n}\n\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g;\nvar nativeEscape = typeof CSS !== 'undefined' && CSS.escape;\nvar escape = (function (str) {\n return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\\\$1');\n});\n\nvar BaseStyleRule =\n/*#__PURE__*/\nfunction () {\n function BaseStyleRule(key, style, options) {\n this.type = 'style';\n this.key = void 0;\n this.isProcessed = false;\n this.style = void 0;\n this.renderer = void 0;\n this.renderable = void 0;\n this.options = void 0;\n var sheet = options.sheet,\n Renderer = options.Renderer;\n this.key = key;\n this.options = options;\n this.style = style;\n if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();\n }\n /**\n * Get or set a style property.\n */\n\n\n var _proto = BaseStyleRule.prototype;\n\n _proto.prop = function prop(name, value, options) {\n // It's a getter.\n if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.\n\n var force = options ? options.force : false;\n if (!force && this.style[name] === value) return this;\n var newValue = value;\n\n if (!options || options.process !== false) {\n newValue = this.options.jss.plugins.onChangeValue(value, name, this);\n }\n\n var isEmpty = newValue == null || newValue === false;\n var isDefined = name in this.style; // Value is empty and wasn't defined before.\n\n if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.\n\n var remove = isEmpty && isDefined;\n if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.\n\n if (this.renderable && this.renderer) {\n if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);\n return this;\n }\n\n var sheet = this.options.sheet;\n\n if (sheet && sheet.attached) {\n process.env.NODE_ENV !== \"production\" ? warning(false, '[JSS] Rule is not linked. Missing sheet option \"link: true\".') : void 0;\n }\n\n return this;\n };\n\n return BaseStyleRule;\n}();\nvar StyleRule =\n/*#__PURE__*/\nfunction (_BaseStyleRule) {\n _inheritsLoose(StyleRule, _BaseStyleRule);\n\n function StyleRule(key, style, options) {\n var _this;\n\n _this = _BaseStyleRule.call(this, key, style, options) || this;\n _this.selectorText = void 0;\n _this.id = void 0;\n _this.renderable = void 0;\n var selector = options.selector,\n scoped = options.scoped,\n sheet = options.sheet,\n generateId = options.generateId;\n\n if (selector) {\n _this.selectorText = selector;\n } else if (scoped !== false) {\n _this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);\n _this.selectorText = \".\" + escape(_this.id);\n }\n\n return _this;\n }\n /**\n * Set selector string.\n * Attention: use this with caution. Most browsers didn't implement\n * selectorText setter, so this may result in rerendering of entire Style Sheet.\n */\n\n\n var _proto2 = StyleRule.prototype;\n\n /**\n * Apply rule to an element inline.\n */\n _proto2.applyTo = function applyTo(renderable) {\n var renderer = this.renderer;\n\n if (renderer) {\n var json = this.toJSON();\n\n for (var prop in json) {\n renderer.setProperty(renderable, prop, json[prop]);\n }\n }\n\n return this;\n }\n /**\n * Returns JSON representation of the rule.\n * Fallbacks are not supported.\n * Useful for inline styles.\n */\n ;\n\n _proto2.toJSON = function toJSON() {\n var json = {};\n\n for (var prop in this.style) {\n var value = this.style[prop];\n if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);\n }\n\n return json;\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto2.toString = function toString(options) {\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n var opts = link ? _extends({}, options, {\n allowEmpty: true\n }) : options;\n return toCss(this.selectorText, this.style, opts);\n };\n\n _createClass(StyleRule, [{\n key: \"selector\",\n set: function set(selector) {\n if (selector === this.selectorText) return;\n this.selectorText = selector;\n var renderer = this.renderer,\n renderable = this.renderable;\n if (!renderable || !renderer) return;\n var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.\n\n if (!hasChanged) {\n renderer.replaceRule(renderable, this);\n }\n }\n /**\n * Get selector string.\n */\n ,\n get: function get() {\n return this.selectorText;\n }\n }]);\n\n return StyleRule;\n}(BaseStyleRule);\nvar pluginStyleRule = {\n onCreateRule: function onCreateRule(name, style, options) {\n if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {\n return null;\n }\n\n return new StyleRule(name, style, options);\n }\n};\n\nvar defaultToStringOptions = {\n indent: 1,\n children: true\n};\nvar atRegExp = /@([\\w-]+)/;\n/**\n * Conditional rule for @media, @supports\n */\n\nvar ConditionalRule =\n/*#__PURE__*/\nfunction () {\n function ConditionalRule(key, styles, options) {\n this.type = 'conditional';\n this.at = void 0;\n this.key = void 0;\n this.query = void 0;\n this.rules = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n var atMatch = key.match(atRegExp);\n this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.\n\n this.query = options.name || \"@\" + this.at;\n this.options = options;\n this.rules = new RuleList(_extends({}, options, {\n parent: this\n }));\n\n for (var name in styles) {\n this.rules.add(name, styles[name]);\n }\n\n this.rules.process();\n }\n /**\n * Get a rule.\n */\n\n\n var _proto = ConditionalRule.prototype;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Create and register rule, run plugins.\n */\n ;\n\n _proto.addRule = function addRule(name, style, options) {\n var rule = this.rules.add(name, style, options);\n if (!rule) return null;\n this.options.jss.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Generates a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n if (options === void 0) {\n options = defaultToStringOptions;\n }\n\n if (options.indent == null) options.indent = defaultToStringOptions.indent;\n if (options.children == null) options.children = defaultToStringOptions.children;\n\n if (options.children === false) {\n return this.query + \" {}\";\n }\n\n var children = this.rules.toString(options);\n return children ? this.query + \" {\\n\" + children + \"\\n}\" : '';\n };\n\n return ConditionalRule;\n}();\nvar keyRegExp = /@media|@supports\\s+/;\nvar pluginConditionalRule = {\n onCreateRule: function onCreateRule(key, styles, options) {\n return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;\n }\n};\n\nvar defaultToStringOptions$1 = {\n indent: 1,\n children: true\n};\nvar nameRegExp = /@keyframes\\s+([\\w-]+)/;\n/**\n * Rule for @keyframes\n */\n\nvar KeyframesRule =\n/*#__PURE__*/\nfunction () {\n function KeyframesRule(key, frames, options) {\n this.type = 'keyframes';\n this.at = '@keyframes';\n this.key = void 0;\n this.name = void 0;\n this.id = void 0;\n this.rules = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n var nameMatch = key.match(nameRegExp);\n\n if (nameMatch && nameMatch[1]) {\n this.name = nameMatch[1];\n } else {\n this.name = 'noname';\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Bad keyframes name \" + key) : void 0;\n }\n\n this.key = this.type + \"-\" + this.name;\n this.options = options;\n var scoped = options.scoped,\n sheet = options.sheet,\n generateId = options.generateId;\n this.id = scoped === false ? this.name : escape(generateId(this, sheet));\n this.rules = new RuleList(_extends({}, options, {\n parent: this\n }));\n\n for (var name in frames) {\n this.rules.add(name, frames[name], _extends({}, options, {\n parent: this\n }));\n }\n\n this.rules.process();\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = KeyframesRule.prototype;\n\n _proto.toString = function toString(options) {\n if (options === void 0) {\n options = defaultToStringOptions$1;\n }\n\n if (options.indent == null) options.indent = defaultToStringOptions$1.indent;\n if (options.children == null) options.children = defaultToStringOptions$1.children;\n\n if (options.children === false) {\n return this.at + \" \" + this.id + \" {}\";\n }\n\n var children = this.rules.toString(options);\n if (children) children = \"\\n\" + children + \"\\n\";\n return this.at + \" \" + this.id + \" {\" + children + \"}\";\n };\n\n return KeyframesRule;\n}();\nvar keyRegExp$1 = /@keyframes\\s+/;\nvar refRegExp = /\\$([\\w-]+)/g;\n\nvar findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {\n if (typeof val === 'string') {\n return val.replace(refRegExp, function (match, name) {\n if (name in keyframes) {\n return keyframes[name];\n }\n\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Referenced keyframes rule \\\"\" + name + \"\\\" is not defined.\") : void 0;\n return match;\n });\n }\n\n return val;\n};\n/**\n * Replace the reference for a animation name.\n */\n\n\nvar replaceRef = function replaceRef(style, prop, keyframes) {\n var value = style[prop];\n var refKeyframe = findReferencedKeyframe(value, keyframes);\n\n if (refKeyframe !== value) {\n style[prop] = refKeyframe;\n }\n};\n\nvar plugin = {\n onCreateRule: function onCreateRule(key, frames, options) {\n return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;\n },\n // Animation name ref replacer.\n onProcessStyle: function onProcessStyle(style, rule, sheet) {\n if (rule.type !== 'style' || !sheet) return style;\n if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);\n if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);\n return style;\n },\n onChangeValue: function onChangeValue(val, prop, rule) {\n var sheet = rule.options.sheet;\n\n if (!sheet) {\n return val;\n }\n\n switch (prop) {\n case 'animation':\n return findReferencedKeyframe(val, sheet.keyframes);\n\n case 'animation-name':\n return findReferencedKeyframe(val, sheet.keyframes);\n\n default:\n return val;\n }\n }\n};\n\nvar KeyframeRule =\n/*#__PURE__*/\nfunction (_BaseStyleRule) {\n _inheritsLoose(KeyframeRule, _BaseStyleRule);\n\n function KeyframeRule() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;\n _this.renderable = void 0;\n return _this;\n }\n\n var _proto = KeyframeRule.prototype;\n\n /**\n * Generates a CSS string.\n */\n _proto.toString = function toString(options) {\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n var opts = link ? _extends({}, options, {\n allowEmpty: true\n }) : options;\n return toCss(this.key, this.style, opts);\n };\n\n return KeyframeRule;\n}(BaseStyleRule);\nvar pluginKeyframeRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n if (options.parent && options.parent.type === 'keyframes') {\n return new KeyframeRule(key, style, options);\n }\n\n return null;\n }\n};\n\nvar FontFaceRule =\n/*#__PURE__*/\nfunction () {\n function FontFaceRule(key, style, options) {\n this.type = 'font-face';\n this.at = '@font-face';\n this.key = void 0;\n this.style = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = FontFaceRule.prototype;\n\n _proto.toString = function toString(options) {\n if (Array.isArray(this.style)) {\n var str = '';\n\n for (var index = 0; index < this.style.length; index++) {\n str += toCss(this.at, this.style[index]);\n if (this.style[index + 1]) str += '\\n';\n }\n\n return str;\n }\n\n return toCss(this.at, this.style, options);\n };\n\n return FontFaceRule;\n}();\nvar keyRegExp$2 = /@font-face/;\nvar pluginFontFaceRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;\n }\n};\n\nvar ViewportRule =\n/*#__PURE__*/\nfunction () {\n function ViewportRule(key, style, options) {\n this.type = 'viewport';\n this.at = '@viewport';\n this.key = void 0;\n this.style = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.style = style;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n\n\n var _proto = ViewportRule.prototype;\n\n _proto.toString = function toString(options) {\n return toCss(this.key, this.style, options);\n };\n\n return ViewportRule;\n}();\nvar pluginViewportRule = {\n onCreateRule: function onCreateRule(key, style, options) {\n return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;\n }\n};\n\nvar SimpleRule =\n/*#__PURE__*/\nfunction () {\n function SimpleRule(key, value, options) {\n this.type = 'simple';\n this.key = void 0;\n this.value = void 0;\n this.options = void 0;\n this.isProcessed = false;\n this.renderable = void 0;\n this.key = key;\n this.value = value;\n this.options = options;\n }\n /**\n * Generates a CSS string.\n */\n // eslint-disable-next-line no-unused-vars\n\n\n var _proto = SimpleRule.prototype;\n\n _proto.toString = function toString(options) {\n if (Array.isArray(this.value)) {\n var str = '';\n\n for (var index = 0; index < this.value.length; index++) {\n str += this.key + \" \" + this.value[index] + \";\";\n if (this.value[index + 1]) str += '\\n';\n }\n\n return str;\n }\n\n return this.key + \" \" + this.value + \";\";\n };\n\n return SimpleRule;\n}();\nvar keysMap = {\n '@charset': true,\n '@import': true,\n '@namespace': true\n};\nvar pluginSimpleRule = {\n onCreateRule: function onCreateRule(key, value, options) {\n return key in keysMap ? new SimpleRule(key, value, options) : null;\n }\n};\n\nvar plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];\n\nvar defaultUpdateOptions = {\n process: true\n};\nvar forceUpdateOptions = {\n force: true,\n process: true\n /**\n * Contains rules objects and allows adding/removing etc.\n * Is used for e.g. by `StyleSheet` or `ConditionalRule`.\n */\n\n};\n\nvar RuleList =\n/*#__PURE__*/\nfunction () {\n // Rules registry for access by .get() method.\n // It contains the same rule registered by name and by selector.\n // Original styles object.\n // Used to ensure correct rules order.\n function RuleList(options) {\n this.map = {};\n this.raw = {};\n this.index = [];\n this.counter = 0;\n this.options = void 0;\n this.classes = void 0;\n this.keyframes = void 0;\n this.options = options;\n this.classes = options.classes;\n this.keyframes = options.keyframes;\n }\n /**\n * Create and register rule.\n *\n * Will not render after Style Sheet was rendered the first time.\n */\n\n\n var _proto = RuleList.prototype;\n\n _proto.add = function add(name, decl, ruleOptions) {\n var _this$options = this.options,\n parent = _this$options.parent,\n sheet = _this$options.sheet,\n jss = _this$options.jss,\n Renderer = _this$options.Renderer,\n generateId = _this$options.generateId,\n scoped = _this$options.scoped;\n\n var options = _extends({\n classes: this.classes,\n parent: parent,\n sheet: sheet,\n jss: jss,\n Renderer: Renderer,\n generateId: generateId,\n scoped: scoped,\n name: name,\n keyframes: this.keyframes,\n selector: undefined\n }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but\n // `sheet.addRule()` opens the door for any duplicate rule name. When this happens\n // we need to make the key unique within this RuleList instance scope.\n\n\n var key = name;\n\n if (name in this.raw) {\n key = name + \"-d\" + this.counter++;\n } // We need to save the original decl before creating the rule\n // because cache plugin needs to use it as a key to return a cached rule.\n\n\n this.raw[key] = decl;\n\n if (key in this.classes) {\n // E.g. rules inside of @media container\n options.selector = \".\" + escape(this.classes[key]);\n }\n\n var rule = createRule(key, decl, options);\n if (!rule) return null;\n this.register(rule);\n var index = options.index === undefined ? this.index.length : options.index;\n this.index.splice(index, 0, rule);\n return rule;\n }\n /**\n * Get a rule.\n */\n ;\n\n _proto.get = function get(name) {\n return this.map[name];\n }\n /**\n * Delete a rule.\n */\n ;\n\n _proto.remove = function remove(rule) {\n this.unregister(rule);\n delete this.raw[rule.key];\n this.index.splice(this.index.indexOf(rule), 1);\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.index.indexOf(rule);\n }\n /**\n * Run `onProcessRule()` plugins on every rule.\n */\n ;\n\n _proto.process = function process() {\n var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop\n // we end up with very hard-to-track-down side effects.\n\n this.index.slice(0).forEach(plugins.onProcessRule, plugins);\n }\n /**\n * Register a rule in `.map`, `.classes` and `.keyframes` maps.\n */\n ;\n\n _proto.register = function register(rule) {\n this.map[rule.key] = rule;\n\n if (rule instanceof StyleRule) {\n this.map[rule.selector] = rule;\n if (rule.id) this.classes[rule.key] = rule.id;\n } else if (rule instanceof KeyframesRule && this.keyframes) {\n this.keyframes[rule.name] = rule.id;\n }\n }\n /**\n * Unregister a rule.\n */\n ;\n\n _proto.unregister = function unregister(rule) {\n delete this.map[rule.key];\n\n if (rule instanceof StyleRule) {\n delete this.map[rule.selector];\n delete this.classes[rule.key];\n } else if (rule instanceof KeyframesRule) {\n delete this.keyframes[rule.name];\n }\n }\n /**\n * Update the function values with a new data.\n */\n ;\n\n _proto.update = function update() {\n var name;\n var data;\n var options;\n\n if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {\n name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]\n\n data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]\n\n options = arguments.length <= 2 ? undefined : arguments[2];\n } else {\n data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]\n\n options = arguments.length <= 1 ? undefined : arguments[1];\n name = null;\n }\n\n if (name) {\n this.updateOne(this.map[name], data, options);\n } else {\n for (var index = 0; index < this.index.length; index++) {\n this.updateOne(this.index[index], data, options);\n }\n }\n }\n /**\n * Execute plugins, update rule props.\n */\n ;\n\n _proto.updateOne = function updateOne(rule, data, options) {\n if (options === void 0) {\n options = defaultUpdateOptions;\n }\n\n var _this$options2 = this.options,\n plugins = _this$options2.jss.plugins,\n sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.\n\n if (rule.rules instanceof RuleList) {\n rule.rules.update(data, options);\n return;\n }\n\n var styleRule = rule;\n var style = styleRule.style;\n plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.\n\n if (options.process && style && style !== styleRule.style) {\n // We need to run the plugins in case new `style` relies on syntax plugins.\n plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.\n\n for (var prop in styleRule.style) {\n var nextValue = styleRule.style[prop];\n var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.\n // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.\n\n if (nextValue !== prevValue) {\n styleRule.prop(prop, nextValue, forceUpdateOptions);\n }\n } // Remove props.\n\n\n for (var _prop in style) {\n var _nextValue = styleRule.style[_prop];\n var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.\n // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.\n\n if (_nextValue == null && _nextValue !== _prevValue) {\n styleRule.prop(_prop, null, forceUpdateOptions);\n }\n }\n }\n }\n /**\n * Convert rules to a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n var str = '';\n var sheet = this.options.sheet;\n var link = sheet ? sheet.options.link : false;\n\n for (var index = 0; index < this.index.length; index++) {\n var rule = this.index[index];\n var css = rule.toString(options); // No need to render an empty rule.\n\n if (!css && !link) continue;\n if (str) str += '\\n';\n str += css;\n }\n\n return str;\n };\n\n return RuleList;\n}();\n\nvar StyleSheet =\n/*#__PURE__*/\nfunction () {\n function StyleSheet(styles, options) {\n this.options = void 0;\n this.deployed = void 0;\n this.attached = void 0;\n this.rules = void 0;\n this.renderer = void 0;\n this.classes = void 0;\n this.keyframes = void 0;\n this.queue = void 0;\n this.attached = false;\n this.deployed = false;\n this.classes = {};\n this.keyframes = {};\n this.options = _extends({}, options, {\n sheet: this,\n parent: this,\n classes: this.classes,\n keyframes: this.keyframes\n });\n\n if (options.Renderer) {\n this.renderer = new options.Renderer(this);\n }\n\n this.rules = new RuleList(this.options);\n\n for (var name in styles) {\n this.rules.add(name, styles[name]);\n }\n\n this.rules.process();\n }\n /**\n * Attach renderable to the render tree.\n */\n\n\n var _proto = StyleSheet.prototype;\n\n _proto.attach = function attach() {\n if (this.attached) return this;\n if (this.renderer) this.renderer.attach();\n this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.\n\n if (!this.deployed) this.deploy();\n return this;\n }\n /**\n * Remove renderable from render tree.\n */\n ;\n\n _proto.detach = function detach() {\n if (!this.attached) return this;\n if (this.renderer) this.renderer.detach();\n this.attached = false;\n return this;\n }\n /**\n * Add a rule to the current stylesheet.\n * Will insert a rule also after the stylesheet has been rendered first time.\n */\n ;\n\n _proto.addRule = function addRule(name, decl, options) {\n var queue = this.queue; // Plugins can create rules.\n // In order to preserve the right order, we need to queue all `.addRule` calls,\n // which happen after the first `rules.add()` call.\n\n if (this.attached && !queue) this.queue = [];\n var rule = this.rules.add(name, decl, options);\n if (!rule) return null;\n this.options.jss.plugins.onProcessRule(rule);\n\n if (this.attached) {\n if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.\n // It will be inserted all together when .attach is called.\n\n if (queue) queue.push(rule);else {\n this.insertRule(rule);\n\n if (this.queue) {\n this.queue.forEach(this.insertRule, this);\n this.queue = undefined;\n }\n }\n return rule;\n } // We can't add rules to a detached style node.\n // We will redeploy the sheet once user will attach it.\n\n\n this.deployed = false;\n return rule;\n }\n /**\n * Insert rule into the StyleSheet\n */\n ;\n\n _proto.insertRule = function insertRule(rule) {\n if (this.renderer) {\n this.renderer.insertRule(rule);\n }\n }\n /**\n * Create and add rules.\n * Will render also after Style Sheet was rendered the first time.\n */\n ;\n\n _proto.addRules = function addRules(styles, options) {\n var added = [];\n\n for (var name in styles) {\n var rule = this.addRule(name, styles[name], options);\n if (rule) added.push(rule);\n }\n\n return added;\n }\n /**\n * Get a rule by name.\n */\n ;\n\n _proto.getRule = function getRule(name) {\n return this.rules.get(name);\n }\n /**\n * Delete a rule by name.\n * Returns `true`: if rule has been deleted from the DOM.\n */\n ;\n\n _proto.deleteRule = function deleteRule(name) {\n var rule = typeof name === 'object' ? name : this.rules.get(name);\n\n if (!rule || // Style sheet was created without link: true and attached, in this case we\n // won't be able to remove the CSS rule from the DOM.\n this.attached && !rule.renderable) {\n return false;\n }\n\n this.rules.remove(rule);\n\n if (this.attached && rule.renderable && this.renderer) {\n return this.renderer.deleteRule(rule.renderable);\n }\n\n return true;\n }\n /**\n * Get index of a rule.\n */\n ;\n\n _proto.indexOf = function indexOf(rule) {\n return this.rules.indexOf(rule);\n }\n /**\n * Deploy pure CSS string to a renderable.\n */\n ;\n\n _proto.deploy = function deploy() {\n if (this.renderer) this.renderer.deploy();\n this.deployed = true;\n return this;\n }\n /**\n * Update the function values with a new data.\n */\n ;\n\n _proto.update = function update() {\n var _this$rules;\n\n (_this$rules = this.rules).update.apply(_this$rules, arguments);\n\n return this;\n }\n /**\n * Updates a single rule.\n */\n ;\n\n _proto.updateOne = function updateOne(rule, data, options) {\n this.rules.updateOne(rule, data, options);\n return this;\n }\n /**\n * Convert rules to a CSS string.\n */\n ;\n\n _proto.toString = function toString(options) {\n return this.rules.toString(options);\n };\n\n return StyleSheet;\n}();\n\nvar PluginsRegistry =\n/*#__PURE__*/\nfunction () {\n function PluginsRegistry() {\n this.plugins = {\n internal: [],\n external: []\n };\n this.registry = void 0;\n }\n\n var _proto = PluginsRegistry.prototype;\n\n /**\n * Call `onCreateRule` hooks and return an object if returned by a hook.\n */\n _proto.onCreateRule = function onCreateRule(name, decl, options) {\n for (var i = 0; i < this.registry.onCreateRule.length; i++) {\n var rule = this.registry.onCreateRule[i](name, decl, options);\n if (rule) return rule;\n }\n\n return null;\n }\n /**\n * Call `onProcessRule` hooks.\n */\n ;\n\n _proto.onProcessRule = function onProcessRule(rule) {\n if (rule.isProcessed) return;\n var sheet = rule.options.sheet;\n\n for (var i = 0; i < this.registry.onProcessRule.length; i++) {\n this.registry.onProcessRule[i](rule, sheet);\n }\n\n if (rule.style) this.onProcessStyle(rule.style, rule, sheet);\n rule.isProcessed = true;\n }\n /**\n * Call `onProcessStyle` hooks.\n */\n ;\n\n _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {\n for (var i = 0; i < this.registry.onProcessStyle.length; i++) {\n // $FlowFixMe[prop-missing]\n rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);\n }\n }\n /**\n * Call `onProcessSheet` hooks.\n */\n ;\n\n _proto.onProcessSheet = function onProcessSheet(sheet) {\n for (var i = 0; i < this.registry.onProcessSheet.length; i++) {\n this.registry.onProcessSheet[i](sheet);\n }\n }\n /**\n * Call `onUpdate` hooks.\n */\n ;\n\n _proto.onUpdate = function onUpdate(data, rule, sheet, options) {\n for (var i = 0; i < this.registry.onUpdate.length; i++) {\n this.registry.onUpdate[i](data, rule, sheet, options);\n }\n }\n /**\n * Call `onChangeValue` hooks.\n */\n ;\n\n _proto.onChangeValue = function onChangeValue(value, prop, rule) {\n var processedValue = value;\n\n for (var i = 0; i < this.registry.onChangeValue.length; i++) {\n processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);\n }\n\n return processedValue;\n }\n /**\n * Register a plugin.\n */\n ;\n\n _proto.use = function use(newPlugin, options) {\n if (options === void 0) {\n options = {\n queue: 'external'\n };\n }\n\n var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.\n\n if (plugins.indexOf(newPlugin) !== -1) {\n return;\n }\n\n plugins.push(newPlugin);\n this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {\n for (var name in plugin) {\n if (name in registry) {\n registry[name].push(plugin[name]);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Unknown hook \\\"\" + name + \"\\\".\") : void 0;\n }\n }\n\n return registry;\n }, {\n onCreateRule: [],\n onProcessRule: [],\n onProcessStyle: [],\n onProcessSheet: [],\n onChangeValue: [],\n onUpdate: []\n });\n };\n\n return PluginsRegistry;\n}();\n\n/**\n * Sheets registry to access them all at one place.\n */\nvar SheetsRegistry =\n/*#__PURE__*/\nfunction () {\n function SheetsRegistry() {\n this.registry = [];\n }\n\n var _proto = SheetsRegistry.prototype;\n\n /**\n * Register a Style Sheet.\n */\n _proto.add = function add(sheet) {\n var registry = this.registry;\n var index = sheet.options.index;\n if (registry.indexOf(sheet) !== -1) return;\n\n if (registry.length === 0 || index >= this.index) {\n registry.push(sheet);\n return;\n } // Find a position.\n\n\n for (var i = 0; i < registry.length; i++) {\n if (registry[i].options.index > index) {\n registry.splice(i, 0, sheet);\n return;\n }\n }\n }\n /**\n * Reset the registry.\n */\n ;\n\n _proto.reset = function reset() {\n this.registry = [];\n }\n /**\n * Remove a Style Sheet.\n */\n ;\n\n _proto.remove = function remove(sheet) {\n var index = this.registry.indexOf(sheet);\n this.registry.splice(index, 1);\n }\n /**\n * Convert all attached sheets to a CSS string.\n */\n ;\n\n _proto.toString = function toString(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n attached = _ref.attached,\n options = _objectWithoutPropertiesLoose(_ref, [\"attached\"]);\n\n var css = '';\n\n for (var i = 0; i < this.registry.length; i++) {\n var sheet = this.registry[i];\n\n if (attached != null && sheet.attached !== attached) {\n continue;\n }\n\n if (css) css += '\\n';\n css += sheet.toString(options);\n }\n\n return css;\n };\n\n _createClass(SheetsRegistry, [{\n key: \"index\",\n\n /**\n * Current highest index number.\n */\n get: function get() {\n return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;\n }\n }]);\n\n return SheetsRegistry;\n}();\n\n/**\n * This is a global sheets registry. Only DomRenderer will add sheets to it.\n * On the server one should use an own SheetsRegistry instance and add the\n * sheets to it, because you need to make sure to create a new registry for\n * each request in order to not leak sheets across requests.\n */\n\nvar registry = new SheetsRegistry();\n\n/* eslint-disable */\n\n/**\n * Now that `globalThis` is available on most platforms\n * (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)\n * we check for `globalThis` first. `globalThis` is necessary for jss\n * to run in Agoric's secure version of JavaScript (SES). Under SES,\n * `globalThis` exists, but `window`, `self`, and `Function('return\n * this')()` are all undefined for security reasons.\n *\n * https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n */\nvar globalThis$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' && window.Math === Math ? window : typeof self !== 'undefined' && self.Math === Math ? self : Function('return this')();\n\nvar ns = '2f1acc6c3a606b082e5eef5e54414ffb';\nif (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify\n// the current version with just one short number and use it for classes generation\n// we use a counter. Also it is more accurate, because user can manually reevaluate\n// the module.\n\nvar moduleId = globalThis$1[ns]++;\n\nvar maxRules = 1e10;\n\n/**\n * Returns a function which generates unique class names based on counters.\n * When new generator function is created, rule counter is reseted.\n * We need to reset the rule counter for SSR for each request.\n */\nvar createGenerateId = function createGenerateId(options) {\n if (options === void 0) {\n options = {};\n }\n\n var ruleCounter = 0;\n return function (rule, sheet) {\n ruleCounter += 1;\n\n if (ruleCounter > maxRules) {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] You might have a memory leak. Rule counter is at \" + ruleCounter + \".\") : void 0;\n }\n\n var jssId = '';\n var prefix = '';\n\n if (sheet) {\n if (sheet.options.classNamePrefix) {\n prefix = sheet.options.classNamePrefix;\n }\n\n if (sheet.options.jss.id != null) {\n jssId = String(sheet.options.jss.id);\n }\n }\n\n if (options.minify) {\n // Using \"c\" because a number can't be the first char in a class name.\n return \"\" + (prefix || 'c') + moduleId + jssId + ruleCounter;\n }\n\n return prefix + rule.key + \"-\" + moduleId + (jssId ? \"-\" + jssId : '') + \"-\" + ruleCounter;\n };\n};\n\n/**\n * Cache the value from the first time a function is called.\n */\nvar memoize = function memoize(fn) {\n var value;\n return function () {\n if (!value) value = fn();\n return value;\n };\n};\n\n/**\n * Get a style property value.\n */\nvar getPropertyValue = function getPropertyValue(cssRule, prop) {\n try {\n // Support CSSTOM.\n if (cssRule.attributeStyleMap) {\n return cssRule.attributeStyleMap.get(prop);\n }\n\n return cssRule.style.getPropertyValue(prop);\n } catch (err) {\n // IE may throw if property is unknown.\n return '';\n }\n};\n\n/**\n * Set a style property.\n */\nvar setProperty = function setProperty(cssRule, prop, value) {\n try {\n var cssValue = value;\n\n if (Array.isArray(value)) {\n cssValue = toCssValue(value, true);\n\n if (value[value.length - 1] === '!important') {\n cssRule.style.setProperty(prop, cssValue, 'important');\n return true;\n }\n } // Support CSSTOM.\n\n\n if (cssRule.attributeStyleMap) {\n cssRule.attributeStyleMap.set(prop, cssValue);\n } else {\n cssRule.style.setProperty(prop, cssValue);\n }\n } catch (err) {\n // IE may throw if property is unknown.\n return false;\n }\n\n return true;\n};\n\n/**\n * Remove a style property.\n */\nvar removeProperty = function removeProperty(cssRule, prop) {\n try {\n // Support CSSTOM.\n if (cssRule.attributeStyleMap) {\n cssRule.attributeStyleMap.delete(prop);\n } else {\n cssRule.style.removeProperty(prop);\n }\n } catch (err) {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] DOMException \\\"\" + err.message + \"\\\" was thrown. Tried to remove property \\\"\" + prop + \"\\\".\") : void 0;\n }\n};\n\n/**\n * Set the selector.\n */\nvar setSelector = function setSelector(cssRule, selectorText) {\n cssRule.selectorText = selectorText; // Return false if setter was not successful.\n // Currently works in chrome only.\n\n return cssRule.selectorText === selectorText;\n};\n/**\n * Gets the `head` element upon the first call and caches it.\n * We assume it can't be null.\n */\n\n\nvar getHead = memoize(function () {\n return document.querySelector('head');\n});\n/**\n * Find attached sheet with an index higher than the passed one.\n */\n\nfunction findHigherSheet(registry, options) {\n for (var i = 0; i < registry.length; i++) {\n var sheet = registry[i];\n\n if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {\n return sheet;\n }\n }\n\n return null;\n}\n/**\n * Find attached sheet with the highest index.\n */\n\n\nfunction findHighestSheet(registry, options) {\n for (var i = registry.length - 1; i >= 0; i--) {\n var sheet = registry[i];\n\n if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {\n return sheet;\n }\n }\n\n return null;\n}\n/**\n * Find a comment with \"jss\" inside.\n */\n\n\nfunction findCommentNode(text) {\n var head = getHead();\n\n for (var i = 0; i < head.childNodes.length; i++) {\n var node = head.childNodes[i];\n\n if (node.nodeType === 8 && node.nodeValue.trim() === text) {\n return node;\n }\n }\n\n return null;\n}\n\n/**\n * Find a node before which we can insert the sheet.\n */\nfunction findPrevNode(options) {\n var registry$1 = registry.registry;\n\n if (registry$1.length > 0) {\n // Try to insert before the next higher sheet.\n var sheet = findHigherSheet(registry$1, options);\n\n if (sheet && sheet.renderer) {\n return {\n parent: sheet.renderer.element.parentNode,\n node: sheet.renderer.element\n };\n } // Otherwise insert after the last attached.\n\n\n sheet = findHighestSheet(registry$1, options);\n\n if (sheet && sheet.renderer) {\n return {\n parent: sheet.renderer.element.parentNode,\n node: sheet.renderer.element.nextSibling\n };\n }\n } // Try to find a comment placeholder if registry is empty.\n\n\n var insertionPoint = options.insertionPoint;\n\n if (insertionPoint && typeof insertionPoint === 'string') {\n var comment = findCommentNode(insertionPoint);\n\n if (comment) {\n return {\n parent: comment.parentNode,\n node: comment.nextSibling\n };\n } // If user specifies an insertion point and it can't be found in the document -\n // bad specificity issues may appear.\n\n\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] Insertion point \\\"\" + insertionPoint + \"\\\" not found.\") : void 0;\n }\n\n return false;\n}\n/**\n * Insert style element into the DOM.\n */\n\n\nfunction insertStyle(style, options) {\n var insertionPoint = options.insertionPoint;\n var nextNode = findPrevNode(options);\n\n if (nextNode !== false && nextNode.parent) {\n nextNode.parent.insertBefore(style, nextNode.node);\n return;\n } // Works with iframes and any node types.\n\n\n if (insertionPoint && typeof insertionPoint.nodeType === 'number') {\n // https://stackoverflow.com/questions/41328728/force-casting-in-flow\n var insertionPointElement = insertionPoint;\n var parentNode = insertionPointElement.parentNode;\n if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);else process.env.NODE_ENV !== \"production\" ? warning(false, '[JSS] Insertion point is not in the DOM.') : void 0;\n return;\n }\n\n getHead().appendChild(style);\n}\n/**\n * Read jss nonce setting from the page if the user has set it.\n */\n\n\nvar getNonce = memoize(function () {\n var node = document.querySelector('meta[property=\"csp-nonce\"]');\n return node ? node.getAttribute('content') : null;\n});\n\nvar _insertRule = function insertRule(container, rule, index) {\n try {\n if ('insertRule' in container) {\n var c = container;\n c.insertRule(rule, index);\n } // Keyframes rule.\n else if ('appendRule' in container) {\n var _c = container;\n\n _c.appendRule(rule);\n }\n } catch (err) {\n process.env.NODE_ENV !== \"production\" ? warning(false, \"[JSS] \" + err.message) : void 0;\n return false;\n }\n\n return container.cssRules[index];\n};\n\nvar getValidRuleInsertionIndex = function getValidRuleInsertionIndex(container, index) {\n var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong\n\n if (index === undefined || index > maxIndex) {\n // eslint-disable-next-line no-param-reassign\n return maxIndex;\n }\n\n return index;\n};\n\nvar createStyle = function createStyle() {\n var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we\n // insert rules after we insert the style tag.\n // It seems to kick-off the source order specificity algorithm.\n\n el.textContent = '\\n';\n return el;\n};\n\nvar DomRenderer =\n/*#__PURE__*/\nfunction () {\n // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696\n // Will be empty if link: true option is not set, because\n // it is only for use together with insertRule API.\n function DomRenderer(sheet) {\n this.getPropertyValue = getPropertyValue;\n this.setProperty = setProperty;\n this.removeProperty = removeProperty;\n this.setSelector = setSelector;\n this.element = void 0;\n this.sheet = void 0;\n this.hasInsertedRules = false;\n this.cssRules = [];\n // There is no sheet when the renderer is used from a standalone StyleRule.\n if (sheet) registry.add(sheet);\n this.sheet = sheet;\n\n var _ref = this.sheet ? this.sheet.options : {},\n media = _ref.media,\n meta = _ref.meta,\n element = _ref.element;\n\n this.element = element || createStyle();\n this.element.setAttribute('data-jss', '');\n if (media) this.element.setAttribute('media', media);\n if (meta) this.element.setAttribute('data-meta', meta);\n var nonce = getNonce();\n if (nonce) this.element.setAttribute('nonce', nonce);\n }\n /**\n * Insert style element into render tree.\n */\n\n\n var _proto = DomRenderer.prototype;\n\n _proto.attach = function attach() {\n // In the case the element node is external and it is already in the DOM.\n if (this.element.parentNode || !this.sheet) return;\n insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`\n // most browsers create a new CSSStyleSheet, except of all IEs.\n\n var deployed = Boolean(this.sheet && this.sheet.deployed);\n\n if (this.hasInsertedRules && deployed) {\n this.hasInsertedRules = false;\n this.deploy();\n }\n }\n /**\n * Remove style element from render tree.\n */\n ;\n\n _proto.detach = function detach() {\n if (!this.sheet) return;\n var parentNode = this.element.parentNode;\n if (parentNode) parentNode.removeChild(this.element); // In the most browsers, rules inserted using insertRule() API will be lost when style element is removed.\n // Though IE will keep them and we need a consistent behavior.\n\n if (this.sheet.options.link) {\n this.cssRules = [];\n this.element.textContent = '\\n';\n }\n }\n /**\n * Inject CSS string into element.\n */\n ;\n\n _proto.deploy = function deploy() {\n var sheet = this.sheet;\n if (!sheet) return;\n\n if (sheet.options.link) {\n this.insertRules(sheet.rules);\n return;\n }\n\n this.element.textContent = \"\\n\" + sheet.toString() + \"\\n\";\n }\n /**\n * Insert RuleList into an element.\n */\n ;\n\n _proto.insertRules = function insertRules(rules, nativeParent) {\n for (var i = 0; i < rules.index.length; i++) {\n this.insertRule(rules.index[i], i, nativeParent);\n }\n }\n /**\n * Insert a rule into element.\n */\n ;\n\n _proto.insertRule = function insertRule(rule, index, nativeParent) {\n if (nativeParent === void 0) {\n nativeParent = this.element.sheet;\n }\n\n if (rule.rules) {\n var parent = rule;\n var latestNativeParent = nativeParent;\n\n if (rule.type === 'conditional' || rule.type === 'keyframes') {\n var _insertionIndex = getValidRuleInsertionIndex(nativeParent, index); // We need to render the container without children first.\n\n\n latestNativeParent = _insertRule(nativeParent, parent.toString({\n children: false\n }), _insertionIndex);\n\n if (latestNativeParent === false) {\n return false;\n }\n\n this.refCssRule(rule, _insertionIndex, latestNativeParent);\n }\n\n this.insertRules(parent.rules, latestNativeParent);\n return latestNativeParent;\n }\n\n var ruleStr = rule.toString();\n if (!ruleStr) return false;\n var insertionIndex = getValidRuleInsertionIndex(nativeParent, index);\n\n var nativeRule = _insertRule(nativeParent, ruleStr, insertionIndex);\n\n if (nativeRule === false) {\n return false;\n }\n\n this.hasInsertedRules = true;\n this.refCssRule(rule, insertionIndex, nativeRule);\n return nativeRule;\n };\n\n _proto.refCssRule = function refCssRule(rule, index, cssRule) {\n rule.renderable = cssRule; // We only want to reference the top level rules, deleteRule API doesn't support removing nested rules\n // like rules inside media queries or keyframes\n\n if (rule.options.parent instanceof StyleSheet) {\n this.cssRules[index] = cssRule;\n }\n }\n /**\n * Delete a rule.\n */\n ;\n\n _proto.deleteRule = function deleteRule(cssRule) {\n var sheet = this.element.sheet;\n var index = this.indexOf(cssRule);\n if (index === -1) return false;\n sheet.deleteRule(index);\n this.cssRules.splice(index, 1);\n return true;\n }\n /**\n * Get index of a CSS Rule.\n */\n ;\n\n _proto.indexOf = function indexOf(cssRule) {\n return this.cssRules.indexOf(cssRule);\n }\n /**\n * Generate a new CSS rule and replace the existing one.\n *\n * Only used for some old browsers because they can't set a selector.\n */\n ;\n\n _proto.replaceRule = function replaceRule(cssRule, rule) {\n var index = this.indexOf(cssRule);\n if (index === -1) return false;\n this.element.sheet.deleteRule(index);\n this.cssRules.splice(index, 1);\n return this.insertRule(rule, index);\n }\n /**\n * Get all rules elements.\n */\n ;\n\n _proto.getRules = function getRules() {\n return this.element.sheet.cssRules;\n };\n\n return DomRenderer;\n}();\n\nvar instanceCounter = 0;\n\nvar Jss =\n/*#__PURE__*/\nfunction () {\n function Jss(options) {\n this.id = instanceCounter++;\n this.version = \"10.6.0\";\n this.plugins = new PluginsRegistry();\n this.options = {\n id: {\n minify: false\n },\n createGenerateId: createGenerateId,\n Renderer: isInBrowser ? DomRenderer : null,\n plugins: []\n };\n this.generateId = createGenerateId({\n minify: false\n });\n\n for (var i = 0; i < plugins.length; i++) {\n this.plugins.use(plugins[i], {\n queue: 'internal'\n });\n }\n\n this.setup(options);\n }\n /**\n * Prepares various options, applies plugins.\n * Should not be used twice on the same instance, because there is no plugins\n * deduplication logic.\n */\n\n\n var _proto = Jss.prototype;\n\n _proto.setup = function setup(options) {\n if (options === void 0) {\n options = {};\n }\n\n if (options.createGenerateId) {\n this.options.createGenerateId = options.createGenerateId;\n }\n\n if (options.id) {\n this.options.id = _extends({}, this.options.id, options.id);\n }\n\n if (options.createGenerateId || options.id) {\n this.generateId = this.options.createGenerateId(this.options.id);\n }\n\n if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;\n\n if ('Renderer' in options) {\n this.options.Renderer = options.Renderer;\n } // eslint-disable-next-line prefer-spread\n\n\n if (options.plugins) this.use.apply(this, options.plugins);\n return this;\n }\n /**\n * Create a Style Sheet.\n */\n ;\n\n _proto.createStyleSheet = function createStyleSheet(styles, options) {\n if (options === void 0) {\n options = {};\n }\n\n var _options = options,\n index = _options.index;\n\n if (typeof index !== 'number') {\n index = registry.index === 0 ? 0 : registry.index + 1;\n }\n\n var sheet = new StyleSheet(styles, _extends({}, options, {\n jss: this,\n generateId: options.generateId || this.generateId,\n insertionPoint: this.options.insertionPoint,\n Renderer: this.options.Renderer,\n index: index\n }));\n this.plugins.onProcessSheet(sheet);\n return sheet;\n }\n /**\n * Detach the Style Sheet and remove it from the registry.\n */\n ;\n\n _proto.removeStyleSheet = function removeStyleSheet(sheet) {\n sheet.detach();\n registry.remove(sheet);\n return this;\n }\n /**\n * Create a rule without a Style Sheet.\n * [Deprecated] will be removed in the next major version.\n */\n ;\n\n _proto.createRule = function createRule$1(name, style, options) {\n if (style === void 0) {\n style = {};\n }\n\n if (options === void 0) {\n options = {};\n }\n\n // Enable rule without name for inline styles.\n if (typeof name === 'object') {\n // $FlowFixMe[incompatible-call]\n return this.createRule(undefined, name, style);\n } // $FlowFixMe[incompatible-type]\n\n\n var ruleOptions = _extends({}, options, {\n name: name,\n jss: this,\n Renderer: this.options.Renderer\n });\n\n if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;\n if (!ruleOptions.classes) ruleOptions.classes = {};\n if (!ruleOptions.keyframes) ruleOptions.keyframes = {};\n\n var rule = createRule(name, style, ruleOptions);\n\n if (rule) this.plugins.onProcessRule(rule);\n return rule;\n }\n /**\n * Register plugin. Passed function will be invoked with a rule instance.\n */\n ;\n\n _proto.use = function use() {\n var _this = this;\n\n for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {\n plugins[_key] = arguments[_key];\n }\n\n plugins.forEach(function (plugin) {\n _this.plugins.use(plugin);\n });\n return this;\n };\n\n return Jss;\n}();\n\n/**\n * Extracts a styles object with only props that contain function values.\n */\nfunction getDynamicStyles(styles) {\n var to = null;\n\n for (var key in styles) {\n var value = styles[key];\n var type = typeof value;\n\n if (type === 'function') {\n if (!to) to = {};\n to[key] = value;\n } else if (type === 'object' && value !== null && !Array.isArray(value)) {\n var extracted = getDynamicStyles(value);\n\n if (extracted) {\n if (!to) to = {};\n to[key] = extracted;\n }\n }\n }\n\n return to;\n}\n\n/**\n * SheetsManager is like a WeakMap which is designed to count StyleSheet\n * instances and attach/detach automatically.\n */\nvar SheetsManager =\n/*#__PURE__*/\nfunction () {\n function SheetsManager() {\n this.length = 0;\n this.sheets = new WeakMap();\n }\n\n var _proto = SheetsManager.prototype;\n\n _proto.get = function get(key) {\n var entry = this.sheets.get(key);\n return entry && entry.sheet;\n };\n\n _proto.add = function add(key, sheet) {\n if (this.sheets.has(key)) return;\n this.length++;\n this.sheets.set(key, {\n sheet: sheet,\n refs: 0\n });\n };\n\n _proto.manage = function manage(key) {\n var entry = this.sheets.get(key);\n\n if (entry) {\n if (entry.refs === 0) {\n entry.sheet.attach();\n }\n\n entry.refs++;\n return entry.sheet;\n }\n\n warning(false, \"[JSS] SheetsManager: can't find sheet to manage\");\n return undefined;\n };\n\n _proto.unmanage = function unmanage(key) {\n var entry = this.sheets.get(key);\n\n if (entry) {\n if (entry.refs > 0) {\n entry.refs--;\n if (entry.refs === 0) entry.sheet.detach();\n }\n } else {\n warning(false, \"SheetsManager: can't find sheet to unmanage\");\n }\n };\n\n _createClass(SheetsManager, [{\n key: \"size\",\n get: function get() {\n return this.length;\n }\n }]);\n\n return SheetsManager;\n}();\n\n/**\n * A better abstraction over CSS.\n *\n * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present\n * @website https://github.com/cssinjs/jss\n * @license MIT\n */\n\n/**\n * Export a constant indicating if this browser has CSSTOM support.\n * https://developers.google.com/web/updates/2018/03/cssom\n */\nvar hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;\n/**\n * Creates a new instance of Jss.\n */\n\nvar create = function create(options) {\n return new Jss(options);\n};\n/**\n * A global Jss instance.\n */\n\nvar jss = create();\n\nexport default jss;\nexport { RuleList, SheetsManager, SheetsRegistry, create, createGenerateId, createRule, getDynamicStyles, hasCSSTOMSupport, registry as sheets, toCssValue };\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\nfunction before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n}\n\n/**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\nfunction once(func) {\n return before(2, func);\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = once;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","/**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction asciiToArray(string) {\n return string.split('');\n}\n\nmodule.exports = asciiToArray;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n","var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n","var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n","var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n","var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n","var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n","var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n","var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n","var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n","/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = baseRange;\n","/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseReduce;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\nfunction baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n}\n\nmodule.exports = baseSlice;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var castPath = require('./_castPath'),\n last = require('./last'),\n parent = require('./_parent'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\nfunction baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n}\n\nmodule.exports = baseUnset;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var baseSlice = require('./_baseSlice');\n\n/**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\nfunction castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n}\n\nmodule.exports = castSlice;\n","var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n","var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n","/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n","var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n","/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n","var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n","var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n","var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var castSlice = require('./_castSlice'),\n hasUnicode = require('./_hasUnicode'),\n stringToArray = require('./_stringToArray'),\n toString = require('./toString');\n\n/**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\nfunction createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n}\n\nmodule.exports = createCaseFirst;\n","var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n","var baseRange = require('./_baseRange'),\n isIterateeCall = require('./_isIterateeCall'),\n toFinite = require('./toFinite');\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nmodule.exports = createRange;\n","var isPlainObject = require('./isPlainObject');\n\n/**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\nfunction customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n}\n\nmodule.exports = customOmitClone;\n","var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n","var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n","var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n","var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var baseGet = require('./_baseGet'),\n baseSlice = require('./_baseSlice');\n\n/**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\nfunction parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n}\n\nmodule.exports = parent;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var asciiToArray = require('./_asciiToArray'),\n hasUnicode = require('./_hasUnicode'),\n unicodeToArray = require('./_unicodeToArray');\n\n/**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n}\n\nmodule.exports = stringToArray;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\nfunction unicodeToArray(string) {\n return string.match(reUnicode) || [];\n}\n\nmodule.exports = unicodeToArray;\n","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\nvar assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n});\n\nmodule.exports = assign;\n","var toString = require('./toString'),\n upperFirst = require('./upperFirst');\n\n/**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\nfunction capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n}\n\nmodule.exports = capitalize;\n","var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n","var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n","var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n","var baseFlatten = require('./_baseFlatten');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\nfunction flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n}\n\nmodule.exports = flattenDeep;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n","/**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\nfunction head(array) {\n return (array && array.length) ? array[0] : undefined;\n}\n\nmodule.exports = head;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\nfunction isNil(value) {\n return value == null;\n}\n\nmodule.exports = isNil;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '' + func(text) + '';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '
' + func(text) + '
fred, barney, & pebbles